1 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5 (_FP_UNPACK_RAW_1_P): Likewise.
6 (_FP_PACK_RAW_1): Likewise.
7 (_FP_PACK_RAW_1_P): Likewise.
8 (_FP_MUL_MEAT_1_wide): Likewise.
9 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10 (_FP_MUL_MEAT_1_hard): Likewise.
11 (_FP_DIV_MEAT_1_imm): Likewise.
12 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13 (_FP_DIV_MEAT_1_udiv): Likewise.
14 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15 (_FP_UNPACK_RAW_2): Likewise.
16 (_FP_UNPACK_RAW_2_P): Likewise.
17 (_FP_PACK_RAW_2): Likewise.
18 (_FP_PACK_RAW_2_P): Likewise.
19 (_FP_MUL_MEAT_DW_2_wide): Likewise.
20 (_FP_MUL_MEAT_2_wide): Likewise.
21 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
22 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
24 (_FP_MUL_MEAT_2_gmp): Likewise.
25 (_FP_DIV_MEAT_2_udiv): Likewise.
26 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27 (_FP_FRAC_SRL_4): Likewise.
28 (_FP_FRAC_SRST_4): Likewise.
29 (_FP_FRAC_SRS_4): Likewise.
30 (_FP_UNPACK_RAW_4): Likewise.
31 (_FP_UNPACK_RAW_4_P): Likewise.
32 (_FP_PACK_RAW_4): Likewise.
33 (_FP_PACK_RAW_4_P): Likewise.
34 (_FP_MUL_MEAT_DW_4_wide): Likewise.
35 (_FP_MUL_MEAT_4_wide): Likewise.
36 (_FP_MUL_MEAT_4_gmp): Likewise.
37 (umul_ppppmnnn): Likewise.
38 (_FP_DIV_MEAT_4_udiv): Likewise.
39 (__FP_FRAC_ADD_4): Likewise.
40 (__FP_FRAC_SUB_3): Likewise.
41 (__FP_FRAC_SUB_4): Likewise.
42 (__FP_FRAC_DEC_3): Likewise.
43 (__FP_FRAC_DEC_4): Likewise.
44 (__FP_FRAC_ADDI_4): Likewise.
45 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
46 (_FP_FRAC_SRL_8): Likewise.
47 (_FP_FRAC_SRS_8): Likewise.
49 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
51 (FP_UNPACK_RAW_EP): Likewise.
52 (FP_PACK_RAW_E): Likewise.
53 (FP_PACK_RAW_EP): Likewise.
54 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
55 (_FP_ISSIGNAN): Likewise.
56 (_FP_ADD_INTERNAL): Likewise.
60 (_FP_TO_INT): Likewise.
61 (_FP_FROM_INT): Likewise.
62 (FP_EXTEND): Likewise.
63 (_FP_DIV_MEAT_N_loop): Likewise.
65 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
67 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
70 2014-06-29 Joseph Myers <joseph@codesourcery.com>
73 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
74 result with correct sign in case of exponents that produce
75 overflow except for X very close to 1.
77 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
79 mktime: merge #if/#ifdef usage from glibc
80 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
81 as that works with both Glibc's and Gnulib's style.
82 See thread starting at Siddhesh Poyarekar's bug report at:
83 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
85 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
87 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
88 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
89 * sysdeps/tile/tilegx/memmove.c: Remove file.
91 2014-06-27 Joseph Myers <joseph@codesourcery.com>
93 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
95 * scripts/soversions.awk: Do not handle or generate ABI lines.
96 * shlib-versions: Remove ABI entries.
97 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
98 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
100 2014-06-27 Roland McGrath <roland@hack.frob.com>
102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
103 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
104 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
105 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
107 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
110 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
113 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
114 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
115 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
116 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
117 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
118 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
119 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
120 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
121 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
122 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
123 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
126 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
127 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
128 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
129 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
130 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
131 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
133 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
134 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
136 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
137 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
139 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
141 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
142 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
144 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
146 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
148 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
150 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
151 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
152 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
153 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
155 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
156 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
158 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
159 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
161 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
163 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
166 Identical file removed.
167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
169 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
170 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
171 Identical file removed.
172 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
173 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
174 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
176 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
177 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
178 Identical file removed.
179 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
180 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
181 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
182 Identical file removed.
183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
184 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
186 Identical file removed.
187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
188 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
189 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
190 Identical file removed.
191 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
193 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
194 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
195 Identical file removed.
196 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
198 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
199 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
200 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
201 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
202 Identical file removed.
203 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
205 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
207 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
208 Identical file removed.
209 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
211 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
212 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
213 Identical file removed.
214 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
216 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
217 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
218 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
219 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
220 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
221 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
223 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
224 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
225 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
227 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
228 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
229 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
230 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
231 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
233 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
236 * nscd/nscd.c (monitor_child): Return exit status of child
237 instead of return value from wait syscall.
239 2014-06-27 Joseph Myers <joseph@codesourcery.com>
241 * configure.ac (libc_commonpagesize): Remove variable.
242 (libc_relro_required): Likewise.
243 (libc_cv_z_relro): Remove configure test.
244 * configure: Regenerated.
245 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
247 (libc_relro_required): Likewise.
248 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
249 (libc_relro_required): Likewise.
250 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
251 (libc_relro_required): Likewise.
252 * sysdeps/arm/preconfigure: Regenerated.
253 * sysdeps/ia64/preconfigure: Remove file.
254 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
256 (libc_relro_required): Likewise.
260 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
261 (__ieee754_yn): Set FE_TONEAREST mode internally and then
262 recompute overflowing results in original rounding mode.
263 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
264 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
265 recompute overflowing results in original rounding mode.
266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
267 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
268 recompute overflowing results in original rounding mode.
269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
270 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
271 recompute overflowing results in original rounding mode.
272 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
273 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
274 recompute overflowing results in original rounding mode.
275 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
276 (libc_feholdsetround_ctx): New macro.
277 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
278 * sysdeps/i386/fpu/libm-test-ulps: Update.
279 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
281 2014-06-26 Joseph Myers <joseph@codesourcery.com>
283 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
284 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
285 corresponding .cpsetup call.
287 2014-06-26 Roland McGrath <roland@hack.frob.com>
289 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
290 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
291 * sysdeps/arm/Makefile [$(subdir) = csu]
292 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
293 (static-only-routines): Add aeabi_read_tp here.
294 (shared-only-routines): Add libc-aeabi_read_tp here.
295 (CFLAGS-libc-start.c): Add -fexceptions here.
296 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
297 (sysdep_routines, static-only-routines, shared-only-routines):
298 Don't add to these here.
299 (CFLAGS-libc-start.c): Likewise.
301 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
302 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
303 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
304 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
305 * sysdeps/arm/Makefile [$(subdir) = rt]
306 (librt-sysdep_routines, librt-shared-only-routines):
307 Append rt-aeabi_unwind_cpp_pr1 here.
308 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
309 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
310 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
311 (libpthread-sysdep_routines, libpthread-shared-only-routines):
312 Append nptl-aeabi_unwind_cpp_pr1 here.
313 (tests): Filter out tst-cleanupx4 here.
314 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
315 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
318 2014-06-26 Joseph Myers <joseph@codesourcery.com>
320 * scripts/list-sources.sh: Do not handle ports specially.
322 2014-06-26 Roland McGrath <roland@hack.frob.com>
324 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
325 * sysdeps/arm/feupdateenv.c: Likewise.
327 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
329 2014-06-26 Joseph Myers <joseph@codesourcery.com>
331 * manual/texinfo.tex: Update to version 2014-05-05.10 with
332 trailing whitespace removed.
333 * scripts/config.guess: Update to version 2014-03-23.
334 * scripts/config.sub: Update to version 2014-05-01
335 * scripts/install-sh: Update to version 2013-12-25.23.
336 * scripts/move-if-change: Update from gnulib.
338 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
340 * debug/memmove_chk.c: Remove pagecopy.h include.
342 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
344 * time/mktime.c (leapyear): Remove inline keyword. The code is now
345 identical to gnulib mktime.
347 2014-06-26 Joseph Myers <joseph@codesourcery.com>
349 * configure.ac: Do not test for machine being rs6000. Do not test
351 * configure: Regenerated.
353 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
355 * configure: Regenerated.
356 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
357 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
358 Remove configure test.
359 * sysdeps/arm/configure: Regenerated.
360 * sysdeps/nptl/configure.ac: Do not check
361 libc_cv_asm_cfi_directives.
362 * sysdeps/nptl/configure: Regenerated.
363 * sysdeps/x86_64/nptl/configure.ac: Remove file.
364 * sysdeps/x86_64/nptl/configure: Remove generated file.
365 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
367 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
369 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
371 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
372 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
373 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
376 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
377 instead of whether it is defined.
378 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
379 * sysdeps/hppa/dl-machine.h: Likewise.
380 * sysdeps/ia64/dl-machine.h: Likewise.
381 * sysdeps/m68k/dl-machine.h: Likewise.
382 * sysdeps/microblaze/dl-machine.h: Likewise.
383 * sysdeps/mips/dl-machine.: Likewise.
384 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
385 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
386 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
387 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
388 * sysdeps/sh/dl-machine.h: Likewise.
389 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
390 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
391 * sysdeps/tile/dl-machine.h: Likewise.
392 * sysdeps/x86_64/dl-machine.h: Likewise.
394 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
396 (verify_persistent_db): Likewise.
398 2014-06-26 Roland McGrath <roland@hack.frob.com>
400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
401 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
406 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
411 Identical file removed.
412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
414 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
418 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
424 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
426 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
428 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
431 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
433 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
435 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
437 Identical file removed.
438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
439 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
441 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
444 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
447 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
449 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
451 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
453 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
455 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
458 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
461 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
463 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
466 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
468 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
470 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
472 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
473 * sysdeps/unix/sysv/linux/s390/Versions
474 (libpthread: GLIBC_2.19): New version set.
475 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
476 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
477 (librt: GLIBC_2.3.3): New version set.
478 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
479 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
480 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
481 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
482 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
483 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
484 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
485 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
486 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
487 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
488 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
489 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
490 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
491 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
492 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
493 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
494 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
495 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
496 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
497 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
498 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
499 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
500 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
501 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
502 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
504 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
506 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
508 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
509 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
510 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
511 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
513 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
514 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
515 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
516 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
517 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
518 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
519 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
520 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
522 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
524 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
525 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
526 (__libc_vfork): Define the function under this name.
527 [!NOT_IN_libc] (__vfork): Make this an alias.
528 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
529 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
530 * sysdeps/unix/sysv/linux/s390/s390-64/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 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
535 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
537 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
538 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
540 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
541 code that was previously under [RESET_PID].
542 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
543 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
546 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
547 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
548 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
549 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
550 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
551 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
552 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
553 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
554 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
555 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
556 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
558 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
559 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
561 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
562 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
563 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
565 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
567 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
569 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
571 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
573 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
575 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
577 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
578 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
579 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
581 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
582 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
583 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
584 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
585 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
586 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
588 2014-06-25 Roland McGrath <roland@hack.frob.com>
590 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
591 that was previously under [RESET_PID].
592 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
594 2014-06-25 Joseph Myers <joseph@codesourcery.com>
596 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
597 not undefine and redefine.
598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
599 [O_CLOEXEC]: Make code unconditional.
600 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
601 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
603 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
604 conditional variable definition.
605 (shm_open) [O_CLOEXEC]: Make code unconditional.
606 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
609 * configure.ac (USE_REGPARMS): Don't define here.
610 * configure: Regenerated.
611 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
612 * sysdeps/i386/configure: Regenerated.
614 * nptl/createthread.c: Don't include kernel-features.h.
615 * nptl/pthread_cancel.c: Likewise.
616 * nptl/pthread_condattr_setclock.c: Likewise.
617 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
618 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
619 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
620 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
621 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
622 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
623 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
626 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
627 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
628 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
629 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
630 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
631 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
632 * nscd/gai.c: Likewise.
633 * nss/nss_db/db-open.c: Likewise.
634 * sysdeps/generic/ldsodefs.h: Likewise.
635 * sysdeps/sh/nptl/tls.h: Likewise.
636 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
637 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
638 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
639 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
640 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
641 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
642 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
643 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
644 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
645 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
646 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
647 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
648 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
649 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
650 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
651 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
652 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
653 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
654 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
655 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
656 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
657 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
658 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
659 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
660 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
661 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
662 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
663 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
664 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
665 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
666 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
667 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
668 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
669 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
670 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
671 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
672 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
673 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
674 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
675 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
676 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
677 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
678 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
679 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
680 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
681 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
682 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
683 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
684 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
685 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
686 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
687 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
688 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
689 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
690 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
691 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
693 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
716 * sysdeps/unix/sysv/linux/pread.c: Likewise.
717 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
718 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
719 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
720 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
721 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
723 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
724 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
725 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
726 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
727 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
728 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
729 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
730 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
731 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
732 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
733 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
734 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
735 * sysdeps/unix/sysv/linux/system.c: Likewise.
736 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
737 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
738 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
739 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
740 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
741 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
742 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
744 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
745 * configure: Regenerated.
746 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
748 * configure.ac (base_machine): Do not set specially for particular
750 * configure: Regenerated.
751 * sysdeps/powerpc/preconfigure: Move machine and base_machine
752 settings from configure.ac.
753 * sysdeps/i386/preconfigure: New file.
754 * sysdeps/s390/preconfigure: Likewise.
755 * sysdeps/sh/preconfigure: Likewise.
756 * sysdeps/sparc/preconfigure: Likewise.
758 2014-06-25 Roland McGrath <roland@hack.frob.com>
760 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
761 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
762 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
763 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
764 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
765 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
766 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
767 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
768 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
769 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
770 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
771 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
772 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
773 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
774 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
775 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
776 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
777 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
778 * sysdeps/sparc/sparc64/Makefile: ... appended here.
780 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
781 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
782 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
783 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
784 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
785 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
786 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
787 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
788 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
789 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
790 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
791 * sysdeps/sparc/sparc32/sem_post.c: ... here.
792 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
793 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
794 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
795 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
796 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
797 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
798 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
799 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
800 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
801 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
802 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
803 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
804 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
805 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
806 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
807 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
808 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
809 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
810 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
811 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
812 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
813 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
814 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
815 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
816 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
817 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
820 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
822 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
825 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
828 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
830 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
833 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
835 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
839 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
842 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
845 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
847 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
850 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
852 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
854 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
856 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
858 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
861 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
864 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
866 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
869 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
870 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
871 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
872 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
873 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
874 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
875 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
876 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
878 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
881 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
882 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
883 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
886 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
887 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
888 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
889 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
890 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
892 2014-06-25 Joseph Myers <joseph@codesourcery.com>
894 * timezone/checktab.awk: Update from tzcode 2014e.
895 * timezone/private.h: Likewise.
896 * timezone/tzfile.h: Likewise.
897 * timezone/zdump.c: Likewise.
898 * timezone/zic.c: Likewise.
900 * sysdeps/unix/sysv/linux/kernel-features.h
901 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
902 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
903 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
904 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
905 Remove conditional code.
907 2014-06-25 Will Newton <will.newton@linaro.org>
909 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
910 (_dl_arm_cap_flags): Add HWCAP2 values.
911 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
912 (_DL_HWCAP_COUNT): Increase to 37.
913 (_DL_HWCAP_LAST): New define.
914 (_DL_HWCAP2_LAST): New define.
915 (_dl_procinfo): Add support for printing
917 (_dl_string_hwcap): Use _dl_hwcap_string.
919 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
923 2014-06-25 Joseph Myers <joseph@codesourcery.com>
925 * README: Do not mention ports directory.
927 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
929 * sysdeps/unix/sysv/linux/futimes.c: Do not include
931 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
932 conditional variable definition.
933 (__futimes): Update comment.
934 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
935 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
938 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
939 arguments close to 0.
940 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
942 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
944 * math/auto-libm-test-in: Add more tests of exp10.
945 * math/auto-libm-test-out: Regenerated.
946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
948 * sysdeps/unix/sysv/linux/kernel-features.h
949 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
950 * sysdeps/unix/sysv/linux/readv.c: Do not include
952 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
953 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
954 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
956 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
958 * sysdeps/unix/sysv/linux/writev.c: Do not include
960 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
961 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
962 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
964 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
967 2014-06-25 Will Newton <will.newton@linaro.org>
969 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
970 comment changes throughout the file. Remove checks
971 for HAVE_*_H definitions that are not required.
972 (__gen_tempname): Call abort if an unknown kind value is
975 2014-06-25 Andreas Schwab <schwab@suse.de>
978 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
979 scalbln, scalblnf, scalblnl in libc.
981 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
984 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
985 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
986 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
988 2014-06-24 Roland McGrath <roland@hack.frob.com>
990 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
991 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
992 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
993 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
995 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
996 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
998 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
999 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1000 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1001 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1002 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1003 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1004 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1005 * sysdeps/x86/bits/semaphore.h: ... here.
1006 * sysdeps/x86/nptl/elide.h: Moved ...
1007 * sysdeps/x86/elide.h: ... here.
1008 * sysdeps/x86_64/nptl/Implies: File removed.
1009 * sysdeps/i386/nptl/Implies: File removed.
1011 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1015 return the argument for normal arguments with exponent below -64.
1016 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1018 * math/auto-libm-test-in: Add another test of expm1.
1019 * math/auto-libm-test-out: Regenerated.
1022 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1023 calling __erfcl for arguments at least 16.
1024 * math/auto-libm-test-in: Add more tests of erf.
1025 * math/auto-libm-test-out: Regenerated.
1027 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1028 individual architectures.
1029 * sysdeps/unix/sysv/linux/configure: Regenerated.
1030 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1031 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1032 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1033 (ldd_rewrite_script): Define variable.
1034 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1039 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1040 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1041 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1042 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1043 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1044 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1045 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1046 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1048 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1051 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1052 Rename member __data.d to __data.__elision_data.
1054 2014-06-24 Wilco <wdijkstr@arm.com>
1056 * NEWS: Add 16918 to fixed bug list.
1058 2014-06-24 Wilco <wdijkstr@arm.com>
1060 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1062 2014-06-24 Wilco <wdijkstr@arm.com>
1064 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1065 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1066 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1067 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1068 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1069 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1070 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1073 2014-06-24 Wilco <wdijkstr@arm.com>
1075 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1077 2014-06-24 Wilco <wdijkstr@arm.com>
1079 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1080 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1081 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1082 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1084 2014-06-24 Wilco <wdijkstr@arm.com>
1087 * sysdeps/arm/feupdateenv.c (feupdateenv):
1088 Rewrite to reduce FPSCR accesses and fix return value.
1090 2014-06-24 Wilco <wdijkstr@arm.com>
1092 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1093 Optimize to avoid unnecessary FPSCR writes.
1094 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1095 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1096 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1097 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1099 2014-06-24 Wilco <wdijkstr@arm.com>
1101 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1102 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1103 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1104 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1105 Call libc_fetestexcept_vfp.
1106 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1107 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1108 __SOFTFP__ ifdef so that they can be built for softfp.
1110 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1112 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1113 argument type signed char.
1115 * Makerules (check-abi): Dump diff of symlist if the test
1118 2014-06-23 Roland McGrath <roland@hack.frob.com>
1120 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1123 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1124 Remove unused variable ST.
1126 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1130 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1131 small arguments before calling __expm1.
1132 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1133 small arguments before calling __expm1f.
1134 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1135 small arguments before calling __expm1l.
1136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1138 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1139 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1140 spurious underflow for some cosh tests.
1141 * math/auto-libm-test-out: Regenerated.
1142 * sysdeps/i386/fpu/libm-test-ulps: Update.
1145 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1146 (__ieee754_y1): Set errno if return value overflows.
1147 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1148 (__ieee754_y1f): Set errno if return value overflows.
1149 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1150 (__ieee754_y1l): Set errno if return value overflows.
1151 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1152 (__ieee754_y1l): Set errno if return value overflows.
1153 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1154 * math/auto-libm-test-out: Regenerated.
1156 * math/gen-auto-libm-tests.c: Document use of
1157 ignore-zero-inf-sign.
1158 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1159 (input_flags): Add ignore-zero-inf-sign.
1160 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1161 * math/gen-libm-test.pl (generate_testfile): Handle
1162 ignore-zero-inf-sign.
1163 * math/auto-libm-test-in: Mark some cpow tests with
1164 ignore-zero-inf-sign and some with xfail-rounding.
1165 * math/auto-libm-test-out: Regenerated.
1166 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1172 overflowing or underflowing operations take place with sign of
1174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1175 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1176 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1177 (__ieee754_pow): Recompute overflowing and underflowing results in
1178 original rounding mode.
1179 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1180 (__powl_helper): Allow negative argument X and scale negated value
1181 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1182 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1183 overflowing or underflowing operations take place with sign of
1185 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1187 * math/auto-libm-test-in: Add more tests of pow.
1188 * math/auto-libm-test-out: Regenerated.
1189 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1190 (pow_tonearest_test_data): Remove.
1191 (pow_test_tonearest): Likewise.
1192 (pow_towardzero_test_data): Likewise.
1193 (pow_test_towardzero): Likewise.
1194 (pow_downward_test_data): Likewise.
1195 (pow_test_downward): Likewise.
1196 (pow_upward_test_data): Likewise.
1197 (pow_test_upward): Likewise.
1198 (main): Don't call removed functions.
1199 * sysdeps/i386/fpu/libm-test-ulps: Update.
1200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1202 2014-06-23 Roland McGrath <roland@hack.frob.com>
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1378 2014-06-23 Will Newton <will.newton@linaro.org>
1379 Wilco <wdijkstr@arm.com>
1381 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1382 implementation. Include get-rounding-mode.h.
1383 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1384 [!libc_feholdsetround_noex_ctx]: Define
1385 libc_feholdsetround_noex_ctx.
1386 [!libc_feholdsetround_noexf_ctx]: Define
1387 libc_feholdsetround_noexf_ctx.
1388 [!libc_feholdsetround_noexl_ctx]: Define
1389 libc_feholdsetround_noexl_ctx.
1390 (libc_feholdsetround_ctx): New function.
1391 (libc_feresetround_ctx): New function.
1392 (libc_feholdsetround_noex_ctx): New function.
1393 (libc_feresetround_noex_ctx): New function.
1395 2014-06-23 Roland McGrath <roland@hack.frob.com>
1397 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1398 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1399 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1400 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1401 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1402 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1404 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1405 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1406 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1407 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1408 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1409 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1410 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1411 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1412 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1416 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1418 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1421 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1424 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1428 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1429 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1433 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1436 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1441 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1443 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1445 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1446 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1447 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1448 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1449 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1452 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1454 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1455 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1457 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1458 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1459 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1461 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1463 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1464 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1465 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1466 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1468 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1469 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1470 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1472 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1475 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1477 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1479 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1481 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1482 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1483 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1484 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1485 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1486 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1487 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1488 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1490 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1492 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1493 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1494 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1495 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1496 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1497 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1498 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1499 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1500 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1501 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1502 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1503 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1504 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1505 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1506 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1507 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1508 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1510 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1513 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1514 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1515 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1516 (IPV6_PMTUDISC_INTERFACE): Likewise.
1517 (IPV6_PMTUDISC_OMIT): Likewise.
1519 2014-06-23 Andreas Schwab <schwab@suse.de>
1521 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1522 Remove unused errout label.
1524 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1527 macro: hardware supports Vector Crypto instructions.
1529 2014-06-23 Will Newton <will.newton@linaro.org>
1531 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1532 rather than __builtin_expect.
1534 * elf/dl-lookup.c (undefined_msg): Remove variable.
1535 (_dl_lookup_symbol_x): Replace undefined_msg with string
1538 * elf/dl-lookup.c (do_lookup_unique): New function.
1539 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1540 to a separate function.
1542 2014-06-23 Andreas Schwab <schwab@suse.de>
1545 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1546 before reading the next line.
1548 2014-06-23 Will Newton <will.newton@linaro.org>
1550 * test-skeleton.c (signal_handler): Use printf and %m
1551 rather than perror. Use printf rather than fprintf to
1552 stderr. Use puts rather than fputs to stderr.
1555 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1557 * nscd/nscd.c (thread_info_t): Remove typedef.
1558 (thread_info): Remove variable.
1560 2014-06-21 Allan McRae <allan@archlinux.org>
1562 * NEWS: Mention CVE-2014-4043.
1564 2014-06-20 Roland McGrath <roland@hack.frob.com>
1566 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1567 * nptl/smp.h: ... here.
1569 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1571 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1572 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1573 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1574 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1576 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1577 * nptl/stack-aliasing.h: New file.
1578 * sysdeps/i386/i686/stack-aliasing.h: New file.
1579 * sysdeps/i386/i686/nptl/Makefile: File removed.
1580 * sysdeps/x86_64/stack-aliasing.h: New file.
1581 * sysdeps/x86_64/nptl/Makefile
1582 (CFLAGS-pthread_create.c): Variable removed.
1584 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1585 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1587 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1588 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1591 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1593 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1594 (__ASSUME_SIGFRAME_V2): Remove macro.
1595 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1596 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1597 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1598 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1599 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1600 Declare as function. Remove conditional macro definitions.
1601 (__default_rt_sa_restorer): Likewise.
1602 (__default_sa_restorer_v1): Remove declaration.
1603 (__default_sa_restorer_v2): Likewise.
1604 (__default_rt_sa_restorer_v1): Likewise.
1605 (__default_rt_sa_restorer_v2): Likewise.
1606 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1607 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1608 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1610 2014-06-20 Roland McGrath <roland@hack.frob.com>
1612 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1613 (libpthread-routines): Add sysdep.
1614 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1615 * sysdeps/unix/sysv/linux/sparc/Versions
1616 (libpthread: GLIBC_2.3.3): New version set.
1617 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1618 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1619 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1620 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1621 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1622 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1624 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1625 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1626 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1627 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1628 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1629 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1630 * sysdeps/sparc/nptl/sem_init.c: ... here.
1631 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1632 * sysdeps/sparc/nptl/sem_post.c: ... here.
1633 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1634 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1635 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1636 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1637 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1638 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1639 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1640 (libpthread-routines): Add cpu_relax.
1641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1643 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1644 (librt: GLIBC_2.3.3): New version set.
1645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1646 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1647 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1648 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1650 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1651 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1654 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1656 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1658 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1659 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1660 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1662 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1665 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1669 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1673 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1675 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1677 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1679 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1681 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1685 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1688 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1690 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1691 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1692 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1694 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1695 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1696 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1700 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1703 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1705 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1707 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1708 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1709 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1710 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1711 * nscd/nscd.c: Likewise.
1712 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1713 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1714 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1715 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1717 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1718 <kernel-features.h>.
1719 (init_mq_netlink): Remove conditional have_sock_cloexec
1720 definitions. Remove code conditional on have_sock_cloexec < 0.
1721 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1722 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1723 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1724 <kernel-features.h>.
1725 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1726 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1728 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1731 Add tests for memset_chk and memset.
1733 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1736 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1739 * elf/tst-dl-iter-static.c: New file.
1740 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1742 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1745 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1747 * sysdeps/unix/sysv/linux/kernel-features.h
1748 (__ASSUME_F_GETOWN_EX): Remove macro.
1749 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1750 <kernel-features.h>.
1751 (miss_F_GETOWN_EX): Remove variable or macro.
1752 (do_fcntl): Do not check miss_F_GETOWN_EX.
1753 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1755 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1758 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1759 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1761 * sysdeps/unix/sysv/linux/kernel-features.h
1762 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1763 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1764 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1765 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1767 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1770 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1771 Fix calculation of the symbol's value.
1772 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1773 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1774 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1775 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1776 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1777 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1778 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1779 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1780 (modules-names): Add `tst-armtlsdescmod',
1781 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1782 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1783 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1784 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1785 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1786 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1787 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1788 ($(objpfx)tst-armtlsdescloc): New dependency.
1789 ($(objpfx)tst-armtlsdescextnow): Likewise.
1790 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1791 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1793 * sysdeps/arm/configure: Regenerate.
1795 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1797 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1798 (__atfct_seterrno_2): Likewise.
1799 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1800 <kernel-features.h>.
1801 (__ASSUME_ATFCTS): Do not undefine and redefine.
1802 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1803 (__have_atfcts): Remove conditional definition.
1804 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1805 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1806 unreachable if [__ASSUME_ATFCTS].
1807 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1808 not undefine and redefine.
1809 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1810 <kernel-features.h>.
1811 (faccessat) [__NR_faccessat]: Make code unconditional.
1812 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1813 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1814 <kernel-features.h>.
1815 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1816 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1817 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1818 <kernel-features.h>.
1819 (fchownat) [__NR_fchownat]: Make code unconditional.
1820 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1821 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1822 <kernel-features.h>.
1823 (futimesat) [__NR_futimesat]: Make code unconditional.
1824 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1825 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1826 <kernel-features.h>.
1827 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1828 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1829 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1830 <kernel-features.h>.
1831 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1832 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1833 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1834 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1835 <kernel-features.h>.
1836 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1837 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1838 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1839 <kernel-features.h>.
1840 (linkat) [__NR_linkat]: Make code unconditional.
1841 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1842 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1843 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1844 <kernel-features.h>.
1845 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1846 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1847 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1848 <kernel-features.h>.
1849 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1850 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1851 * sysdeps/unix/sysv/linux/openat.c: Do not include
1852 <kernel-features.h>.
1853 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1854 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1855 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1856 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1857 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1858 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1859 <kernel-features.h>.
1860 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1861 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1862 result of INLINE_SYSCALL directly, not via int variable.
1863 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1864 <kernel-features.h>.
1865 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1866 (renameat) [__NR_renameat]: Make code unconditional.
1867 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1868 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1869 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1870 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1871 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1872 (__ASSUME_ATFCTS): Do not undefine and redefine.
1873 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1874 <kernel-features.h>.
1875 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1876 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1877 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1878 <kernel-features.h>.
1879 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1880 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1881 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1882 (__ASSUME_ATFCTS): Do not undefine and redefine.
1883 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1884 <kernel-features.h>.
1885 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1886 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1887 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1888 <kernel-features.h>.
1889 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1890 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1892 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1894 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1896 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1899 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1900 constructed tree before returning error.
1901 * posix/bug-regexp36.c: Expand test case.
1903 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1906 * math/libm-test.inc (scalbln_test_date):
1907 Add errno expectations.
1908 * math/w_scalblnf.c: New File.
1909 Add wrapper which checks for setting errno to ERANGE.
1910 Add weak_alias for corresponding scalbln function.
1911 * math/w_scalbln.c: Likewise.
1912 * math/w_scalblnl.c: Likewise.
1913 * math/Makefile (libm-calls): Add w_scalbln.
1914 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1915 Remove weak_alias for corresponding scalbln function.
1916 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1918 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1920 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1921 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1922 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1923 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1924 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1925 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1926 Remove long_double_symbol for scalblnl function in libm, libc.
1927 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1928 Add wrapper which checks for setting errno to ERANGE.
1929 Add long_double_symbol for scalblnl function in libm, libc.
1930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1931 Remove long_double_symbol for scalblnl in libm.
1932 * sysdeps/ieee754/ldbl-128ibm/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.
1935 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1936 Do not use wrapper because of own implementation.
1938 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1940 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1941 3 bytes for __pad1 for x32.
1942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1944 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1945 H.J. Lu <hongjiu.lu@intel.com>
1947 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1948 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1949 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1950 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1951 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1953 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1956 * posix/regcomp.c (parse_expression): Deallocate partially
1957 constructed tree before returning error.
1958 * posix/Makefile.c (tests): Add bug-regex36.
1959 (generated): Add bug-regex36.mtrace.
1960 (tests-special): Add $(objpfx)bug-regex36-mem.out
1961 (bug-regex36-ENV): New variable.
1962 ($(objpfx)bug-regex36-mem.out): New rule.
1963 * posix/bug-regex36.c: New file.
1965 2014-06-19 Will Newton <will.newton@linaro.org>
1967 * malloc/malloc.c (systrim): If extra is zero then return
1970 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1972 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1974 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1976 * sysdeps/aarch64/strchr.S: New file.
1978 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1981 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1982 from arguments -2 or below.
1983 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1984 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1986 2014-06-18 Andreas Schwab <schwab@suse.de>
1989 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1990 of a bracket expr not to run off the end of the string.
1991 * posix/Makefile (tests): Add tst-fnmatch3.
1992 * posix/tst-fnmatch3.c: New file.
1994 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1996 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1997 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1998 [$(cross-compiling) = no]: Likewise.
1999 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2000 [$(cross-compiling) = no]: Likewise.
2002 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2005 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2006 double, adjusted for any remainder from the high double.
2007 * math/libm-test.inc (nearbyint): Add tests.
2010 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2012 * nptl/sysdeps/powerpc/Makefile: Moved ...
2013 * sysdeps/powerpc/nptl/Makefile: ... here.
2014 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2015 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2016 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2017 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2018 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2019 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2020 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2021 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2022 * nptl/sysdeps/powerpc/tls.h: Moved ...
2023 * sysdeps/powerpc/nptl/tls.h: ... here.
2025 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2028 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2029 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2030 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2031 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2032 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2033 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2034 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2035 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2036 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2038 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2040 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2042 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2044 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2047 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2050 2014-06-16 Florian Weimer <fweimer@redhat.com>
2053 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2054 non-executed part of the test.
2056 2014-06-16 Andreas Schwab <schwab@suse.de>
2058 * string/bits/string2.h (strdup, strndup): Update feature guard.
2060 2014-06-14 David S. Miller <davem@davemloft.net>
2062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2064 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2066 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2067 that was previously under [RESET_PID].
2068 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2070 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2071 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2072 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2073 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2074 (__libc_vfork): New strong alias.
2075 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2077 2014-06-14 Andi Kleen <ak@linux.intel.com>
2079 * sysdeps/generic/elide.h: New file.
2081 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2083 * Makefile (installed-headers): Adjust path of pthread.h header.
2085 2014-06-13 Roland McGrath <roland@hack.frob.com>
2087 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2088 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2090 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2092 * nptl/sysdeps/s390/Makefile: Moved ...
2093 * sysdeps/s390/nptl/Makefile: ... here.
2094 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2095 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2096 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2097 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2098 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2099 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2100 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2101 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2102 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2103 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2104 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2105 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2106 * nptl/sysdeps/s390/tls.h: Moved ...
2107 * sysdeps/s390/nptl/tls.h: ... here.
2109 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2110 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2112 2014-06-13 David S. Miller <davem@davemloft.net>
2114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2115 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2117 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2118 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2119 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2120 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2122 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2123 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2124 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2125 Remove RESET_PID cpp guards.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2127 Remove RESET_PID cpp guards.
2128 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2130 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2132 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2135 2014-06-13 Andi Kleen <ak@linux.intel.com>
2137 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2138 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2139 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2140 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2141 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2142 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2143 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2144 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2145 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2146 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2147 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2148 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2149 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2150 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2151 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2152 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2153 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2154 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2155 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2156 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2158 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2159 (pthread_rwlock_rdlock): Add elision.
2160 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2161 (pthread_rwlock_wrlock): Add elision.
2162 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2163 (pthread_rwlock_trywrlock): Add elision.
2164 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2165 (pthread_rwlock_tryrdlock): Add elision.
2166 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2167 (pthread_rwlock_tryrdlock): Add elision unlock.
2168 * nptl/sysdeps/pthread/pthread.h:
2169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2170 (PTHREAD_RWLOCK_INITIALIZER,
2171 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2172 Handle new elision field.
2173 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2174 * sysdeps/arm/nptl/bits/pthreadtypes.h
2175 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2176 * sysdeps/sh/nptl/bits/pthreadtypes.h
2177 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2178 * sysdeps/tile/nptl/bits/pthreadtypes.h
2179 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2180 * sysdeps/a/nptl/bits/pthreadtypes.h
2181 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2182 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2183 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2184 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2185 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2186 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2187 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2188 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2189 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2190 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2192 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2193 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2194 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2195 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2196 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2197 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2198 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2199 (elision_init): Set try_xbegin to zero when no RTM.
2200 * sysdeps/x86/nptl/bits/pthreadtypes.h
2201 (pthread_rwlock_t): Change __pad1 to __rwelision.
2202 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2204 2014-06-13 Andi Kleen <ak@linux.intel.com>
2206 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2207 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2208 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2209 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2211 2014-06-13 Meador Inge <meadori@codesourcery.com>
2214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2215 that the cached result has been set before returning it.
2217 2014-06-12 Roland McGrath <roland@hack.frob.com>
2219 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2220 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2221 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2222 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2223 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2224 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2226 * nptl/sysdeps/sparc/Makefile: Moved ...
2227 * sysdeps/sparc/nptl/Makefile: ... here.
2228 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2229 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2230 * nptl/sysdeps/sparc/tls.h: Moved ...
2231 * sysdeps/sparc/nptl/tls.h: ... here.
2232 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2233 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2234 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2235 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2236 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2237 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2238 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2239 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2240 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2241 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2242 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2243 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2244 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2245 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2246 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2247 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2248 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2249 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2251 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2252 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2254 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2255 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2257 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2258 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2261 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2263 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2264 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2266 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2267 (struct list_links): Type removed.
2268 (struct thread_node, struct timer_node): Replace struct list_links
2269 with struct list_head.
2270 (list_unlink_ip): Likewise.
2271 * sysdeps/pthread/timer_routines.c
2272 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2273 (list_append, list_insbefore): Likewise.
2274 (list_init): Function removed.
2275 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2276 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2277 * sysdeps/pthread/Makefile: ... here, new file.
2279 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2280 * sysdeps/nptl/Implies: ... here.
2281 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2282 * nptl/sysdeps/pthread/list.h: Moved ...
2283 * include/list.h: ... here.
2284 * nptl/sysdeps/pthread/createthread.c: Moved ...
2285 * nptl/createthread.c: ... here.
2286 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2287 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2288 * nptl/pt-longjmp.c: ... here.
2289 * nptl/sysdeps/pthread/Makefile: Moved ...
2290 * sysdeps/nptl/Makefile: ... here.
2291 * nptl/sysdeps/pthread/Subdirs: Moved ...
2292 * sysdeps/nptl/Subdirs: ... here.
2293 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2294 * sysdeps/nptl/aio_misc.h: ... here.
2295 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2296 * sysdeps/nptl/bits/libc-lock.h: ... here.
2297 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2298 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2299 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2300 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2301 * nptl/sysdeps/pthread/configure: Moved ...
2302 * sysdeps/nptl/configure: ... here.
2303 * nptl/sysdeps/pthread/configure.ac: Moved ...
2304 * sysdeps/nptl/configure.ac: ... here.
2305 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2306 * sysdeps/nptl/gai_misc.h: ... here.
2307 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2308 * sysdeps/nptl/librt-cancellation.c: ... here.
2309 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2310 * sysdeps/nptl/malloc-machine.h: ... here.
2311 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2312 * sysdeps/nptl/pthread-functions.h: ... here.
2313 * nptl/sysdeps/pthread/pthread.h: Moved ...
2314 * sysdeps/nptl/pthread.h: ... here.
2315 * nptl/sysdeps/pthread/setxid.h: Moved ...
2316 * sysdeps/nptl/setxid.h: ... here.
2317 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2318 * sysdeps/nptl/sigfillset.c: ... here.
2319 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2320 * sysdeps/nptl/tcb-offsets.h: ... here.
2321 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2322 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2323 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2324 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2325 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2326 * sysdeps/pthread/allocalim.h: ... here.
2327 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2328 * sysdeps/pthread/bits/sigthread.h: ... here.
2329 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2330 * sysdeps/pthread/flockfile.c: ... here.
2331 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2332 * sysdeps/pthread/ftrylockfile.c: ... here.
2333 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2334 * sysdeps/pthread/funlockfile.c: ... here.
2335 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2336 * sysdeps/pthread/posix-timer.h: ... here.
2337 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2338 * sysdeps/pthread/timer_create.c: ... here.
2339 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2340 * sysdeps/pthread/timer_delete.c: ... here.
2341 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2342 * sysdeps/pthread/timer_getoverr.c: ... here.
2343 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2344 * sysdeps/pthread/timer_gettime.c: ... here.
2345 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2346 * sysdeps/pthread/timer_routines.c: ... here.
2347 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2348 * sysdeps/pthread/timer_settime.c: ... here.
2349 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2350 * sysdeps/pthread/tst-timer.c: ... here.
2351 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2352 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2354 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2355 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2357 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2358 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2359 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2360 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2361 Update #include target.
2362 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2363 * sysdeps/i386/i686/nptl/Makefile: ... here.
2364 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2365 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2366 Update #include target.
2367 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2368 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2369 * nptl/sysdeps/i386/Makefile: Moved ...
2370 * sysdeps/i386/nptl/Makefile: ... here.
2371 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2372 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2373 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2374 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2375 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2376 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2377 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2378 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2379 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2380 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2381 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2382 * nptl/sysdeps/i386/tls.h: Moved ...
2383 * sysdeps/i386/nptl/tls.h: ... here.
2385 * sysdeps/sh/Makefile [$(subdir) = csu]
2386 (gen-as-const-headers): Add tcb-offsets.sym.
2387 * nptl/sysdeps/sh/Makefile: File removed.
2388 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2389 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2390 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2391 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2392 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2393 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2394 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2395 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2396 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2397 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2398 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2399 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2400 * nptl/sysdeps/sh/tls.h: Moved ...
2401 * sysdeps/sh/nptl/tls.h: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2403 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2404 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2405 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2406 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2407 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2408 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2409 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2410 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2411 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2412 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2413 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2414 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2415 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2417 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2419 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2421 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2423 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2425 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2426 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2428 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2431 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2432 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2433 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2434 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2435 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2437 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2439 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2441 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2443 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2445 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2447 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2449 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2451 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2453 * posix/spawn_faction_addopen.c: Include string.h.
2455 2014-06-11 Roland McGrath <roland@hack.frob.com>
2457 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2458 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2459 * nptl/sysdeps/x86_64/Makefile: Moved ...
2460 * sysdeps/x86_64/nptl/Makefile: ... here.
2461 * nptl/sysdeps/x86_64/configure: Moved ...
2462 * sysdeps/x86_64/nptl/configure: ... here.
2463 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2464 * sysdeps/x86_64/nptl/configure.ac: ... here.
2465 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2466 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2467 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2468 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2469 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2470 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2471 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2472 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2473 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2474 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2475 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2476 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2477 * nptl/sysdeps/x86_64/tls.h: Moved ...
2478 * sysdeps/x86_64/nptl/tls.h: ... here.
2479 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2480 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2481 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2482 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2484 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2486 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2490 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2492 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2494 [POSIX] (off_t): Likewise.
2495 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2496 [POSIX] (S_ISBLK): Require macro.
2497 [POSIX] (S_ISCHR): Likewise.
2498 [POSIX] (S_ISDIR): Likewise.
2499 [POSIX] (S_ISFIFO): Likewise.
2500 [POSIX] (S_ISREG): Likewise.
2501 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2503 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2505 [POSIX] (time_t): Likewise.
2506 [POSIX] (timer_t): Likewise.
2508 2014-06-11 Florian Weimer <fweimer@redhat.com>
2511 * posix/spawn_int.h (struct __spawn_action): Make the path string
2512 non-const to support deallocation.
2513 * posix/spawn_faction_addopen.c
2514 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2515 * posix/spawn_faction_destroy.c
2516 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2517 path in all spawn_do_open actions.
2518 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2519 posix_spawn_file_actions_addopen.
2521 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2523 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2524 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2525 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2526 conditional code always true.
2527 (__libc_vfork): New alias.
2529 2014-06-11 Roland McGrath <roland@hack.frob.com>
2531 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2532 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2534 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2536 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2537 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2539 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2540 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2542 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2543 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2545 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2547 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2548 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2549 multiarch strcmp for PPC64.
2550 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2551 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2553 multiarch optimizations.
2554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2555 (__libc_ifunc_impl_list): Likewise.
2557 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2559 * benchtests/scripts/validate_benchout.py: New script.
2560 * benchtests/Makefile (bench-func): Call it.
2561 * benchtests/scripts/benchout.schema.json: New file.
2563 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2565 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2566 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2567 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2568 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2569 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2570 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2571 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2572 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2573 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2574 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2575 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2576 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2577 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2578 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2579 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2580 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2633 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2642 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2644 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2646 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2648 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2653 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2657 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2660 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2663 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2665 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2667 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2673 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2675 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2676 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2678 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2680 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2682 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2685 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2687 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2688 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2690 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2692 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2693 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2694 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2695 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2696 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2697 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2698 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2699 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2700 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2701 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2702 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2703 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2704 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2706 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2707 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2709 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2710 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2711 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2712 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2714 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2715 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2716 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2717 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2718 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2719 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2720 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2722 2014-06-10 Wilco <wdijkstr@arm.com>
2724 * math/test-fenv-return.c: New file.
2725 * math/Makefile: Add new test test-fenv-return.
2727 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2730 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2732 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2733 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2734 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2735 0.0L for an argument of 1.0L.
2736 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2738 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2739 value when x - 1 is zero.
2740 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2741 * sysdeps/i386/fpu/libm-test-ulps: Update.
2742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2747 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2749 2014-06-09 Roland McGrath <roland@hack.frob.com>
2751 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2752 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2754 2014-06-09 Roland McGrath <roland@hack.frob.com>
2756 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2757 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2759 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2760 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2762 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2763 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2765 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2766 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2768 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2769 if not already defined.
2770 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2771 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2772 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2773 (TLS_INIT_TP): Use it.
2774 (TLS_DEFINE_INIT_TP): New macro.
2775 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2777 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2779 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2781 [POSIX] (IXANY): Likewise.
2782 [POSIX] (OLCUC): Likewise.
2783 [POSIX || POSIX2008] (CBAUD): Do not allow.
2784 [POSIX || POSIX2008] (DEFECHO): Likewise.
2785 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2786 [POSIX || POSIX2008] (ECHOKE): Likewise.
2787 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2788 [POSIX || POSIX2008] (EXTA): Likewise.
2789 [POSIX || POSIX2008] (EXTB): Likewise.
2790 [POSIX || POSIX2008] (FLUSHO): Likewise.
2791 [POSIX || POSIX2008] (LOBLK): Likewise.
2792 [POSIX || POSIX2008] (PENDIN): Likewise.
2793 [POSIX || POSIX2008] (SWTCH): Likewise.
2794 [POSIX || POSIX2008] (VDISCARD): Likewise.
2795 [POSIX || POSIX2008] (VDSUSP): Likewise.
2796 [POSIX || POSIX2008] (VLNEXT): Likewise.
2797 [POSIX || POSIX2008] (VREPRINT): Likewise.
2798 [POSIX || POSIX2008] (VSTATUS): Likewise.
2799 [POSIX || POSIX2008] (VWERASE): Likewise.
2800 (B*): Change to B[0123456789]*.
2801 * conform/data/time.h-data [POSIX || UNIX98]
2802 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2803 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2804 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2805 [POSIX] (tm_*): Do not allow.
2807 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2809 * Makefile (install): Don't set LANGUAGE.
2810 * Makefile.in (install): Likewise.
2811 * assert/Makefile (test-assert-ENV): Remove variable.
2812 (test-assert-perr-ENV): Likewise.
2813 * elf/Makefile (neededtest4-ENV): Likewise.
2814 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2815 [$(cross-compiling) = no]: Don't set LANGUAGE.
2816 * io/ftwtest-sh (LANG): Remove variable.
2817 * libio/Makefile (tst-widetext-ENV): Likewise.
2818 * manual/install.texi (Running make install): Don't refer to
2819 environment settings for make install.
2820 * INSTALL: Regenerated.
2821 * nptl/tst-tls6.sh: Don't set LANG.
2822 * posix/globtest.sh (LANG): Remove variable.
2823 * string/Makefile (tester-ENV): Likewise.
2824 (inl-tester-ENV): Likewise.
2825 (noinl-tester-ENV): Likewise.
2826 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2827 [$(cross-compiling) = no]: Don't set LANGUAGE.
2828 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2829 without explicit environment settings.
2831 2014-06-06 Roland McGrath <roland@hack.frob.com>
2833 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2834 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2835 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2836 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2838 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2840 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2841 other files in the crypt directory.
2842 * crypt/crypt.c: Remove duplicate includes.
2843 * crypt/crypt-entry.c: Likewise.
2844 * crypt/crypt_util.c: Likewise.
2846 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2848 * Makeconfig (run-program-env): New variable.
2849 (run-program-prefix-before-env): Likewise.
2850 (run-program-prefix-after-env): Likewise.
2851 (run-program-prefix): Define in terms of new variables.
2852 (built-program-cmd-before-env): New variable.
2853 (built-program-cmd-after-env): Likewise.
2854 (built-program-cmd): Define in terms of new variables.
2855 (test-program-prefix-before-env): New variable.
2856 (test-program-prefix-after-env): Likewise.
2857 (test-program-prefix): Define in terms of new variables.
2858 (test-program-cmd-before-env): New variable.
2859 (test-program-cmd-after-env): Likewise.
2860 (test-program-cmd): Define in terms of new variables.
2861 * Rules (make-test-out): Use $(run-program-env).
2862 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2863 (help): Do not mention environment variables. Mention
2864 --timeoutfactor option.
2865 (timeoutfactor): New variable.
2866 (blacklist_exports): Remove function.
2867 (exports): Remove variable.
2868 (command): Do not include ${exports}.
2869 * manual/install.texi (Configuring and compiling): Do not mention
2870 test wrappers preserving environment variables. Mention that last
2871 assignment to a variable must take precedence.
2872 * INSTALL: Regenerated.
2873 * benchtests/Makefile (run-bench): Use $(run-program-env).
2874 * catgets/Makefile ($(objpfx)test1.cat): Use
2875 $(built-program-cmd-before-env), $(run-program-env) and
2876 $(built-program-cmd-after-env).
2877 ($(objpfx)test2.cat): Do not specify environment variables
2879 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2880 $(run-program-env) and $(built-program-cmd-after-env).
2881 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2882 $(run-program-env) and $(test-program-cmd-after-env).
2883 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2885 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2886 run_program_env and test_program_cmd_after_env arguments.
2887 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2888 * elf/tst-pathopt.sh: Use run_program_env argument.
2889 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2890 $(test-wrapper-env) and $(run-program-env).
2891 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2892 run_program_env arguments.
2893 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2894 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2895 $(test-program-prefix-before-env), $(run-program-env) and
2896 $(test-program-prefix-after-env).
2897 ($(objpfx)tst-gettext2.out): Likewise.
2898 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2899 run_program_env and test_program_prefix_after_env arguments.
2900 * intl/tst-gettext2.sh: Likewise.
2901 * intl/tst-gettext4.sh: Do not set environment variables
2903 * intl/tst-gettext6.sh: Likewise.
2904 * intl/tst-translit.sh: Likewise.
2905 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2906 $(test-program-prefix-before-env), $(run-program-env) and
2907 $(test-program-prefix-after-env).
2908 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2909 run_program_env and test_program_prefix_after_env arguments.
2910 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2911 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2912 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2913 explicitly with each use of ${test_wrapper_env}.
2914 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2915 $(test-program-prefix-before-env), $(run-program-env) and
2916 $(test-program-prefix-after-env).
2917 * posix/tst-getconf.sh: Do not set environment variables
2919 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2920 run_program_env and test_program_prefix_after_env arguments.
2921 * stdio-common/tst-printf.sh: Do not set environment variables
2923 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2924 $(test-program-prefix-before-env), $(run-program-env) and
2925 $(test-program-prefix-after-env).
2926 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2927 run_program_env and test_program_prefix_after_env arguments.
2928 Split $test calls into $test_pre and $test.
2929 * timezone/Makefile (build-testdata): Use
2930 $(built-program-cmd-before-env), $(run-program-env) and
2931 $(built-program-cmd-after-env).
2933 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2935 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2936 strlen for non SHARED builds.
2938 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2940 * nptl/allocatestack.c (check_list): Inlined function...
2941 (__reclaim_stacks): ... here.
2943 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2946 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2949 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2951 * Rules (make-test-out): Include
2952 LOCPATH=$(common-objpfx)localedata in default environment.
2953 * debug/Makefile (tst-chk1-ENV): Remove variable.
2954 (tst-chk2-ENV): Likewise.
2955 (tst-chk3-ENV): Likewise.
2956 (tst-chk4-ENV): Likewise.
2957 (tst-chk5-ENV): Likewise.
2958 (tst-chk6-ENV): Likewise.
2959 (tst-lfschk1-ENV): Likewise.
2960 (tst-lfschk2-ENV): Likewise.
2961 (tst-lfschk3-ENV): Likewise.
2962 (tst-lfschk4-ENV): Likewise.
2963 (tst-lfschk5-ENV): Likewise.
2964 (tst-lfschk6-ENV): Likewise.
2965 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2966 (tst-iconv7-ENV): Likewise.
2967 * intl/Makefile (LOCPATH-ENV): Likewise.
2968 (tst-codeset-ENV): Likewise.
2969 (tst-gettext3-ENV): Likewise.
2970 (tst-gettext5-ENV): Likewise.
2971 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2972 (tst-fopenloc-ENV): Likewise.
2973 (tst-fgetws-ENV): Remove variable.
2974 (tst-ungetwc1-ENV): Likewise.
2975 (tst-ungetwc2-ENV): Likewise.
2976 (bug-ungetwc2-ENV): Likewise.
2977 (tst-swscanf-ENV): Likewise.
2978 (bug-ftell-ENV): Likewise.
2979 (tst-fgetwc-ENV): Likewise.
2980 (tst-fseek-ENV): Likewise.
2981 (tst-ftell-partial-wide-ENV): Likewise.
2982 (tst-ftell-active-handler-ENV): Likewise.
2983 (tst-ftell-append-ENV): Likewise.
2984 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2985 (tst-regexloc-ENV): Likewise.
2986 (bug-regex1-ENV): Likewise.
2987 (tst-regex-ENV): Likewise.
2988 (tst-regex2-ENV): Likewise.
2989 (bug-regex5-ENV): Likewise.
2990 (bug-regex6-ENV): Likewise.
2991 (bug-regex17-ENV): Likewise.
2992 (bug-regex18-ENV): Likewise.
2993 (bug-regex19-ENV): Likewise.
2994 (bug-regex20-ENV): Likewise.
2995 (bug-regex22-ENV): Likewise.
2996 (bug-regex23-ENV): Likewise.
2997 (bug-regex25-ENV): Likewise.
2998 (bug-regex26-ENV): Likewise.
2999 (bug-regex30-ENV): Likewise.
3000 (bug-regex32-ENV): Likewise.
3001 (bug-regex33-ENV): Likewise.
3002 (bug-regex34-ENV): Likewise.
3003 (bug-regex35-ENV): Likewise.
3004 (tst-rxspencer-ENV): Likewise.
3005 (tst-rxspencer-no-utf8-ENV): Likewise.
3006 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3007 (tst-sscanf-ENV): Likewise.
3008 (tst-swprintf-ENV): Likewise.
3009 (tst-swscanf-ENV): Likewise.
3010 (test-vfprintf-ENV): Likewise.
3011 (scanf13-ENV): Likewise.
3012 (bug14-ENV): Likewise.
3013 (tst-grouping-ENV): Likewise.
3014 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3015 (tst-strtod3-ENV): Likewise.
3016 (tst-strtod4-ENV): Likewise.
3017 (tst-strtod5-ENV): Likewise.
3018 (testmb2-ENV): Likewise./
3019 * string/Makefile (tst-strxfrm-ENV): Likewise.
3020 (tst-strxfrm2-ENV): Likewise.
3021 (bug-strcoll1-ENV): Likewise.
3022 (test-strcasecmp-ENV): Likewise.
3023 (test-strncasecmp-ENV): Likewise.
3024 * time/Makefile (tst-strptime-ENV): Likewise.
3025 (tst-ftime_l-ENV): Likewise.
3026 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3027 (tst-mbrtowc-ENV): Likewise.
3028 (tst-wcrtomb-ENV): Likewise.
3029 (tst-mbrtowc2-ENV): Likewise.
3030 (tst-c16c32-1-ENV): Likewise.
3031 (tst-mbsnrtowcs-ENV): Likewise.
3033 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3035 * manual/resource.texi (How to get information about the memory
3036 subsystem?): Fix typo.
3037 Reported by Peon de la Parra Ivan <peon@keba.com>
3039 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3042 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3043 (pthread_spin_lock): Branch out of spin loop to proper location.
3044 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3045 (pthread_spin_lock): Likewise.
3047 * nptl/tst-spin4.c: New test.
3048 * nptl/Makefile (tests): Add tst-spin4.
3050 2014-06-03 Andreas Schwab <schwab@suse.de>
3053 * resolv/res_send.c (send_dg): Reload file descriptor after
3056 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3058 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3060 2014-06-03 Richard Henderson <rth@redhat.com>
3062 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3063 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3064 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3065 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3066 in the SAVE_PID block.
3067 (__libc_vfork): New alias.
3068 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3070 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3071 child in registers, not on the stack. Remove RESET_PID conditionals.
3072 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3074 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3076 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3078 2014-06-03 Wilco <wdijkstr@arm.com>
3080 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3081 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3082 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3083 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3084 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3087 2014-06-03 Wilco <wdijkstr@arm.com>
3089 * sysdeps/aarch64/fpu/math_private.h
3090 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3091 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3092 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3093 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3096 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3098 * crypt/crypt-private.h: Include ufc-crypt.h.
3099 (__b64_from_24bit): Declare extern.
3100 * crypt/crypt_util.c(__b64_from_24bit): New function.
3101 (b64t): New static const variable.
3102 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3103 (b64t): Remove variable.
3104 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3105 * crypt/sha256-crypt.c: Include crypt-private.h.
3106 (b64t): Remove variable.
3107 (__sha256_crypt_r): Remove b64_from_24bit and replace
3108 with __b64_from_24bit.
3109 * crypt/sha512-crypt.c: Likewise.
3111 2014-06-02 Roland McGrath <roland@hack.frob.com>
3113 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3114 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3115 Label the code __libc_vfork rather than __vfork.
3116 [!NOT_IN_libc] (vfork): Define as weak alias.
3117 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3118 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3119 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3121 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 * malloc/malloc.c (malloc_info): Fix format specifier for
3126 2014-06-02 Wilco <wdijkstr@arm.com>
3128 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3131 2014-06-02 Wilco <wdijkstr@arm.com>
3134 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3135 Rewrite to reduce FPCR/FPSR accesses.
3137 2014-06-01 David S. Miller <davem@davemloft.net>
3139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3141 2014-05-31 David S. Miller <davem@davemloft.net>
3143 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3144 to occur in round to nearest mode when |x| >= 2.0
3146 2014-05-30 Richard Henderson <rth@twiddle.net>
3148 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3149 (PSEUDO_RET_NOERRNO): Remove.
3150 (ret): Don't redefine.
3151 (ret_NOERRNO): Define in terms of ret.
3152 (ret_ERRVAL): Likewise.
3154 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3155 use of PSEUDO_RET; perform the error check directly.
3157 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3159 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3162 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3164 * malloc/malloc (malloc_info): Fix formatting.
3166 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3167 Roland McGrath <roland@hack.frob.com>
3169 * malloc/malloc (malloc_info): Also print mmapped statistics.
3171 2014-05-30 Roland McGrath <roland@hack.frob.com>
3173 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3174 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3176 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3178 * malloc/malloc.c (malloc_info): Inline mi_arena.
3180 2014-05-29 Richard Henderson <rth@twiddle.net>
3182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3183 Remove comma before expanding ASM_ARGS_##nr.
3184 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3185 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3187 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3188 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3189 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3190 (ASM_ARGS_1): Add leading comma.
3192 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3193 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3194 to __errno_location.
3195 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3196 Remove the expected plt for __errno_location.
3198 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3199 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3202 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3203 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3204 it and break it down.
3205 (DOCARGS_0, DOCARGS_1): Do nothing.
3206 (DOCARGS_2): Update to store into the new stack frame.
3207 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3208 (UNDOCARGS_1): Update to restore from the new stack frame.
3209 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3210 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3213 (SINGLE_THREAD_P): New parameter for result regno.
3214 (PSEUDO): Update to match; use cbz instead of beq.
3216 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3217 Use ENTRY to define the _nocancel entry point. Share the syscall
3218 and syscall error check paths with the cancel path.
3221 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3222 whitespace; tabs before and after asm mnemonics.
3224 2014-05-29 Eric Wong <normalperson@yhbt.net>
3227 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3228 Call fstat64 or stat64 internally, depending on arguments passed.
3229 Replace stat buffer argument with file descriptor argument.
3230 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3231 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3232 Pass fd to __internal_statvfs instead of calling fstat64.
3233 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3234 Pass fd to __internal_statvfs64 instead of calling fstat64.
3235 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3236 Pass -1 to __internal_statvfs instead of calling stat64.
3237 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3238 Pass -1 to __internal_statvfs64 instead of calling stat64.
3240 2014-05-28 Roland McGrath <roland@hack.frob.com>
3242 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3243 that was previously under [RESET_PID].
3244 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3246 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3247 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3249 2014-05-27 Roland McGrath <roland@hack.frob.com>
3251 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3253 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3254 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3256 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3258 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3260 2014-05-27 Andreas Schwab <schwab@suse.de>
3262 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3264 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3265 * elf/rtld.c (init_tls, dl_main): Likewise.
3266 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3267 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3268 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3269 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3270 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3271 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3272 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3273 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3274 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3275 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3276 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3277 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3278 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3279 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3280 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3281 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3282 * sysdeps/generic/tls.h: Update description.
3284 2014-05-27 Will Newton <will.newton@linaro.org>
3287 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3288 and restore r2 rather than just restoring.
3290 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3293 * libio/tst-ftell-append.c: New test case.
3294 * libio/Makefile (tests): Add test case.
3295 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3297 * libio/wfileops.c (do_ftell_wide): Likewise.
3299 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3303 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3307 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3308 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3309 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3310 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3311 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3312 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3313 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3316 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3319 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3320 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3321 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3322 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3323 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3325 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3326 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3328 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3330 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3332 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3333 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3334 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3336 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3337 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3338 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3339 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3341 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3354 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3357 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3362 conditional [RESET_PID].
3363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3364 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3366 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3371 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3372 (__libc_vfork): New strong alias.
3373 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3375 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3380 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3381 (__libc_vfork): New strong alias.
3382 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3384 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3387 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3389 * malloc/malloc.c (mi_arena): New function.
3390 (malloc_info): Remove nested function mi_arena. Call non-nosted
3393 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3395 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3397 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3398 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3399 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3400 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3401 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3402 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3403 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3405 2014-05-26 Andreas Schwab <schwab@suse.de>
3408 * locale/programs/repertoire.c (repertoire_read): Add slash
3409 between I18NPATH element and file name.
3410 * locale/programs/locfile.c (locfile_read): Likewise.
3412 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3414 * nptl/pthread_mutexattr_settype.c
3415 (__pthread_mutexattr_settype):
3416 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3418 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3420 * nptl/tst-mutex5 (do_test):
3421 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3423 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3425 * benchtests/README: Document 'init' directive.
3426 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3428 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3429 (parse_file): Recognize 'init' directive.
3431 2014-05-26 Kyle McMartin <kyle@redhat.com>
3434 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3435 alignment of struct pthread.
3437 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3440 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3441 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3442 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3443 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3445 2014-05-25 Richard Henderson <rth@twiddle.net>
3447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3448 (SINGLE_THREAD_P_PIC): Remove.
3449 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3450 (SINGLE_THREAD_P_PIC): Remove.
3452 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3453 branch to syscall error ...
3455 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3456 from __local_syscall_error to .Lsyscall_error.
3457 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3458 (SYSCALL_ERROR): Update label name.
3460 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3461 Do not use DOARGS/UNDOARGS.
3462 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3463 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3464 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3465 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3466 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3471 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3472 define if !NOT_IN_libc.
3473 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3474 define with non-default symbol versions.
3476 2014-05-23 Richard Henderson <rth@twiddle.net>
3478 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3479 (vfork, __vfork): Define via compat_symbol.
3481 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3482 [!HAVE_IFUNC] (vfork_compat): Remove.
3483 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3485 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3488 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3489 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3492 2014-05-23 Richard Henderson <rth@twiddle.net>
3494 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3495 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3496 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3497 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3499 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3500 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3501 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3502 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3503 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3504 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3505 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3506 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3507 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3508 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3509 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3510 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3511 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3512 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3513 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3514 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3515 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3516 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3517 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3518 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3519 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3522 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3523 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3524 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3526 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3528 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3529 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3530 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3531 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3532 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3534 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3536 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3537 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3538 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3539 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3540 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3541 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3542 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3543 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3544 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3546 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3548 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3550 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3551 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3552 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3553 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3554 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3556 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3557 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3558 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3559 before exiting on error.
3560 (__libc_vfork): New strong alias.
3561 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3562 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3564 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3565 that was previously under [RESET_PID].
3566 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3568 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3570 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3573 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3574 value when x - 1 is zero.
3575 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3576 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3577 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3578 0.0L for an argument of 1.0L.
3579 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3581 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3582 value when x - 1 is zero.
3583 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3584 * sysdeps/i386/fpu/libm-test-ulps: Update.
3585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3587 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3589 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3590 alphasort and versionsort.
3592 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3594 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3596 [copysignf]: Likewise.
3598 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3600 * crypt/md5-crypt.c: Fix formatting.
3602 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3604 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3605 (b64_from_24bit): New function.
3607 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3609 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3610 libc_hidden_builtin_def to ifunc.
3611 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3612 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3614 2014-05-21 Roland McGrath <roland@hack.frob.com>
3616 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3617 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3619 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3621 * nscd/Depend (linuxthreads): Remove.
3623 * resolv/Depend (linuxthreads): Remove.
3624 * rt/Depend (linuxthreads): Remove.
3626 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3627 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3628 $(common-objpfx)elf/.
3629 (link-libc-before-gnulib): Likewise.
3630 (elfobjdir): Remove variable.
3631 * Makefile (install): Use $(elf-objpfx) instead of
3632 $(common-objpfx)elf/.
3633 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3635 (link-libc-deps): Likewise.
3636 ($(common-objpfx)libc.so): Likewise.
3637 ($(common-objpfx)linkobj/libc.so): Likewise.
3638 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3639 instead of $(common-objpfx)elf/.
3640 (symbolic-link-list): Likewise.
3641 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3642 [$(cross-compiling) = no]: Likewise.
3643 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3645 (static-gnulib-arch): Likewise.
3646 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3647 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3648 $(common-objpfx)elf/.
3650 2014-05-21 Richard Henderson <rth@redhat.com>
3652 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3653 (SINGLE_THREAD_P): Use the correct width load. Fold
3654 into the ldr offset.
3656 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3657 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3659 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3661 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3662 (libgcc_s_resume): Use __attribute_used__.
3663 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3666 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3668 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3669 optimization when used with float constants.
3671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3673 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3676 * locale/nl_langinfo_l.c: Make direct reference to every
3677 _nl_current_CATEGORY symbol.
3678 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3679 (tests-static): Add tst-langinfo-static.
3680 (tests-special): Add tst-langinfo-static.out.
3681 ($(objpfx)tst-langinfo.out): Redirect output.
3682 ($(objpfx)tst-langinfo-static.out): New.
3683 * localedata/tst-langinfo.sh: Send output to stdout.
3684 * localedata/tst-langinfo-static.c: New file.
3687 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3688 when the shift amount is modulo the limb size.
3690 2014-05-20 Richard Henderson <rth@redhat.com>
3693 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3694 Change type of sa_flags from unsigned int to int.
3697 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3699 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3701 2014-05-20 Will Newton <will.newton@linaro.org>
3703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3704 Test the return value of the system call in the nocancel case.
3706 2014-05-20 Will Newton <will.newton@linaro.org>
3707 Yvan Roux <yvan.roux@linaro.org>
3709 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3710 #include of asm/ptrace.h.
3711 (PTRACE_GET_THREAD_AREA): Remove #undef.
3712 (PTRACE_GETHBPREGS): Likewise.
3713 (PTRACE_SETHBPREGS): Likewise.
3714 (struct user_regs_struct): New structure.
3715 (struct user_fpsimd_struct): New structure.
3716 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3717 #include of asm/ptrace.h and second #include of sys/user.h.
3718 (PTRACE_GET_THREAD_AREA): Remove #undef.
3719 (PTRACE_GETHBPREGS): Likewise.
3720 (PTRACE_SETHBPREGS): Likewise.
3721 (ELF_NGREG): Use new struct user_regs_struct.
3722 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3724 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3726 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3727 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3729 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3733 membar to avoid block loads/stores to overlap previous stores.
3735 2014-05-17 Richard Henderson <rth@redhat.com>
3737 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3738 Create the __##syscall_name##_nocancel entry point.
3739 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3740 Remove; let the sysdep-cancel.h code create it.
3742 2014-05-17 David S. Miller <davem@davemloft.net>
3744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3745 Protect with __USE_GNU.
3746 (TIOCSET_TEMPT): Likewise.
3747 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3748 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3749 these are already provided in bits/ioctl-types.h
3751 2014-05-16 Roland McGrath <roland@hack.frob.com>
3753 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3754 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3756 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3757 Use wait4 regardless of [__NR_waitpid].
3759 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3762 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3763 (_FP_NANSIGN_Q): Set the quiet bit.
3765 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3767 * benchtests/Makefile
3768 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3769 not $(common-objpfx)math/libm.so.
3770 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3771 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3772 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3773 $(common-objpfx)dlfcn/libdl.so.
3774 ($(objpfx)tst-audit8): Depend on $(libm), not
3775 $(common-objpfx)math/libm.so.
3776 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3777 not $(common-objpfx)dlfcn/libdl.so.
3779 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3780 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3781 [$(build-shared) = yes].
3782 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3783 $(common-objpfx)nptl/libpthread.so.
3784 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3785 $(common-objpfx)math/libm.so$(libm.so-version) or
3786 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3787 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3788 $(common-objpfx)dlfcn/libdl.so.
3789 * setjmp/Makefile (link-libm): Remove variable.
3790 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3791 * stdio-common/Makefile (link-libm): Remove variable.
3792 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3793 * stdlib/Makefile (link-libm): Remove variable.
3794 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3795 ($(objpfx)tst-strtod-round): Likewise.
3796 ($(objpfx)tst-tininess): Likewise.
3797 ($(objpfx)tst-strtod-underflow): Likewise.
3798 ($(objpfx)tst-strtod6): Likewise.
3799 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3800 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3801 $(common-objpfx)dlfcn/libdl.so.
3803 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3805 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3806 BSD terminal modes definitions.
3808 2014-05-16 Roland McGrath <roland@hack.frob.com>
3810 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3811 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3813 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3814 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3815 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3816 Don't do #include_next.
3817 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3818 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3819 Don't do #include_next.
3820 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3821 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3822 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3823 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3825 2014-05-16 Allan McRae <allan@archlinux.org>
3827 * po/sv.po: Update Swedish translation from translation project.
3829 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3832 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3835 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3836 errno if the TIOCGPTN ioctl fails with an error different than
3838 * login/tst-ptsname.c: New file.
3839 * login/Makefile (tests): Add tst-ptsname.
3842 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3845 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3849 herrno to return EAI_AGAIN.
3851 2014-05-14 Roland McGrath <roland@hack.frob.com>
3853 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3854 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3855 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3856 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3857 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3858 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3859 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3860 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3861 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3862 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3863 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3864 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3865 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3866 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3867 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3868 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3869 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3870 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3871 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3872 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3873 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3874 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3876 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3877 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3878 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3880 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3882 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3884 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3886 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3889 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3891 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3892 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3893 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3897 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3899 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3901 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3903 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3905 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3907 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3911 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3913 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3915 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3918 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3920 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3922 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3924 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3936 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3939 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3941 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3944 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3945 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3946 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3947 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3949 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3951 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3953 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3955 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3957 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3959 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3961 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3963 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3965 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3966 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3967 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3968 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3969 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3970 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3971 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3972 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3973 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3975 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3976 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3978 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3979 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3980 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3982 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3986 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3988 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3991 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3992 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3996 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3999 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4001 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4002 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4003 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4004 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4005 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4006 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4008 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4011 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4013 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4014 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4015 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4016 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4019 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4021 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4023 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4024 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4025 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4026 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4027 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4030 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4031 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4033 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4036 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4039 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4041 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4042 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4044 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4046 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4048 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4049 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4050 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4051 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4053 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4056 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4058 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4059 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4061 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4064 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4066 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4068 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4069 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4070 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4072 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4074 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4076 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4079 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4082 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4083 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4085 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4086 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4088 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4090 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4091 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4092 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4093 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4095 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4099 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4101 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4104 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4105 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4107 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4109 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4110 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4112 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4113 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4117 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4119 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4120 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4121 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4122 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4123 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4124 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4125 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4127 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4129 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4131 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4132 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4134 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4135 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4137 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4138 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4139 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4141 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4143 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4144 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4145 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4146 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4147 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4149 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4150 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4151 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4153 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4156 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4158 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4161 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4163 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4165 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4167 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4170 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4173 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4175 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4177 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4179 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4180 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4181 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4182 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4183 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4184 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4185 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4187 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4188 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4189 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4191 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4192 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4193 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4194 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4195 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4197 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4198 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4199 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4200 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4201 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4202 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4203 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4204 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4205 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4206 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4208 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4209 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4211 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4212 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4214 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4216 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4217 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4218 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4219 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4220 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4221 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4222 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4223 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4224 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4229 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4241 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4243 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4245 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4247 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4248 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4249 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4250 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4252 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4253 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4254 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4255 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4256 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4257 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4258 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4259 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4262 that was previously under [RESET_PID].
4263 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4264 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4265 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4267 * sysdeps/i386/nptl/Implies: New file.
4268 * sysdeps/x86_64/nptl/Implies: New file.
4269 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4270 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4272 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4274 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4275 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4276 (__libc_vfork): New strong alias.
4277 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4278 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4280 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4281 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4282 (__libc_vfork): New strong alias.
4283 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4284 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4286 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4287 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4288 (__libc_vfork): New strong alias.
4289 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4290 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4291 * nptl/pt-vfork.c: New file.
4292 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4293 (libpthread: GLIBC_2.20): New version set (empty).
4295 2014-05-14 Will Newton <will.newton@linaro.org>
4297 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4300 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4303 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4304 arguments with exponent 65 or above.
4305 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4306 arguments 0x1p113L or above.
4307 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4308 to arguments 0x1p107L or above.
4309 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4310 positive arguments with exponent 65 or above.
4311 * math/auto-libm-test-in: Add more tests of log1p.
4312 * math/auto-libm-test-out: Regenerated.
4315 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4316 non-finite arguments is +0.
4317 * math/s_cacosf.c (__cacosf): Likewise.
4318 * math/s_cacosl.c (__cacosl): Likewise.
4319 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4320 * sysdeps/i386/fpu/libm-test-ulps: Update.
4321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4324 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4326 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4327 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4328 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4329 for explicit high bit of mantissa when testing for argument equal
4331 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4332 * sysdeps/i386/fpu/libm-test-ulps: Update.
4333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4336 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4337 (__erf): Scale by 16 instead of 8 in potentially underflowing
4338 case. Ensure exception if result actually underflows.
4339 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4340 (__erff): Scale by 16 instead of 8 in potentially underflowing
4341 case. Ensure exception if result actually underflows.
4342 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4343 (efx8): Remove variable.
4344 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4345 case. Ensure exception if result actually underflows.
4346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4347 (efx8): Remove variable.
4348 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4349 case. Ensure exception if result actually underflows.
4350 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4351 (efx8): Remove variable.
4352 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4353 case. Ensure exception if result actually underflows.
4354 * math/auto-libm-test-in: Add more tests of erf.
4355 * math/auto-libm-test-out: Regenerated.
4357 2014-05-14 Andreas Schwab <schwab@suse.de>
4359 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4360 Remove code conditionalized on USE___THREAD.
4362 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4363 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4366 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4368 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4369 Define unconditionally.
4370 (__ASSUME_O_CLOEXEC): Likewise.
4371 (__ASSUME_SOCK_CLOEXEC): Likewise.
4372 (__ASSUME_IN_NONBLOCK): Likewise.
4373 (__ASSUME_PIPE2): Likewise.
4374 (__ASSUME_EVENTFD2): Likewise.
4375 (__ASSUME_SIGNALFD4): Likewise.
4376 (__ASSUME_DUP3): Likewise.
4377 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4378 (__ASSUME_DUP3): Do not define.
4379 (__ASSUME_EVENTFD2): Likewise.
4380 (__ASSUME_IN_NONBLOCK): Likewise.
4381 (__ASSUME_O_CLOEXEC): Likewise.
4382 (__ASSUME_PIPE2): Likewise.
4383 (__ASSUME_SIGNALFD4): Likewise.
4384 (__ASSUME_SOCK_CLOEXEC): Likewise.
4385 (__ASSUME_UTIMES): Undefine.
4386 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4387 (__ASSUME_UTIMES): Do not define.
4388 (__ASSUME_O_CLOEXEC): Likewise.
4389 (__ASSUME_SOCK_CLOEXEC): Likewise.
4390 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4391 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4393 (__ASSUME_PIPE2): Likewise.
4394 (__ASSUME_EVENTFD2): Likewise.
4395 (__ASSUME_SIGNALFD4): Likewise.
4396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4397 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4399 (__ASSUME_EVENTFD2): Likewise.
4400 (__ASSUME_SIGNALFD4): Likewise.
4401 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4402 (__ASSUME_32BITUIDS): Likewise.
4403 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4404 (__ASSUME_IPC64): Likewise.
4405 (__ASSUME_ST_INO_64_BIT): Likewise.
4406 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4407 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4408 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4409 (__ASSUME_UTIMES): Do not define.
4410 (__ASSUME_PSELECT): Likewise.
4411 (__ASSUME_PPOLL): Likewise.
4412 (__ASSUME_O_CLOEXEC): Likewise.
4413 (__ASSUME_SOCK_CLOEXEC): Likewise.
4414 (__ASSUME_IN_NONBLOCK): Likewise.
4415 (__ASSUME_PIPE2): Likewise.
4416 (__ASSUME_EVENTFD2): Likewise.
4417 (__ASSUME_SIGNALFD4): Likewise.
4418 (__ASSUME_DUP3): Likewise.
4419 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4420 (__ASSUME_UTIMES): Likewise.
4421 (__ASSUME_O_CLOEXEC): Likewise.
4422 (__ASSUME_SOCK_CLOEXEC): Likewise.
4423 (__ASSUME_IN_NONBLOCK): Likewise.
4424 (__ASSUME_PIPE2): Likewise.
4425 (__ASSUME_EVENTFD2): Likewise.
4426 (__ASSUME_SIGNALFD4): Likewise.
4427 (__ASSUME_DUP3): Likewise.
4428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4429 (__ASSUME_UTIMES): Likewise.
4430 (__ASSUME_O_CLOEXEC): Likewise.
4431 (__ASSUME_SOCK_CLOEXEC): Likewise.
4432 (__ASSUME_IN_NONBLOCK): Likewise.
4433 (__ASSUME_PIPE2): Likewise.
4434 (__ASSUME_EVENTFD2): Likewise.
4435 (__ASSUME_SIGNALFD4): Likewise.
4436 (__ASSUME_DUP3): Likewise.
4437 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4439 (__ASSUME_UTIMES): Likewise.
4440 (__ASSUME_EVENTFD2): Likewise.
4441 (__ASSUME_SIGNALFD4): Likewise.
4442 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4443 (__ASSUME_O_CLOEXEC): Likewise.
4444 (__ASSUME_SOCK_CLOEXEC): Likewise.
4445 (__ASSUME_IN_NONBLOCK): Likewise.
4446 (__ASSUME_PIPE2): Likewise.
4447 (__ASSUME_EVENTFD2): Likewise.
4448 (__ASSUME_SIGNALFD4): Likewise.
4449 (__ASSUME_DUP3): Likewise.
4450 (__ASSUME_UTIMES): Undefine.
4452 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4453 feclearexcept. Remove symbol versioning code.
4454 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4455 symbol versioning code.
4456 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4457 symbol versioning code.
4458 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4459 feupdateenv. Remove symbol versioning code.
4460 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4461 fegetexceptflag. Remove symbol versioning code.
4462 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4463 fesetexceptflag. Remove symbol versioning code.
4464 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4465 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4466 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4467 (__posix_fadvise64_l32): Remove prototype.
4468 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4471 2014-05-13 Roland McGrath <roland@hack.frob.com>
4473 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4474 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4475 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4476 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4478 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4480 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4481 current working directory
4483 2014-05-13 Roland McGrath <roland@hack.frob.com>
4485 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4486 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4487 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4488 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4489 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4490 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4491 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4510 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4511 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4512 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4513 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4518 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4519 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4520 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4521 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4522 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4523 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4524 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4525 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4526 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4528 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4529 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4531 * sysdeps/unix/sysv/linux/arm/Makefile
4532 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4533 Add rt-aeabi_unwind_cpp_pr1.
4534 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4535 Add nptl-aeabi_unwind_cpp_pr1.
4536 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4537 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4538 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4539 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4540 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4541 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4543 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4544 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4545 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4546 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4548 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4549 Deconditionalize the code that was previously under [RESET_PID].
4550 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4552 * sysdeps/generic/exit-thread.h: New file.
4553 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4554 * include/unistd.h (__exit_thread): Remove declaration.
4555 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4556 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4557 * csu/libc-start.c: Include <exit-thread.h>.
4558 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4559 * nptl/pthread_create.c: Include <exit-thread.h>.
4560 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4561 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4562 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4563 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4564 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4565 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4566 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4567 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4568 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4569 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4570 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4571 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4572 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4573 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4574 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4575 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4576 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4578 2014-05-13 Andreas Schwab <schwab@suse.de>
4580 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4582 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4584 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4585 (__ASSUME_UTIMES): Do not condition on kernel version.
4586 (__ASSUME_PSELECT): Define unconditionally.
4587 (__ASSUME_PPOLL): Likewise.
4588 (__ASSUME_ATFCTS): Likewise.
4589 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4590 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4591 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4592 (__ASSUME_UTIMENSAT): Define unconditionally.
4593 (__ASSUME_PRIVATE_FUTEX): Likewise.
4594 (__ASSUME_FALLOCATE): Likewise.
4595 (__ASSUME_O_CLOEXEC): Likewise.
4596 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4597 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4598 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4599 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4600 (__ASSUME_IN_NONBLOCK): Likewise.
4601 (__ASSUME_PIPE2): Likewise.
4602 (__ASSUME_EVENTFD2): Likewise.
4603 (__ASSUME_SIGNALFD4): Likewise.
4604 (__ASSUME_DUP3): Likewise.
4605 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4606 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4607 (__ASSUME_AT_RANDOM): Likewise.
4608 (__ASSUME_PREADV): Likewise.
4609 (__ASSUME_PWRITEV): Likewise.
4610 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4611 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4612 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4613 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4614 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4616 (__ASSUME_O_CLOEXEC): Define unconditionally.
4617 (__ASSUME_PSELECT): Do not undefine conditionally.
4618 (__ASSUME_PPOLL): Likewise.
4619 (__ASSUME_ATFCTS): Likewise.
4620 (__ASSUME_SET_ROBUST_LIST): Likewise.
4621 (__ASSUME_UTIMENSAT): Likewise.
4622 (__ASSUME_FDATASYNC): Define unconditionally.
4623 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4624 (__ASSUME_SIGFRAME_V2): Likewise.
4625 )__ASSUME_EVENTFD2): Likewise.
4626 (__ASSUME_SIGNALFD4): Likewise.
4627 (__ASSUME_PSELECT): Do not undefine conditionally.
4628 (__ASSUME_PPOLL): Likewise.
4629 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4630 (__ASSUME_PSELECT): Define unconditionally.
4631 (__ASSUME_PPOLL): Likewise.
4632 (__ASSUME_O_CLOEXEC): Likewise.
4633 (__ASSUME_SOCK_CLOEXEC): Likewise.
4634 (__ASSUME_IN_NONBLOCK): Likewise.
4635 (__ASSUME_PIPE2): Likewise.
4636 (__ASSUME_EVENTFD2): Likewise.
4637 (__ASSUME_SIGNALFD4): Likewise.
4638 (__ASSUME_DUP3): Likewise.
4639 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4640 (__ASSUME_O_CLOEXEC): Likewise.
4641 (__ASSUME_SOCK_CLOEXEC): Likewise.
4642 (__ASSUME_IN_NONBLOCK): Likewise.
4643 (__ASSUME_PIPE2): Likewise.
4644 (__ASSUME_EVENTFD2): Likewise.
4645 (__ASSUME_SIGNALFD4): Likewise.
4646 (__ASSUME_DUP3): Likewise.
4647 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4648 (__ASSUME_EVENTFD2): Likewise.
4649 (__ASSUME_SIGNALFD4): Likewise.
4650 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4652 2014-05-12 Andreas Schwab <schwab@suse.de>
4655 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4656 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4657 than maximum RPC packet size.
4658 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4659 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4660 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4661 (_nss_nis_getservbyport_r): Likewise.
4663 2014-05-12 Will Newton <will.newton@linaro.org>
4665 * malloc/Makefile (tests): Add tst-mallopt.
4666 * malloc/tst-mallopt.c: New file.
4668 2014-05-09 Roland McGrath <roland@hack.frob.com>
4670 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4671 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4673 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4675 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4676 (tst-tlsmod6.so): Likewise.
4678 2014-05-09 Roland McGrath <roland@hack.frob.com>
4680 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4682 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4685 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4686 and <dl-procinfo.h>.
4687 (__fegetenv): Save SSE state in envp->__eip if supported.
4688 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4689 envp->__eip if supported.
4690 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4691 and <dl-procinfo.h>.
4692 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4693 __data_offset and __data_selector in environment to 0. Set SSE
4695 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4697 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4699 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4701 2014-05-09 Will Newton <will.newton@linaro.org>
4703 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4704 and libc_relro_required for ARM.
4705 * sysdeps/arm/preconfigure: Regenerate.
4707 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4708 Stefan Liebler <stli@linux.vnet.ibm.com>
4710 * config.make.in (enable-lock-elision): New Makefile variable.
4711 * configure.ac: Likewise.
4712 * configure: Regenerate.
4713 * sysdeps/s390/configure.ac:
4714 Add check for gcc transactions support.
4715 * sysdeps/s390/configure: Regenerate.
4716 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4717 Build elision files if enabled.
4718 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4719 Add lock elision support for s390.
4720 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4721 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4722 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4723 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4724 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4725 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4726 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4728 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4730 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4732 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4734 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4735 (__lll_timedlock_elision, __lll_lock_elision)
4736 (__lll_unlock_elision, __lll_trylock_elision)
4737 (lll_timedlock_elision, lll_lock_elision)
4738 (lll_unlock_elision, lll_trylock_elision): Add.
4739 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4740 (pthread_mutex_t): Add lock elision support for s390.
4742 2014-05-14 Wilco <wdijkstr@arm.com>
4744 * sysdeps/arm/fclrexcpt.c: Cleanup.
4745 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4746 * sysdeps/arm/feenablxcpt.c: Cleanup.
4747 * sysdeps/arm/fegetenv.c: Cleanup.
4748 * sysdeps/arm/fegetexcept.c: Cleanup.
4749 * sysdeps/arm/fegetround.c: Cleanup.
4750 * sysdeps/arm/feholdexcpt.c: Cleanup.
4751 * sysdeps/arm/fesetenv.c: Cleanup.
4752 * sysdeps/arm/fesetround.c: Cleanup.
4753 * sysdeps/arm/feupdateenv.c: Cleanup.
4754 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4755 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4756 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4757 * sysdeps/arm/ftestexcept.c: Cleanup.
4758 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4759 * sysdeps/arm/setfpucw.c: Cleanup.
4761 2014-05-09 Will Newton <will.newton@linaro.org>
4763 * sysdeps/arm/armv7/strcmp.S: New file.
4764 * NEWS: Mention addition of ARMv7 optimized strcmp.
4766 2014-05-08 Roland McGrath <roland@hack.frob.com>
4768 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4769 look for %.ac rather than %.in.
4771 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4772 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4773 * sysdeps/mach/hurd/configure: Regenerated.
4774 * sysdeps/unix/sysv/linux/configure: Regenerated.
4776 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4778 2014-05-07 Steve Ellcey <sellcey@mips.com>
4781 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4785 2014-05-07 Andreas Schwab <schwab@suse.de>
4787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4788 when skipping over non-matching result from nscd.
4790 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4793 * nptl/sockperf.c (client): Check socket return value.
4796 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4797 nscd security class.
4799 2014-05-06 Roland McGrath <roland@hack.frob.com>
4801 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4802 * sysdeps/arm/unwind.h: ... here.
4804 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4807 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4810 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4812 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4813 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4814 multiarch strncpy for PPC64.
4815 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4816 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4817 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4818 multiarch optimizations.
4819 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4820 (__libc_ifunc_impl_list): Likewise.
4821 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4822 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4823 multiarch stpncpy for PPC64.
4824 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4825 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4827 2014-05-06 Andreas Schwab <schwab@suse.de>
4830 * gmon/mcount.c (_MCOUNT_DECL): Use
4831 atomic_compare_and_exchange_bool_acq instead of
4832 catomic_compare_and_exchange_bool_acq.
4834 2014-05-05 Roland McGrath <roland@hack.frob.com>
4836 * elf/Makefile (others, install-bin): Remove pldd.
4837 (pldd-modules): Variable removed.
4838 ($(objpfx)pldd): Target removed.
4839 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4840 (others, install-bin): Append pldd here.
4841 ($(objpfx)pldd): New target.
4843 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4844 to 0, so the first #if test emitted later doesn't see it undefined.
4845 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4846 * sysdeps/gnu/errlist.c: Regenerated.
4848 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4850 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4851 [libc_hidden_builtin_def]: Define to empty value.
4852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4853 [libc_hidden_builtin_def]: Likewise.
4854 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4855 [libc_hidden_builtin_def]: Likewise.
4856 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4857 [libc_hidden_builtin_def]: Likewise.
4858 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4859 __redirect_memcpy and define ifunc as default hidden symbol.
4860 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4861 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4863 2014-05-04 Adam Conrad <adconrad@0c3.net>
4865 * locale/iso-4217.def: Reintroduce XDR currency.
4867 2014-05-04 Allan McRae <allan@archlinux.org>
4869 * po/eo.po: Update Esperanto translation from translation project.
4871 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4873 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4874 and FEATURE_INDEX_MAX to 1.
4875 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4877 2014-05-01 Steve Ellcey <sellcey@mips.com>
4879 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4880 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4881 * iconvdata/big5.c (ONE_DIRECTION): Define.
4882 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4883 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4884 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4885 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4886 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4887 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4888 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4889 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4890 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4891 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4892 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4893 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4894 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4895 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4896 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4897 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4898 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4899 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4900 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4901 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4902 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4903 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4904 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4905 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4906 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4907 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4908 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4909 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4910 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4911 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4912 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4913 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4914 * iconvdata/johab.c (ONE_DIRECTION): Define.
4915 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4916 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4917 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4918 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4919 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4920 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4921 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4922 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4923 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4924 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4926 2014-05-01 Roland McGrath <roland@hack.frob.com>
4928 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4929 (_IO_JUMPS_OFFSET): Define to 0.
4931 * nptl/sysdeps/pthread/bits/libc-lock.h
4932 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4933 (__libc_lock_define_initialized_recursive): Always define using
4934 initializer. Modern compilers treat uninitialized (implicit zero) and
4935 explicit zero initializers the same (i.e. put the datum in bss).
4937 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4939 * nscd/nscd-client.h: Include <string.h>.
4941 2014-05-01 David S. Miller <davem@davemloft.net>
4944 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4945 multiple zero bytes exist at the end of a string.
4946 Reported by Aurelien Jarno <aurelien@aurel32.net>
4948 * string/test-strcmp.c (check): Add explicit test for situations where
4949 there are multiple zero bytes after the first.
4951 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4954 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4955 when compiling wprintf.
4956 * stdio-common/tstdiomisc.c (t3): New function.
4959 2014-05-01 Steve Ellcey <sellcey@mips.com>
4961 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4962 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4963 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4964 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4966 2014-05-01 Steve Ellcey <sellcey@mips.com>
4968 * stdlib/longlong.h: Updated from GCC.
4970 2014-05-01 Will Newton <will.newton@linaro.org>
4971 Bernard Ogden <bernie.ogden@linaro.org>
4973 * NEWS: Update fixed bug list.
4976 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4978 2014-04-30 David S. Miller <davem@davemloft.net>
4980 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4981 (libc_feholdexcept_setround_sparc_ctx): New function.
4982 (libc_fesetenv_sparc_ctx): Likewise.
4983 (libc_feupdateenv_sparc_ctx): Likewise.
4984 (libc_feholdsetround_sparc_ctx): Likewise.
4985 (libc_feholdexcept_setround_ctx): Define.
4986 (libc_feholdexcept_setroundf_ctx): Likewise.
4987 (libc_feholdexcept_setroundl_ctx): Likewise.
4988 (libc_fesetenv_ctx): Likewise.
4989 (libc_fesetenvf_ctx): Likewise.
4990 (libc_fesetenvl_ctx): Likewise.
4991 (libc_feupdateenv_ctx): Likewise.
4992 (libc_feupdateenvf_ctx): Likewise.
4993 (libc_feupdateenvl_ctx): Likewise.
4994 (libc_feresetround_ctx): Likewise.
4995 (libc_feresetroundf_ctx): Likewise.
4996 (libc_feresetroundl_ctx): Likewise.
4997 (libc_feholdsetround_ctx): Likewise.
4998 (libc_feholdsetroundf_ctx): Likewise.
4999 (libc_feholdsetroundl_ctx): Likewise.
5001 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5002 with __USE_GNU instead of XOPEN cpp guards.
5004 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5007 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5008 with XOPEN cpp guards.
5010 2014-04-30 Julian Brown <julian@codesourcery.com>
5013 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5016 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5019 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5021 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5022 * sysdeps/unix/sysv/linux/configure: Regenerated.
5023 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5024 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5025 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5026 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5027 * README: Update reference to required Linux kernel version.
5028 * manual/install.texi (Linux): Update reference to required Linux
5029 kernel headers version.
5030 * INSTALL: Regenerated.
5032 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5034 [POSIX] (limits.h): Likewise.
5035 [POSIX] (math.h): Likewise.
5036 [POSIX] (sys/wait.h): Likewise.
5037 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5039 [POSIX] (stddef.h): Do not allow header inclusion.
5041 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5043 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5045 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5047 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5048 Return immediately after lll_futex_wake.
5050 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5053 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5055 (datahead_init_pos): Call datahead_init_common early.
5056 (datahead_init_neg): Likewise.
5058 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5059 datahead_init_neg): New functions.
5060 * nscd/aicache.c (addhstaiX): Use them.
5061 * nscd/grpcache.c (cache_addgr): Likewise.
5062 * nscd/hstcache.c (cache_addhst): Likewise.
5063 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5064 * nscd/netgroupcache.c (do_notfound): Likewise.
5065 (addgetnetgrentX): Likewise.
5066 (addinnetgrX): Likewise.
5067 * nscd/pwdcache.c (cache_addpw): Likewise.
5068 * nscd/servicescache.c (cache_addserv): Likewise.
5070 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5071 Atsushi Onoe <atsushi@onoe.org>
5076 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5077 one response is valid.
5078 * resolv/res_send.c (send_dg): Check for validity of other
5079 response if the current response is a referral.
5081 2014-04-29 Steve Ellcey <sellcey@mips.com>
5083 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5085 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5088 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5089 Always divide by positive zero when computing -Inf result.
5090 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5091 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5093 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5095 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5096 FPSCR if value do not change.
5097 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5098 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5099 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5100 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5101 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5102 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5105 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5107 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5108 * sysdeps/unix/sysv/linux/hppa: Move directory from
5109 ports/systeps/unix/sysv/linux/hppa.
5110 * README: Update listing for hppa-*-linux-gnu.
5112 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5115 * manual/stdio.texi (Hook functions): Fix types of stream hook
5118 * socket/sys/socket.h: Fix typo in comment.
5120 2014-04-28 Wilco <wdijkstr@arm.com>
5122 * sysdeps/arm/fenv_private.h: New file.
5123 * sysdeps/arm/math_private.h: New file.
5124 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5126 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5128 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5130 (La_x86_64_retval): Likewise.
5132 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5134 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5135 fpsr if value didn't change.
5136 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5137 to fpcr if value didn't change.
5138 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5139 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5140 fpsr or fpcr if value didn't change.
5141 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5142 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5143 fpcr if value didn't change.
5144 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5145 to fpsr if value didn't change.
5147 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5149 * nptl/tst-sem3.c: Use test-skeleton.c
5150 (main): Rename to do_test. Use return instead of
5152 * nptl/tst-sem4.c: Use test-skeleton.c
5153 (main): Rename to do_test.
5155 2014-04-22 David S. Miller <davem@davemloft.net>
5157 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5158 (struct sigaction): New struct member __glibc_reserved0, change
5159 type of sa_flags to int.
5161 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5163 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5164 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5166 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5168 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5169 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5171 2014-04-22 Will Newton <will.newton@linaro.org>
5172 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5174 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5175 (__longjmp): Add longjmp and longjmp_target SystemTap
5177 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5178 (__sigsetjmp): Add setjmp SystemTap probe.
5180 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5182 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5185 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5187 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5189 * sysdeps/powerpc/fpu/fenv_private.h
5190 (libc_feholdexcept_setroundl_ctx): Define to
5191 libc_feholdexcept_setround_ppc_ctx.
5192 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5193 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5194 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5195 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5197 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5199 * sysdeps/aarch64/math-tests.h: New file.
5201 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5203 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5206 Check and set bit_AVX2_Usable.
5207 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5209 (bit_AVX2): Likewise.
5210 (index_AVX2_Usable): Likewise.
5211 (CPUID_AVX2): Likewise.
5212 (HAS_AVX2): Likewise.
5214 2014-04-17 Will Newton <will.newton@linaro.org>
5216 * manual/setjmp.texi (System V contexts): Add note that
5217 calling setcontext on a context created by a call to a
5218 signal handler is undefined. Update text to note that
5219 setcontext from a signal handler is possible but not
5223 * stdlib/tst-setcontext.c: Include signal.h.
5224 (main): Check that the signal stack before and
5225 after swapcontext is the same.
5227 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5228 Re-implement to restore registers in user code and avoid
5229 rt_sigreturn system call.
5231 2014-04-17 Wilco <wdijkstr@arm.com>
5233 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5234 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5235 * math/test-fenv.c: Skip exception trap tests on targets which only
5236 support non-stop mode.
5238 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5239 Wilco Dijkstra <wilco.dijkstra@arm.com>
5241 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5242 (libc_feholdsetround_aarch64_ctx)
5243 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5244 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5245 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5246 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5247 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5248 (libc_feresetround_noexl_ctx): Define.
5250 2014-04-16 Richard Henderson <rth@redhat.com>
5252 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5254 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5257 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5258 const from the non-libc, non-ldso copy.
5260 * sysdeps/alpha/libm-test-ulps: Regenerate.
5262 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5263 Wilco Dijkstra <wilco.dijkstra@arm.com>
5265 * sysdeps/aarch64/fpu/math_private.h: New file.
5267 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5269 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5271 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5273 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5274 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5276 Intel MPX bound registers before _dl_profile_fixup.
5277 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5278 registers after _dl_profile_fixup. Save and restore bound
5279 registers bnd0/bnd1 when calling _dl_call_pltexit.
5280 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5281 (LR_BND_OFFSET): Likewise.
5282 (LRV_BND0_OFFSET): Likewise.
5283 (LRV_BND1_OFFSET): Likewise.
5285 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5287 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5289 * sysdeps/mach/hurd/i386/tls.h: ... here.
5290 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5291 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5294 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5296 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5298 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5300 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5302 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5305 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5306 * sysdeps/s390/configure: Regenerate.
5309 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5310 Set round-to-nearest internally to reduce error accumulation.
5312 2014-04-16 Alan Modra <amodra@gmail.com>
5316 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5317 * math/libm-test.inc (frexp_test_data): Add tests.
5318 * NEWS: Update fixed bug list.
5320 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5322 * benchtests/Makefile: Depend on libraries in build directory.
5323 (bench-math): Separate out math tests.
5324 (bench-pthread): Separate out pthread tests.
5325 (bench): Include math and pthread tests.
5327 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5330 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5331 _dl_debug_initialize.
5333 * configure.ac: Remove SELinux header check.
5334 * configure: Regenerate.
5335 * nscd/selinux.c (perms): Array of const char* to permission names.
5336 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5337 default policy. Call string_to_security_class and string_to_av_perm to
5338 translate strings. Enforce default policy and call avs_has_perm with
5339 results of translated strings.
5341 2014-04-13 David S. Miller <davem@davemloft.net>
5343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5345 2014-04-12 Allan McRae <allan@archlinux.org>
5348 * manual/string.texi (Collation Functions): Fix qsort argument
5350 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5352 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5354 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5355 Make the test a no-op if there are no exceptions defined.
5357 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5359 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5360 enable-hardcoded-path-in-tests
5362 2014-04-11 Will Newton <will.newton@linaro.org>
5364 * benchtests/Makefile (extra-objs): Add json-lib.o.
5365 (bench-func): Tidy up JSON output.
5366 * benchtests/bench-skeleton.c: Include json-lib.h.
5367 (main): Use JSON library functions to do output of
5369 * benchtests/bench-timing-type.c (main): Output the
5370 timing type simply, leaving formatting to the user.
5371 * benchtests/json-lib.c: New file.
5372 * benchtests/json-lib.h: Likewise.
5374 2014-04-11 Torvald Riegel <triegel@redhat.com>
5377 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5378 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5379 memory barriers. Add comments.
5380 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5381 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5382 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5383 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5384 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5385 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5387 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5389 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5390 * sysdeps/s390/s390-64/configure.ac: ... this ...
5391 * sysdeps/s390/configure.ac: ... to here.
5392 * sysdeps/s390/s390-32/configure: Delete file.
5393 * sysdeps/s390/s390-64/configure: Delete file.
5394 * sysdeps/s390/configure: Regenerate.
5396 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5398 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5400 2014-04-11 Will Newton <will.newton@linaro.org>
5402 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5403 to zero if it is not defined elsewhere. (mtrim): Test
5404 the value of MALLOC_DEBUG with #if rather than #ifdef.
5406 2014-04-10 Torvald Riegel <triegel@redhat.com>
5408 * benchtests/pthread_once-inputs: New file.
5409 * benchtests/pthread_once-source.c: New file.
5410 * benchtests/README: Update documentation.
5412 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5413 H.J. Lu <hongjiu.lu@intel.com>
5415 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5416 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5417 * sysdeps/x86_64/configure: Regenerated.
5418 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5420 (REGISTER_SAVE_RAX): Likewise.
5421 (REGISTER_SAVE_RCX): Likewise.
5422 (REGISTER_SAVE_RDX): Likewise.
5423 (REGISTER_SAVE_RSI): Likewise.
5424 (REGISTER_SAVE_RDI): Likewise.
5425 (REGISTER_SAVE_R8): Likewise.
5426 (REGISTER_SAVE_R9): Likewise.
5427 (REGISTER_SAVE_BND0): Likewise.
5428 (REGISTER_SAVE_BND1): Likewise.
5429 (REGISTER_SAVE_BND2): Likewise.
5430 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5431 bound registers when calling _dl_fixup.
5433 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5435 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5436 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5438 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5439 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5440 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5441 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5442 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5443 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5444 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5446 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5449 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5450 pathconf(_PC_NAME_MAX).
5452 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5454 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5456 (__PTHREAD_SPINS): Move definition to ...
5457 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5458 (__PTHREAD_SPINS): ... here.
5459 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5460 (__PTHREAD_SPIN): Likewise.
5461 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5462 (__PTHREAD_SPIN): Likewise.
5463 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5464 (__PTHREAD_SPIN): Likewise.
5465 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5466 (__PTHREAD_SPIN): Likewise.
5467 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5468 (__PTHREAD_SPIN): Likewise.
5469 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5470 (__PTHREAD_SPIN): Likewise.
5471 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5472 (__PTHREAD_SPIN): Likewise.
5473 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5474 (__PTHREAD_SPIN): Likewise.
5475 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5476 (__PTHREAD_SPIN): Likewise.
5477 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5478 (__PTHREAD_SPIN): Likewise.
5479 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5480 (__PTHREAD_SPIN): Likewise.
5481 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5482 (__PTHREAD_SPIN): Likewise.
5484 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5485 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5486 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5487 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5489 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5490 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5491 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5492 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5494 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5495 strlen symbol for non multi-arch builds.
5496 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5497 missing hidden_def and weak_alias.
5499 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5501 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5503 2014-04-07 Will Newton <will.newton@linaro.org>
5505 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5506 and contents. [!_LIBC] Remove #ifndef and contents.
5507 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5508 * string/memccpy.c (__memccpy): Use ANSI prototype.
5509 * string/memfrob.c (memfrob): Likewise.
5510 * string/strcoll.c (STRCOLL): Likewise.
5511 * string/strlen.c (strlen): Likewise.
5512 * string/strtok.c (STRTOK): Likewise.
5513 * string/strcat.c: Remove unused #include of memcopy.h.
5514 (strcat): Use ANSI prototype.
5515 * string/strchr.c: Remove unused #include of memcopy.h.
5516 (strchr): Use ANSI prototype.
5517 * string/strcmp.c: Remove unused #include of memcopy.h.
5518 (strcmp): Use ANSI prototype.
5519 * string/strcpy.c: Remove unused #include of memcopy.h.
5520 (strcpy): Use ANSI prototype.
5522 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5525 * config.make.in (config-extra-cppflags): Set it from
5526 libc_extra_cppflags.
5527 * configure.ac (libc_extra_cflags): Make it accumulate over
5528 configure fragments.
5529 (libc_extra_cppflags): New flag.
5530 * configure. Regenerate.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5532 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5533 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5537 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5538 result for FE_DOWNWARD rounding mode.
5539 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5543 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5545 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5546 in function argument name.
5548 2014-04-03 David Svoboda <svoboda@cert.org>
5551 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5554 2014-04-03 Roland McGrath <roland@hack.frob.com>
5556 * elf/dl-unmap-segments.h: New file.
5557 * sysdeps/generic/ldsodefs.h
5558 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5559 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5560 * elf/dl-fptr.c: Likewise.
5561 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5562 * sysdeps/aarch64/tlsdesc.c: Likewise.
5563 * sysdeps/arm/tlsdesc.c: Likewise.
5564 * sysdeps/i386/tlsdesc.c: Likewise.
5565 * sysdeps/tile/dl-runtime.c: Likewise.
5566 * sysdeps/x86_64/tlsdesc.c: Likewise.
5567 * elf/dl-load.h: New file.
5568 * elf/dl-load.c: Include it.
5569 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5570 Macros moved to dl-load.h.
5571 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5572 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5573 Use _dl_unmap_segments in place of __munmap.
5574 Break out segment-mapping loop into ...
5575 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5577 2014-04-03 Will Newton <will.newton@linaro.org>
5579 * elf/dl-lookup.c (do_lookup_x): Remove comment
5580 referring to nested function and move variable
5581 declarations down to before first use.
5583 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5587 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5589 * math/s_catanf.c (__catanf): Likewise.
5590 * math/s_catanh.c (__catanh): Likewise.
5591 * math/s_catanhf.c (__catanhf): Likewise.
5592 * math/s_catanhl.c (__catanhl): Likewise.
5593 * math/s_catanl.c (__catanl): Likewise.
5594 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5595 by positive zero when computing -Inf result.
5596 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5597 (catanh_test): Likewise.
5598 * sysdeps/i386/fpu/libm-test-ulps: Update.
5599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5602 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5603 instead of using underflowing value in computing result.
5604 * math/s_clog10.c (__clog10): Likewise.
5605 * math/s_clog10f.c (__clog10f): Likewise.
5606 * math/s_clog10l.c (__clog10l): Likewise.
5607 * math/s_clogf.c (__clogf): Likewise.
5608 * math/s_clogl.c (__clogl): Likewise.
5609 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5610 (clog10_test): Likewise.
5611 * sysdeps/i386/fpu/libm-test-ulps: Update.
5612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5614 2014-04-02 Alan Modra <amodra@gmail.com>
5617 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5618 output when value is near a power of two. Use int64_t for lx and
5619 remove casts. Use decimal rather than hex exponent constants.
5620 Don't use long double multiplication when double will suffice.
5621 * math/libm-test.inc (nextafter_test_data): Add tests.
5622 * NEWS: Add 16739 and 16786 to bug list.
5624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5626 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5628 2014-04-01 Will Newton <will.newton@linaro.org>
5630 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5631 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5633 2014-04-01 Florian Weimer <fweimer@redhat.com>
5636 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5637 * nptl/tst-setuid2.c: New file.
5638 * nptl/Makefile (xtests): Add tst-setuid2.
5640 2014-04-01 Alan Modra <amodra@gmail.com>
5643 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5645 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5649 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5650 set errno as appropriate.
5651 * math/w_scalbf.c (__scalbf): Likewise.
5652 * math/w_scalbl.c (__scalbl): Likewise.
5653 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5654 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5655 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5659 * math/w_atan2.c: Include <errno.h>.
5660 (__atan2): Set errno for result underflowing to zero.
5661 * math/w_atan2f.c: Include <errno.h>.
5662 (__atan2f): Set errno for result underflowing to zero.
5663 * math/w_atan2l.c: Include <errno.h>.
5664 (__atan2l): Set errno for result underflowing to zero.
5665 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5667 * math/auto-libm-test-out: Regenerated.
5669 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5671 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5672 Encode instruction correctly in little endian.
5673 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5675 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5677 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5679 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5682 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5685 * sysdeps/unix/sysv/linux/kernel-features.h
5686 [__sparc__ && !__arch64__ && !__sparc_v9__]
5687 (__ASSUME_SET_ROBUST_LIST): Do not define.
5688 [__sparc__ && !__arch64__ && !__sparc_v9__]
5689 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5690 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5692 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5693 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5694 (__ASSUME_REQUEUE_PI): Likewise.
5695 (__ASSUME_SET_ROBUST_LIST): Likewise.
5696 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5697 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5699 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5700 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5702 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5704 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5706 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5707 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5709 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5710 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5714 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5716 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5718 2014-03-31 Will Newton <will.newton@linaro.org>
5720 * benchtests/Makefile (bench): Add ffs and ffsll to list
5722 * benchtests/ffs-inputs: New file.
5723 * benchtests/ffsll-inputs: Likewise.
5725 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5728 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5729 too large before casting to int.
5730 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5731 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5732 * math/libm-test.inc (scalb_test_data): Add more tests.
5734 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5736 * benchtests/Makefile (DETAILED_OPT): New make option.
5737 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5739 * benchtests/bench-skeleton.c: Include stdbool.h.
5740 (main): Store and print timings per input.
5741 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5742 member to each argument value.
5743 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5744 (_print_arg_data): Initialize per-input timing to 0.
5746 * benchtests/Makefile (timing-type): New binary.
5747 (bench-clean): Also remove bench-timing-type.
5748 (bench): New target for timing-type.
5749 (bench-func): Print output in JSON format.
5750 * benchtests/bench-skeleton.c (main): Print output in JSON
5752 * benchtests/bench-timing-type.c: New file.
5753 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5754 (TIMING_PRINT_STATS): Remove.
5755 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5758 * benchtests/bench-modf.c: Remove.
5759 * benchtests/modf-inputs: New inputs file.
5761 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5764 * math/s_clog10.c (M_PI_LOG10E): New macro.
5765 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5766 imaginary parts are 0.
5767 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5768 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5769 imaginary parts are 0.
5770 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5771 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5772 imaginary parts are 0.
5773 * math/libm-test.inc (clog10_test_data): Update expected results
5774 for when real and imaginary parts are 0.
5776 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5778 * elf/dl-load.c: Finish conversion of __builtin_expect into
5781 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5784 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5785 1+x for argument with exponent below -67.
5786 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5788 * math/auto-libm-test-in: Add more tests of exp.
5789 * math/auto-libm-test-out: Regenerated.
5791 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5794 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5795 (nscd_getnetgrent): Use it.
5798 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5801 2014-03-27 Andi Kleen <ak@linux.intel.com>
5803 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5804 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5805 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5806 (lll_robust_unlock): Remove out of line section. Use cfi
5808 (LLL_STUB_UNWIND_INFO*): Remove.
5809 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5810 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5811 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5812 (lll_robust_unlock): Remove out of line section. Use cfi
5814 (LLL_STUB_UNWIND_INFO*): Remove.
5816 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5819 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5822 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5824 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5826 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5829 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5831 * math/test-fenv-preserve.c: New file.
5832 * math/Makefile (tests): Add test-fenv-preserve.
5834 2014-03-26 Will Newton <will.newton@linaro.org>
5836 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5838 2014-03-25 Roland McGrath <roland@hack.frob.com>
5840 * scripts/versionlist.awk: Partition the version sets and emit all
5841 GLIBC_* (sorted) before all others (sorted).
5843 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5845 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5846 GLIBC_2.2.5 version.
5848 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5853 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5858 2014-03-25 Andreas Schwab <schwab@suse.de>
5860 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5861 label to be used after in6ailist is initialized.
5863 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5865 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5866 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5868 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5872 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5874 (fp_formats): Update initializers.
5875 (init_fp_formats): Initialize new field.
5876 (output_for_one_input_case): Allow underflow for results up to
5878 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5879 * math/auto-libm-test-in: Don't mark some underflows from asin and
5881 * math/auto-libm-test-out: Regenerated.
5882 * sysdeps/i386/fpu/libm-test-ulps: Update.
5883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5885 2014-03-25 Andreas Schwab <schwab@suse.de>
5887 * libio/Makefile (tst-ftell-partial-wide-ENV)
5888 (tst-ftell-active-handler-ENV): Define.
5890 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5892 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5894 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5896 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5898 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5900 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5901 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5902 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5904 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5907 * elf/dl-load.c (open_verify): Add mode parameter.
5908 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5909 (open_path): Change from boolean 'secure' to complete flag 'mode'
5910 (_dl_map_object): Adjust.
5911 * elf/Makefile (tests): Add tst-dlopen-aout.
5912 * elf/tst-dlopen-aout.c: New test.
5914 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5917 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5918 (struct stat): Rename member pad0 to __glibc_reserved0.
5921 * sysdeps/s390/s390-32/bits/wordsize.h
5922 (__WORDSIZE32_SIZE_ULONG): New define.
5923 * sysdeps/s390/s390-64/bits/wordsize.h
5924 (__WORDSIZE32_SIZE_ULONG): Likewise.
5925 * sysdeps/generic/stdint.h (SIZE_MAX):
5926 Define as UL if __WORDSIZE32_SIZE_ULONG.
5929 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5930 (__glibc_reserved0): New variable.
5931 (sa_flags): Change type to int.
5933 * posix/Makefile (before-compile): Use += before-compile instead
5936 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5937 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5939 2014-03-20 Andreas Schwab <schwab@suse.de>
5942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5943 non-matching result from nscd.
5945 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5947 * scripts/bench.py: Moved to ...
5948 * benchtests/scripts/bench.py: ... here.
5949 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5951 2014-03-24 Andreas Schwab <schwab@suse.de>
5954 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5955 alloca_account and account alloca use for struct in6ailist.
5957 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5960 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5961 rounding mode to recompute results that overflow to infinity or
5963 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5965 * math/auto-libm-test-out: Regenerated.
5966 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5967 (ccosh_test): Likewise.
5968 (csin_test_data): Use plus_oflow.
5969 (csin_test): Use ALL_RM_TEST.
5970 (csinh_test_data): Use plus_oflow.
5971 (csinh_test): Use ALL_RM_TEST.
5972 * sysdeps/i386/fpu/libm-test-ulps: Update.
5973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5975 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5978 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5979 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5982 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5984 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5985 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5986 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5987 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5989 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5990 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5992 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5993 * sysdeps/i386/fpu/libm-test-ulps: Update.
5994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5996 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5998 * scripts/bench.pl: Remove file.
5999 * scripts/bench.py: New benchmark script.
6000 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6001 * benchtests/README: Mention python dependency.
6002 * scripts/pylintrc: New file.
6003 * scripts/pylint: New file.
6005 * bits/mathdef.h: Use #ifdef instead of #if.
6006 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6007 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6008 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6009 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6010 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6011 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6013 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6016 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6018 and strpbrk-ppc64 objects.
6019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6020 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6021 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6022 multiarch strpbrk for POWER7.
6023 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6024 multiarch strpbrk for PPC64.
6025 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6027 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6030 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6032 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6033 (atan_test): Likewise.
6034 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6035 (atanh_test): Use ALL_RM_TEST.
6036 (atan2_test_data): Likewise.
6037 (cabs_test): Likewise.
6038 (cacosh_test): Likewise.
6039 (carg_test): Likewise.
6040 (casin_test): Likewise.
6041 (casinh_test): Likewise.
6042 (cbrt_test): Likewise.
6043 (csqrt_test): Likewise.
6044 (erf_test): Likewise.
6045 (erfc_test): Likewise.
6046 (pow10_test): Likewise.
6047 (exp2_test): Likewise.
6048 (hypot_test): Likewise.
6049 (j0_test): Likewise.
6050 (j1_test): Likewise.
6051 (lgamma_test): Likewise.
6052 (gamma_test): Likewise.
6053 (sincos_test): Likewise.
6054 (tanh_test): Likewise.
6055 (y0_test): Likewise.
6056 (y1_test): Likewise.
6057 * sysdeps/i386/fpu/libm-test-ulps: Update.
6058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6064 and strcspn-ppc64 objects.
6065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6066 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6067 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6068 multiarch strcspn for POWER7.
6069 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6070 multiarch strcspn for PPC64.
6071 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6073 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6076 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6078 * math/gen-libm-test.pl (generate_testfile): Expect only function
6079 name as argument to AUTO_TESTS_* and pass results for all rounding
6080 modes to parse_args.
6081 (parse_auto_input): Separate inputs of automatic tests from
6082 outputs before storing in %auto_tests.
6083 * math/libm-test.inc (acos_test_data): Update call to
6085 (acos_test): Use ALL_RM_TEST.
6086 (acos_tonearest_test_data): Remove.
6087 (acos_test_tonearest): Likewise.
6088 (acos_towardzero_test_data): Likewise.
6089 (acos_test_towardzero): Likewise.
6090 (acos_downward_test_data): Likewise.
6091 (acos_test_downward): Likewise.
6092 (acos_upward_test_data): Likewise.
6093 (acos_test_upward): Likewise.
6094 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6095 (asin_test_data): Likewise.
6096 (asin_test): Use ALL_RM_TEST.
6097 (asin_tonearest_test_data): Remove.
6098 (asin_test_tonearest): Likewise.
6099 (asin_towardzero_test_data): Likewise.
6100 (asin_test_towardzero): Likewise.
6101 (asin_downward_test_data): Likewise.
6102 (asin_test_downward): Likewise.
6103 (asin_upward_test_data): Likewise.
6104 (asin_test_upward): Likewise.
6105 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6106 (atan_test_data): Likewise.
6107 (atanh_test_data): Likewise.
6108 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6109 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6110 (carg_test_data): Likewise.
6111 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6112 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6113 (ccosh_test_data): Likewise.
6114 (cexp_test_data): Likewise.
6115 (clog_test_data): Likewise.
6116 (clog10_test_data): Likewise.
6117 (cos_test_data): Update call to AUTO_TESTS_f_f.
6118 (cos_test): Use ALL_RM_TEST.
6119 (cos_tonearest_test_data): Remove.
6120 (cos_test_tonearest): Likewise.
6121 (cos_towardzero_test_data): Likewise.
6122 (cos_test_towardzero): Likewise.
6123 (cos_downward_test_data): Likewise.
6124 (cos_test_downward): Likewise.
6125 (cos_upward_test_data): Likewise.
6126 (cos_test_upward): Likewise.
6127 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6128 (cosh_test): Use ALL_RM_TEST.
6129 (cosh_tonearest_test_data): Remove.
6130 (cosh_test_tonearest): Likewise.
6131 (cosh_towardzero_test_data): Likewise.
6132 (cosh_test_towardzero): Likewise.
6133 (cosh_downward_test_data): Likewise.
6134 (cosh_test_downward): Likewise.
6135 (cosh_upward_test_data): Likewise.
6136 (cosh_test_upward): Likewise.
6137 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6138 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6139 (ctan_test_data): Likewise.
6140 (ctan_test): Use ALL_RM_TEST.
6141 (ctan_tonearest_test_data): Remove.
6142 (ctan_test_tonearest): Likewise.
6143 (ctan_towardzero_test_data): Likewise.
6144 (ctan_test_towardzero): Likewise.
6145 (ctan_downward_test_data): Likewise.
6146 (ctan_test_downward): Likewise.
6147 (ctan_upward_test_data): Likewise.
6148 (ctan_test_upward): Likewise.
6149 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6150 (ctanh_test): Use ALL_RM_TEST.
6151 (ctanh_tonearest_test_data): Remove.
6152 (ctanh_test_tonearest): Likewise.
6153 (ctanh_towardzero_test_data): Likewise.
6154 (ctanh_test_towardzero): Likewise.
6155 (ctanh_downward_test_data): Likewise.
6156 (ctanh_test_downward): Likewise.
6157 (ctanh_upward_test_data): Likewise.
6158 (ctanh_test_upward): Likewise.
6159 (erf_test_data): Update call to AUTO_TESTS_f_f.
6160 (erfc_test_data): Likewise.
6161 (exp_test_data): Likewise.
6162 (exp_test): Use ALL_RM_TEST.
6163 (exp_tonearest_test_data): Remove.
6164 (exp_test_tonearest): Likewise.
6165 (exp_towardzero_test_data): Likewise.
6166 (exp_test_towardzero): Likewise.
6167 (exp_downward_test_data): Likewise.
6168 (exp_test_downward): Likewise.
6169 (exp_upward_test_data): Likewise.
6170 (exp_test_upward): Likewise.
6171 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6172 (exp10_test): Use ALL_RM_TEST.
6173 (exp10_tonearest_test_data): Remove.
6174 (exp10_test_tonearest): Likewise.
6175 (exp10_towardzero_test_data): Likewise.
6176 (exp10_test_towardzero): Likewise.
6177 (exp10_downward_test_data): Likewise.
6178 (exp10_test_downward): Likewise.
6179 (exp10_upward_test_data): Likewise.
6180 (exp10_test_upward): Likewise.
6181 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6182 (expm1_test_data): Likewise.
6183 (expm1_test): Use ALL_RM_TEST.
6184 (expm1_tonearest_test_data): Remove.
6185 (expm1_test_tonearest): Likewise.
6186 (expm1_towardzero_test_data): Likewise.
6187 (expm1_test_towardzero): Likewise.
6188 (expm1_downward_test_data): Likewise.
6189 (expm1_test_downward): Likewise.
6190 (expm1_upward_test_data): Likewise.
6191 (expm1_test_upward): Likewise.
6192 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6193 (fma_test): Use ALL_RM_TEST.
6194 (fma_towardzero_test_data): Remove.
6195 (fma_test_towardzero): Likewise.
6196 (fma_downward_test_data): Likewise.
6197 (fma_test_downward): Likewise.
6198 (fma_upward_test_data): Likewise.
6199 (fma_test_upward): Likewise.
6200 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6201 (j0_test_data): Update call to AUTO_TESTS_f_f.
6202 (j1_test_data): Likewise.
6203 (jn_test_data): Update call to AUTO_TESTS_if_f.
6204 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6205 (log_test_data): Update call to AUTO_TESTS_f_f.
6206 (log10_test_data): Likewise.
6207 (log1p_test_data): Likewise.
6208 (log2_test_data): Likewise.
6209 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6210 (pow_tonearest_test_data): Likewise.
6211 (sin_test_data): Update call to AUTO_TESTS_f_f.
6212 (sin_test): Use ALL_RM_TEST.
6213 (sin_tonearest_test_data): Remove.
6214 (sin_test_tonearest): Likewise.
6215 (sin_towardzero_test_data): Likewise.
6216 (sin_test_towardzero): Likewise.
6217 (sin_downward_test_data): Likewise.
6218 (sin_test_downward): Likewise.
6219 (sin_upward_test_data): Likewise.
6220 (sin_test_upward): Likewise.
6221 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6222 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6223 (sinh_test): Use ALL_RM_TEST.
6224 (sinh_tonearest_test_data): Remove.
6225 (sinh_test_tonearest): Likewise.
6226 (sinh_towardzero_test_data): Likewise.
6227 (sinh_test_towardzero): Likewise.
6228 (sinh_downward_test_data): Likewise.
6229 (sinh_test_downward): Likewise.
6230 (sinh_upward_test_data): Likewise.
6231 (sinh_test_upward): Likewise.
6232 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6233 (sqrt_test): Use ALL_RM_TEST.
6234 (sqrt_tonearest_test_data): Remove.
6235 (sqrt_test_tonearest): Likewise.
6236 (sqrt_towardzero_test_data): Likewise.
6237 (sqrt_test_towardzero): Likewise.
6238 (sqrt_downward_test_data): Likewise.
6239 (sqrt_test_downward): Likewise.
6240 (sqrt_upward_test_data): Likewise.
6241 (sqrt_test_upward): Likewise.
6242 (tan_test_data): Update call to AUTO_TESTS_f_f.
6243 (tan_test): Use ALL_RM_TEST.
6244 (tan_tonearest_test_data): Remove.
6245 (tan_test_tonearest): Likewise.
6246 (tan_towardzero_test_data): Likewise.
6247 (tan_test_towardzero): Likewise.
6248 (tan_downward_test_data): Likewise.
6249 (tan_test_downward): Likewise.
6250 (tan_upward_test_data): Likewise.
6251 (tan_test_upward): Likewise.
6252 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6253 (tgamma_test_data): Likewise.
6254 (y0_test_data): Likewise.
6255 (y1_test_data): Likewise.
6256 (yn_test_data): Update call to AUTO_TESTS_if_f.
6257 (main): Do not call removed functions.
6259 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6261 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6262 (ldexp_test_data): Remove.
6263 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6265 (scalb_test): Use ALL_RM_TEST.
6267 2014-03-19 Andreas Schwab <schwab@suse.de>
6269 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6271 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6274 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6275 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6276 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6277 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6278 (__ASSUME_PREADV): Undefine.
6279 (__ASSUME_PWRITEV): Likewise.
6281 2014-03-18 Roland McGrath <roland@hack.frob.com>
6283 * bits/mman-linux.h: Add comment about non-Linux use.
6284 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6285 bits/mman-linux.h resting place.
6287 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6288 * bits/mman-linux.h: ... here.
6290 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6292 * conform/conformtest.pl: Add standard definition when calling C
6293 preprocessor on data files.
6294 (checknamespace): Remove unused variable.
6296 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6298 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6299 minus_oflow, plus_uflow and minus_uflow in expected results.
6300 * math/libm-test.inc (scalbn_test_data): Add more tests of
6301 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6303 (scalbn_test): Use ALL_RM_TEST.
6304 (scalbln_test_data): Add more tests of negative arguments. Use
6305 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6306 (scalbln_test): Use ALL_RM_TEST.
6308 2014-03-18 Roland McGrath <roland@hack.frob.com>
6310 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6312 2014-03-18 Will Newton <will.newton@linaro.org>
6314 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6317 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6319 * Makerules [!subdir] (check-abi): Exit with error status if a
6322 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6324 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6325 for rint. Include results for all rounding modes.
6326 (nearbyint_test): Use ALL_RM_TEST.
6327 (rint_test_data): Include all tests used for nearbyint.
6329 2014-03-17 Will Newton <will.newton@linaro.org>
6331 * nptl/sysdeps/pthread/pthread.h: Revert previous
6334 * sysdeps/generic/ldsodefs.h: Revert previous
6337 * libio/genops.c: Revert previous change.
6338 * libio/libioP.h: Likewise.
6339 * stdio-common/vfprintf.c: Likewise.
6341 * sysdeps/generic/math_private.h: Revert previous
6344 * sysdeps/generic/math_private.h: Check whether
6345 HAVE_RM_CTX is defined with #ifdef rather
6348 * argp/argp-fmtstream.h: Check whether
6349 __STRICT_ANSI__ is defined with #ifdef rather
6351 * argp/argp.h: Likewise.
6353 * libio/genops.c: Check whether
6354 _IO_JUMPS_OFFSET is defined with #ifdef rather
6356 * libio/libioP.h: Likewise.
6357 * stdio-common/vfprintf.c: Likewise.
6359 * sysdeps/generic/ldsodefs.h: Check whether
6360 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6363 * nptl/sysdeps/pthread/pthread.h: Check
6364 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6367 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6369 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6371 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6375 * libio/fileops.c (_IO_file_open): Seek to end of file but
6376 don't cache the offset.
6377 (get_file_offset): Remove function.
6378 (do_ftell): Use cached offset when available.
6379 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6380 don't cache the offset.
6381 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6383 (do_one_test): Call it.
6384 (do_ftell_test): Fix up expected old offset for a+ mode.
6385 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6388 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6389 up test status with function return status.
6390 (do_write_test): Likewise.
6391 (do_append_test): Likewise.
6393 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6394 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6397 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6399 * math/gen-libm-test.pl (parse_args): Handle results specified for
6400 each rounding mode separately.
6401 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6402 tests and results from lrint_tonearest_test_data,
6403 lrint_towardzero_test_data, lrint_downward_test_data and
6404 lrint_upward_test_data.
6405 (lrint_test): Use ALL_RM_TEST.
6406 (lrint_tonearest_test_data): Remove.
6407 (lrint_test_tonearest): Likewise.
6408 (lrint_towardzero_test_data): Likewise.
6409 (lrint_test_towardzero): Likewise.
6410 (lrint_downward_test_data): Likewise.
6411 (lrint_test_downward): Likewise.
6412 (lrint_upward_test_data): Likewise.
6413 (lrint_test_upward): Likewise.
6414 (llrint_test_data): Merge in per-rounding-mode tests and results
6415 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6416 llrint_downward_test_data and llrint_upward_test_data.
6417 (llrint_test): Use ALL_RM_TEST.
6418 (llrint_tonearest_test_data): Remove.
6419 (llrint_test_tonearest): Likewise.
6420 (llrint_towardzero_test_data): Likewise.
6421 (llrint_test_towardzero): Likewise.
6422 (llrint_downward_test_data): Likewise.
6423 (llrint_test_downward): Likewise.
6424 (llrint_upward_test_data): Likewise.
6425 (llrint_test_upward): Likewise.
6426 (rint_test_data): Merge in per-rounding-mode tests and results
6427 from rint_tonearest_test_data, rint_towardzero_test_data,
6428 rint_downward_test_data and rint_upward_test_data. Add
6429 per-rounding-mode results for tests not in those arrays.
6430 (rint_test): Use ALL_RM_TEST.
6431 (rint_tonearest_test_data): Remove.
6432 (rint_test_tonearest): Likewise.
6433 (rint_towardzero_test_data): Likewise.
6434 (rint_test_towardzero): Likewise.
6435 (rint_downward_test_data): Likewise.
6436 (rint_test_downward): Likewise.
6437 (rint_upward_test_data): Likewise.
6438 (rint_test_upward): Likewise.
6439 (main): Don't call removed functions.
6441 2014-03-14 Roland McGrath <roland@hack.frob.com>
6443 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6444 "Compiled on ..." crapola. It is anti-useful.
6446 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6448 * scripts/evaluate-test.sh: Handle fourth argument to determine
6449 whether test run should stop on failure.
6450 * Makeconfig (stop-on-test-failure): New variable.
6451 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6452 $(stop-on-test-failure).
6453 * Makefile (tests): Give a summary of results from testing and
6454 exit with failure status if they include an ERROR or FAIL.
6456 * manual/install.texi (Configuring and compiling): Mention
6457 stop-on-test-failure=y.
6458 * INSTALL: Regenerated.
6460 2014-03-14 Roland McGrath <roland@hack.frob.com>
6462 * scripts/versionlist.awk: New file.
6463 * Makerules [$(build-shared) = yes]
6464 (postclean-generated): Add Versions.def, not Versions.def.v and
6466 ($(common-objpfx)Versions.def.v.i): Target removed.
6467 ($(common-objpfx)Versions.def): New target.
6468 ($(common-objpfx)Versions.all): Depend on that rather that
6469 $(common-objpfx)Versions.def.v.
6470 * Versions.def: File removed.
6472 * Makeconfig (+gccwarn): Add -Wundef.
6473 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6474 a dl-sysdep.h breaking its contract.
6475 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6476 * include/stackinfo.h: New file.
6477 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6478 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6479 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6480 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6481 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6482 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6483 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6484 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6485 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6486 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6487 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6488 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6489 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6490 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6491 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6493 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6496 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6498 * math/libm-test.inc (round_test_data): Add more tests.
6501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6503 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6506 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6508 * math/libm-test.inc (ceil_test_data): Add more tests.
6510 * math/libm-test.inc (trunc_test_data): Add more tests related to
6513 2014-03-14 Roland McGrath <roland@hack.frob.com>
6515 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6516 with #if rather than #ifdef.
6517 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6519 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6521 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6522 first. Disable AVX-512 GCC support if assembler doesn't support
6524 * sysdeps/x86_64/configure: Regenerated.
6526 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6528 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6529 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6530 (__old_pthread_attr_setstack): Likewise.
6531 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6532 [!_STACK_GROWS_DOWN]: Likewise.
6534 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6536 * config.make.in (have-bash2): Delete.
6537 * configure.ac (libc_cv_have_bash2): Delete.
6538 * configure: Regenerate.
6539 * elf/Makefile (common-ldd-rewrite): Rename to ...
6540 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6541 (sh-ldd-rewrite): Delete.
6542 (bash-ldd-rewrite): Delete.
6543 (have-bash2): Delete checks.
6544 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6547 * config.make.in (have-ksh): Delete.
6549 * configure.ac (libc_cv_have_ksh): Delete.
6550 * configure: Regenerate.
6552 * elf/Makefile: Delete $(have-ksh) check.
6553 ($(objpfx)sotruss): Change KSH to BASH.
6554 * elf/sotruss.ksh: Rename to ...
6555 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6556 function style to match POSIX. Drop ksh vim mode setting.
6558 * manual/time.texi (Specifying the Time Zone with TZ): Change
6559 Tuesday to Thursday.
6561 * debug/tst-longjmp_chk2.c: Update header comment.
6562 (stackoverflow_handler): Add comment. Call assert on pass value.
6564 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6566 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6567 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6568 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6569 (La_x86_64_vector): Add zmm.
6570 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6571 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6572 ($(objpfx)tst-audit10): New target.
6573 ($(objpfx)tst-audit10.out): Likewise.
6574 (tst-audit10-ENV): New.
6575 (AVX512-CFLAGS): Likewise.
6576 (CFLAGS-tst-audit10.c): Likewise.
6577 (CFLAGS-tst-auditmod10a.c): Likewise.
6578 (CFLAGS-tst-auditmod10b.c): Likewise.
6579 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6580 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6581 * sysdeps/x86_64/configure: Regenerated.
6582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6583 AVX-512 zmm register support.
6584 (_dl_x86_64_save_sse): Likewise.
6585 (_dl_x86_64_restore_sse): Likewise.
6586 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6587 size vector registers.
6588 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6589 (ZMM_SIZE): Likewise.
6590 * sysdeps/x86_64/tst-audit10.c: New file.
6591 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6592 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6594 2014-03-13 Roland McGrath <roland@hack.frob.com>
6596 * configure.ac (HAVE_EHDR_START): New check.
6597 * configure: Regenerated.
6598 * config.h.in (HAVE_EHDR_START): New #undef.
6599 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6600 assuming the lowest-addressed segment maps the start of the file.
6602 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6604 * INSTALL: Regenerated.
6606 2014-03-13 Will Newton <will.newton@linaro.org>
6608 * manual/setjmp.texi (System V contexts): Improve
6609 clarity and grammar of documentation.
6611 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6614 * elf/Makefile (tests): Add tst-pie2.
6615 (tests-pie): Add tst-pie2.
6616 * elf/tst-pie2.c: New file.
6617 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6619 * elf/rtld.c (map_doit): Load executable as lt_executable.
6620 (dl_main): Likewise.
6622 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6625 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6626 (__ASSUME_PSELECT): Undefine.
6628 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6632 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6634 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6635 selector for static builds.
6637 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6640 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6643 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6645 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6646 IFUNC selector for static builds.
6648 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6650 * sysdeps/mips/math_private.h [__mips_hard_float]
6651 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6652 libc_feresetround_mips_ctx.
6653 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6654 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6655 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6658 * math/s_nextafter.c (__nextafter): Do not return value from
6659 overflowing computation.
6660 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6661 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6662 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6664 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6666 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6667 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6669 2014-03-11 Roland McGrath <roland@hack.frob.com>
6671 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6672 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6673 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6674 the new mov targetting sp.
6676 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6679 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6680 Define it for static builds as well.
6681 (NO_BZERO_IMPL): Likewise.
6683 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6685 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6686 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6687 multiarch strspn for PPC64.
6688 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6689 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6691 (__libc_ifunc_impl_list): Likewise.
6692 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6693 multiarch optimizations
6694 * string/strspn.c (strspn): Using macro to redefine symbol name.
6696 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6697 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6699 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6700 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6701 multiarch strncat for PPC64.
6702 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6703 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6705 (__libc_ifunc_impl_list): Likewise.
6706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6707 multiarch optimizations
6709 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6712 * nscd/nscd.service: Make service type forking.
6714 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6716 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6717 sign in non default rounding modes.
6718 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6720 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6722 * math/libm-test.inc (ALL_RM_TEST): New macro.
6723 (ceil_test): Use ALL_RM_TEST.
6724 (cimag_test): Likewise.
6725 (conj_test): Likewise.
6726 (copysign_test): Likewise.
6727 (cproj_test): Likewise.
6728 (creal_test): Likewise.
6729 (fabs_test): Likewise.
6730 (floor_test): Likewise.
6731 (fmax_test): Likewise.
6732 (fmin_test): Likewise.
6733 (fmod_test): Likewise.
6734 (fpclassify_test): Likewise.
6735 (frexp_test): Likewise.
6736 (ilogb_test): Likewise.
6737 (isfinite_test): Likewise.
6738 (finite_test): Likewise.
6739 (isgreater_test): Likewise.
6740 (isgreaterequal_test): Likewise.
6741 (isinf_test): Likewise.
6742 (isless_test): Likewise.
6743 (islessequal_test): Likewise.
6744 (islessgreater_test): Likewise.
6745 (isnan_test): Likewise.
6746 (isnormal_test): Likewise.
6747 (issignaling_test): Likewise.
6748 (isunordered_test): Likewise.
6749 (logb_test): Likewise.
6750 (logb_downward_test_data): Remove.
6751 (logb_test_downward): Likewise.
6752 (lround_test): Use ALL_RM_TEST.
6753 (llround_test): Likewise.
6754 (modf_test): Likewise.
6755 (nexttoward_test): Likewise.
6756 (remainder_test): Likewise.
6757 (drem_test): Likewise.
6758 (remainder_tonearest_test_data): Likewise.
6759 (remainder_test_tonearest): Likewise.
6760 (drem_test_tonearest): Likewise.
6761 (remainder_towardzero_test_data): Likewise.
6762 (remainder_test_towardzero): Likewise.
6763 (drem_test_towardzero): Likewise.
6764 (remainder_downward_test_data): Likewise.
6765 (remainder_test_downward): Likewise.
6766 (drem_test_downward): Likewise.
6767 (remainder_upward_test_data): Likewise.
6768 (remainder_test_upward): Likewise.
6769 (drem_test_upward): Likewise.
6770 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6771 (round_test): Use ALL_RM_TEST.
6772 (signbit_test): Likewise.
6773 (trunc_test): Likewise.
6774 (significand_test): Likewise.
6775 (main): Don't call removed functions.
6777 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6780 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6782 (ILL_ILLOPN): Likewise.
6783 (ILL_ILLADR): Likewise.
6784 (ILL_ILLTRP): Likewise.
6785 (ILL_PRVOPC): Likewise.
6786 (ILL_PRVREG): Likewise.
6787 (ILL_COPROC): Likewise.
6788 (ILL_BADSTK): Likewise.
6789 (FPE_INTDIV): Likewise.
6790 (FPE_INTOVF): Likewise.
6791 (FPE_FLTDIV): Likewise.
6792 (FPE_FLTOVF): Likewise.
6793 (FPE_FLTUND): Likewise.
6794 (FPE_FLTRES): Likewise.
6795 (FPE_FLTINV): Likewise.
6796 (FPE_FLTSUB): Likewise.
6797 (SEGV_MAPERR): Likewise.
6798 (SEGV_ACCERR): Likewise.
6799 (BUS_ADRALN): Likewise.
6800 (BUS_ADRERR): Likewise.
6801 (BUS_OBJERR): Likewise.
6802 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6803 (TRAP_TRACE): Likewise.
6804 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6806 (CLD_KILLED): Likewise.
6807 (CLD_DUMPED): Likewise.
6808 (CLD_TRAPPED): Likewise.
6809 (CLD_STOPPED): Likewise.
6810 (CLD_CONTINUED): Likewise.
6811 (POLL_IN): Likewise.
6812 (POLL_OUT): Likewise.
6813 (POLL_MSG): Likewise.
6814 (POLL_ERR): Likewise.
6815 (POLL_PRI): Likewise.
6816 (POLL_HUP): Likewise.
6817 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6819 (ILL_ILLOPN): Likewise.
6820 (ILL_ILLADR): Likewise.
6821 (ILL_ILLTRP): Likewise.
6822 (ILL_PRVOPC): Likewise.
6823 (ILL_PRVREG): Likewise.
6824 (ILL_COPROC): Likewise.
6825 (ILL_BADSTK): Likewise.
6826 (FPE_INTDIV): Likewise.
6827 (FPE_INTOVF): Likewise.
6828 (FPE_FLTDIV): Likewise.
6829 (FPE_FLTOVF): Likewise.
6830 (FPE_FLTUND): Likewise.
6831 (FPE_FLTRES): Likewise.
6832 (FPE_FLTINV): Likewise.
6833 (FPE_FLTSUB): Likewise.
6834 (SEGV_MAPERR): Likewise.
6835 (SEGV_ACCERR): Likewise.
6836 (BUS_ADRALN): Likewise.
6837 (BUS_ADRERR): Likewise.
6838 (BUS_OBJERR): Likewise.
6839 (BUS_MCEERR_AR): Likewise.
6840 (BUS_MCEERR_AO): Likewise.
6841 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6842 (TRAP_TRACE): Likewise.
6843 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6845 (CLD_KILLED): Likewise.
6846 (CLD_DUMPED): Likewise.
6847 (CLD_TRAPPED): Likewise.
6848 (CLD_STOPPED): Likewise.
6849 (CLD_CONTINUED): Likewise.
6850 (POLL_IN): Likewise.
6851 (POLL_OUT): Likewise.
6852 (POLL_MSG): Likewise.
6853 (POLL_ERR): Likewise.
6854 (POLL_PRI): Likewise.
6855 (POLL_HUP): Likewise.
6856 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6857 (ILL_ILLOPN): Likewise.
6858 (ILL_ILLADR): Likewise.
6859 (ILL_ILLTRP): Likewise.
6860 (ILL_PRVOPC): Likewise.
6861 (ILL_PRVREG): Likewise.
6862 (ILL_COPROC): Likewise.
6863 (ILL_BADSTK): Likewise.
6864 (FPE_INTDIV): Likewise.
6865 (FPE_INTOVF): Likewise.
6866 (FPE_FLTDIV): Likewise.
6867 (FPE_FLTOVF): Likewise.
6868 (FPE_FLTUND): Likewise.
6869 (FPE_FLTRES): Likewise.
6870 (FPE_FLTINV): Likewise.
6871 (FPE_FLTSUB): Likewise.
6872 (SEGV_MAPERR): Likewise.
6873 (SEGV_ACCERR): Likewise.
6874 (BUS_ADRALN): Likewise.
6875 (BUS_ADRERR): Likewise.
6876 (BUS_OBJERR): Likewise.
6877 (BUS_MCEERR_AR): Likewise.
6878 (BUS_MCEERR_AO): Likewise.
6879 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6880 (TRAP_TRACE): Likewise.
6881 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6883 (CLD_KILLED): Likewise.
6884 (CLD_DUMPED): Likewise.
6885 (CLD_TRAPPED): Likewise.
6886 (CLD_STOPPED): Likewise.
6887 (CLD_CONTINUED): Likewise.
6888 (POLL_IN): Likewise.
6889 (POLL_OUT): Likewise.
6890 (POLL_MSG): Likewise.
6891 (POLL_ERR): Likewise.
6892 (POLL_PRI): Likewise.
6893 (POLL_HUP): Likewise.
6894 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6896 (ILL_ILLOPN): Likewise.
6897 (ILL_ILLADR): Likewise.
6898 (ILL_ILLTRP): Likewise.
6899 (ILL_PRVOPC): Likewise.
6900 (ILL_PRVREG): Likewise.
6901 (ILL_COPROC): Likewise.
6902 (ILL_BADSTK): Likewise.
6903 (ILL_BADIADDR): Likewise.
6904 (ILL_BREAK): Likewise.
6905 (FPE_INTDIV): Likewise.
6906 (FPE_INTOVF): Likewise.
6907 (FPE_FLTDIV): Likewise.
6908 (FPE_FLTOVF): Likewise.
6909 (FPE_FLTUND): Likewise.
6910 (FPE_FLTRES): Likewise.
6911 (FPE_FLTINV): Likewise.
6912 (FPE_FLTSUB): Likewise.
6913 (FPE_DECOVF): Likewise.
6914 (FPE_DECDIV): Likewise.
6915 (FPE_DECERR): Likewise.
6916 (FPE_INVASC): Likewise.
6917 (FPE_INVDEC): Likewise.
6918 (SEGV_MAPERR): Likewise.
6919 (SEGV_ACCERR): Likewise.
6920 (SEGV_PSTKOVF): Likewise.
6921 (BUS_ADRALN): Likewise.
6922 (BUS_ADRERR): Likewise.
6923 (BUS_OBJERR): Likewise.
6924 (BUS_MCEERR_AR): Likewise.
6925 (BUS_MCEERR_AO): Likewise.
6926 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6927 (TRAP_TRACE): Likewise.
6928 (TRAP_BRANCH): Likewise.
6929 (TRAP_HWBKPT): Likewise.
6930 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6932 (CLD_KILLED): Likewise.
6933 (CLD_DUMPED): Likewise.
6934 (CLD_TRAPPED): Likewise.
6935 (CLD_STOPPED): Likewise.
6936 (CLD_CONTINUED): Likewise.
6937 (POLL_IN): Likewise.
6938 (POLL_OUT): Likewise.
6939 (POLL_MSG): Likewise.
6940 (POLL_ERR): Likewise.
6941 (POLL_PRI): Likewise.
6942 (POLL_HUP): Likewise.
6943 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6944 (ILL_ILLOPN): Likewise.
6945 (ILL_ILLADR): Likewise.
6946 (ILL_ILLTRP): Likewise.
6947 (ILL_PRVOPC): Likewise.
6948 (ILL_PRVREG): Likewise.
6949 (ILL_COPROC): Likewise.
6950 (ILL_BADSTK): Likewise.
6951 (FPE_INTDIV): Likewise.
6952 (FPE_INTOVF): Likewise.
6953 (FPE_FLTDIV): Likewise.
6954 (FPE_FLTOVF): Likewise.
6955 (FPE_FLTUND): Likewise.
6956 (FPE_FLTRES): Likewise.
6957 (FPE_FLTINV): Likewise.
6958 (FPE_FLTSUB): Likewise.
6959 (SEGV_MAPERR): Likewise.
6960 (SEGV_ACCERR): Likewise.
6961 (BUS_ADRALN): Likewise.
6962 (BUS_ADRERR): Likewise.
6963 (BUS_OBJERR): Likewise.
6964 (BUS_MCEERR_AR): Likewise.
6965 (BUS_MCEERR_AO): Likewise.
6966 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6967 (TRAP_TRACE): Likewise.
6968 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6970 (CLD_KILLED): Likewise.
6971 (CLD_DUMPED): Likewise.
6972 (CLD_TRAPPED): Likewise.
6973 (CLD_STOPPED): Likewise.
6974 (CLD_CONTINUED): Likewise.
6975 (POLL_IN): Likewise.
6976 (POLL_OUT): Likewise.
6977 (POLL_MSG): Likewise.
6978 (POLL_ERR): Likewise.
6979 (POLL_PRI): Likewise.
6980 (POLL_HUP): Likewise.
6981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6982 (ILL_ILLOPN): Likewise.
6983 (ILL_ILLADR): Likewise.
6984 (ILL_ILLTRP): Likewise.
6985 (ILL_PRVOPC): Likewise.
6986 (ILL_PRVREG): Likewise.
6987 (ILL_COPROC): Likewise.
6988 (ILL_BADSTK): Likewise.
6989 (FPE_INTDIV): Likewise.
6990 (FPE_INTOVF): Likewise.
6991 (FPE_FLTDIV): Likewise.
6992 (FPE_FLTOVF): Likewise.
6993 (FPE_FLTUND): Likewise.
6994 (FPE_FLTRES): Likewise.
6995 (FPE_FLTINV): Likewise.
6996 (FPE_FLTSUB): Likewise.
6997 (SEGV_MAPERR): Likewise.
6998 (SEGV_ACCERR): Likewise.
6999 (BUS_ADRALN): Likewise.
7000 (BUS_ADRERR): Likewise.
7001 (BUS_OBJERR): Likewise.
7002 (BUS_MCEERR_AR): Likewise.
7003 (BUS_MCEERR_AO): Likewise.
7004 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7005 (TRAP_TRACE): Likewise.
7006 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7008 (CLD_KILLED): Likewise.
7009 (CLD_DUMPED): Likewise.
7010 (CLD_TRAPPED): Likewise.
7011 (CLD_STOPPED): Likewise.
7012 (CLD_CONTINUED): Likewise.
7013 (POLL_IN): Likewise.
7014 (POLL_OUT): Likewise.
7015 (POLL_MSG): Likewise.
7016 (POLL_ERR): Likewise.
7017 (POLL_PRI): Likewise.
7018 (POLL_HUP): Likewise.
7019 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7020 (ILL_ILLOPN): Likewise.
7021 (ILL_ILLADR): Likewise.
7022 (ILL_ILLTRP): Likewise.
7023 (ILL_PRVOPC): Likewise.
7024 (ILL_PRVREG): Likewise.
7025 (ILL_COPROC): Likewise.
7026 (ILL_BADSTK): Likewise.
7027 (FPE_INTDIV): Likewise.
7028 (FPE_INTOVF): Likewise.
7029 (FPE_FLTDIV): Likewise.
7030 (FPE_FLTOVF): Likewise.
7031 (FPE_FLTUND): Likewise.
7032 (FPE_FLTRES): Likewise.
7033 (FPE_FLTINV): Likewise.
7034 (FPE_FLTSUB): Likewise.
7035 (SEGV_MAPERR): Likewise.
7036 (SEGV_ACCERR): Likewise.
7037 (BUS_ADRALN): Likewise.
7038 (BUS_ADRERR): Likewise.
7039 (BUS_OBJERR): Likewise.
7040 (BUS_MCEERR_AR): Likewise.
7041 (BUS_MCEERR_AO): Likewise.
7042 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7043 (TRAP_TRACE): Likewise.
7044 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7046 (CLD_KILLED): Likewise.
7047 (CLD_DUMPED): Likewise.
7048 (CLD_TRAPPED): Likewise.
7049 (CLD_STOPPED): Likewise.
7050 (CLD_CONTINUED): Likewise.
7051 (POLL_IN): Likewise.
7052 (POLL_OUT): Likewise.
7053 (POLL_MSG): Likewise.
7054 (POLL_ERR): Likewise.
7055 (POLL_PRI): Likewise.
7056 (POLL_HUP): Likewise.
7057 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7058 (ILL_ILLOPN): Likewise.
7059 (ILL_ILLADR): Likewise.
7060 (ILL_ILLTRP): Likewise.
7061 (ILL_PRVOPC): Likewise.
7062 (ILL_PRVREG): Likewise.
7063 (ILL_COPROC): Likewise.
7064 (ILL_BADSTK): Likewise.
7065 (ILL_DBLFLT): Likewise.
7066 (ILL_HARDWALL): Likewise.
7067 (FPE_INTDIV): Likewise.
7068 (FPE_INTOVF): Likewise.
7069 (FPE_FLTDIV): Likewise.
7070 (FPE_FLTOVF): Likewise.
7071 (FPE_FLTUND): Likewise.
7072 (FPE_FLTRES): Likewise.
7073 (FPE_FLTINV): Likewise.
7074 (FPE_FLTSUB): Likewise.
7075 (SEGV_MAPERR): Likewise.
7076 (SEGV_ACCERR): Likewise.
7077 (BUS_ADRALN): Likewise.
7078 (BUS_ADRERR): Likewise.
7079 (BUS_OBJERR): Likewise.
7080 (BUS_MCEERR_AR): Likewise.
7081 (BUS_MCEERR_AO): Likewise.
7082 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7083 (TRAP_TRACE): Likewise.
7084 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7086 (CLD_KILLED): Likewise.
7087 (CLD_DUMPED): Likewise.
7088 (CLD_TRAPPED): Likewise.
7089 (CLD_STOPPED): Likewise.
7090 (CLD_CONTINUED): Likewise.
7091 (POLL_IN): Likewise.
7092 (POLL_OUT): Likewise.
7093 (POLL_MSG): Likewise.
7094 (POLL_ERR): Likewise.
7095 (POLL_PRI): Likewise.
7096 (POLL_HUP): Likewise.
7097 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7098 (ILL_ILLOPN): Likewise.
7099 (ILL_ILLADR): Likewise.
7100 (ILL_ILLTRP): Likewise.
7101 (ILL_PRVOPC): Likewise.
7102 (ILL_PRVREG): Likewise.
7103 (ILL_COPROC): Likewise.
7104 (ILL_BADSTK): Likewise.
7105 (FPE_INTDIV): Likewise.
7106 (FPE_INTOVF): Likewise.
7107 (FPE_FLTDIV): Likewise.
7108 (FPE_FLTOVF): Likewise.
7109 (FPE_FLTUND): Likewise.
7110 (FPE_FLTRES): Likewise.
7111 (FPE_FLTINV): Likewise.
7112 (FPE_FLTSUB): Likewise.
7113 (SEGV_MAPERR): Likewise.
7114 (SEGV_ACCERR): Likewise.
7115 (BUS_ADRALN): Likewise.
7116 (BUS_ADRERR): Likewise.
7117 (BUS_OBJERR): Likewise.
7118 (BUS_MCEERR_AR): Likewise.
7119 (BUS_MCEERR_AO): Likewise.
7120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7121 (TRAP_TRACE): Likewise.
7122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7124 (CLD_KILLED): Likewise.
7125 (CLD_DUMPED): Likewise.
7126 (CLD_TRAPPED): Likewise.
7127 (CLD_STOPPED): Likewise.
7128 (CLD_CONTINUED): Likewise.
7129 (POLL_IN): Likewise.
7130 (POLL_OUT): Likewise.
7131 (POLL_MSG): Likewise.
7132 (POLL_ERR): Likewise.
7133 (POLL_PRI): Likewise.
7134 (POLL_HUP): Likewise.
7135 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7136 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7139 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7140 before #include of <time.h>.
7141 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7142 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7143 (test-xfail-UNIX98/sched.h/conform): Likewise.
7145 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7147 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7148 error absence of trapping exception support.
7149 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7151 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7153 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7154 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7155 * timezone/Makefile (testdata): Move definition above include of
7157 (test-zones): New variable.
7158 (tests-special): Add zone files.
7159 (build-testdata): Use $(evaluate-test).
7161 * elf/Makefile (tests-special): Rename tests to end with .out.
7162 ($(objpfx)noload-mem): Likewise.
7163 ($(objpfx)tst-leaks1-mem): Likewise.
7164 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7165 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7166 $(objpfx)test-iconvconfig.out.
7167 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7168 set -e inside subshell and redirect output to file.
7169 * iconvdata/Makefile (generated): Rename tests to end with .out.
7171 (tests-special): Rename tests to end with .out.
7172 ($(objpfx)mtrace-tst-loading): Likewise.
7173 * intl/Makefile (generated): Likewise.
7174 (tests-special): Likewise.
7175 ($(objpfx)mtrace-tst-gettext): Likewise.
7176 * misc/Makefile (generated): Likewise.
7177 (tests-special): Likewise.
7178 ($(objpfx)tst-error1-mem): Likewise.
7179 * nptl/Makefile (tests-special): Likewise.
7180 ($(objpfx)tst-stack3-mem): Likewise.
7181 (generated): Likewise.
7182 * posix/Makefile (generated): Likewise.
7183 (tests-special): Likewise.
7184 (xtests-special): Likewise.
7185 ($(objpfx)tst-fnmatch-mem): Likewise.
7186 ($(objpfx)bug-regex2-mem): Likewise.
7187 ($(objpfx)bug-regex14-mem): Likewise.
7188 ($(objpfx)bug-regex21-mem): Likewise.
7189 ($(objpfx)bug-regex31-mem): Likewise.
7190 ($(objpfx)tst-vfork3-mem): Likewise.
7191 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7192 ($(objpfx)tst-pcre-mem): Likewise.
7193 ($(objpfx)tst-boost-mem): Likewise.
7194 ($(objpfx)bug-ga2-mem): Likewise.
7195 ($(objpfx)bug-glob2-mem): Likewise.
7196 * resolv/Makefile (generate): Likewise.
7197 (tests-special): Likewise.
7198 (xtests-special): Likewise.
7199 (generated): Likewise.
7200 ($(objpfx)mtrace-tst-leaks): Likewise.
7201 ($(objpfx)mtrace-tst-leaks2): Likewise.
7203 * scripts/merge-test-results.sh: New file.
7204 * Makefile (tests-special-notdir): New variable.
7205 (tests): Run merge-test-results.sh.
7207 * Rules (tests-special-notdir): New variable.
7208 (xtests-special-notdir): Likewise.
7209 (tests): Run merge-test-results.sh
7212 * Makeconfig (test-xfail-name): New variable.
7213 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7214 compute variable name for expected failures.
7215 * conform/Makefile (conformtest-headers-data): New variable.
7216 (conformtest-standards): Likewise.
7217 (conformtest-headers-ISO): Likewise.
7218 (conformtest-headers-ISO99): Likewise.
7219 (conformtest-headers-ISO11): Likewise.
7220 (conformtest-headers-POSIX): Likewise.
7221 (conformtest-headers-XPG3): Likewise.
7222 (conformtest-headers-XPG4): Likewise.
7223 (conformtest-headers-UNIX98): Likewise.
7224 (conformtest-headers-XOPEN2K): Likewise.
7225 (conformtest-headers-POSIX2008): Likewise.
7226 (conformtest-headers-XOPEN2K8): Likewise.
7227 (conformtest-header-list-base): Likewise.
7228 (conformtest-header-list-tests): Likewise.
7229 (conformtest-header-base): Likewise.
7230 (conformtest-header-tests): Likewise.
7231 (tests-special): Add $(conformtest-header-list-tests). If
7232 [$(fast-check) && !$(cross-compiling)], add
7233 $(conformtest-header-tests) instead of
7234 $(objpfx)run-conformtest.out.
7235 (generated): Add $(conformtest-header-list-base). If
7236 [$(fast-check) && !$(cross-compiling)], add
7237 $(conformtest-header-base). Remove previous setting.
7238 ($(conformtest-header-list-tests)): New target.
7239 (test-xfail-run-conformtest): Remove variable.
7240 ($(objpfx)run-conformtest.out): Remove target.
7241 (test-xfail-ISO11/complex.h/conform): New variable.
7242 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7243 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7244 (test-xfail-XPG3/varargs.h/conform): Likewise.
7245 (test-xfail-XPG4/varargs.h/conform): Likewise.
7246 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7247 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7248 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7249 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7250 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7251 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7252 (test-xfail-XPG3/ftw.h/conform): Likewise.
7253 (test-xfail-XPG3/grp.h/conform): Likewise.
7254 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7255 (test-xfail-XPG3/limits.h/conform): Likewise.
7256 (test-xfail-XPG3/pwd.h/conform): Likewise.
7257 (test-xfail-XPG3/search.h/conform): Likewise.
7258 (test-xfail-XPG3/signal.h/conform): Likewise.
7259 (test-xfail-XPG3/stdio.h/conform): Likewise.
7260 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7261 (test-xfail-XPG3/string.h/conform): Likewise.
7262 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7263 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7264 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7265 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7266 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7267 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7268 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7269 (test-xfail-XPG3/termios.h/conform): Likewise.
7270 (test-xfail-XPG3/time.h/conform): Likewise.
7271 (test-xfail-XPG3/unistd.h/conform): Likewise.
7272 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7273 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7274 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7275 (test-xfail-XPG4/netdb.h/conform): Likewise.
7276 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7277 (test-xfail-XPG4/signal.h/conform): Likewise.
7278 (test-xfail-XPG4/stdio.h/conform): Likewise.
7279 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7280 (test-xfail-XPG4/stropts.h/conform): Likewise.
7281 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7282 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7283 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7284 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7285 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7286 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7287 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7288 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7289 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7290 (test-xfail-XPG4/termios.h/conform): Likewise.
7291 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7292 (test-xfail-XPG4/unistd.h/conform): Likewise.
7293 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7294 (test-xfail-POSIX/sched.h/conform): Likewise.
7295 (test-xfail-POSIX/signal.h/conform): Likewise.
7296 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7297 (test-xfail-POSIX/tar.h/conform): Likewise.
7298 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7299 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7300 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7301 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7302 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7303 (test-xfail-UNIX98/sched.h/conform): Likewise.
7304 (test-xfail-UNIX98/signal.h/conform): Likewise.
7305 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7306 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7307 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7308 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7309 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7310 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7311 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7312 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7313 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7314 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7315 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7316 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7317 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7318 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7319 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7320 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7321 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7322 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7323 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7324 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7325 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7326 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7327 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7328 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7329 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7330 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7331 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7332 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7333 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7334 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7335 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7336 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7337 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7338 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7339 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7340 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7341 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7342 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7343 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7344 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7345 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7346 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7347 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7348 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7349 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7350 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7351 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7352 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7353 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7354 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7355 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7356 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7357 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7358 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7359 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7360 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7361 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7362 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7363 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7364 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7365 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7366 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7367 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7368 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7369 (conformtest-cc-flags): Likewise.
7370 ($(conformtest-header-tests): New target.
7371 * conform/check-header-lists.sh: New file.
7372 * conform/run-conformtest.sh: Remove.
7374 * conform/conformtest.pl: Allow ' and \ in values given for
7376 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7378 [POSIX] (sys/types.h): Likewise.
7379 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7381 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7383 * conform/data/signal.h-data (SIGIO): Remove expectation.
7384 [XPG3] (SIGBUS): Do not expect.
7385 [POSIX || XPG3] (SIGPOLL): Likewise.
7386 [POSIX || XPG3] (SIGPROF): Likewise.
7387 [POSIX || XPG3] (SIGSYS): Likewise.
7388 [XPG3] (SIGTRAP): Likewise.
7389 [POSIX || XPG3] (SIGURG): Likewise.
7390 [POSIX || XPG3] (SIGVTALRM): Likewise.
7391 [POSIX || XPG3] (SIGXCPU): Likewise.
7392 [POSIX || XPG3] (SIGXFSZ): Likewise.
7393 [POSIX] (SA_SIGINFO): Expect.
7394 [XPG3] (siginfo_t): Do not expect type or contents.
7395 [POSIX] (si_pid): Do not expect element.
7396 [POSIX] (si_uid): Likewise.
7397 [POSIX] (si_addr): Likewise.
7398 [POSIX] (si_status): Likewise.
7399 [POSIX] (si_band): Likewise.
7400 [XPG4] (si_value): Likewise.
7401 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7402 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7403 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7404 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7405 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7406 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7407 [POSIX || XPG3] (ILL_COPROC): Likewise.
7408 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7409 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7410 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7411 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7412 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7413 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7414 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7415 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7416 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7417 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7418 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7419 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7420 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7421 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7422 [POSIX || XPG3] (CLD_EXITED): Likewise.
7423 [POSIX || XPG3] (CLD_KILLED): Likewise.
7424 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7425 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7426 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7427 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7428 [POSIX || XPG3] (POLL_IN): Likewise.
7429 [POSIX || XPG3] (POLL_OUT): Likewise.
7430 [POSIX || XPG3] (POLL_MSG): Likewise.
7431 [POSIX || XPG3] (POLL_ERR): Likewise.
7432 [POSIX || XPG3] (POLL_PRI): Likewise.
7433 [POSIX || XPG3] (POLL_HUP): Likewise.
7434 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7435 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7436 (SIG*): Do not allow.
7437 [XPG3] (si_*): Likewise.
7438 [XPG3] (SI_*): Likewise.
7439 [XPG3 || XPG4] (sigev_*): Likewise.
7440 [XPG3 || XPG4] (SIGEV_*): Likewise.
7441 [XPG3 || XPG4] (sival_*): Likewise.
7442 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7443 [POSIX || XPG3] (BUS_*): Likewise.
7444 [POSIX || XPG3] (CLD_*): Likewise.
7445 [POSIX || XPG3] (FPE_*): Likewise.
7446 [POSIX || XPG3] (ILL_*): Likewise.
7447 [POSIX || XPG3] (POLL_*): Likewise.
7448 [POSIX || XPG3] (SEGV_*): Likewise.
7449 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7450 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7451 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7452 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7453 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7454 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7455 Specify type and value.
7456 (TVERSLEN): Likewise.
7457 (REGTYPE): Likewise.
7458 (AREGTYPE): Likewise.
7459 (LNKTYPE): Likewise.
7460 (SYMTYPE): Likewise.
7461 (CHRTYPE): Likewise.
7462 (BLKTYPE): Likewise.
7463 (DIRTYPE): Likewise.
7464 (FIFOTYPE): Likewise.
7465 (CONTTYPE): Likewise.
7470 (TUWRITE): Likewise.
7473 (TGWRITE): Likewise.
7476 (TOWRITE): Likewise.
7478 [POSIX] (TSVTX): Expect constant.
7480 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7482 * Makefile (tests): Change dependencies to ....
7483 (tests-special): ... additions to this variable.
7484 (tests): Depend on $(tests-special).
7485 * Makerules (check-abi-list): New variable.
7486 (check-abi): Depend on $(check-abi-list).
7487 [$(subdir) = elf] (tests-special): Add
7488 $(objpfx)check-abi-libc.out.
7489 [$(build-shared) = yes && subdir] (tests-special): Add
7491 [$(build-shared) = yes && subdir] (tests): Do not depend on
7493 * Rules (tests): Depend on $(tests-special).
7494 (xtests): Depend on $(xtests-special).
7495 * catgets/Makefile (tests): Change dependencies to ....
7496 (tests-special): ... additions to this variable.
7497 * conform/Makefile (tests): Change dependencies to ....
7498 (tests-special): ... additions to this variable.
7499 * elf/Makefile (tests): Change dependencies to ....
7500 (tests-special): ... additions to this variable.
7501 * grp/Makefile (tests): Change dependencies to ....
7502 (tests-special): ... additions to this variable.
7503 * iconv/Makefile (xtests): Change dependencies to ....
7504 (xtests-special): ... additions to this variable.
7505 * iconvdata/Makefile (tests): Change dependencies to ....
7506 (tests-special): ... additions to this variable.
7507 * intl/Makefile (tests): Change dependencies to ....
7508 (tests-special): ... additions to this variable. Also add
7509 $(objpfx)tst-gettext.out.
7510 * io/Makefile (tests): Change dependencies to ....
7511 (tests-special): ... additions to this variable.
7512 * libio/Makefile (tests): Change dependencies to ....
7513 (tests-special): ... additions to this variable.
7514 * malloc/Makefile (tests): Change dependencies to ....
7515 (tests-special): ... additions to this variable.
7516 * misc/Makefile (tests): Change dependencies to ....
7517 (tests-special): ... additions to this variable.
7518 * nptl/Makefile (tests): Change dependencies to ....
7519 (tests-special): ... additions to this variable.
7520 * nptl_db/Makefile (tests): Change dependencies to ....
7521 (tests-special): ... additions to this variable.
7522 * posix/Makefile (tests): Change dependencies to ....
7523 (tests-special): ... additions to this variable.
7524 (xtests): Change dependencies to ....
7525 (xtests-special): ... additions to this variable.
7526 * resolv/Makefile (tests): Change dependencies to ....
7527 (tests-special): ... additions to this variable.
7528 (xtests): Change dependencies to ....
7529 (xtests-special): ... additions to this variable.
7530 * stdio-common/Makefile (tests): Change dependencies to ....
7531 (tests-special): ... additions to this variable.
7532 (do-tst-unbputc): Remove target.
7533 (do-tst-printf): Likewise.
7534 * stdlib/Makefile (tests): Change dependencies to ....
7535 (tests-special): ... additions to this variable.
7536 * string/Makefile (tests): Change dependencies to ....
7537 (tests-special): ... additions to this variable.
7538 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7539 (tests-special): ... additions to this variable.
7541 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7543 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7545 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7546 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7548 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7549 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7550 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7551 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7552 * conform/data/libgen.h-data [XPG3]: Likewise.
7553 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7554 * conform/data/ndbm.h-data [XPG3]: Likewise.
7555 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7556 * conform/data/netdb.h-data [XPG3]: Likewise.
7557 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7558 * conform/data/poll.h-data [XPG3]: Likewise.
7559 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7560 * conform/data/strings.h-data [XPG3]: Likewise.
7561 * conform/data/stropts.h-data [XPG3]: Likewise.
7562 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7563 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7564 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7566 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7567 * conform/data/sys/time.h-data [XPG3]: Likewise.
7568 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7569 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7570 * conform/data/sys/un.h-data [XPG3]: Likewise.
7571 * conform/data/syslog.h-data [XPG3]: Likewise.
7572 * conform/data/ucontext.h-data [XPG3]: Likewise.
7573 * conform/data/utmpx.h-data [XPG3]: Likewise.
7574 * conform/data/varargs.h-data [UNIX98]: Enable file.
7576 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7578 * math/libm-test.inc (struct test_f_f_data): Move expected results
7579 into structure for each rounding mode.
7580 (struct test_ff_f_data): Likewise.
7581 (struct test_ff_f_data_nexttoward): Likewise.
7582 (struct test_fi_f_data): Likewise.
7583 (struct test_fl_f_data): Likewise.
7584 (struct test_if_f_data): Likewise.
7585 (struct test_fff_f_data): Likewise.
7586 (struct test_c_f_data): Likewise.
7587 (struct test_f_f1_data): Likewise.
7588 (struct test_fF_f1_data): Likewise.
7589 (struct test_ffI_f1_data): Likewise.
7590 (struct test_c_c_data): Likewise.
7591 (struct test_cc_c_data): Likewise.
7592 (struct test_f_i_data): Likewise.
7593 (struct test_ff_i_data): Likewise.
7594 (struct test_f_l_data): Likewise.
7595 (struct test_f_L_data): Likewise.
7596 (struct test_fFF_11_data): Likewise.
7598 (RM_FE_DOWNWARD): Likewise.
7599 (RM_FE_TONEAREST): Likewise.
7600 (RM_FE_TOWARDZERO): Likewise.
7601 (RM_FE_UPWARD): Likewise.
7602 (RUN_TEST_LOOP_f_f): Update references to expected results.
7603 (RUN_TEST_LOOP_2_f): Likewise.
7604 (RUN_TEST_LOOP_fff_f): Likewise.
7605 (RUN_TEST_LOOP_c_f): Likewise.
7606 (RUN_TEST_LOOP_f_f1): Likewise.
7607 (RUN_TEST_LOOP_fF_f1): Likewise.
7608 (RUN_TEST_LOOP_fI_f1): Likewise.
7609 (RUN_TEST_LOOP_ffI_f1): Likewise.
7610 (RUN_TEST_LOOP_c_c): Likewise.
7611 (RUN_TEST_LOOP_cc_c): Likewise.
7612 (RUN_TEST_LOOP_f_i): Likewise.
7613 (RUN_TEST_LOOP_f_i_tg): Likewise.
7614 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7615 (RUN_TEST_LOOP_f_b): Likewise.
7616 (RUN_TEST_LOOP_f_b_tg): Likewise.
7617 (RUN_TEST_LOOP_f_l): Likewise.
7618 (RUN_TEST_LOOP_f_L): Likewise.
7619 (RUN_TEST_LOOP_fFF_11): Likewise.
7620 * math/gen-libm-test.pl (parse_args): Output four copies of
7621 expected results for each test.
7623 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7624 (__ASSUME_UTIMES): Remove.
7625 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7626 (__ASSUME_UTIMES): Likewise.
7628 * math/gen-auto-libm-tests.c: Update comment on output format.
7629 (output_for_one_input_case): Generate before-rounding and
7630 after-rounding information as conditions on output flags not
7631 floating-point format.
7632 * math/auto-libm-test-out: Regenerated.
7633 * math/gen-libm-test.pl (cond_value): New function.
7634 (or_cond_value): Use cond_value.
7635 (generate_testfile): Handle conditional exceptions.
7637 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7639 * math/libm-test.inc (max_valid_error): New variable.
7640 (init_max_error): Take new argument specifying whether function
7641 results are exactly determined. Set max_valid_error and bound
7642 other variables for errors based on this argument.
7643 (set_max_error): Do not record results above max_valid_error.
7644 (check_float_internal): Only accept errors of up to 0.5ulps if
7645 also at most max_valid_error.
7646 (START): Take new argument EXACT and pass it to init_max_error.
7647 (acos_test): Update call to START.
7648 (acos_test_tonearest): Likewise.
7649 (acos_test_towardzero): Likewise.
7650 (acos_test_downward): Likewise.
7651 (acos_test_upward): Likewise.
7652 (acosh_test): Likewise.
7653 (asin_test): Likewise.
7654 (asin_test_tonearest): Likewise.
7655 (asin_test_towardzero): Likewise.
7656 (asin_test_downward): Likewise.
7657 (asin_test_upward): Likewise.
7658 (asinh_test): Likewise.
7659 (atan_test): Likewise.
7660 (atanh_test): Likewise.
7661 (atan2_test): Likewise.
7662 (cabs_test): Likewise.
7663 (cacos_test): Likewise.
7664 (cacosh_test): Likewise.
7665 (carg_test): Likewise.
7666 (casin_test): Likewise.
7667 (casinh_test): Likewise.
7668 (catan_test): Likewise.
7669 (catanh_test): Likewise.
7670 (cbrt_test): Likewise.
7671 (ccos_test): Likewise.
7672 (ccosh_test): Likewise.
7673 (ceil_test): Likewise.
7674 (cexp_test): Likewise.
7675 (cimag_test): Likewise.
7676 (clog_test): Likewise.
7677 (clog10_test): Likewise.
7678 (conj_test): Likewise.
7679 (copysign_test): Likewise.
7680 (cos_test): Likewise.
7681 (cos_test_tonearest): Likewise.
7682 (cos_test_towardzero): Likewise.
7683 (cos_test_downward): Likewise.
7684 (cos_test_upward): Likewise.
7685 (cosh_test): Likewise.
7686 (cosh_test_tonearest): Likewise.
7687 (cosh_test_towardzero): Likewise.
7688 (cosh_test_downward): Likewise.
7689 (cosh_test_upward): Likewise.
7690 (cpow_test): Likewise.
7691 (cproj_test): Likewise.
7692 (creal_test): Likewise.
7693 (csin_test): Likewise.
7694 (csinh_test): Likewise.
7695 (csqrt_test): Likewise.
7696 (ctan_test): Likewise.
7697 (ctan_test_tonearest): Likewise.
7698 (ctan_test_towardzero): Likewise.
7699 (ctan_test_downward): Likewise.
7700 (ctan_test_upward): Likewise.
7701 (ctanh_test): Likewise.
7702 (ctanh_test_tonearest): Likewise.
7703 (ctanh_test_towardzero): Likewise.
7704 (ctanh_test_downward): Likewise.
7705 (ctanh_test_upward): Likewise.
7706 (erf_test): Likewise.
7707 (erfc_test): Likewise.
7708 (exp_test): Likewise.
7709 (exp_test_tonearest): Likewise.
7710 (exp_test_towardzero): Likewise.
7711 (exp_test_downward): Likewise.
7712 (exp_test_upward): Likewise.
7713 (exp10_test): Likewise.
7714 (exp10_test_tonearest): Likewise.
7715 (exp10_test_towardzero): Likewise.
7716 (exp10_test_downward): Likewise.
7717 (exp10_test_upward): Likewise.
7718 (pow10_test): Likewise.
7719 (exp2_test): Likewise.
7720 (expm1_test): Likewise.
7721 (expm1_test_tonearest): Likewise.
7722 (expm1_test_towardzero): Likewise.
7723 (expm1_test_downward): Likewise.
7724 (expm1_test_upward): Likewise.
7725 (fabs_test): Likewise.
7726 (fdim_test): Likewise.
7727 (floor_test): Likewise.
7728 (fma_test): Likewise.
7729 (fma_test_towardzero): Likewise.
7730 (fma_test_downward): Likewise.
7731 (fma_test_upward): Likewise.
7732 (fmax_test): Likewise.
7733 (fmin_test): Likewise.
7734 (fmod_test): Likewise.
7735 (fpclassify_test): Likewise.
7736 (frexp_test): Likewise.
7737 (hypot_test): Likewise.
7738 (ilogb_test): Likewise.
7739 (isfinite_test): Likewise.
7740 (finite_test): Likewise.
7741 (isgreater_test): Likewise.
7742 (isgreaterequal_test): Likewise.
7743 (isinf_test): Likewise.
7744 (isless_test): Likewise.
7745 (islessequal_test): Likewise.
7746 (islessgreater_test): Likewise.
7747 (isnan_test): Likewise.
7748 (isnormal_test): Likewise.
7749 (issignaling_test): Likewise.
7750 (isunordered_test): Likewise.
7751 (j0_test): Likewise.
7752 (j1_test): Likewise.
7753 (jn_test): Likewise.
7754 (ldexp_test): Likewise.
7755 (lgamma_test): Likewise.
7756 (gamma_test): Likewise.
7757 (lrint_test): Likewise.
7758 (lrint_test_tonearest): Likewise.
7759 (lrint_test_towardzero): Likewise.
7760 (lrint_test_downward): Likewise.
7761 (lrint_test_upward): Likewise.
7762 (llrint_test): Likewise.
7763 (llrint_test_tonearest): Likewise.
7764 (llrint_test_towardzero): Likewise.
7765 (llrint_test_downward): Likewise.
7766 (llrint_test_upward): Likewise.
7767 (log_test): Likewise.
7768 (log10_test): Likewise.
7769 (log1p_test): Likewise.
7770 (log2_test): Likewise.
7771 (logb_test): Likewise.
7772 (logb_test_downward): Likewise.
7773 (lround_test): Likewise.
7774 (llround_test): Likewise.
7775 (modf_test): Likewise.
7776 (nearbyint_test): Likewise.
7777 (nextafter_test): Likewise.
7778 (nexttoward_test): Likewise.
7779 (pow_test): Likewise.
7780 (pow_test_tonearest): Likewise.
7781 (pow_test_towardzero): Likewise.
7782 (pow_test_downward): Likewise.
7783 (pow_test_upward): Likewise.
7784 (remainder_test): Likewise.
7785 (drem_test): Likewise.
7786 (remainder_test_tonearest): Likewise.
7787 (drem_test_tonearest): Likewise.
7788 (remainder_test_towardzero): Likewise.
7789 (drem_test_towardzero): Likewise.
7790 (remainder_test_downward): Likewise.
7791 (drem_test_downward): Likewise.
7792 (remainder_test_upward): Likewise.
7793 (drem_test_upward): Likewise.
7794 (remquo_test): Likewise.
7795 (rint_test): Likewise.
7796 (rint_test_tonearest): Likewise.
7797 (rint_test_towardzero): Likewise.
7798 (rint_test_downward): Likewise.
7799 (rint_test_upward): Likewise.
7800 (round_test): Likewise.
7801 (scalb_test): Likewise.
7802 (scalbn_test): Likewise.
7803 (scalbln_test): Likewise.
7804 (signbit_test): Likewise.
7805 (sin_test): Likewise.
7806 (sin_test_tonearest): Likewise.
7807 (sin_test_towardzero): Likewise.
7808 (sin_test_downward): Likewise.
7809 (sin_test_upward): Likewise.
7810 (sincos_test): Likewise.
7811 (sinh_test): Likewise.
7812 (sinh_test_tonearest): Likewise.
7813 (sinh_test_towardzero): Likewise.
7814 (sinh_test_downward): Likewise.
7815 (sinh_test_upward): Likewise.
7816 (sqrt_test): Likewise.
7817 (sqrt_test_tonearest): Likewise.
7818 (sqrt_test_towardzero): Likewise.
7819 (sqrt_test_downward): Likewise.
7820 (sqrt_test_upward): Likewise.
7821 (tan_test): Likewise.
7822 (tan_test_tonearest): Likewise.
7823 (tan_test_towardzero): Likewise.
7824 (tan_test_downward): Likewise.
7825 (tan_test_upward): Likewise.
7826 (tanh_test): Likewise.
7827 (tgamma_test): Likewise.
7828 (trunc_test): Likewise.
7829 (y0_test): Likewise.
7830 (y1_test): Likewise.
7831 (yn_test): Likewise.
7832 (significand_test): Likewise.
7834 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7835 individual tests in comment.
7836 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7837 (prev_max_error): New variable.
7838 (prev_real_max_error): Likewise.
7839 (prev_imag_max_error): Likewise.
7840 (compare_ulp_data): Don't refer to test names in comment.
7841 (find_test_ulps): Remove function.
7842 (find_function_ulps): Likewise.
7843 (find_complex_function_ulps): Likewise.
7844 (init_max_error): Take function name as argument. Look up ulps
7846 (print_ulps): Remove function.
7847 (print_max_error): Use prev_max_error instead of calling
7849 (print_complex_max_error): Use prev_real_max_error and
7850 prev_imag_max_error instead of calling find_complex_function_ulps.
7851 (check_float_internal): Take max_ulp parameter instead of calling
7852 find_test_ulps. Don't call print_ulps.
7853 (check_float): Update call to check_float_internal.
7854 (check_complex): Update calls to check_float_internal.
7855 (START): Pass argument to init_max_error.
7856 * math/gen-libm-test.pl (%results): Don't include "kind"
7858 (parse_ulps): Don't handle ulps of individual tests.
7859 (print_ulps_file): Likewise.
7860 (output_ulps): Likewise.
7861 * math/README.libm-test: Update.
7862 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7864 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7865 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7866 * sysdeps/arm/libm-test-ulps: Likewise.
7867 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7868 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7869 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7870 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7871 * sysdeps/microblaze/libm-test-ulps: Likewise.
7872 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7873 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7875 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7876 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7877 * sysdeps/sh/libm-test-ulps: Likewise.
7878 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7879 * sysdeps/tile/libm-test-ulps: Likewise.
7880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7882 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7884 * math/libm-test.inc (print_complex_max_error): Check separately
7885 whether real and imaginary errors are within allowed range and
7886 pass 0 to print_complex_function_ulps instead of value within
7889 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7891 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7893 (get_handles_fopen): Likewise.
7894 (do_write_test): Likewise.
7896 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7898 * libio/fileops.c (do_ftell): Use cached offset when
7900 * libio/iofwide.c (do_ftell_wide): Likewise.
7901 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7903 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7906 * libio/libioP.h (get_file_offset): New function.
7907 * libio/fileops.c (get_file_offset): Likewise.
7908 (do_ftell): Likewise.
7909 (_IO_new_file_seekoff): Split out ftell logic.
7910 * libio/wfileops.c (do_ftell_wide): Likewise.
7911 (_IO_wfile_seekoff): Split out ftell logic.
7912 * libio/tst-ftell-active-handler.c: New test case.
7913 * libio/Makefile (tests): Add it.
7915 2014-03-03 Roland McGrath <roland@hack.frob.com>
7917 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7918 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7920 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7923 * nscd/connections.c (nscd_init): Call do_exit.
7924 (start_threads): Call do_exit and notify_parent.
7925 (begin_drop_privileges): Call do_exit.
7926 (finish_drop_privileges): Likewise.
7927 * nscd/selinux.c (preserve_capabilities): Likewise.
7928 (install_real_capabilities): Likewise.
7929 (nscd_selinux_enabled): Likewise.
7930 (avc_create_thread): Likewise.
7931 (avc_alloc_lock): Likewise.
7932 (nscd_avc_init): Likewise.
7933 * nscd/nscd.c (parent_fd): New static variable.
7934 (main): Create a pipe between parent and child processes.
7935 Skip closing parent_fd.
7936 (monitor_child): New function.
7937 (do_exit): Likewise.
7938 (notify_parent): Likewise.
7939 * nscd/nscd.h (notify_parent): Likewise.
7940 (do_exit): Likewise.
7942 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7944 * malloc/malloc.c (__libc_calloc): Revert last change.
7946 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7950 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7952 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7956 (__libc_ifunc_impl_list): Likewise.
7957 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7958 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7959 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7960 * string/strrchr.c: Define STRRCHR.
7962 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7964 * benchtest/bench-strtok.c (simple_strtok): Delete.
7965 (strtok_string): Use as benchmark.
7966 * string/strtok (STRTOK): New macro.
7968 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7970 * manual/threads.texi: Add header and standard comments to all
7973 * elf/dl-lookup.c (check_match): New function.
7974 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7975 (do_lookup_x): Remove nested function check_match. Use non-nested
7976 function check_match.
7978 2014-02-28 Roland McGrath <roland@hack.frob.com>
7980 * csu/Makefile (generated, before-compile): Use += rather than =.
7981 * catgets/Makefile (generated, generated-dirs): Likewise.
7982 * debug/Makefile (generated): Likewise.
7983 * dlfcn/Makefile (generated): Likewise.
7984 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7985 * iconvdata/Makefile (before-compile, generated): Likewise.
7986 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7987 * libio/Makefile (generated): Likewise.
7988 * malloc/Makefile (generated): Likewise.
7989 * manual/Makefile (generated, generated-dirs): Likewise.
7990 * misc/Makefile (generated): Likewise.
7991 * posix/Makefile (generated): Likewise.
7992 * resolv/Makefile (generated): Likewise.
7993 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7994 * timezone/Makefile (generated, generated-dirs): Likewise.
7996 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7998 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8001 power8 implementation.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8003 file: POWER8 llround ifunc implementation.
8004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8005 (__lllround): Add POWER8 implementation.
8006 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8007 POWER8 llround implementation.
8009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8010 power8 implementation.
8011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8012 file: POWER8 llrint ifunc implementation.
8013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8014 Add POWER8 implementation.
8015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8016 POWER8 llrint implementation.
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8019 power8 implementation.
8020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8021 file: POWER8 finite ifunc implementation.
8022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8023 Add POWER8 implementation.
8024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8026 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8027 POWER8 finite implementation.
8028 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8031 power8 implementation.
8032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8033 file: POWER8 isinf ifunc implementation.
8034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8035 POWER8 implementation.
8036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8038 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8039 isinf implementation.
8040 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8042 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8043 (INIT_ARCH): Add hwcap2 initialization.
8044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8045 power8 implementation.
8046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8047 file: POWER8 isnan ifunc implementation.
8048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8049 POWER8 implementation.
8050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8052 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8053 isnan implementation.
8054 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8056 2014-02-27 Joey Ye <joey.ye@arm.com>
8058 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8059 (_FP_NANFRAC_Q): Set to zero.
8061 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8064 * math/auto-libm-test-in: New test inputs.
8065 * math/auto-libm-test-out: Regenerate.
8066 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8069 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8071 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8073 * scripts/evaluate-test.sh: Take new argument indicating whether
8074 failure is expected.
8075 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8076 indicating whether failure is expected.
8077 * conform/Makefile (test-xfail-run-conformtest): New variable.
8078 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8080 * posix/Makefile (test-xfail-annexc): New variable.
8081 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8083 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8085 * argp/Makefile: Include Makeconfig immediately after defining
8087 * assert/Makefile: Likewise.
8088 * benchtests/Makefile: Likewise.
8089 * catgets/Makefile: Likewise.
8090 * conform/Makefile: Likewise.
8091 * crypt/Makefile: Likewise.
8092 * csu/Makefile: Likewise.
8093 (all): Remove target.
8094 * ctype/Makefile: Include Makeconfig immediately after defining
8096 * debug/Makefile: Likewise.
8097 * dirent/Makefile: Likewise.
8098 * dlfcn/Makefile: Likewise.
8099 * gmon/Makefile: Likewise.
8100 * gnulib/Makefile: Likewise.
8101 * grp/Makefile: Likewise.
8102 * gshadow/Makefile: Likewise.
8103 * hesiod/Makefile: Likewise.
8104 * hurd/Makefile: Likewise.
8105 (all): Remove target.
8106 * iconvdata/Makefile: Include Makeconfig immediately after
8108 * inet/Makefile: Likewise.
8109 * intl/Makefile: Likewise.
8110 * io/Makefile: Likewise.
8111 * libio/Makefile: Likewise.
8112 (all): Remove target.
8113 * locale/Makefile: Include Makeconfig immediately after defining
8115 * login/Makefile: Likewise.
8116 * mach/Makefile: Likewise.
8117 (all): Remove target.
8118 * malloc/Makefile: Include Makeconfig immediately after defining
8120 (all): Remove target.
8121 * manual/Makefile: Include Makeconfig immediately after defining
8123 * math/Makefile: Likewise.
8124 * misc/Makefile: Likewise.
8125 * nis/Makefile: Likewise.
8126 * nss/Makefile: Likewise.
8127 * po/Makefile: Likewise.
8128 (all): Remove target.
8129 * posix/Makefile: Include Makeconfig immediately after defining
8131 * pwd/Makefile: Likewise.
8132 * resolv/Makefile: Likewise.
8133 * resource/Makefile: Likewise.
8134 * rt/Makefile: Likewise.
8135 * setjmp/Makefile: Likewise.
8136 * shadow/Makefile: Likewise.
8137 * signal/Makefile: Likewise.
8138 * socket/Makefile: Likewise.
8139 * soft-fp/Makefile: Likewise.
8140 * stdio-common/Makefile: Likewise.
8141 * stdlib/Makefile: Likewise.
8142 * streams/Makefile: Likewise.
8143 * string/Makefile: Likewise.
8144 * sunrpc/Makefile: Likewise.
8145 (all): Remove target.
8146 * sysvipc/Makefile: Include Makeconfig immediately after defining
8148 * termios/Makefile: Likewise.
8149 * time/Makefile: Likewise.
8150 * timezone/Makefile: Likewise.
8151 (all): Remove target.
8152 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8154 * wctype/Makefile: Likewise.
8156 2014-02-26 Steve Ellcey <sellcey@mips.com>
8158 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8159 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8160 (libc_feholdexcept_setround_mips): Ditto.
8161 (libc_feholdsetround): New.
8162 (libc_feholdsetroundf): New.
8163 (libc_feholdsetroundl): New.
8164 (libc_feupdateenv_test_mips): New.
8165 (libc_feupdateenv_test): New.
8166 (libc_feupdateenv_testf): New.
8167 (libc_feupdateenv_testl): New.
8168 (libc_feresetround): New.
8169 (libc_feresetroundf): New.
8170 (libc_feresetroundl): New.
8171 (libc_fetestexcept_mips): New.
8172 (libc_fetestexcept): New.
8173 (libc_fetestexceptf): New.
8174 (libc_fetestexceptl): New.
8176 (libc_feholdexcept_setround_mips_ctx): New.
8177 (libc_feholdexcept_setround_ctx): New.
8178 (libc_feholdexcept_setroundf_ctx): New.
8179 (libc_feholdexcept_setroundl_ctx): New.
8180 (libc_fesetenv_mips_ctx): New.
8181 (libc_fesetenv_ctx): New.
8182 (libc_fesetenv_ctxf): New.
8183 (libc_fesetenv_ctxl): New.
8184 (libc_feupdateenv_mips_ctx): New.
8185 (libc_feupdateenv_ctx): New.
8186 (libc_feupdateenvf_ctx): New.
8187 (libc_feupdateenvl_ctx): New.
8188 (libc_feholdsetround_mips_ctx): New.
8189 (libc_feholdsetround_ctx): New.
8190 (libc_feholdsetroundf_ctx): New.
8191 (libc_feholdsetroundl_ctx): New.
8192 (libc_feresetround_mips_ctx): New.
8193 (libc_feresetround_ctx): New.
8194 (libc_feresetroundf_ctx): New.
8195 (libc_feresetroundl_ctx): New.
8197 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8199 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8201 * manual/ipc.texi: New file.
8202 * manual/Makefile (chapters): Add ipc.
8203 * manual/job.texi: Add "Inter-Process Communication" to next.
8204 * manual/process.texi: Add "Inter-Process Communication" to prev.
8206 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8210 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8212 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8214 * manual/arith.texi: Fix spaces after sentences.
8215 * manual/charset.texi: Likewise.
8216 * manual/errno.texi: Likewise.
8217 * manual/install.texi: Likewise.
8218 * manual/llio.texi: Likewise.
8219 * manual/locale.texi: Likewise.
8220 * manual/maint.texi: Likewise.
8221 * manual/math.texi: Likewise.
8222 * manual/memory.texi: Likewise.
8223 * manual/message.texi: Likewise.
8224 * manual/probes.texi: Likewise.
8225 * manual/resource.texi: Likewise.
8226 * manual/signal.texi: Likewise.
8227 * manual/socket.texi: Likewise.
8228 * manual/stdio.texi: Likewise.
8229 * manual/string.texi: Likewise.
8230 * manual/time.texi: Likewise.
8231 * manual/users.texi: Likewise.
8233 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8236 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8237 _DEFAULT_SOURCE is defined.
8239 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8240 Carlos O'Donell <carlos@redhat.com>
8243 * elf/dl-tls.c (_dl_count_modids): New function.
8244 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8245 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8246 audit library and increment generation counter.
8247 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8248 * elf/tst-audit9.c: New file.
8249 * elf/tst-auditmod9a.c: New file.
8250 * elf/tst-auditmod9b.c: New file.
8251 * elf/Makefile: Add rules to build and run tst-audit9.
8253 2014-02-25 Florian Weimer <fweimer@redhat.com>
8256 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8258 2014-02-25 Will Newton <will.newton@linaro.org>
8260 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8261 (__longjmp): Restore sp and lr before restoring callee
8262 saved registers. Add longjmp and longjmp_target
8263 SystemTap probe point.
8264 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8265 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8266 Define to zero to match jmpbuf layout.
8267 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8268 (__sigsetjmp): Save sp and lr before saving callee
8269 saved registers. Add setjmp SystemTap probe point.
8271 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8273 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8275 2014-02-24 Andreas Schwab <schwab@suse.de>
8278 * elf/pldd.c (wait_for_ptrace_stop): New function.
8279 (main): Call it after attaching.
8281 2014-02-22 Roland McGrath <roland@hack.frob.com>
8283 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8284 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8285 Versions files is now verboten.
8286 * hurd/Versions (libc: GLIBC_2.0):
8287 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8288 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8289 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8290 * mach/Versions: Likewise.
8292 * csu/Versions: Remove unused %include.
8293 * resolv/Versions: Likewise.
8295 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8297 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8298 ($(objpfx)check-local-headers.out): Likewise.
8299 ($(objpfx)begin-end-check.out): Likewise.
8300 * Makerules (check-abi-%.out): Likewise.
8301 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8302 ($(objpfx)test2.cat): Likewise.
8303 ($(objpfx)de/libc.cat): Likewise.
8304 ($(objpfx)test-gencat.out): Likewise.
8305 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8306 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8307 ($(objpfx)noload-mem): Likewise.
8308 ($(objpfx)tst-pathopt.out): Likewise.
8309 ($(objpfx)tst-rtld-load-self.out): Likewise.
8310 ($(objpfx)tst-array1-cmp.out): Likewise.
8311 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8312 ($(objpfx)tst-array2-cmp.out): Likewise.
8313 ($(objpfx)tst-array3-cmp.out): Likewise.
8314 ($(objpfx)tst-array4-cmp.out): Likewise.
8315 ($(objpfx)tst-array5-cmp.out): Likewise.
8316 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8317 ($(objpfx)check-textrel.out): Likewise.
8318 ($(objpfx)check-execstack.out): Likewise.
8319 ($(objpfx)check-localplt.out): Likewise.
8320 ($(objpfx)order2-cmp.out): Likewise.
8321 ($(objpfx)tst-leaks1-mem): Likewise.
8322 ($(objpfx)tst-leaks1-static-mem): Likewise.
8323 ($(objpfx)tst-initorder-cmp.out): Likewise.
8324 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8325 ($(objpfx)tst-unused-dep.out): Likewise.
8326 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8327 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8328 * iconv/Makefile (test-iconvconfig): Likewise.
8329 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8330 ($(objpfx)iconv-test.out): Likewise.
8331 ($(objpfx)tst-tables.out): Likewise.
8332 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8333 ($(objpfx)tst-gettext.out): Likewise.
8334 ($(objpfx)tst-translit.out): Likewise.
8335 ($(objpfx)tst-gettext2.out): Likewise.
8336 ($(objpfx)tst-gettext4.out): Likewise.
8337 ($(objpfx)tst-gettext6.out): Likewise.
8338 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8339 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8340 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8341 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8342 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8343 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8344 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8345 ($(objpfx)wordexp-tst.out): Likewise.
8346 ($(objpfx)annexc.out): Likewise.
8347 ($(objpfx)tst-fnmatch-mem): Likewise.
8348 ($(objpfx)bug-regex2-mem): Likewise.
8349 ($(objpfx)bug-regex14-mem): Likewise.
8350 ($(objpfx)bug-regex21-mem): Likewise.
8351 ($(objpfx)bug-regex31-mem): Likewise.
8352 ($(objpfx)tst-vfork3-mem): Likewise.
8353 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8354 ($(objpfx)tst-pcre-mem): Likewise.
8355 ($(objpfx)tst-boost-mem): Likewise.
8356 ($(objpfx)tst-getconf.out): Likewise.
8357 ($(objpfx)bug-ga2-mem): Likewise.
8358 ($(objpfx)bug-glob2-mem): Likewise.
8359 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8360 ($(objpfx)mtrace-tst-leaks2): Likewise.
8361 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8362 ($(objpfx)tst-printf.out): Likewise.
8363 ($(objpfx)tst-setvbuf1.out): Likewise.
8364 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8365 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8366 ($(objpfx)tst-fmtmsg.out): Likewise.
8367 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8368 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8370 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8371 * bits/sigaction.h [__USE_MISC]: Likewise.
8372 * bits/waitstatus.h: Update #endif comments.
8373 * ctype/ctype.h: Likewise.
8374 * dirent/dirent.h: Likewise.
8375 [__USE_MISC]: Remove redundant conditionals.
8376 * grp/grp.h: Update #endif comments.
8377 [__USE_GNU]: Remove redundant conditionals.
8378 [__USE_MISC]: Likewise.
8379 * inet/netinet/in.h [__USE_GNU]: Likewise.
8380 * io/sys/stat.h [__USE_MISC]: Likewise.
8381 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8382 * libio/bits/stdio.h: Update #endif comments.
8383 [__USE_MISC]: Remove redundant conditionals.
8384 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8385 * libio/stdio.h: Update #endif comments.
8386 [__USE_MISC]: Remove redundant conditionals.
8387 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8388 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8389 * math/math.h: Update #else and #endif comments.
8390 [__USE_MISC]: Remove redundant conditionals.
8391 * misc/sys/uio.h: Update #endif comments.
8392 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8393 * posix/glob.h [__USE_MISC]: Likewise.
8394 * posix/sys/types.h: Update #endif comments.
8395 [__USE_MISC]: Remove redundant conditionals.
8396 * posix/sys/wait.h: Update #endif comments.
8397 [__USE_MISC]: Remove redundant conditionals.
8398 * posix/unistd.h: Update #endif comments.
8399 [__USE_MISC]: Remove redundant conditionals.
8400 * pwd/pwd.h [__USE_GNU]: Likewise.
8401 [__USE_MISC]: Likewise.
8402 * resolv/netdb.h [__USE_GNU]: Likewise.
8403 * signal/signal.h: Update #endif comments.
8404 [__USE_MISC]: Remove redundant conditionals.
8405 * stdlib/stdlib.h: Update #else and #endif comments.
8406 [__USE_MISC]: Remove redundant conditionals.
8407 [__USE_GNU]: Likewise.
8408 * string/bits/string2.h [__USE_MISC]: Likewise.
8409 * string/string.h: Update #endif comments.
8410 [__USE_MISC]: Remove redundant conditionals.
8411 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8413 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8414 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8415 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8417 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8419 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8421 [__USE_MISC]: Remove redundant conditionals.
8422 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8423 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8424 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8425 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8426 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8428 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8429 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8431 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8432 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8434 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8436 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8437 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8439 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8441 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8442 * sysdeps/x86/bits/string.h: Update #endif comments.
8443 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8445 * time/sys/time.h: Update #endif comments.
8446 * time/time.h: Likewise.
8447 [__USE_MISC]: Remove redundant conditionals.
8449 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8452 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8454 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8456 * Versions.def (librt): Add GLIBC_2.17.
8458 2014-02-21 Adam Conrad <adconrad@0c3.net>
8460 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8461 synonym for _SYS_AUXV_H to allow direct inclusion.
8462 * sysdeps/sparc/bits/hwcap.h: Likewise.
8463 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8464 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8465 * sysdeps/sparc/sysdep.h: Likewise.
8467 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8469 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8471 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8473 * benchtests/bench-strrchr.c: Print length instead of position.
8475 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8478 * sysdeps/unix/sysv/linux/kernel-features.h
8479 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8480 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8481 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8482 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8484 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8485 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8486 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8487 (__ASSUME_SENDMMSG): Define instead of using previous
8488 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8489 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8490 (__ASSUME_SENDMMSG_SYSCALL): Define.
8491 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8492 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8494 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8495 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8497 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8498 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8500 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8501 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8502 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8503 [__ASSUME_SENDMMSG]: Change conditionals to
8504 [__ASSUME_SENDMMSG_SOCKETCALL].
8505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8506 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8508 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8509 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8511 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8512 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8513 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8514 [!__ASSUME_SENDMMSG]: Change conditional to
8515 [!__ASSUME_SENDMMSG_SOCKETCALL].
8516 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8517 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8521 * sysdeps/unix/sysv/linux/kernel-features.h
8522 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8523 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8524 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8525 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8526 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8527 [__i386__ || __sparc__]
8528 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8529 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8530 (__ASSUME_RECVMMSG): Define instead of using previous
8531 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8532 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8533 (__ASSUME_RECVMMSG_SYSCALL): Define.
8534 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8535 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8537 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8538 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8540 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8543 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8544 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8545 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8546 [__ASSUME_RECVMMSG]: Change condition to
8547 [__ASSUME_RECVMMSG_SOCKETCALL].
8548 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8549 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8551 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8552 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8553 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8555 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8556 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8557 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8558 [!__ASSUME_RECVMMSG]: Change condition to
8559 [!__ASSUME_RECVMMSG_SOCKETCALL].
8560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8561 (__ASSUME_RECVMMSG_SYSCALL): Define.
8564 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8565 __powerpc__ || __s390__ || __sh__ || __sparc__]
8566 (__ASSUME_SOCKETCALL): Define.
8567 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8568 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8569 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8570 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8571 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8572 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8573 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8574 (__ASSUME_ACCEPT4): Define instead of using previous
8575 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8576 __powerpc__ || __sparc__ || __s390__)] condition.
8577 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8578 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8579 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8580 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8581 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8582 [!__ASSUME_ACCEPT4]: Change condition to
8583 [!__ASSUME_ACCEPT4_SOCKETCALL].
8584 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8585 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8586 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8587 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8588 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8589 __ASSUME_ACCEPT4_SYSCALL.
8590 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8591 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8592 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8593 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8594 __ASSUME_ACCEPT4_SYSCALL.
8595 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8596 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8597 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8598 [__ASSUME_ACCEPT4]: Change condition to
8599 [__ASSUME_ACCEPT4_SOCKETCALL].
8600 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8601 (__ASSUME_SOCKETCALL): Define.
8602 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8603 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8604 (__ASSUME_SOCKETCALL): Define.
8605 (__ASSUME_ACCEPT4): Remove.
8606 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8608 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8609 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8611 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8612 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8614 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8616 (HWCAP_ARM_LPAE): Likewise.
8617 (HWCAP_ARM_EVTSTRM): Likewise.
8618 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8619 Add vpfd32, lpae and evtstrm.
8620 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8623 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8625 * math/auto-libm-test-in: Add tests of clog10.
8626 * math/auto-libm-test-out: Regenerated.
8627 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8628 * sysdeps/i386/fpu/libm-test-ulps: Update.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8631 2014-02-18 Andreas Schwab <schwab@suse.de>
8634 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8635 Store non-zero if the second buffer was newly allocated.
8636 (send_dg): Likewise.
8637 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8638 to send_vc and send_dg.
8639 (res_nsend): Pass NULL for ansp2_malloced.
8640 * resolv/res_query.c (__libc_res_nquery): Add parameter
8641 answerp2_malloced and pass it down to __libc_res_nsend.
8642 (res_nquery): Pass additional NULL to __libc_res_nquery.
8643 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8644 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8645 second answer buffer if answerp2_malloced was set.
8646 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8647 (__libc_res_nquerydomain): Add parameter
8648 answerp2_malloced and pass it down to __libc_res_nquery.
8649 (res_nquerydomain): Pass additional NULL to
8650 __libc_res_nquerydomain.
8651 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8652 additional NULL to __libc_res_nsend and __libc_res_nquery.
8653 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8654 additional NULL to __libc_res_nsearch.
8655 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8656 parameter of __libc_res_nsearch to check for separately allocated
8658 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8660 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8661 additional NULL to __libc_res_nquery.
8662 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8664 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8665 * include/resolv.h: Update prototypes of __libc_res_nquery,
8666 __libc_res_nsearch, __libc_res_nsend.
8668 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8670 * math/auto-libm-test-in: Add tests of fma.
8671 * math/auto-libm-test-out: Regenerated.
8672 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8673 (fma_towardzero_test_data): Likewise.
8674 (fma_downward_test_data): Likewise.
8675 (fma_upward_test_data): Likewise.
8676 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8678 (rounding_modes): Add values for new field.
8679 (func_calc_method): Add value mpfr_fff_f.
8680 (func_calc_desc): Add mpfr_fff_f union field.
8681 (test_function): Add field exact_args.
8682 (FUNC): Add macro argument EXACT_ARGS.
8683 (FUNC_mpfr_f_f): Update call to FUNC.
8684 (FUNC_mpfr_f_f): Likewise.
8685 (FUNC_mpfr_ff_f): Likewise.
8686 (FUNC_mpfr_if_f): Likewise.
8687 (FUNC_mpc_c_f): Likewise.
8688 (FUNC_mpc_c_c): Likewise.
8689 (test_functions): Add fma. Update calls to FUNC.
8690 (handle_input_arg): Add argument exact_args.
8691 (add_test): Update call to handle_input_arg.
8692 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8693 (output_for_one_input_case): Update call to calc_generic_results.
8694 Recalculate exact zero results in each rounding mode.
8696 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8697 non-negative before setting low bit.
8698 * math/auto-libm-test-in: Mark one asin test possibly having
8700 * math/auto-libm-test-out: Regenerated.
8701 * sysdeps/i386/fpu/libm-test-ulps: Update.
8702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8704 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8706 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8707 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8708 ports/sysdeps/unix/sysv/linux/microblaze.
8709 * README: Add missing listing for microblaze*-*-linux-gnu.
8711 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8713 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8714 * sysdeps/unix/sysv/linux/ia64: Move directory from
8715 ports/sysdeps/unix/sysv/linux/ia64.
8716 * README: Update listing for ia64-*-linux-gnu.
8718 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8719 Joseph Myers <joseph@codesourcery.com>
8721 * Makeconfig (test-name): New variable.
8722 (evaluate-test): Likewise.
8723 * Makerules (do-test-clean): Remove .test-result files.
8724 (common-mostlyclean): Likewise.
8725 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8726 * scripts/evaluate-test.sh: New file.
8728 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8730 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8731 separate $(objpfx)tst-fopenloc-cmp.out and
8732 $(objpfx)tst-fopenloc-mem.out targets.
8733 (tests): Update dependencies.
8734 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8735 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8736 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8737 (tst-rxspencer-no-utf8-ARGS): New variable.
8738 (tst-rxspencer-no-utf8-ENV): Likewise.
8739 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8740 instead of $(objpfx)tst-rxspencer-mem.
8741 ($(objpfx)tst-rxspencer-mem): Change target to
8742 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8743 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8744 * posix/tst-rxspencer-no-utf8.c: New file.
8746 * elf/Makefile ($(objpfx)order.out): Remove rule.
8747 [$(run-built-tests) = yes] (tests): Depend on
8748 $(objpfx)order-cmp.out.
8749 ($(objpfx)order-cmp.out): New rule.
8750 [$(run-built-tests) = yes] (tests): Depend on
8751 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8752 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8753 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8754 $(objpfx)tst-array5-static-cmp.out.
8755 ($(objpfx)tst-array1.out): Remove rule.
8756 ($(objpfx)tst-array1-cmp.out): New rule.
8757 ($(objpfx)tst-array1-static.out): Remove rule.
8758 ($(objpfx)tst-array1-static-cmp.out): New rule.
8759 ($(objpfx)tst-array2.out): Remove rule.
8760 ($(objpfx)tst-array2-cmp.out): New rule.
8761 ($(objpfx)tst-array3.out): Remove rule.
8762 ($(objpfx)tst-array3-cmp.out): New rule.
8763 ($(objpfx)tst-array4.out): Remove rule.
8764 ($(objpfx)tst-array4-cmp.out): New rule.
8765 ($(objpfx)tst-array5.out): Remove rule.
8766 ($(objpfx)tst-array5-cmp.out): New rule.
8767 ($(objpfx)tst-array5-static.out): Remove rule.
8768 ($(objpfx)tst-array5-static-cmp.out): New rule.
8769 [$(run-built-tests) = yes] (tests): Depend on
8770 $(objpfx)order2-cmp.out.
8771 ($(objpfx)order2.out): Remove rule.
8772 ($(objpfx)order2-cmp.out): New rule.
8773 ($(objpfx)tst-initorder.out): Remove rule.
8774 [$(run-built-tests) = yes] (tests): Depend on
8775 $(objpfx)tst-initorder-cmp.out.
8776 ($(objpfx)tst-initorder-cmp.out): New rule.
8777 ($(objpfx)tst-initorder2.out): Remove rule.
8778 [$(run-built-tests) = yes] (tests): Depend on
8779 $(objpfx)tst-initorder2-cmp.out.
8780 ($(objpfx)tst-initorder2-cmp.out): New rule.
8781 [$(run-built-tests) = yes] (tests): Depend on
8782 $(objpfx)tst-unused-dep-cmp.out.
8783 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8784 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8785 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8786 on $(objpfx)tst-setvbuf1-cmp.out.
8787 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8788 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8789 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8790 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8791 ($(objpfx)tst-svc.out): Remove rule.
8792 ($(objpfx)tst-svc-cmp.out): New rule.
8794 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8796 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8797 * ctype/ctype.h [__USE_MISC]: Likewise.
8798 * dirent/dirent.h [__USE_MISC]: Likewise.
8799 * grp/grp.h [__USE_MISC]: Likewise.
8800 * io/fcntl.h [__USE_MISC]: Likewise.
8801 * io/sys/stat.h [__USE_MISC]: Likewise.
8802 * libio/stdio.h [__USE_MISC]: Likewise.
8803 * posix/unistd.h [__USE_MISC]: Likewise.
8804 * pwd/pwd.h [__USE_MISC]: Likewise.
8805 * stdlib.h [__USE_MISC]: Likewise.
8806 * string/bits/string2.h [__USE_MISC]: Likewise.
8807 * string/string.h [__USE_MISC]: Likewise.
8808 * time/time.h [__USE_MISC]: Likewise.
8810 2014-02-13 Andreas Schwab <schwab@suse.de>
8813 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8814 second answer buffer if it was separately allocated.
8816 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8818 * sysdeps/mips/math-tests.h: Include <features.h>.
8819 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8820 (ROUNDING_TESTS_long_double): Do not define.
8821 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8822 (EXCEPTION_TESTS_long_double): Likewise.
8823 * sysdeps/mips/mips64/libm-test-ulps: Update.
8825 * include/features.h (__USE_BSD): Remove macro definitions.
8826 (__USE_SVID): Likewise.
8827 (_BSD_SOURCE): Likewise.
8828 (_SVID_SOURCE): Likewise.
8829 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8830 from definition of _DEFAULT_SOURCE.
8831 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8833 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8834 * bits/mman.h [__USE_BSD]: Likewise.
8835 * bits/termios.h [__USE_BSD]: Likewise.
8836 * bits/waitstatus.h [__USE_BSD]: Likewise.
8837 * ctype/ctype.h [__USE_SVID]: Likewise.
8838 * dirent/dirent.h [__USE_BSD]: Likewise.
8839 * grp/grp.h [__USE_SVID]: Likewise.
8840 [__USE_BSD]: Likewise.
8841 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8842 * io/fcntl.h [__USE_BSD]: Likewise.
8843 * io/ftw.h [__USE_BSD]: Likewise.
8844 * io/sys/stat.h [__USE_BSD]: Likewise.
8845 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8846 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8847 * libio/stdio.h [__USE_SVID]: Likewise.
8848 [__USE_BSD]: Likewise.
8849 * math/math.h [__USE_SVID]: Likewise.
8850 [__USE_BSD]: Likewise.
8851 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8852 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8853 * misc/search.h [__USE_SVID]: Likewise.
8854 * misc/sys/mman.h [__USE_BSD]: Likewise.
8855 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8856 * misc/sys/uio.h [__USE_BSD]: Likewise.
8857 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8858 * posix/glob.h [__USE_BSD]: Likewise.
8859 * posix/regex.h [__USE_BSD]: Likewise.
8860 * posix/sys/types.h [__USE_BSD]: Likewise.
8861 [__USE_SVID]: Likewise.
8862 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8863 * posix/sys/wait.h [__USE_BSD]: Likewise.
8864 [__USE_SVID]: Likewise.
8865 * posix/unistd.h [__USE_BSD]: Likewise.
8866 [__USE_SVID]: Likewise.
8867 * pwd/pwd.h [__USE_SVID]: Likewise.
8868 * resolv/netdb.h [__USE_BSD]: Likewise.
8869 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8870 * signal/signal.h [__USE_BSD]: Likewise.
8871 [__USE_SVID]: Likewise.
8872 * socket/sys/socket.h [__USE_BSD]: Likewise.
8873 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8874 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8875 [__USE_SVID]: Likewise.
8876 * string/bits/string2.h [__USE_BSD]: Likewise.
8877 [__USE_SVID]: Likewise.
8878 * string/bits/string3.h [__USE_BSD]: Likewise.
8879 * string/endian.h [__USE_BSD]: Likewise.
8880 * string/string.h [__USE_SVID]: Likewise.
8881 [__USE_BSD]: Likewise.
8882 * string/strings.h [__USE_BSD]: Likewise.
8883 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8884 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8885 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8886 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8887 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8888 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8892 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8893 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8895 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8896 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8898 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8900 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8901 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8906 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8907 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8908 * termios/termios.h [__USE_BSD]: Likewise.
8909 * time/sys/time.h [__USE_BSD]: Likewise.
8910 * time/time.h [__USE_BSD]: Likewise.
8911 [__USE_SVID]: Likewise.
8913 * Makefile (subdir_targets): Remove subdir_lint.out.
8915 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8916 (do-tst-printf): Likewise.
8917 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8918 $(objpfx)tst-printf.out.
8920 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8922 * Makerules (check-abi-%): Change target to
8923 $(objpfx)check-abi-%.out.
8924 (check-abi target): Update dependencies.
8925 (check-abi-pattern variable): Redirect output of diff to $@.
8926 (check-abi variable): Likewise.
8927 * elf/Makefile (check-abi): Update dependencies.
8929 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8931 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8932 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8934 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8935 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8936 value has largest subnormal exponent.
8937 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8938 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8939 * sysdeps/aarch64/soft-fp/sfp-machine.h
8940 (_FP_TININESS_AFTER_ROUNDING): New macro.
8941 * sysdeps/alpha/soft-fp/sfp-machine.h
8942 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8943 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8945 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8946 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8947 * sysdeps/mips/soft-fp/sfp-machine.h
8948 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8949 * sysdeps/powerpc/soft-fp/sfp-machine.h
8950 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8951 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8954 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8955 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8956 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8957 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8960 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8963 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8966 2014-02-12 Richard Henderson <rth@redhat.com>
8968 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8969 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8970 * sysdeps/unix/sysv/linux/alpha: Move directory from
8971 ports/sysdeps/unix/sysv/linux/alpha.
8972 * README: Update listing for alpha-*-linux-gnu.
8974 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8976 * include/features.h: Update comment documenting feature test
8978 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8980 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8981 (_SVID_SOURCE): Likewise.
8982 (_DEFAULT_SOURCE): Update description of default features.
8983 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8985 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8986 (S_ISVTX): Likewise.
8987 * manual/math.texi (Mathematical Constants): Likewise.
8988 * manual/signal.texi (Interrupted Primitives): Likewise.
8989 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8990 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8991 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8992 Don't refer to _SVID_SOURCE in warning text.
8994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8996 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8998 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8999 * sysdeps/mips/dl-lookup.c: Remove.
9000 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9002 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9005 * math/auto-libm-test-in: Add testcase for expl.
9006 * math/auto-libm-test-out: Regenerate.
9007 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9008 calculation of unsafe.
9009 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9011 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9013 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9014 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9015 ports/sysdeps/unix/sysv/linux/aarch64.
9016 * README: Update listing for aarch64*-*-linux-gnu.
9018 2014-02-11 Will Newton <will.newton@linaro.org>
9020 * manual/probes.texi (Mathematical Function Probes): Use
9021 "triggered" instead of "hit".
9023 * manual/probes.texi (Internal Probes): Add documentation
9024 of setjmp, longjmp and longjmp_target probes.
9026 * include/stap-probe.h: Add comment about probe argument
9029 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9030 definition. (tr_where, tr_freehook, tr_mallochook,
9031 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9033 2014-02-11 David S. Miller <davem@davemloft.net>
9035 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9036 processing int_tests.
9038 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9040 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9041 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9042 * sysdeps/unix/sysv/linux/mips: Move directory from
9043 ports/sysdeps/unix/sysv/linux/mips.
9044 * README: Update listing for mips-*-linux-gnu and
9047 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9049 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9050 * sysdeps/unix/sysv/linux/m68k: Move directory from
9051 ports/sysdeps/unix/sysv/linux/m68k.
9052 * README: Update listing for m68k-*-linux-gnu.
9054 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9056 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9057 * sysdeps/unix/sysv/linux/generic: Move directory from
9058 ports/sysdeps/unix/sysv/linux/generic.
9059 * sysdeps/unix/sysv/linux/tile: Move directory from
9060 ports/sysdeps/unix/sysv/linux/tile.
9061 * README: Update listing for tile*-*-linux-gnu.
9063 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9065 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9067 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9068 * catgets/open_catalog.c (__open_catalog): Likewise.
9069 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9070 * debug/confstr_chk.c: Likewise.
9071 * debug/fread_chk.c (__fread_chk): Likewise.
9072 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9073 * debug/getgroups_chk.c: Likewise.
9074 * debug/mbsnrtowcs_chk.c: Likewise.
9075 * debug/mbsrtowcs_chk.c: Likewise.
9076 * debug/mbstowcs_chk.c: Likewise.
9077 * debug/memcpy_chk.c: Likewise.
9078 * debug/memmove_chk.c: Likewise.
9079 * debug/mempcpy_chk.c: Likewise.
9080 * debug/memset_chk.c: Likewise.
9081 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9082 * debug/strcat_chk.c (__strcat_chk): Likewise.
9083 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9084 * debug/strncat_chk.c (__strncat_chk): Likewise.
9085 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9086 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9087 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9088 * debug/wcpncpy_chk.c: Likewise.
9089 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9090 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9091 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9092 * debug/wcsncpy_chk.c: Likewise.
9093 * debug/wcsnrtombs_chk.c: Likewise.
9094 * debug/wcsrtombs_chk.c: Likewise.
9095 * debug/wcstombs_chk.c: Likewise.
9096 * debug/wmemcpy_chk.c: Likewise.
9097 * debug/wmemmove_chk.c: Likewise.
9098 * debug/wmempcpy_chk.c: Likewise.
9099 * debug/wmemset_chk.c: Likewise.
9100 * dirent/scandirat.c (SCANDIRAT): Likewise.
9101 * dlfcn/dladdr1.c (dladdr1): Likewise.
9102 * dlfcn/dladdr.c (dladdr): Likewise.
9103 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9104 * dlfcn/dlerror.c (__dlerror): Likewise.
9105 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9106 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9107 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9108 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9109 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9110 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9111 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9112 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9114 * elf/dl-conflict.c: Likewise.
9115 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9116 * elf/dl-dst.h: Likewise.
9117 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9118 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9119 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9120 * elf/dl-init.c (call_init, _dl_init): Likewise.
9121 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9122 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9123 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9125 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9127 * elf/dl-minimal.c (__libc_memalign): Likewise.
9128 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9129 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9130 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9131 * elf/dl-sym.c (do_sym): Likewise.
9132 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9133 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9134 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9135 * elf/dl-writev.h (_dl_writev): Likewise.
9136 * elf/ldconfig.c (search_dir): Likewise.
9137 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9138 (dl_main): Likewise.
9139 * elf/setup-vdso.h (setup_vdso): Likewise.
9140 * grp/compat-initgroups.c (compat_call): Likewise.
9141 * grp/fgetgrent.c (fgetgrent): Likewise.
9142 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9143 * grp/putgrent.c (putgrent): Likewise.
9144 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9146 * hurd/hurdinit.c: Likewise.
9147 * iconvdata/8bit-gap.c (struct): Likewise.
9148 * iconvdata/ansi_x3.110.c : Likewise.
9149 * iconvdata/big5.c : Likewise.
9150 * iconvdata/big5hkscs.c : Likewise.
9151 * iconvdata/cp1255.c: Likewise.
9152 * iconvdata/cp1258.c : Likewise.
9153 * iconvdata/cp932.c : Likewise.
9154 * iconvdata/euc-cn.c: Likewise.
9155 * iconvdata/euc-jisx0213.c : Likewise.
9156 * iconvdata/euc-jp.c: Likewise.
9157 * iconvdata/euc-jp-ms.c : Likewise.
9158 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9159 * iconvdata/gb18030.c : Likewise.
9160 * iconvdata/gbbig5.c (const): Likewise.
9161 * iconvdata/gbgbk.c: Likewise.
9162 * iconvdata/gbk.c : Likewise.
9163 * iconvdata/ibm1364.c : Likewise.
9164 * iconvdata/ibm930.c : Likewise.
9165 * iconvdata/ibm932.c: Likewise.
9166 * iconvdata/ibm933.c : Likewise.
9167 * iconvdata/ibm935.c : Likewise.
9168 * iconvdata/ibm937.c : Likewise.
9169 * iconvdata/ibm939.c : Likewise.
9170 * iconvdata/ibm943.c: Likewise.
9171 * iconvdata/iso_11548-1.c: Likewise.
9172 * iconvdata/iso-2022-cn.c : Likewise.
9173 * iconvdata/iso-2022-cn-ext.c : Likewise.
9174 * iconvdata/iso-2022-jp-3.c: Likewise.
9175 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9176 * iconvdata/iso-2022-kr.c : Likewise.
9177 * iconvdata/iso646.c (gconv_end): Likewise.
9178 * iconvdata/iso_6937-2.c : Likewise.
9179 * iconvdata/iso_6937.c : Likewise.
9180 * iconvdata/iso8859-1.c: Likewise.
9181 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9182 * iconvdata/shift_jisx0213.c : Likewise.
9183 * iconvdata/sjis.c : Likewise.
9184 * iconvdata/t.61.c : Likewise.
9185 * iconvdata/tcvn5712-1.c : Likewise.
9186 * iconvdata/tscii.c: Likewise.
9187 * iconvdata/uhc.c : Likewise.
9188 * iconvdata/unicode.c (gconv_end): Likewise.
9189 * iconvdata/utf-16.c (gconv_end): Likewise.
9190 * iconvdata/utf-32.c (gconv_end): Likewise.
9191 * iconvdata/utf-7.c (base64): Likewise.
9192 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9193 * iconv/gconv_close.c (__gconv_close): Likewise.
9194 * iconv/gconv_open.c (__gconv_open): Likewise.
9195 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9196 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9197 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9198 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9199 (ucs4le_internal_loop_single): Likewise.
9200 * iconv/iconv.c (iconv): Likewise.
9201 * iconv/iconv_close.c: Likewise.
9202 * iconv/loop.c (SINGLE): Likewise.
9203 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9204 * include/atomic.h: Likewise.
9205 * inet/inet6_option.c (option_alloc): Likewise.
9206 * intl/bindtextdom.c (set_binding_values): Likewise.
9207 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9208 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9209 * intl/localealias.c (read_alias_file): Likewise.
9210 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9211 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9212 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9213 * libio/fmemopen.c (fmemopen): Likewise.
9214 * libio/iofgets.c (_IO_fgets): Likewise.
9215 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9216 * libio/iofgetws.c (fgetws): Likewise.
9217 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9218 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9219 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9220 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9221 * locale/findlocale.c (_nl_find_locale): Likewise.
9222 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9223 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9225 * locale/setlocale.c (setlocale): Likewise.
9226 * login/programs/pt_chown.c (main): Likewise.
9227 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9228 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9229 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9230 (mmap, mmap64, mremap, munmap): Likewise.
9231 * math/e_exp2l.c: Likewise.
9232 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9233 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9234 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9235 * math/s_catan.c (__catan): Likewise.
9236 * math/s_catanf.c (__catanf): Likewise.
9237 * math/s_catanh.c (__catanh): Likewise.
9238 * math/s_catanhf.c (__catanhf): Likewise.
9239 * math/s_catanhl.c (__catanhl): Likewise.
9240 * math/s_catanl.c (__catanl): Likewise.
9241 * math/s_ccosh.c (__ccosh): Likewise.
9242 * math/s_ccoshf.c (__ccoshf): Likewise.
9243 * math/s_ccoshl.c (__ccoshl): Likewise.
9244 * math/s_cexp.c (__cexp): Likewise.
9245 * math/s_cexpf.c (__cexpf): Likewise.
9246 * math/s_cexpl.c (__cexpl): Likewise.
9247 * math/s_clog10.c (__clog10): Likewise.
9248 * math/s_clog10f.c (__clog10f): Likewise.
9249 * math/s_clog10l.c (__clog10l): Likewise.
9250 * math/s_clog.c (__clog): Likewise.
9251 * math/s_clogf.c (__clogf): Likewise.
9252 * math/s_clogl.c (__clogl): Likewise.
9253 * math/s_csin.c (__csin): Likewise.
9254 * math/s_csinf.c (__csinf): Likewise.
9255 * math/s_csinh.c (__csinh): Likewise.
9256 * math/s_csinhf.c (__csinhf): Likewise.
9257 * math/s_csinhl.c (__csinhl): Likewise.
9258 * math/s_csinl.c (__csinl): Likewise.
9259 * math/s_csqrt.c (__csqrt): Likewise.
9260 * math/s_csqrtf.c (__csqrtf): Likewise.
9261 * math/s_csqrtl.c (__csqrtl): Likewise.
9262 * math/s_ctan.c (__ctan): Likewise.
9263 * math/s_ctanf.c (__ctanf): Likewise.
9264 * math/s_ctanh.c (__ctanh): Likewise.
9265 * math/s_ctanhf.c (__ctanhf): Likewise.
9266 * math/s_ctanhl.c (__ctanhl): Likewise.
9267 * math/s_ctanl.c (__ctanl): Likewise.
9268 * math/w_pow.c: Likewise.
9269 * math/w_powf.c: Likewise.
9270 * math/w_powl.c: Likewise.
9271 * math/w_scalb.c (sysv_scalb): Likewise.
9272 * math/w_scalbf.c (sysv_scalbf): Likewise.
9273 * math/w_scalbl.c (sysv_scalbl): Likewise.
9274 * misc/error.c (error_tail): Likewise.
9275 * misc/pselect.c (__pselect): Likewise.
9276 * nis/nis_callback.c (__nis_create_callback): Likewise.
9277 * nis/nis_call.c (__nisfind_server): Likewise.
9278 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9279 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9281 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9282 * nis/nis_lookup.c (nis_lookup): Likewise.
9283 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9284 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9285 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9286 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9287 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9288 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9289 * nis/nss_compat/compat-initgroups.c (add_group)
9290 (internal_getgrent_r): Likewise.
9291 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9292 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9293 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9294 (internal_getspnam_r): Likewise.
9295 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9296 (_nss_nis_getaliasbyname_r): Likewise.
9297 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9298 (_nss_nis_getntohost_r): Likewise.
9299 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9300 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9301 (_nss_nis_getgrgid_r): Likewise.
9302 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9303 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9304 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9305 (_nss_nis_gethostbyname4_r): Likewise.
9306 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9307 (initgroups_netid): Likewise.
9308 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9309 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9310 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9311 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9312 (_nss_nis_getprotobynumber_r): Likewise.
9313 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9314 (_nss_nis_getsecretkey): Likewise.
9315 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9316 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9317 (_nss_nis_getpwuid_r): Likewise.
9318 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9319 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9320 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9321 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9322 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9323 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9324 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9326 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9327 (_nss_nisplus_getntohost_r): Likewise.
9328 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9329 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9330 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9331 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9333 * nis/nss_nisplus/nisplus-initgroups.c
9334 (_nss_nisplus_initgroups_dyn): Likewise.
9335 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9336 (_nss_nisplus_getnetbyaddr_r): Likewise.
9337 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9338 (_nss_nisplus_getprotobynumber_r): Likewise.
9339 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9340 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9341 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9343 * nis/nss_nisplus/nisplus-service.c
9344 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9345 (_nss_nisplus_getservbyport_r): Likewise.
9346 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9347 (_nss_nisplus_getspnam_r): Likewise.
9348 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9350 * nscd/aicache.c (addhstaiX): Likewise.
9351 * nscd/cache.c (cache_search, prune_cache): Likewise.
9352 * nscd/connections.c (register_traced_file, send_ro_fd)
9353 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9354 (main_loop_epoll): Likewise.
9355 * nscd/grpcache.c (addgrbyX): Likewise.
9356 * nscd/hstcache.c (addhstbyX): Likewise.
9357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9358 * nscd/mem.c (gc, mempool_alloc): Likewise.
9359 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9360 (addinnetgrX): Likewise.
9361 * nscd/nscd-client.h (__nscd_acquire_maplock)
9362 (__nscd_drop_map_ref): Likewise.
9363 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9364 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9367 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9369 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9370 (__nscd_get_map_ref): Likewise.
9371 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9372 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9374 * nscd/pwdcache.c (addpwbyX): Likewise.
9375 * nscd/selinux.c (preserve_capabilities): Likewise.
9376 * nscd/servicescache.c (addservbyX): Likewise.
9377 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9378 * posix/fnmatch.c (fnmatch): Likewise.
9379 * posix/getopt.c (_getopt_internal_r): Likewise.
9380 * posix/glob.c (glob, glob_in_dir): Likewise.
9381 * posix/wordexp.c (exec_comm_child): Likewise.
9382 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9383 (getanswer_r, gaih_getanswer_slice): Likewise.
9384 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9385 * resolv/res_init.c: Likewise.
9386 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9387 * resolv/res_query.c (__libc_res_nquery): Likewise.
9388 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9390 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9391 * stdio-common/perror.c (perror): Likewise.
9392 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9393 * stdio-common/tmpnam.c (tmpnam): Likewise.
9394 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9395 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9396 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9398 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9399 * stdlib/putenv.c (putenv): Likewise.
9400 * stdlib/setenv.c (__add_to_environ): Likewise.
9401 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9402 * stdlib/strtol_l.c (INTERNAL): Likewise.
9403 * string/memmem.c (memmem): Likewise.
9404 * string/strerror.c (strerror): Likewise.
9405 * string/strnlen.c (__strnlen): Likewise.
9406 * string/test-memmem.c (simple_memmem): Likewise.
9407 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9408 * sunrpc/pm_getport.c (__get_socket): Likewise.
9409 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9410 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9411 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9412 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9414 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9416 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9417 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9418 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9419 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9421 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9423 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9424 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9425 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9426 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9427 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9429 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9430 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9431 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9432 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9433 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9434 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9438 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9440 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9442 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9443 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9444 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9445 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9446 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9447 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9449 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9452 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9453 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9457 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9459 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9461 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9465 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9467 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9468 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9469 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9470 * sysdeps/posix/sleep.c: Likewise.
9471 * sysdeps/posix/tempname.c: Likewise.
9472 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9473 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9475 * sysdeps/powerpc/powerpc32/dl-machine.h
9476 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9477 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9478 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9479 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9480 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9482 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9484 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9486 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9487 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9488 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9489 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9490 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9491 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9493 (elf_machine_lazy_rel): Likewise.
9494 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9495 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9496 (elf_machine_lazy_rel): Likewise.
9497 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9498 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9499 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9500 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9501 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9502 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9503 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9506 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9507 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9508 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9509 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9510 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9511 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9512 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9513 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9514 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9515 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9516 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9518 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9519 (__posix_fallocate64_l64): Likewise.
9520 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9521 (posix_fallocate): Likewise.
9522 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9524 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9525 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9526 (getifaddrs_internal): Likewise.
9527 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9528 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9529 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9530 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9531 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9532 (__posix_fallocate64_l64): Likewise.
9533 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9535 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9536 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9537 (__get_clockfreq): Likewise.
9538 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9539 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9540 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9543 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9544 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9545 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9547 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9548 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9549 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9550 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9551 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9552 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9553 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9555 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9556 (posix_fallocate): Likewise.
9557 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9558 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9559 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9560 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9561 (elf_machine_rela, elf_machine_rela_relative)
9562 (elf_machine_lazy_rel): Likewise.
9563 * time/asctime.c (asctime_internal): Likewise.
9564 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9565 * time/tzset.c (__tzset_parse_tz): Likewise.
9566 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9567 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9568 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9569 * wcsmbs/wcsmbsload.h: Likewise.
9572 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9574 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9575 (arena_get2): Remove THREAD_STATS conditionals.
9576 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9577 (__malloc_stats, int): Likewise.
9579 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9581 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9582 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9584 * manual/setjmp.texi: Fix typos/grammar errors.
9586 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9587 Only return early when n is <= 0. Delete unused return statement.
9589 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9590 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9591 * debug/tst-longjmp_chk3.c: New file.
9593 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9594 (test_main): Replace code with set_fortify_handler call.
9595 * debug/test-strcpy_chk.c: Likewise.
9596 * debug/tst-chk1.c: Likewise.
9597 * debug/tst-longjmp_chk.c: Likewise.
9598 * test-skeleton.c: Include fcntl.h & paths.h
9599 (set_fortify_handler): Define.
9601 * debug/tst-longjmp_chk.c: Add header comment and include
9603 (do_test): Mark static.
9604 (TEST_FUNCTION): Define.
9606 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9607 (IP_PMTUDISC_INTERFACE): Likewise.
9608 (IP_MULTICAST_IF): Likewise.
9609 (IP_MULTICAST_TTL): Likewise.
9610 (IP_MULTICAST_LOOP): Likewise.
9611 (IP_ADD_MEMBERSHIP): Likewise.
9612 (IP_DROP_MEMBERSHIP): Likewise.
9613 (IP_UNBLOCK_SOURCE): Likewise.
9614 (IP_BLOCK_SOURCE): Likewise.
9615 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9616 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9617 (IP_MSFILTER): Likewise.
9618 (MCAST_JOIN_GROUP): Likewise.
9619 (MCAST_BLOCK_SOURCE): Likewise.
9620 (MCAST_UNBLOCK_SOURCE): Likewise.
9621 (MCAST_LEAVE_GROUP): Likewise.
9622 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9623 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9624 (MCAST_MSFILTER): Likewise.
9625 (IP_MULTICAST_ALL): Likewise.
9626 (IP_UNICAST_IF): Likewise.
9628 * timezone/Makefile: Delete $(have-ksh) check.
9629 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9630 * timezone/tzselect.ksh: Add +x mode bits.
9632 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9633 (ANON_INODE_FS_MAGIC): Likewise.
9634 (BDEVFS_MAGIC): Likewise.
9635 (BINFMTFS_MAGIC): Likewise.
9636 (BTRFS_TEST_MAGIC): Likewise.
9637 (CRAMFS_MAGIC_WEND): Likewise.
9638 (DEBUGFS_MAGIC): Likewise.
9639 (ECRYPTFS_SUPER_MAGIC): Likewise.
9640 (EXT3_SUPER_MAGIC): Likewise.
9641 (EXT4_SUPER_MAGIC): Likewise.
9642 (FUTEXFS_SUPER_MAGIC): Likewise.
9643 (HOSTFS_SUPER_MAGIC): Likewise.
9644 (HUGETLBFS_MAGIC): Likewise.
9645 (MINIX3_SUPER_MAGIC): Likewise.
9646 (MTD_INODE_FS_MAGIC): Likewise.
9647 (NILFS_SUPER_MAGIC): Likewise.
9648 (OPENPROM_SUPER_MAGIC): Likewise.
9649 (PIPEFS_MAGIC): Likewise.
9650 (PSTOREFS_MAGIC): Likewise.
9651 (QNX6_SUPER_MAGIC): Likewise.
9652 (RAMFS_MAGIC): Likewise.
9653 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9654 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9655 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9656 (SECURITYFS_MAGIC): Likewise.
9657 (SELINUX_MAGIC): Likewise.
9658 (SMACK_MAGIC): Likewise.
9659 (SOCKFS_MAGIC): Likewise.
9660 (SQUASHFS_MAGIC): Likewise.
9661 (STACK_END_MAGIC): Likewise.
9662 (TMPFS_MAGIC): Likewise.
9663 (USBDEVICE_SUPER_MAGIC): Likewise.
9664 (V9FS_MAGIC): Likewise.
9665 (XENFS_SUPER_MAGIC): Likewise.
9666 (CRAMFS_MAGIC): Fix typo in comment.
9667 (EXT2_SUPER_MAGIC): Update comment.
9668 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9670 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9672 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9673 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9674 * sysdeps/unix/sysv/linux/arm: Move directory from
9675 ports/sysdeps/unix/sysv/linux/arm.
9676 * README: Update listing for arm-*-linux-gnueabi.
9678 * README: Remove mention of am33.
9680 2014-02-07 Roland McGrath <roland@hack.frob.com>
9682 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9683 than the comma operator, to avoid "rhs of comma has no effect"
9685 (__sigfillset, __sigandset, __sigorset): Likewise.
9686 * include/signal.h (__sigemptyset): Likewise.
9687 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9689 2014-02-07 Allan McRae <allan@archlinux.org>
9691 * version.h (RELEASE): Set to "development".
9692 (VERSION): Set to "2.19.90"
9693 * NEWS: Add 2.20 section.
9695 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9698 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9700 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9702 * manual/contrib.texi: Update entry for Carlos O'Donell,
9703 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9705 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9707 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9709 * sysdeps/unix/sysv/linux/kernel-features.h
9710 [__LINUX_KERNEL_VERSION >= 0x020621]
9711 (__ASSUME_PROC_PID_TASK_COMM): Define.
9713 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9716 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9717 conversion when destination buffer does not have enough space.
9718 * libio/tst-ftell-partial-wide.c: New test case.
9719 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9721 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9722 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9723 Leonard and Allan McRae.
9725 2014-02-04 David S. Miller <davem@davemloft.net>
9727 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9730 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9759 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9761 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9762 * shlib-versions: Likewise.
9764 2014-02-04 Roland McGrath <roland@hack.frob.com>
9765 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9767 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9768 (abilist-pattern): New variable, set to %-le.abilist.
9770 * Makerules (abilist-pattern): New variable.
9771 (vpath): Use $(abilist-pattern) in place of %.abilist.
9772 (check-abi-% pattern rule): Likewise.
9773 (check-abi, update-abi): Likewise.
9775 2014-02-04 Eric Wong <normalperson@yhbt.net>
9777 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9779 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9781 * manual/startup.texi: Add next, previous, and top entries for
9782 the `Program Arguments' and `Environment Variables' nodes.
9784 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9786 * manual/macros.texi: Add comments before MTASC-safety macros.
9788 * manual/users.texi: Document MTASC-safety properties.
9790 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9791 (pthread_getspecific, pthread_setspecific): Format with
9792 @deftypefun, and add @safety note.
9793 * manual/signal.texi: Move comments that analyze the above
9794 functions to their home place.
9796 2014-02-03 Allan McRae <allan@archlinux.org>
9798 * po/sl.po: Update Slovenian translation from translation project.
9800 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9802 * manual/time.texi (timegm): Add missing blank after @c.
9803 Reported by Joseph Myers <joseph@codesourcery.com>.
9805 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9807 * manual/check-safety.sh: New.
9808 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9810 * manual/terminal.texi: Document MTASC-safety properties.
9812 * manual/filesys.texi: Document MTASC-safety properties.
9814 * manual/errno.texi: Document MTASC-safety properties.
9816 * manual/intro.texi: Document safety identifiers and
9819 * manual/string.texi (wcstok): Fix prototype.
9820 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9822 * manual/time.texi: Document MTASC-safety properties.
9824 * manual/string.texi: Document MTASC-safety properties.
9826 * manual/threads.texi: Document MTASC-safety properties.
9828 * manual/stdio.texi: Document MTASC-safety properties.
9830 * manual/syslog.texi: Document MTASC-safety properties.
9832 * manual/sysinfo.texi: Document MTASC-safety properties.
9834 * manual/startup.texi: Document MTASC-safety properties.
9836 * manual/socket.texi: Document MTASC-safety properties.
9838 * manual/signal.texi: Document MTASC-safety properties.
9840 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9842 * manual/setjmp.texi: Document MTASC-safety properties.
9844 * manual/search.texi: Document MTASC-safety properties.
9846 * manual/resource.texi: Document MTASC-safety properties.
9848 * manual/process.texi: Document MTASC-safety properties.
9850 * manual/platform.texi: Document MTASC-safety properties.
9852 * manual/pipe.texi: Document MTASC-safety properties.
9854 * manual/pattern.texi: Document MTASC-safety properties.
9856 * manual/message.texi: Document MTASC-safety properties.
9859 * manual/memory.texi: Document MTASC-safety properties.
9861 * manual/math.texi: Document MTASC-safety properties.
9863 * manual/locale.texi: Document MTASC-safety properties.
9865 * manual/llio.texi: Document MTASC-safety properties.
9867 * manual/libdl.texi: New.
9869 * manual/lang.texi: Document MTASC-safety properties.
9871 * manual/job.texi: Document MTASC-safety properties.
9873 * manual/getopt.texi: Document MTASC-safety properties.
9875 * manual/ctype.texi: Document MTASC-safety properties.
9877 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9880 * csu/libc-tls.c (static_map): Remove variable.
9881 (__libc_setup_tls): Use main executable's link map for TLS data.
9882 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9883 casing for LM_ID_BASE and GL(dl_nns).
9884 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9885 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9886 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9887 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9888 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9890 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9893 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9895 * manual/debug.texi: Document MTASC-safety properties.
9897 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9900 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9901 of __x86_64__ when disabling x87 inline functions.
9903 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9905 * manual/charset.texi: Document MTASC-safety properties.
9907 * manual/crypt.texi: Document MTASC-safety properties.
9909 * manual/conf.texi: Document MTASC-safety properties.
9911 * manual/arith.texi: Document MTASC-safety properties.
9913 * manual/argp.texi: Document MTASC-safety properties.
9915 * manual/macros.texi: Introduce macros to document multi
9916 thread, asynchronous signal and asynchronous cancellation
9918 * manual/intro.texi: Introduce the properties themselves.
9920 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9922 * sysdeps/sh/sh4/Makefile: New file.
9924 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9926 * math/gen-libm-test.pl ($srcdir): New variable.
9927 ($auto_input): Use it.
9929 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9932 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9933 access beyond array bounds when parsing netgroups file.
9935 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9936 the old buffer before realloc.
9938 2014-01-27 Allan McRae <allan@archlinux.org>
9940 * po/fr.po: Update French translation from translation project.
9942 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9944 * sysdeps/sh/libm-test-ulps: Regenerate.
9946 2014-01-24 David S. Miller <davem@davemloft.net>
9948 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9950 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9952 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9953 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9955 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9958 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9959 string pointers after reallocation.
9961 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9963 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9964 __SH4A__ instead of __SH_FPU_ANY__.
9966 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9968 * sysdeps/sh/fpu_control.h: New file.
9969 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9970 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9971 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9972 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9973 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9974 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9975 * sysdeps/sh/sys/ucontext.h: Remove.
9976 * sysdeps/sh/sys: Remove directory.
9978 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9980 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9981 s390/sys/ucontext.h.
9982 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9983 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9985 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9988 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9990 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9994 Adjust the vDSO correctly for internal calls.
9995 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9997 2014-01-20 Allan McRae <allan@archlinux.org>
9999 * po/ca.po: Update Catalan translation from translation project.
10001 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10003 * sysdeps/s390/sotruss-lib.c: New file.
10005 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10008 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10009 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10010 local calls issues by not having a PLT stub required for IFUNC calls.
10011 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10013 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10015 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10016 * math/test-fpucw-static.c: Likewise.
10018 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10021 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10023 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10025 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10026 implementation for powerpc.
10028 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10031 * sysdeps/posix/system.c (__libc_system): Do not enable
10032 asynchronous cancellation.
10034 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10037 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10038 handling only for numbers special also in the IEEE case.
10040 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10042 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10044 2014-01-11 Allan McRae <allan@archlinux.org>
10046 * po/bg.po: Update Bulgarian translation from translation project.
10048 * po/de.po: Update German translation from translation project.
10050 2014-01-10 Roland McGrath <roland@hack.frob.com>
10052 * sysdeps/generic/gcc-compat.h: New file.
10054 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10056 * benchtests/asin-inputs: Correct slow inputs.
10057 * benchtests/acos-inputs: Likewise.
10059 2014-01-10 Allan McRae <allan@archlinux.org>
10061 * po:sv.po: Update Swedish translation from translation project.
10063 * po/vi.po: Update Vietnamese translation from translation project.
10065 * po/eo.po: Update Esperanto translation from translation project.
10067 * po/cs.po: Update Czech translation from translation project.
10069 * po/nl.po: Update Dutch translation from translation project.
10071 * po/pl.po: Update Polish translation from translation project.
10073 * po/ru.po: Update Russian translation from translation project.
10075 * po/uk.po: Update Ukrainian translation from translation project.
10077 2014-01-08 Brooks Moses <bmoses@google.com>
10079 * elf/dl-load.c: Fix comment typo.
10081 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10083 * po/header.pot: Rename to...
10084 * po/pot.header: ... this.
10085 * po/Makefile: Use pot.header.
10087 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10088 Maxim Kuvyrkov <maxim@kugelworks.com>
10091 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10092 SRC and DEST against LEN.
10094 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10101 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10105 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10108 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10109 for large positive arguments.
10111 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10113 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10115 * math/auto-libm-test-in: Mark various tests with
10116 xfail-rounding:ldbl-128ibm.
10117 * math/auto-libm-test-out: Regenerated.
10120 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10121 Increase overflow threshold.
10123 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10126 * stdio-common/vfprintf.c: Check for integer overflow.
10128 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10130 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10131 the first argument and return value of __tls_get_addr_internal.
10133 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10135 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10136 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10138 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10140 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10141 * sysdeps/s390/rtld-global-offsets.sym: New file.
10142 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10144 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10145 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10146 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10148 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10149 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10155 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10156 halfs of GPRs for high_gprs contexts.
10157 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10158 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10160 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10164 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10165 for high GPRs (uc_high_gprs) and for future extensions
10167 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10168 for future extensions (__reserved).
10169 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10171 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10172 SC_HIGHGPRS offset definition.
10173 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10174 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10176 * Versions.def: Add GLIBC_2.19 for libpthread.
10177 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10178 siglongjmp for libpthread with GLIBC_2.19 symver.
10179 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10180 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10181 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10182 * sysdeps/s390/__longjmp.c: New file.
10183 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10184 * sysdeps/s390/longjmp.c: New file.
10185 * sysdeps/s390/setjmp.S: New file.
10186 * sysdeps/s390/sigjmp.S: New file.
10187 * sysdeps/s390/v1-longjmp.c: New file.
10188 * sysdeps/s390/v1-setjmp.h: New file.
10189 * sysdeps/s390/v1-sigjmp.c: New file.
10190 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10191 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10192 GLIBC_2.19 version.
10193 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10194 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10195 versioned symbols for ____longjmp_chk.
10196 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10206 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10207 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10208 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10209 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10210 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10211 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10212 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10213 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10214 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10215 * sysdeps/s390/rtld-__longjmp.c: New file.
10216 * sysdeps/s390/rtld-setjmp.S: New file.
10218 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10221 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10222 Return -__logl (x) for small positive arguments without evaluating
10225 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10227 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10229 (__ptrace_peeksiginfo_args): ... this.
10230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10234 2014-01-06 Allan McRae <allan@archlinux.org>
10236 * inet/netinet/in.h: Fix typo in comment.
10238 2014-01-05 Andreas Jaeger <aj@suse.de>
10240 * sysdeps/i386/fpu/libm-test-ulps: Update.
10242 2014-01-05 Allan McRae <allan@archlinux.org>
10244 * po/libc.pot: Regenerated.
10246 * malloc/memusagestat.c: Fix gettext call formatting.
10248 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10250 * nscd/nscd.c: Improve usage() output.
10252 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10254 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10255 * sysdeps/unix/sysv/linux/configure: Regenerated.
10256 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10257 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10259 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10262 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10263 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10265 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10267 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10268 extra tokens at end of #undef directive.
10269 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10271 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10273 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10275 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10277 * math/auto-libm-test-in: Mark various tests with
10278 xfail-rounding:ldbl-128ibm.
10279 * math/auto-libm-test-out: Regenerated.
10281 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10284 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10285 numbers with subnormal high part when calculating exponent.
10288 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10292 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10294 (__ieee754_acoshl): Use __log1pl not __log1p.
10296 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10298 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10299 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10300 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10301 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10302 (reused_arena, arena_get2): Convert to GNU style.
10303 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10304 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10305 (memalign_check, __malloc_set_state): Likewise.
10306 * malloc/mallocbug.c (main): Likewise.
10307 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10308 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10309 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10310 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10311 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10312 (__posix_memalign, malloc_info): Likewise.
10313 * malloc/malloc.h: Likewise.
10314 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10315 (mallochook, memalignhook, reallochook, mabort): Likewise.
10316 * malloc/mcheck.h: Likewise.
10317 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10318 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10319 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10320 * malloc/morecore.c (__default_morecore): Likewise.
10321 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10322 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10323 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10324 (print_and_abort): Likewise.
10325 * malloc/obstack.h: Likewise.
10326 * malloc/set-freeres.c (__libc_freeres): Likewise.
10327 * malloc/tst-mallocstate.c (main): Likewise.
10328 * malloc/tst-mtrace.c (main): Likewise.
10329 * malloc/tst-realloc.c (do_test): Likewise.
10331 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10334 * nscd/netgroupcache.c (do_notfound): New function.
10335 (addgetnetgrentX): Use it.
10338 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10339 NSS_STATUS_NOTFOUND.
10341 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10343 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10346 2014-01-01 Allan McRae <allan@archlinux.org>
10348 * scripts/update-copyrights: Update configure input file suffix.
10350 * NEWS: Update copyright year.
10351 * catgets/gencat.c: Likewise.
10352 * csu/version.c: Likewise.
10353 * debug/catchsegv.sh: Likewise.
10354 * debug/pcprofiledump.c: Likewise.
10355 * debug/xtrace.sh: Likewise.
10356 * elf/ldconfig.c: Likewise.
10357 * elf/ldd.bash.in: Likewise.
10358 * elf/pldd.c: Likewise.
10359 * elf/sotruss.ksh: Likewise.
10360 * elf/sprof.c: Likewise.
10361 * iconv/iconv_prog.c: Likewise.
10362 * iconv/iconvconfig.c: Likewise.
10363 * locale/programs/locale.c: Likewise.
10364 * locale/programs/localedef.c: Likewise.
10365 * login/programs/pt_chown.c: Likewise.
10366 * malloc/memusage.sh: Likewise.
10367 * malloc/memusagestat.c: Likewise.
10368 * malloc/mtrace.pl: Likewise.
10369 * manual/libc.texinfo: Likewise.
10370 * nscd/nscd.c: Likewise.
10371 * nss/getent.c: Likewise.
10372 * nss/makedb.c: Likewise.
10373 * posix/getconf.c: Likewise.
10374 * scripts/test-installation.pl: Likewise.
10376 * All files with FSF copyright notices: Update copyright dates
10377 using scripts/update-copyrights.
10378 * intl/plural.c: Regenerated.
10379 * locale/programs/charmap-kw.h: Likewise.
10380 * locale/programs/locfile-kw.h: Likewise.
10382 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10384 * sysdeps/unix/sysv/linux/configure: Regenerated.
10385 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10386 the linux/fanotify.h header.
10387 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10388 HAVE_LINUX_FANOTIFY_H is defined.
10390 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10392 * benchtests/cos-inputs: New inputs.
10393 * benchtests/sin-inputs: Likewise.
10395 * benchtests/atan-inputs: New inputs. Fix name of multiple
10396 precision fallback inputs.
10398 * benchtests/atanh-inputs: New inputs.
10399 * benchtests/tanh-inputs: Likewise.
10401 * benchtests/acosh-inputs: New inputs.
10402 * benchtests/asinh-inputs: Likewise.
10404 * benchtests/cosh-inputs: New inputs.
10405 * benchtests/sinh-inputs: Likewise.
10407 * benchtests/acos-inputs: Add more inputs.
10408 * benchtests/asin-inputs: Likewise.
10410 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10413 * manual/arith.texi: Fix spelling.
10414 * manual/charset.texi: Likewise.
10415 * manual/errno.texi: Likewise.
10416 * manual/filesys.texi: Likewise.
10417 * manual/lang.texi: Likewise.
10418 * manual/llio.texi: Likewise.
10419 * manual/locale.texi: Likewise.
10420 * manual/message.texi: Likewise.
10421 * manual/resource.texi: Likewise.
10422 * manual/search.texi: Likewise.
10423 * manual/setjmp.texi: Likewise.
10424 * manual/stdio.texi: Likewise.
10425 * manual/string.texi: Likewise.
10426 * manual/sysinfo.texi: Likewise.
10427 * manual/time.texi: Likewise.
10429 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10431 * po/sl.po: New file.
10433 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10435 * .gitignore: Add core/.gdbinit/.gdb_history.
10437 2013-12-27 Allan McRae <allan@archlinux.org>
10440 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10441 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10443 2013-12-24 Brooks Moses <bmoses@google.com>
10445 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10446 all compilers that claim C++98 compliance, not just GCC.
10447 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10450 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10452 * NEWS: Restore accidentally deleted bug-fix entries.
10454 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10455 Ondřej Bílka <neleai@seznam.cz>
10458 * malloc/malloc.c (_int_free): Perform sanity check only if we
10461 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10464 * manual/stdio.texi (String Input Conversions): Clarify that character
10465 classes are not supported.
10467 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10471 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10475 Calculate results for small negative arguments directly rather
10476 than using reflection formula with special underflow handling.
10478 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10479 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10480 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10481 (fchflags): Likewise.
10482 (revoke): Likewise.
10483 (setlogin): Likewise.
10484 (sigaltstack): Likewise.
10486 (sigblock): Remove.
10487 (sigsetmask): Likewise.
10489 (waitpid): Likewise.
10490 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10491 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10493 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10494 * sysdeps/unix/bsd/Makefile: ... here.
10495 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10496 * sysdeps/unix/bsd/Versions: ... here.
10497 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10498 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10499 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10500 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10501 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10502 * sysdeps/unix/bsd/sigblock.c: ... here.
10503 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10504 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10505 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10506 * sysdeps/unix/bsd/sigvec.c: ... here.
10507 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10508 * sysdeps/unix/bsd/tcdrain.c: ... here.
10509 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10510 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10511 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10512 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10513 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10514 * sysdeps/unix/bsd/wait.c: ... here.
10515 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10516 * sysdeps/unix/bsd/wait3.c: ... here.
10517 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10518 * sysdeps/unix/bsd/waitpid.c: ... here.
10520 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10524 round-to-nearest for [!USE_AS_EXPM1L].
10525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10526 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10527 more tests of exp and exp10. Expect some exp10 tests to miss
10528 exceptions or fail in directed rounding modes.
10529 * math/auto-libm-test-out: Regenerated.
10530 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10531 (exp10_test_tonearest): New function.
10532 (exp10_towardzero_test_data): New array.
10533 (exp10_test_towardzero): New function.
10534 (exp10_downward_test_data): New array.
10535 (exp10_test_downward): New function.
10536 (exp10_upward_test_data): New array.
10537 (exp10_test_upward): New function.
10538 (main): Call the new functions.
10539 * sysdeps/i386/fpu/libm-test-ulps: Update.
10540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10542 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10544 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10545 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10546 * math/auto-libm-test-out: Regenerated.
10547 * math/libm-test.inc (acosh_test_data): Add more tests.
10548 (atanh_test_data): Likewise.
10549 (ceil_test_data): Likewise.
10550 (copysign_test_data): Likewise.
10551 * sysdeps/i386/fpu/libm-test-ulps: Update.
10552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554 * timezone/checktab.awk: Update from tzcode 2013i.
10555 * timezone/private.h: Likewise.
10556 * timezone/scheck.c: Likewise.
10557 * timezone/tzfile.h: Likewise.
10558 * timezone/tzselect.ksh: Likewise.
10559 * timezone/zdump.c: Likewise.
10560 * timezone/zic.c: Likewise.
10562 * math/auto-libm-test-in: Add tests of cpow.
10563 * math/auto-libm-test-out: Regenerated.
10564 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10567 (func_calc_desc): Add mpc_cc_c union field.
10568 (test_functions): Add cpow.
10569 (special_fill_2pi): New function.
10570 (special_real_inputs): Add 2pi.
10571 (calc_generic_results): Handle mpc_cc_c.
10572 * sysdeps/i386/fpu/libm-test-ulps: Update.
10573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10575 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10576 csqrt, ctan and ctanh.
10577 * math/auto-libm-test-out: Regenerated.
10578 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10579 (TEST_COND_x86): Likewise.
10580 (ccos_test_data): Use AUTO_TESTS_c_c.
10581 (ccosh_test_data): Likewise.
10582 (cexp_test_data): Likewise.
10583 (clog_test_data): Likewise.
10584 (csqrt_test_data): Likewise.
10585 (ctan_test_data): Likewise.
10586 (ctan_tonearest_test_data): Likewise.
10587 (ctan_towardzero_test_data): Likewise.
10588 (ctan_downward_test_data): Likewise.
10589 (ctan_upward_test_data): Likewise.
10590 (ctanh_test_data): Likewise.
10591 (ctanh_tonearest_test_data): Likewise.
10592 (ctanh_towardzero_test_data): Likewise.
10593 (ctanh_downward_test_data): Likewise.
10594 (ctanh_upward_test_data): Likewise.
10595 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10597 (func_calc_desc): Add mpc_c_c union field.
10598 (FUNC_mpc_c_c): New macro.
10599 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10600 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10602 (special_fill_min_subnorm_p120): New function.
10603 (special_real_inputs): Add min_subnorm_p120.
10604 (calc_generic_results): Handle mpc_c_c.
10605 * sysdeps/i386/fpu/libm-test-ulps: Update.
10606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10608 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10610 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10611 (do_sin_slow): New functions.
10612 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10613 (cslow2, csloww1, csloww2): Use the new functions.
10615 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10616 Use M to change sign of result instead of X. Assume X is
10618 (csloww1): Likewise.
10622 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10623 arguments A and DA.
10627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10629 (sloww1): Don't adjust sign of DX.
10630 (csloww1): Likewise.
10631 (sloww2): Use X directly and don't adjust sign of DX.
10632 (csloww2): Likewise.
10634 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10636 * math/auto-libm-test-in: Add tests of cabs and carg.
10637 * math/auto-libm-test-out: Regenerated.
10638 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10639 (carg_test_data): Likewise.
10640 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10642 (func_calc_desc): Add mpc_c_f union field.
10643 (test_functions): Add cabs and carg.
10644 (calc_generic_results): Handle mpc_c_f.
10646 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10647 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10648 as a macro and a compat symbol.
10649 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10650 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10651 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10652 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10653 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10654 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10656 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10658 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10660 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10662 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10664 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10666 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10667 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10670 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10674 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10676 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10677 trailing whitespace removed.
10678 * scripts/config.guess: Update to version 2013-11-29.
10679 * scripts/config.sub: Update to version 2013-10-01.
10681 * math/auto-libm-test-in: Add tests of sincos.
10682 * math/auto-libm-test-out: Regenerated.
10683 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10686 (func_calc_desc): Add mpfr_f_11 union field.
10687 (test_functions): Add sincos.
10688 (calc_generic_results): Handle mpfr_f_11.
10689 * sysdeps/i386/fpu/libm-test-ulps: Update.
10690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692 2013-12-19 Andreas Schwab <schwab@suse.de>
10694 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10696 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10697 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10698 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10700 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10702 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10703 * sysdeps/i386/fpu/libm-test-ulps: Update.
10704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10707 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10708 round-to-nearest mode when using frndint.
10709 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10710 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10711 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10713 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10715 * math/auto-libm-test-out: Regenerated.
10716 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10717 (TEST_COND_x86): Likewise.
10718 (expm1_tonearest_test_data): New array.
10719 (expm1_test_tonearest): New function.
10720 (expm1_towardzero_test_data): New array.
10721 (expm1_test_towardzero): New function.
10722 (expm1_downward_test_data): New array.
10723 (expm1_test_downward): New function.
10724 (expm1_upward_test_data): New array.
10725 (expm1_test_upward): New function.
10726 (main): Run the new test functions.
10727 * sysdeps/i386/fpu/libm-test-ulps: Update.
10728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10730 * include/features.h: Update comment documenting feature test
10731 macros. Mention _DEFAULT_SOURCE in comment.
10732 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10733 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10734 _BSD_SOURCE and _SVID_SOURCE.
10735 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10736 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10737 !_SVID_SOURCE]: Likewise.
10738 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10739 (__USE_POSIX_IMPLICITLY): Define.
10740 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10741 (_POSIX_SOURCE): Undefine and redefine.
10742 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10743 (_POSIX_C_SOURCE): Likewise.
10744 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10745 (Feature Test Macros): Update documentation of default features.
10747 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10749 * benchtests/Makefile: Add bench-strtok.
10750 * benchtests/bench-strtok.c: New file: strtok benchtest.
10752 2013-12-19 Allan McRae <allan@archlinux.org>
10754 * manual/install.texi: Suppress menu for plain text output.
10755 * INSTALL: Regenerated.
10757 2013-12-18 Brooks Moses <bmoses@google.com>
10760 * misc/getauxval.c: Include errno.h.
10761 (__getauxval): Set errno to ENOENT if the requested type is not
10763 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10764 don't declare with __attribute_const__.
10765 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10766 * manual/startup.texi: Document that getauxval sets errno.
10768 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10770 * math/auto-libm-test-in: Add tests of jn and yn.
10771 * math/auto-libm-test-out: Regenerated.
10772 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10773 (yn_test_data): Likewise.
10774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10776 (func_calc_desc): Add mpfr_if_f union field.
10777 (FUNC_mpfr_if_f): New macro.
10778 (test_functions): Add jn and yn.
10779 (calc_generic_results): Assert type of second input for
10780 mpfr_ff_f. Handle mpfr_if_f.
10781 (output_for_one_input_case): Disable all checking for arguments
10782 fitting floating-point types in case of an integer argument.
10783 * sysdeps/i386/fpu/libm-test-ulps: Update.
10784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10787 Don't expect fegetround reference in libm.so.
10789 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10791 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10792 $(config-cflags-nofma).
10794 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10796 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10797 * math/auto-libm-test-out: Regenerated.
10800 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10801 to determine exponent and adjust argument to have exponent of -1.
10802 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10804 * math/auto-libm-test-out: Regenerated.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10808 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10810 * manual/probes.texi: Remove cases when per-thread arenas are
10813 2013-12-18 Andreas Schwab <schwab@suse.de>
10815 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10816 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10817 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10818 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10819 * sysdeps/i386/i686/multiarch/Makefile: Update.
10820 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10822 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10824 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10825 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10827 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10830 Support TZ transition times < 00:00:00.
10831 This is needed for version-3 tz-format files; it supports time
10832 stamps past 2037 for America/Godthab (the only entry in the tz
10833 database for which this change is relevant).
10834 * manual/time.texi (TZ Variable): Document transition times
10835 from -167:59:59 through -00:00:01.
10836 * time/tzset.c (tz_rule): Time of day is now signed.
10837 (__tzset_parse_tz): Parse negative time of day.
10839 Document TZ transition times >= 25:00:00.
10840 * manual/time.texi (TZ Variable): Document transition times from
10841 25:00:00 through 167:59:59. These are already supported, and this
10842 support will help with version-3 tz-format files.
10844 * manual/time.texi (TZ Variable): Modernize North America example
10845 to reflect current (i.e., 2007-and-later) daylight saving rules.
10847 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10849 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10851 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10852 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10854 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10855 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10856 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10857 * sysdeps/unix/bsd/clock.c: Likewise.
10858 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10859 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10860 * sysdeps/unix/bsd/init-posix.c: Likewise.
10861 * sysdeps/unix/bsd/poll.c: Likewise.
10862 * sysdeps/unix/bsd/ptsname.c: Likewise.
10863 * sysdeps/unix/bsd/seekdir.c: Likewise.
10864 * sysdeps/unix/bsd/setegid.c: Likewise.
10865 * sysdeps/unix/bsd/seteuid.c: Likewise.
10866 * sysdeps/unix/bsd/setgid.c: Likewise.
10867 * sysdeps/unix/bsd/setrgid.c: Likewise.
10868 * sysdeps/unix/bsd/setruid.c: Likewise.
10869 * sysdeps/unix/bsd/setsid.c: Likewise.
10870 * sysdeps/unix/bsd/setuid.c: Likewise.
10871 * sysdeps/unix/bsd/sigaction.c: Likewise.
10872 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10873 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10874 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10875 * sysdeps/unix/bsd/telldir.c: Likewise.
10876 * sysdeps/unix/bsd/times.c: Likewise.
10877 * sysdeps/unix/bsd/usleep.c: Likewise.
10879 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10880 ($(objpfx)libbsd-compat.a): Remove rule.
10882 * include/features.h (__FAVOR_BSD): Do not define.
10883 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10884 features conflicting with POSIX.
10885 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10886 (_BSD_SOURCE): Remove description of not being a subset of other
10887 feature test macros.
10888 * manual/job.texi (getpgrp): Do not document BSD version.
10889 (getpgid): Do not document by reference to BSD getpgrp.
10890 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10891 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10892 * signal/signal.h [__FAVOR_BSD]: Likewise.
10893 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10894 instead of making contents conditional on [__FAVOR_BSD].
10895 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10897 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10901 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10904 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10905 values below 2**-450, not 2**-500.
10906 * math/auto-libm-test-in: Don't allow spurious underflow from
10908 * math/auto-libm-test-out: Regenerated.
10912 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10913 values of ha and hb and sort them after adjusting subnormal
10915 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10917 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10918 values of ea and eb and sort them after adjusting subnormal
10920 * math/auto-libm-test-in: Do not expect some hypot tests of
10921 subnormals to fail. Add more hypot tests.
10922 * math/auto-libm-test-out: Regenerated.
10924 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10927 * sysdeps/sh/s_fma.c: New file.
10928 * sysdeps/sh/s_fmaf.c: New file.
10929 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10931 * sysdeps/sh/Implies: Add sh/soft-fp.
10933 2013-12-16 Roland McGrath <roland@hack.frob.com>
10935 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10936 level of indirection to members `objname', `errstring', `malloced'.
10937 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10938 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10939 it as the __longjmp argument (just pass 1 instead).
10940 (_dl_catch_error): Initialize C with argument pointers and address of
10941 volatile local ERRCODE rather than copying values out of C at return.
10943 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10945 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10946 * math/auto-libm-test-out: Regenerated.
10947 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10948 (hypot_test_data): Likewise.
10949 (pow_test_data): Likewise.
10950 (pow_tonearest_test_data): Likewise.
10951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10953 (func_calc_desc): Add mpfr_ff_f union field.
10954 (FUNC_mpfr_ff_f): New macro.
10955 (test_functions): Add atan2, hypot and pow.
10956 (special_fill_min): New function.
10957 (special_fill_minus_min): Likewise.
10958 (special_fill_min_subnorm): Likewise.
10959 (special_fill_minus_min_subnorm): Likewise.
10960 (special_real_inputs): Add min, -min, min_subnorm and
10962 (calc_generic_results): Handle mpfr_ff_f.
10963 * sysdeps/i386/fpu/libm-test-ulps: Update.
10964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10966 2013-12-16 Will Newton <will.newton@linaro.org>
10968 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10969 (Aligned Memory Blocks): Add documentation for aligned_alloc
10970 and suggest it as an alternative to posix_memalign.
10971 (Hooks for Malloc): Document __memalign_hook is also called
10972 for aligned_alloc. (Summary of Malloc): Add summary for
10973 aligned alloc. Document __memalign_hook is also called
10976 2013-12-16 Will Newton <will.newton@linaro.org>
10978 * manual/memory.texi (Malloc Examples): Clarify default
10979 alignment documentation. Suggest posix_memalign rather
10980 than memalign or valloc.
10981 (Aligned Memory Blocks): Remove suggestion to use memalign
10982 or valloc. Remove obsolete comment about BSD.
10983 Document memalign errno values and mark the function obsolete.
10984 Document posix_memalign returned error codes. Mark valloc
10985 as obsolete. (Hooks for Malloc): __memalign_hook is also
10986 called for posix_memalign and valloc.
10987 (Summary of Malloc): Add posix_memalign to function summary.
10988 __memalign_hook is also called for posix_memalign and valloc.
10990 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10992 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10996 (sloww): Use mynumber union. Expand ternary operator into
10997 if-else statements.
10998 (cslow): use mynumber union.
11000 2013-12-16 Allan McRae <allan@archlinux.org>
11002 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11003 * configure: Regenerated.
11005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11008 * configure.ac: Added --enable-maintainer-mode. Check for
11009 autoconf when enabled.
11010 * configure: Regenerated.
11012 * nscd/nscd.service: New file.
11013 * nscd/nscd.tmpfiles: New file.
11015 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11018 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11019 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11020 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11021 (strstr): Add __strstr_sse2_unaligned ifunc.
11022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11023 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11024 (strcasestr): Remove __strcasestr_sse42 ifunc.
11025 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11029 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11031 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11032 * sysdeps/sh/bits/fenv.h: ... here.
11033 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11035 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11037 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11040 hypotf multiarch implementations.
11041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11043 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11044 multiarch hypot for PPC64.
11045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11047 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11048 multiarch hypotf for PPC64.
11050 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11051 modff multiarch implementations.
11052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11055 multiarch modf for PPC64.
11056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11059 multiarch modff for PPC64.
11061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11062 and logl multiarch implementations.
11063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11066 multiarch logb for PPC64.
11067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11070 multiarch logb for PPC64.
11071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11074 multiarch logb for PPC64.
11076 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11077 isinff multiarch implementation.
11078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11082 multiarch isinf for PPC64.
11083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11086 multiarch isinff for PPC64.
11088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11089 finitef multiarch implementation.
11090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11094 multiarch finite for PPC64.
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11098 multiarch finitef for PPC64.
11100 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11101 lrint multiarch implementation.
11102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11106 multiarch llrint for PPC64.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11108 multiarch lrint for PPC64.
11110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11111 copysignf multiarch implementation.
11112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11117 multiarch copysign for PPC64.
11118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11119 multiarch copysignf for PPC64.
11121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11122 multiarch implementation.
11123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11131 multiarch llround for PPC64.
11132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11133 multiarch trunc for PPC64.
11134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11135 multiarch truncf for PPC64.
11137 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11138 multiarch implementation.
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11147 multiarch llround for PPC64.
11148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11149 multiarch round for PPC64.
11150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11151 multiarch roundf for PPC64.
11153 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11154 multiarch implementation.
11155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11163 multiarch llround for PPC64.
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11165 multiarch floor for PPC64.
11166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11167 multiarch floorf for PPC64.
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11170 multiarch implementation.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11179 multiarch llround for PPC64.
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11181 multiarch ceil for PPC64.
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11183 multiarch ceilf for PPC64.
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11186 multiarch implementation.
11187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11194 multiarch llround for PPC64.
11195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11196 multiarch lround for PPC64.
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11199 multiarch implementation.
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11207 multiarch isnan for PPC64.
11208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11209 multiarch isnanf for PPC64.
11211 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11212 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11213 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11214 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11215 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11218 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11219 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11220 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11221 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11224 multiarch implementations.
11225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11226 (__libc_ifunc_impl_list): Likewise.
11227 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11229 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11230 multiarch stpcpy for PPC64.
11232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11233 multiarch implementations.
11234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11235 (__libc_ifunc_impl_list): Likewise.
11236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11237 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11238 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11239 multiarch strcpy for PPC64.
11241 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11242 redefine function name.
11243 (_wordcopy_fwd_dest_aligned): Likewise.
11244 (_wordcopy_bwd_aligned): Likewise.
11245 (_wordcopy_bwd_dest_aligned): Likewise.
11246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11247 multiarch implementations.
11248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11249 (__libc_ifunc_impl_list): Likewise.
11250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11251 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11252 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11253 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11254 multiarch wcscpy for PPC64.
11256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11257 multiarch implementations.
11258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11259 (__libc_ifunc_impl_list): Likewise.
11260 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11261 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11262 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11263 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11264 multiarch wcscpy for PPC64.
11266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11267 multiarch implementations.
11268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11269 (__libc_ifunc_impl_list): Likewise.
11270 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11271 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11272 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11273 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11274 multiarch wcsrchr for PPC64.
11276 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11277 multiarch implementations.
11278 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11279 (__libc_ifunc_impl_list): Likewise.
11280 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11281 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11282 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11283 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11284 multiarch wcschr for PPC64.
11286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11287 multiarch implementations.
11288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11289 (__libc_ifunc_impl_list): Likewise.
11290 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11291 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11292 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11293 multiarch strchrnul for PPC64.
11295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11298 (__libc_ifunc_impl_list): Likewise.
11299 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11300 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11301 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11302 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11308 (__libc_ifunc_impl_list): Likewise.
11309 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11310 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11311 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11312 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11316 multiarch implementations.
11317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11318 (__libc_ifunc_impl_list): Likewise.
11319 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11320 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11321 strncasecmp for PPC64.
11322 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11323 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11324 multiarch strncasecmp_l for PPC64.
11326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11327 multiarch implementations.
11328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11329 (__libc_ifunc_impl_list): Likewise.
11330 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11331 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11332 multiarch strcasecmp for PPC64.
11333 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11335 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11336 multiarch strcasecmp_l for PPC64.
11338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11341 (__libc_ifunc_impl_list): Likewise.
11342 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11343 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11344 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11350 (__libc_ifunc_impl_list): Likewise.
11351 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11352 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11353 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11359 (__libc_ifunc_impl_list): Likewise.
11360 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11361 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11362 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11363 rawmemrchr for PPC64.
11365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11368 (__libc_ifunc_impl_list): Likewise.
11369 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11370 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11371 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11377 (__libc_ifunc_impl_list): Likewise.
11378 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11379 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11380 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11386 (__libc_ifunc_impl_list): Likewise.
11387 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11388 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11389 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11392 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11393 avoid cretion of __bzero symbol.
11394 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11396 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11398 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11401 multiarch implementations.
11402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11403 (__libc_ifunc_impl_list): Likewise.
11404 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11405 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11406 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11407 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11409 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11410 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11411 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11412 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11413 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11415 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11417 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11418 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11421 (__libc_ifunc_impl_list): Likewise.
11422 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11424 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11425 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11429 multiarch for POWER/PPC64.
11430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11431 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11432 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11433 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11434 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11435 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11436 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11437 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11438 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11441 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11442 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11443 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11444 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11445 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11446 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11447 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11448 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11449 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11450 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11451 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11452 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11453 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11454 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11455 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11464 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11466 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11468 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11470 * benchtests/Makefile (bench): Add exp2 and log2.
11471 (LDLIBS-bench-exp2): Add -lm.
11472 (LDLIBS-bench-log2): Likewise.
11473 * benchtests/exp2-inputs: New inputs file.
11474 * benchtests/log2-inputs: New inputs file.
11475 * benchtests/log-inputs: Add new inputs.
11476 * benchtests/tan-inputs: Likewise.
11478 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11480 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11482 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11483 (csloww2): ... from here.
11485 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11486 instead of structures.
11487 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11488 (POLYNOMIAL): Likewise.
11489 (TAYLOR_SLOW): Likewise.
11495 (sloww1); Likewise.
11496 (sloww2): Likewise.
11497 (bsloww1): Likewise.
11498 (bsloww2): Likewise.
11499 (cslow2): Likewise.
11500 (csloww): Likewise.
11501 (csloww1): Likewise.
11502 (csloww2): Likewise.
11504 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11506 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11507 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11508 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11509 * malloc/hooks.c (realloc_check): Likewise.
11511 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11512 * malloc/arena.c: Remove PER_THREAD conditional.
11513 [!PER_THREAD]: Remove code.
11514 (ptmalloc_unlock_all2): Likewise.
11515 (ptmalloc_init): Likewise.
11516 (_int_new_arena): Likewise.
11517 (arena_get2): Likewise.
11518 * malloc/hooks.c (__malloc_get_state): Likewise.
11519 (__malloc_set_state): Likewise.
11520 * malloc/malloc.c: Likewise.
11521 (struct malloc_state): Likewise.
11522 (struct malloc_par): Likewise.
11523 (__libc_realloc): Likewise.
11524 (__libc_mallopt): Likewise.
11526 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11528 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11530 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11532 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11533 macro to a function. Check for zero perturb_byte.
11534 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11536 * malloc/malloc.c: (force_reg): Remove.
11537 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11538 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11539 force_reg by atomic_forced_read.
11540 * malloc/arena.c (ptmalloc_init): Likewise.
11541 * malloc/hooks.c (top_check): Likewise.
11543 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11547 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11551 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11553 * math/auto-libm-test-in: Add tests of lgamma.
11554 * math/auto-libm-test-out: Regenerated.
11555 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11556 (M_LOG_2_SQRT_PIl): Likewise.
11557 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11558 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11560 (func_calc_desc): Add mpfr_f_f1 union field.
11561 (ARGS1): New macro.
11569 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11570 (test_functions): Add lgamma.
11571 (calc_generic_results): Handle mpfr_f_f1.
11572 * sysdeps/i386/fpu/libm-test-ulps: Update.
11573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11577 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11578 __mpn_add_n for PowerPC64/POWER7.
11579 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11580 __mpn_sub_n for PowerPC64/POWER7.
11582 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11583 __mpn_addmul_1 for PowerPC64.
11584 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11585 __mpn_submul_1 for PowerPC64.
11586 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11588 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11591 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11594 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11596 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11598 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11600 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11601 add multiarch folders.
11602 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11603 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11604 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11605 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11606 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11607 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11608 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11609 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11610 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11611 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11612 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11621 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11627 multiarch __ieee754_hypot for PowerPC32.
11628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11633 multiarch __ieee754_hypotf for PowerPC32.
11635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11636 long_double_symbol only if __logbl is defined.
11637 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11638 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11640 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11642 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11643 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11644 path for implementation.
11645 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11646 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11648 logb, and logbl multiarch implementations for PowerPC32.
11649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11654 multiarch logb for PowerPC32.
11655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11660 multiarch logbf for PowerPC32.
11661 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11665 multiarch logbl implementation for PowerPC32.
11667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11668 and modff multiarch implementations.
11669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11674 multiarch modf for PowerPC32.
11675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11680 multiarch modff for PowerPC32.
11682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11683 and lrintf multiarch implementations.
11684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11689 multiarch lrint for PowerPC32.
11690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11691 file: multiarch lrintf for PowerPC32.
11693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11694 and lroundf multiarch implementations.
11695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11702 multiarch lround for PowerPC32.
11703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11704 file: multiarch lroundf for PowerPC32.
11706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11707 copysign and copysignf multiarch implementations.
11708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11713 file: multiarch copysign for PowerPC32.
11714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11715 file: multiarch copysignf for PowerPC32.
11717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11718 and truncf multiarch implementations.
11719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11724 multiarch trunc for PowerPC32.
11725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11730 multiarch truncf for PowerPC32.
11732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11733 and roundf multiarch implementations.
11734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11739 multiarch round for PowerPC32.
11740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11745 multiarch roundf for PowerPC32.
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11748 and floorf multiarch implementations.
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11754 multiarch floor for PowerPC32.
11755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11760 multiarch floorf for PowerPC32.
11762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11763 and ceilf multiarch implementations.
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11769 multiarch ceil for PowerPC32.
11770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11775 multiarch ceilf for PowerPC32.
11777 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11779 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11780 FINITEF is defined.
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11782 and finitef multiarch implementations.
11783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11788 multiarch finite for PowerPC32.
11789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11792 file: multiarch finitef for PowerPC32.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11795 and isinff multiarch implementations.
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11801 multiarch isinf for PowerPC32.
11802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11805 multiarch isinff for PowerPC32.
11807 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11808 alias when __isnan is defined.
11809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11810 and isnanf multiarch implementations.
11811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11820 multiarch isnan for PowerPC32.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11826 multiarch isnanf for PowerPC32.
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11829 and sqrtf multiarch implementations.
11830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11835 multiarch sqrt for PowerPC32.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11841 multiarch sqrtf for PowerPC32.
11843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11844 and llroundf multiarch implementations.
11845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11852 file: multiarch llround for PowerPC32.
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11854 file: multiarch llroundf for PowerPC32.
11856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11857 multiarch PowerPC32 fpu implementations.
11858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11863 multiarch llrint for PowerPC32.
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11873 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11875 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11877 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11879 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11880 multiarch wordcopy for PPC32.
11881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11884 (__libc_ifunc_impl_list): Likewise.
11885 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11886 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11888 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11889 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11890 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11892 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11900 multiarch wcscpy for PPC32.
11901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11904 (__libc_ifunc_impl_list): Likewise.
11905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11906 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11907 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11908 sysdeps/powerpc/power6/wcscpy.c.
11910 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11911 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11917 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11918 multiarch wcsrchr for PPC32.
11919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11922 (__libc_ifunc_impl_list): Likewise.
11923 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11924 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11925 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11926 sysdeps/powerpc/power6/wcsrchr.c.
11928 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11934 multiarch wcschr for PPc32.
11935 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11937 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11938 (__libc_ifunc_impl_list): Likewise.
11939 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11940 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11941 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11942 sysdeps/powerpc/power6/wcschr.c.
11944 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11945 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11947 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11948 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11949 file: multiarch strchr for PPC32.
11950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11953 (__libc_ifunc_impl_list): Likewise.
11955 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11957 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11959 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11961 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11962 multiarch strchrnul for PPC32.
11963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11966 (__libc_ifunc_impl_list): Likewise.
11968 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11970 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11971 multiarch strncasecmp for PPC32.
11972 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11974 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11975 multiarch strncasecmp_l for PPC32.
11976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11977 strncasecmp multiarch objects.
11978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11979 (__libc_ifunc_impl_list): Likewise.
11981 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11984 multiarch strncasecmp for PPC32.
11985 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11988 multiarch strcasecmp_l for PPC32.
11989 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11991 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11992 (__libc_ifunc_impl_list): Likewise.
11994 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11999 multiarch strncmp for PPC32.
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12003 (__libc_ifunc_impl_list): Likewise.
12005 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12006 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12008 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12013 (__libc_ifunc_impl_list): Likewise.
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12023 (__libc_ifunc_impl_list): Likewise.
12025 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12029 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12030 multiarch rawmemchr for PPC32.
12031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12034 (__libc_ifunc_impl_list): Likewise.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12040 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12041 file: memrchr multiarch for PPC32.
12042 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12044 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12045 (__libc_ifunc_impl_list): Likewise.
12047 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12051 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12052 multiarch memchr for PPC32.
12053 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12055 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12056 (__libc_ifunc_impl_list): Likewise.
12058 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12059 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12063 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12064 file: multiarch mempcpy for PPC32.
12065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12068 (__libc_ifunc_impl_list): Likewise.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12071 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12073 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12074 multiarch bzero for PPC32.
12075 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12077 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12080 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12081 file: multiarch memset for PPC32.
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12083 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12084 memset multiarch objects.
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12086 (__libc_ifunc_impl_list): Likewise.
12088 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12090 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12094 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12096 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12097 (__libc_ifunc_impl_list): Likewise.
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12108 multiarch memcpy for PPC32.
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12112 (__libc_ifunc_impl_list): Likewise.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12115 support multiarch for POWER/PPC32.
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12118 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12120 Implies file to make multiarch folder appers before the fpu and
12121 default folder for power4 configuration.
12123 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12125 * scripts/bench.pl: Append volatile keyword to type.
12127 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12129 * sysdeps/sh/sotruss-lib.c: New file.
12130 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12132 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12136 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12139 * math/w_tgamma.c: Include <errno.h>.
12140 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12141 * math/w_tgammaf.c: Include <errno.h>.
12142 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12143 * math/w_tgammal.c: Include <errno.h>.
12144 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12145 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12146 underflow. Add more tgamma tests.
12147 * math/auto-libm-test-out: Regenerated.
12148 * sysdeps/i386/fpu/libm-test-ulps: Update.
12149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12151 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12152 sin, sinh, tan, tanh, tgamma, y0 and y1.
12153 * math/auto-libm-test-out: Regenerated.
12154 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12155 (TEST_COND_x86): Likewise.
12156 (M_E2l): Remove macro.
12158 (M_2_SQRT_PIl): Likewise.
12159 (M_SQRT_PIl): Likewise.
12160 (M_1_DIV_El): Likewise.
12161 (log_test_data): Use AUTO_TESTS_f_f.
12162 (log10_test_data): Likewise.
12163 (log1p_test_data): Likewise.
12164 (log2_test_data): Likewise.
12165 (sin_test_data): Likewise.
12166 (sin_tonearest_test_data): Likewise.
12167 (sin_towardzero_test_data): Likewise.
12168 (sin_downward_test_data): Likewise.
12169 (sin_upward_test_data): Likewise.
12170 (sinh_test_data): Likewise.
12171 (sinh_tonearest_test_data): Likewise.
12172 (sinh_towardzero_test_data): Likewise.
12173 (sinh_downward_test_data): Likewise.
12174 (sinh_upward_test_data): Likewise.
12175 (tan_test_data): Likewise.
12176 (tan_tonearest_test_data): Likewise.
12177 (tan_towardzero_test_data): Likewise.
12178 (tan_downward_test_data): Likewise.
12179 (tan_upward_test_data): Likewise.
12180 (tanh_test_data): Likewise.
12181 (tgamma_test_data): Likewise.
12182 (y0_test_data): Likewise.
12183 (y1_test_data): Likewise.
12184 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12185 (special_real_inputs): Add pi/4.
12186 * sysdeps/i386/fpu/libm-test-ulps: Update.
12187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12189 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12191 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12192 "longjmp_target" static probes.
12193 (__longjmp): Rename to __longjmp_symbol.
12194 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12195 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12196 on which longjmp to generate.
12197 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12198 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12200 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12201 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12202 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12203 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12204 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12205 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12207 __longjmp_symbol based on which __longjmp to generate.
12208 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12210 (setjmp): Rename to setjmp_symbol.
12211 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12212 (_setjmp): Rename to _setjmp_symbol.
12213 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12214 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12215 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12216 which setjmp to generate.
12217 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12218 "longjmp_target" static probes.
12220 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12222 * benchtests/README: Add note about output arguments.
12223 * benchtests/bench-sincos.c: Remove file.
12224 * benchtests/sincos-inputs: New file.
12225 * scripts/bench.pl: Identify output arguments and define
12226 static variables for them.
12228 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12231 * Makefile (INSTALL): Add install-plain.texi as the primary
12233 * manual/install-plain.texi: New file.
12234 * manual/install.texi: Include node directive only for
12235 non-plaintext output.
12237 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12239 * stdlib/longlong.h: Update from GCC.
12243 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12244 * math/w_j0f.c (y0f): Likewise.
12245 * math/w_j0l.c (__y0l): Likewise.
12246 * math/w_j1.c (y1): Likewise.
12247 * math/w_j1f.c (y1f): Likewise.
12248 * math/w_j1l.c (__y1l): Likewise
12249 * math/w_jn.c (yn): Likewise.
12250 * math/w_jnf.c (ynf): Likewise.
12251 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12252 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12253 value for Bessel function domain errors outside _SVID_ mode.
12254 Adjust sign of return value for yn (negative integer, 0).
12255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12256 by zero in return for negative x and set sign appropriately for
12258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12259 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12260 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12261 expectations in error cases.
12262 (y1_test_data): Likewise.
12263 (yn_test_data): Likewise.
12264 * sysdeps/i386/fpu/libm-test-ulps: Update.
12265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12267 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12269 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12270 "64" to "64-v1". Add "64-v2".
12271 (abi-64-options): Rename to ...
12272 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12273 (abi-64-condition): Rename to ...
12274 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12275 (abi-64-ld-soname): Rename to ...
12276 (abi-64-v1-ld-soname): ... this.
12277 (abi-64-v2-options): Define.
12278 (abi-64-v2-condition): Likewise.
12279 (abi-64-v2-ld-soname): Likewise.
12280 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12281 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12286 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12287 Alan Modra <amodra@gmail.com>
12289 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12290 New versions for use with the ELFv2 ABI.
12291 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12292 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12294 (struct La_ppc64v2_retval): Likewise.
12295 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12296 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12297 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12298 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12299 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12300 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12301 Do not save or restore CR.
12302 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12303 (_dl_profile_resolve): Do no save or restore CR. Support extended
12304 return values for ELFv2 ABI. Fix location of FPR return registers.
12305 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12306 updated values for _CALL_ELF == 2.
12307 (La_regs, La_retval, int_retval): Likewise.
12309 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12311 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12312 (FRAME_MIN_SIZE_PARM): Likewise.
12313 (FRAME_BACKCHAIN): Likewise.
12314 (FRAME_CR_SAVE): Likewise.
12315 (FRAME_LR_SAVE): Likewise.
12316 (FRAME_TOC_SAVE): Likewise.
12317 (FRAME_PARM_SAVE): Likewise.
12318 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12319 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12320 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12321 (call_mcount_parm_offset): New macro.
12322 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12323 (PROF): Use symbolic stack frame offsets.
12324 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12325 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12326 Redefine in terms of FRAME_MIN_SIZE.
12327 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12328 (_dl_profile_resolve): Likewise. Update comment.
12329 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12330 symbols stack frame offsets.
12331 (__sigsetjmp): Likewise.
12332 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12333 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12334 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12335 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12338 (FRAME_BACKCHAIN): Remove.
12339 (FRAME_CR_SAVE): Likewise.
12340 (FRAME_LR_SAVE): Likewise.
12341 (FRAME_COMPILER_DW): Likewise.
12342 (FRAME_LINKER_DW): Likewise.
12343 (FRAME_TOC_SAVE): Likewise.
12344 (FRAME_PARM_SAVE): Likewise.
12345 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12346 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12347 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12349 (CHECK_SP): Use symbolic stack frame offsets.
12350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12351 zone" instead of caller's parameter save area for temp storage.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12353 Likewise. Also, use symbolic stack frame offsets.
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12355 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12356 our own stack frame instead of the caller's.
12357 (__socket): Use symbolic stack frame offsets.
12359 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12360 Alan Modra <amodra@gmail.com>
12362 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12364 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12365 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12366 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12368 (elf_machine_fixup_plt): Call it.
12369 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12371 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12372 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12373 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12374 r2 before calling target.
12376 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12377 Alan Modra <amodra@gmail.com>
12379 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12380 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12381 versions of macros to support ELFv2 ABI.
12382 (LOCALENTRY): New macro.
12383 (ENTRY, EALIGN): Use it.
12384 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12385 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12386 fall through into ENTRY entry point.
12387 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12388 Only define if _CALL_ELF != 2.
12390 (elf_machine_matches_host): Verify ABI version matches.
12391 (RTLD_START): Use LOCALENTRY.
12392 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12393 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12394 (PLT_ENTRY_WORDS): New macro.
12395 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12396 (elf_machine_runtime_setup): Support ELFv2 ABI.
12397 (elf_machine_fixup_plt): Likewise.
12398 (elf_machine_plt_conflict): Likewise.
12399 (resolve_ifunc): Likewise.
12400 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12401 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12404 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12406 (makecontext): Support ELFv2 ABI.
12407 * elf/elf.h (EF_PPC64_ABI): Define.
12409 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12411 * sysdeps/powerpc/powerpc64/sysdep.h
12412 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12413 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12414 (ENTRY) [ASSEMBLER]: ... but instead here ...
12415 (EALIGN) [ASSEMBLER]: ... and here.
12416 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12417 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12418 (ENTRY_2) [!ASSEMBLER]: Use it.
12419 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12420 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12421 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12422 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12423 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12425 Use PPC64_LOAD_FUNCPTR.
12427 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12429 2013-12-04 Alan Modra <amodra@gmail.com>
12431 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12432 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12433 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12434 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12437 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12438 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12439 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12440 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12441 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12443 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12446 (__makecontext): Fix incorrect CFI when backtracing out of
12447 context created via makecontext.
12448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12449 (__setcontext): Fix incorrect CFI during switch to new context.
12450 (__novec_setcontext): Likewise.
12452 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12455 * time/strptime_l.c (__strptime_internal): Allow modifiers
12457 * time/tst-strptime.c (day_tests): Add testcase.
12459 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12461 * scripts/bench.pl: Skip over blank lines.
12463 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12466 * manual/time.texi (Calendar Time): Clarify what timezone functions
12469 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12473 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12475 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12477 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12478 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12479 * debug/memset_chk.c (__memset_chk): Likewise.
12480 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12481 * debug/strncpy_chk.c: Likewise.
12483 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12487 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12488 (__ieee754_exp): For possibly underflowing results, check size of
12489 result and force underflow exception if required.
12490 * math/auto-libm-test-in: Add more tests of exp.
12491 * math/auto-libm-test-out: Regenerated.
12492 * sysdeps/i386/fpu/libm-test-ulps: Update.
12493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12496 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12497 * math/w_exp2f.c (__exp2f): Likewise.
12498 * math/w_exp2l.c (__exp2l): Likewise.
12499 * math/auto-libm-test-in: Do not allow missing errno on exp2
12501 * math/auto-libm-test-out: Regenerated.
12503 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12506 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12507 handle filename validation.
12508 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12511 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12514 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12515 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12516 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12518 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12519 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12520 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12521 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12522 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12523 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12524 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12525 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12526 Add more erfc tests.
12527 * math/auto-libm-test-out: Regenerated.
12528 * sysdeps/i386/fpu/libm-test-ulps: Update.
12529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12531 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12532 exp2, expm1, j0 and j1.
12533 * math/auto-libm-test-out: Regenerated.
12534 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12535 (erfc_test_data): Likewise.
12536 (exp_test_data): Likewise.
12537 (exp_tonearest_test_data): Likewise.
12538 (exp_towardzero_test_data): Likewise.
12539 (exp_downward_test_data): Likewise.
12540 (exp_upward_test_data): Likewise.
12541 (exp10_test_data): Likewise.
12542 (exp2_test_data): Likewise.
12543 (expm1_test_data): Likewise.
12544 (j0_test_data): Likewise.
12545 (j1_test_data): Likewise.
12546 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12547 (input_flag_type): Add flag_xfail_rounding.
12548 (input_flags): Add xfail-rounding.
12549 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12550 (output_for_one_input_case): Handle flag_xfail_rounding.
12551 * sysdeps/i386/fpu/libm-test-ulps: Update.
12552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12554 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12557 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12560 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12563 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12564 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12565 (STAP_PROBE0): New macro.
12566 (STAP_PROBE1): Likewise.
12567 (STAP_PROBE2): Likewise.
12568 (STAP_PROBE3): Likewise.
12569 (STAP_PROBE4): Likewise.
12571 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12573 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12575 2013-12-02 Steve Ellcey <sellcey@mips.com>
12577 * benchtests/Makefile (bench): Add sqrt.
12578 (LDLIBS-bench-sqrt): New.
12579 * benchtests/sqrt-input: New.
12581 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12583 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12584 (GAIH_EAI): Likewise.
12585 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12586 (gaih_inet): Likewise.
12587 (getaddrinfo): Don't use GAIH_EAI.
12589 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12590 (struct gaih): Remove definition.
12592 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12594 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12595 Use HERRNOP directly.
12597 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12601 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12603 * math/gen-auto-libm-tests.c (test_functions): Add more
12604 single-argument functions.
12605 (special_fill_pi_2): New function.
12606 (special_fill_minus_pi_2): Likewise.
12607 (special_fill_pi_6): Likewise.
12608 (special_fill_minus_pi_6): Likewise.
12609 (special_fill_pi_3): Likewise.
12610 (special_fill_2pi_3): Likewise.
12611 (special_fill_e): Likewise.
12612 (special_fill_1_e): Likewise.
12613 (special_fill_e_minus_1): Likewise.
12614 (special_real_inputs): Add more special inputs.
12615 (output_for_one_input_case): Do not require ERANGE on underflow to
12616 zero if round-to-nearest result does not underflow to zero, unless
12617 exact results required.
12618 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12619 atan, atanh, cbrt, cos and cosh.
12620 * math/auto-libm-test-out: Regenerated.
12621 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12622 (acos_tonearest_test_data): Likewise.
12623 (acos_towardzero_test_data): Likewise.
12624 (acos_downward_test_data): Likewise.
12625 (acos_upward_test_data): Likewise.
12626 (acosh_test_data): Likewise.
12627 (asin_test_data): Likewise.
12628 (asin_tonearest_test_data): Likewise.
12629 (asin_towardzero_test_data): Likewise.
12630 (asin_upward_test_data): Likewise.
12631 (asinh_test_data): Likewise.
12632 (atan_test_data): Likewise.
12633 (atanh_test_data): Likewise.
12634 (cbrt_test_data): Likewise.
12635 (cos_test_data): Likewise.
12636 (cos_tonearest_test_data): Likewise.
12637 (cos_towardzero_test_data): Likewise.
12638 (cos_downward_test_data): Likewise.
12639 (cos_upward_test_data): Likewise.
12640 (cosh_test_data): Likewise.
12641 (cosh_tonearest_test_data): Likewise.
12642 (cosh_towardzero_test_data): Likewise.
12643 (cosh_downward_test_data): Likewise.
12644 (cosh_upward_test_data): Likewise.
12645 * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12648 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12651 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12652 * math/w_exp10f.c (__exp10f): Likewise.
12653 * math/w_exp10l.c (__exp10l): Likewise.
12654 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12655 errno settings in existing tests.
12658 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12659 precision control set to double precision.
12660 * sysdeps/i386/fpu/w_sqrt.c: New file.
12661 * math/auto-libm-test-in: Add more tests.
12662 * math/auto-libm-test-out: Update.
12664 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12665 (sqrt_test_tonearest): New function.
12666 (sqrt_towardzero_test_data): New variable.
12667 (sqrt_test_towardzero): New function.
12668 (sqrt_downward_test_data): New variable.
12669 (sqrt_test_downward): New function.
12670 (sqrt_upward_test_data): New variable.
12671 (sqrt_test_upward): New function.
12672 (main): Call the new functions.
12674 * math/gen-auto-libm-tests.c: New file.
12675 * math/auto-libm-test-in: Likewise.
12676 * math/auto-libm-test-out: New generated file.
12677 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12679 (%beautify): Add generated representations of zero.
12680 (top level): Set $auto_input and call parse_auto_input.
12681 (beautify): Remove trailing "f" from hex float constants.
12682 (parse_args): Handle XFAIL_TEST.
12683 (convert_condition): New function.
12684 (or_value): Likewise.
12685 (or_cond_value): Likewise.
12686 (generate_testfile): Handle AUTO_TESTS_* lines.
12687 (parse_auto_input): New function.
12688 * math/libm-test.inc (XFAIL_TEST): New macro.
12689 (ERRNO_UNCHANGED): Update value.
12690 (ERRNO_EDOM): Likewise.
12691 (ERRNO_ERANGE): Likewise.
12692 (IGNORE_RESULT): Likewise.
12693 (TEST_COND_flt_32): New macro.
12694 (TEST_COND_dbl_64): Likewise.
12695 (TEST_COND_ldbl_96_intel): Likewise.
12696 (TEST_COND_ldbl_96_m68k): Likewise.
12697 (TEST_COND_ldbl_128): Likewise.
12698 (TEST_COND_ldbl_128ibm): Likewise.
12699 (TEST_COND_long32): Likewise.
12700 (TEST_COND_long64): Likewise.
12701 (TEST_COND_before_rounding): Likewise.
12702 (TEST_COND_after_rounding): Likewise.
12703 (enable_test): Handle XFAIL_TEST flag.
12704 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12705 with finite results.
12706 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12707 auto-libm-test-out.
12709 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12710 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12713 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12714 __tls_get_addr_internal instead of __tls_get_offset in order to
12715 avoid GOT pointer dependency. Make rtld export
12716 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12717 __tls_get_addr since we are a __tls_get_offset platform.
12718 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12719 GOT pointer being set up before.
12720 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12722 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12724 * manual/math.texi (Errors in Math Functions): Document accuracy
12728 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12729 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12732 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12734 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12736 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12738 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12739 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12741 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12743 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12745 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12746 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12747 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12748 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12749 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12751 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12753 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12755 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12756 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12757 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12758 atomic-feupdateenv and flt-rounds.
12759 * sysdeps/powerpc/nofpu/Versions (libc): Add
12760 __atomic_feholdexcept, __atomic_feclearexcept,
12761 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12762 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12763 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12764 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12765 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12770 * manual/arith.texi (FP Exceptions): Document that exceptions may
12771 not be raised when matherr is used.
12772 (Math Error Reporting): Document overflow in directed rounding
12773 modes. Document that errno may not be set when finite values are
12774 returned on overflow. Document intent to set errno on underflow
12775 only for underflow to zero.
12778 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12779 round-to-nearest then adjust result for other rounding modes.
12780 * include/fenv.h (fegetround): Use libm_hidden_proto.
12781 * math/fegetround.c (fegetround): Use libm_hidden_def.
12782 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12783 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12784 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12785 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12787 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12789 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12790 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12792 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12795 * nss/Versions (libnss_files): Add
12796 _nss_files_gethostbyname3_r.
12797 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12799 (HOST_DB_LOOKUP): Remove macro.
12800 (_nss_files_gethostbyname_r): Implement function without the
12801 HOST_DB_LOOKUP macro.
12802 (_nss_files_gethostbyname2_r): Likewise.
12804 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12806 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12808 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12810 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12811 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12814 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12816 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12817 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12818 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12819 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12820 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12821 __fe_nomask_env_priv and attribute_hidden.
12822 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12823 (libc_feupdateenv_test_ppc): Likewise.
12824 (libc_feresetround_ppc): Likewise.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12826 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12827 compat_symbol macro.
12828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12829 (__fe_nomask_env): Likewise.
12830 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12832 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12834 * string/Makefile: Remove ifunc tests.
12835 * string/test-string.h: Define TEST_IFUNC.
12836 * string/test-bcopy-ifunc.c: Remove.
12837 * string/test-bzero-ifunc.c: Likewise.
12838 * string/test-memccpy-ifunc.c: Likewise.
12839 * string/test-memchr-ifunc.c: Likewise.
12840 * string/test-memcmp-ifunc.c: Likewise.
12841 * string/test-memcpy-ifunc.c: Likewise.
12842 * string/test-memmem-ifunc.c: Likewise.
12843 * string/test-memmove-ifunc.c: Likewise.
12844 * string/test-mempcpy-ifunc.c: Likewise.
12845 * string/test-memrchr-ifunc.c: Likewise.
12846 * string/test-memset-ifunc.c: Likewise.
12847 * string/test-rawmemchr-ifunc.c: Likewise.
12848 * string/test-stpcpy-ifunc.c: Likewise.
12849 * string/test-stpncpy-ifunc.c: Likewise.
12850 * string/test-strcasecmp-ifunc.c: Likewise.
12851 * string/test-strcasestr-ifunc.c: Likewise.
12852 * string/test-strcat-ifunc.c: Likewise.
12853 * string/test-strchr-ifunc.c: Likewise.
12854 * string/test-strchrnul-ifunc.c: Likewise.
12855 * string/test-strcmp-ifunc.c: Likewise.
12856 * string/test-strcpy-ifunc.c: Likewise.
12857 * string/test-strcspn-ifunc.c: Likewise.
12858 * string/test-strlen-ifunc.c: Likewise.
12859 * string/test-strncasecmp-ifunc.c: Likewise.
12860 * string/test-strncat-ifunc.c: Likewise.
12861 * string/test-strncmp-ifunc.c: Likewise.
12862 * string/test-strncpy-ifunc.c: Likewise.
12863 * string/test-strnlen-ifunc.c: Likewise.
12864 * string/test-strpbrk-ifunc.c: Likewise.
12865 * string/test-strrchr-ifunc.c: Likewise.
12866 * string/test-strspn-ifunc.c: Likewise.
12867 * string/test-strstr-ifunc.c: Likewise.
12869 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12871 * benchtests/Makefile: Remove ifunc tests.
12872 * benchtests/bench-string.h: Define TEST_IFUNC.
12873 * benchtests/bench-bcopy-ifunc.c: Remove.
12874 * benchtests/bench-bzero-ifunc.c: Likewise.
12875 * benchtests/bench-memccpy-ifunc.c: Likewise.
12876 * benchtests/bench-memchr-ifunc.c: Likewise.
12877 * benchtests/bench-memcmp-ifunc.c: Likewise.
12878 * benchtests/bench-memcpy-ifunc.c: Likewise.
12879 * benchtests/bench-memmem-ifunc.c: Likewise.
12880 * benchtests/bench-memmove-ifunc.c: Likewise.
12881 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12882 * benchtests/bench-memrchr-ifunc.c: Likewise.
12883 * benchtests/bench-memset-ifunc.c: Likewise.
12884 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12885 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12886 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12887 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12888 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12889 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12890 * benchtests/bench-strcat-ifunc.c: Likewise.
12891 * benchtests/bench-strchr-ifunc.c: Likewise.
12892 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12893 * benchtests/bench-strcmp-ifunc.c: Likewise.
12894 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12895 * benchtests/bench-strcpy-ifunc.c: Likewise.
12896 * benchtests/bench-strcspn-ifunc.c: Likewise.
12897 * benchtests/bench-strlen-ifunc.c: Likewise.
12898 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12899 * benchtests/bench-strncat-ifunc.c: Likewise.
12900 * benchtests/bench-strncmp-ifunc.c: Likewise.
12901 * benchtests/bench-strncpy-ifunc.c: Likewise.
12902 * benchtests/bench-strnlen-ifunc.c: Likewise.
12903 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12904 * benchtests/bench-strrchr-ifunc.c: Likewise.
12905 * benchtests/bench-strsep-ifunc.c: Likewise.
12906 * benchtests/bench-strspn-ifunc.c: Likewise.
12907 * benchtests/bench-strstr-ifunc.c: Likewise.
12909 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12911 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12913 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12915 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12916 * rt/aio.h: Likewise.
12917 * sysdeps/gnu/bits/utmp.h: Likewise.
12918 * sysdeps/gnu/bits/utmpx.h: Likewise.
12919 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12920 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12921 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12922 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12923 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12924 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12925 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12926 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12927 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12928 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12930 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12931 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12933 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12934 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12935 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12936 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12937 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12938 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12939 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12940 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12941 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12942 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12943 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12944 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12945 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12946 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12947 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12948 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12949 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12950 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12951 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12952 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12953 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12954 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12955 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12956 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12959 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12960 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12962 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12965 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12966 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12968 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12970 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12971 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12974 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12976 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12977 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12978 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12979 (__fesetround): Remove define.
12980 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12981 rounding and exceptions handling.
12982 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12983 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12984 (__fe_nomask_env): Likewise.
12985 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12986 __fegetround instead of fegetround.
12987 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12988 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12990 2013-11-21 Roland McGrath <roland@hack.frob.com>
12992 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12995 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12997 2013-11-21 Meador Inge <meadori@codesourcery.com>
13000 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13001 (encrypt_r): Likewise.
13002 * malloc/obstack.h (obstack_free): Likewise.
13003 * posix/unistd.h (encrypt): Likewise.
13005 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13007 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13008 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13009 DL_CALL_DT_FINI() that call the functions directly.
13010 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13011 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13012 * elf/dl-fini.c: Likewise.
13014 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13016 * malloc/hooks.c (memalign_check): Add alignment rounding.
13017 * malloc/malloc.c (_mid_memalign): New function.
13018 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13019 Implement by calling _mid_memalign.
13020 * manual/probes.texi (Memory Allocation Probes): Remove
13021 memory_valloc_retry and memory_pvalloc_retry.
13023 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13025 * locale/programs/locarchive.c (open_archive): Add const
13026 qualifier to ARCHIVEFNAME and copy default fname to
13030 * libio/tst-widetext.input: Rename Oriya to Odia.
13031 * locale/iso-639.def: Likewise.
13033 * manual/probes.texi (Mathematical Function Probes): Add
13034 documentation for sin, cos, asin and acos probes.
13035 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13036 (__sin32): Add slowasin probe.
13037 (__cos32): Add slowacos probe.
13038 (__mpsin): Add slowsin probe.
13039 (__mpcos): Add slowcos probe.
13041 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13044 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13045 thread-local __sim_exceptions_thread and global
13046 __sim_exceptions_global.
13047 (__sim_disabled_exceptions): Change to thread-local
13048 __sim_disabled_exceptions_thread and global
13049 __sim_disabled_exceptions_global.
13050 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13051 and global __sim_round_mode_global.
13052 (__simulate_exceptions): Use thread-local floating-point state and
13053 set global state from it as needed.
13054 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13055 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13056 __sim_round_mode_thread.
13057 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13058 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13059 and global __sim_exceptions_global.
13060 (__sim_disabled_exceptions): Change to thread-local
13061 __sim_disabled_exceptions_thread and global
13062 __sim_disabled_exceptions_global.
13063 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13064 and global __sim_round_mode_global.
13065 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13066 (SIM_SET_GLOBAL): Likewise.
13067 * sysdeps/powerpc/soft-fp/sfp-machine.h
13068 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13069 __sim_round_mode_thread.
13070 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13071 __sim_disabled_exceptions_thread.
13072 (__sim_exceptions): Change to __sim_exceptions_thread.
13073 (__sim_disabled_exceptions): Change to
13074 __sim_disabled_exceptions_thread.
13075 (__sim_round_mode): Change to __sim_round_mode_thread.
13076 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13077 thread-local floating-point state and set global state from it as
13079 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13080 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13081 (__sim_disabled_exceptions): Remove extern declaration.
13082 (feenableexcept): Use thread-local floating-point state and set
13083 global state from it as needed.
13084 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13085 extern declaration.
13086 (__sim_disabled_exceptions): Likewise.
13087 (__sim_round_mode): Likewise.
13088 (__fegetenv): Use thread-local floating-point state.
13089 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13090 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13091 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13092 floating-point state and set global state from it as needed.
13093 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13094 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13095 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13097 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13098 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13100 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13101 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13102 Use __sim_round_mode_thread.
13103 * math/test-fenv-tls.c: New file.
13104 * math/Makefile (tests): Add test-fenv-tls.
13105 ($(objpfx)test-fenv-tls): Depend on
13106 $(common-objpfx)nptl/libpthread.so.
13108 2013-11-19 Andreas Schwab <schwab@suse.de>
13110 * locale/programs/locale.c (show_info): Decode wordarray elements.
13111 * locale/categories.def (LC_MONETARY): Add element for
13112 _NL_MONETARY_CRNCYSTR.
13113 * locale/C-monetary.c (conversion_rate): New variable.
13114 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13117 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13119 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13120 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13122 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13124 * elf/Makefile (tst-auxv): New test.
13125 * elf/tst-auxv.c: New
13126 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13128 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13130 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13131 (hidden_proto): Caller changed.
13132 (hidden_tls_proto): New macro.
13133 (libc_hidden_tls_proto): Likewise.
13134 (rtld_hidden_tls_proto): Likewise.
13135 (libm_hidden_tls_proto): Likewise.
13136 (libresolv_hidden_tls_proto): Likewise.
13137 (librt_hidden_tls_proto): Likewise.
13138 (libdl_hidden_tls_proto): Likewise.
13139 (libnss_files_hidden_tls_proto): Likewise.
13140 (libnsl_hidden_tls_proto): Likewise.
13141 (libnss_nisplus_hidden_tls_proto): Likewise.
13142 (libutil_hidden_tls_proto): Likewise.
13144 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13147 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13148 (decompose_rpath): Defer expansion to fillin_rpath.
13149 (_dl_init_paths): Pass linkmap to fillin_rpath.
13151 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13153 * benchtests/Makefile: Add strsep.
13154 * benchtests/bench-strsep.c: New file: strsep benchtest.
13155 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13157 2013-11-18 Andreas Schwab <schwab@suse.de>
13159 * locale/programs/locale.c (show_info) [case byte]: Check for
13160 '\377' instead of '\177'.
13161 * locale/C-monetary.c (not_available): Always use "\377".
13162 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13163 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13164 detect unavailable sign_posn locale elements.
13165 * locale/localeconv.c (__localeconv): For grouping and
13166 mon_grouping handle "\177" and "\377" like no grouping.
13167 (INT_ELEM): New macro. Use it to set all numeric members.
13168 * locale/programs/ld-monetary.c (monetary_read)
13169 <tok_mon_grouping>: Normalize single -1 to the empty string.
13170 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13173 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13176 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13177 when we match (nil).
13178 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13180 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13182 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13183 (NO_TEST_INLINE): Update value.
13184 (ERRNO_UNCHANGED): Likewise.
13185 (ERRNO_EDOM): Likewise.
13186 (ERRNO_ERANGE): Likewise.
13187 (IGNORE_RESULT): Likewise.
13188 (check_float_internal): Check signs of NaN results if
13189 TEST_NAN_SIGN used.
13190 (check_complex): Pass TEST_NAN_SIGN flag through to second
13191 check_float_internal call.
13192 (copysign_test_data): Add tests with quiet NaNs as second
13193 argument. Use TEST_NAN_SIGN.
13194 (fabs_test_data): Add test of negative quiet NaN argument. Use
13196 (signbit_test_data): Add tests of quiet NaN argument.
13197 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13199 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13201 (parse_args): Handle function results specified as IGNORE.
13202 * math/libm-test.inc (IGNORE_RESULT): New macro.
13203 (check_float_internal): Do not check numerical result if flag
13205 (check_complex): Pass through IGNORE_RESULT to second
13206 check_float_internal call.
13207 (check_int): Do not check numerical result if flag IGNORE_RESULT
13209 (check_long): Likewise.
13210 (check_bool): Likewise.
13211 (check_longlong): Likewise.
13212 (lrint_test_data): Add tests of infinite and NaN arguments.
13213 (lrint_tonearest_test_data): Likewise.
13214 (lrint_towardzero_test_data): Likewise.
13215 (lrint_downward_test_data): Likewise.
13216 (lrint_upward_test_data): Likewise.
13217 (llrint_test_data): Likewise.
13218 (llrint_tonearest_test_data): Likewise.
13219 (llrint_towardzero_test_data): Likewise.
13220 (llrint_downward_test_data): Likewise.
13221 (llrint_upward_test_data): Likewise.
13222 (lround_test_data): Likewise.
13223 (llround_test_data): Likewise.
13225 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13226 (ERRNO_UNCHANGED): Update value.
13227 (ERRNO_EDOM): Likewise.
13228 (ERRNO_ERANGE): Likewise.
13229 (NO_TEST_INLINE_FLOAT): New macro.
13230 (NO_TEST_INLINE_DOUBLE): Likewise.
13231 (enable_test): New function.
13232 (RUN_TEST_f_f): Check enable_test before running test.
13233 (RUN_TEST_2_f): Likewise.
13234 (RUN_TEST_fff_f): Likewise.
13235 (RUN_TEST_c_f): Likewise.
13236 (RUN_TEST_f_f1): Likewise.
13237 (RUN_TEST_fF_f1): Likewise.
13238 (RUN_TEST_fI_f1): Likewise.
13239 (RUN_TEST_ffI_f1): Likewise.
13240 (RUN_TEST_c_c): Likewise.
13241 (RUN_TEST_cc_c): Likewise.
13242 (RUN_TEST_f_i): Likewise.
13243 (RUN_TEST_f_i_tg): Likewise.
13244 (RUN_TEST_ff_i_tg): Likewise.
13245 (RUN_TEST_f_b): Likewise.
13246 (RUN_TEST_f_b_tg): Likewise.
13247 (RUN_TEST_f_l): Likewise.
13248 (RUN_TEST_f_L): Likewise.
13249 (RUN_TEST_fFF_11): Likewise.
13250 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13252 (cosh_test_data): Likewise.
13253 (exp_test_data): Likewise.
13254 (expm1_test_data): Likewise.
13255 (hypot_test_data): Likewise.
13256 (pow_test_data): Likewise.
13257 (sinh_test_data): Likewise.
13258 (tanh_test_data): Likewise.
13259 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13262 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13263 tests with quiet NaN input and output.
13264 (acosh_test_data): Likewise.
13265 (asin_test_data): Likewise.
13266 (asinh_test_data): Likewise.
13267 (atan_test_data): Likewise.
13268 (atanh_test_data): Likewise.
13269 (atan2_test_data): Likewise.
13270 (cbrt_test_data): Likewise.
13271 (cos_test_data): Likewise.
13272 (cosh_test_data): Likewise.
13273 (erf_test_data): Likewise.
13274 (erfc_test_data): Likewise.
13275 (exp_test_data): Likewise.
13276 (exp10_test_data): Likewise.
13277 (exp2_test_data): Likewise.
13278 (expm1_test_data): Likewise.
13279 (hypot_test_data): Likewise.
13280 (j0_test_data): Likewise.
13281 (j1_test_data): Likewise.
13282 (jn_test_data): Likewise.
13283 (lgamma_test_data): Likewise.
13284 (log_test_data): Likewise.
13285 (log10_test_data): Likewise.
13286 (log1p_test_data): Likewise.
13287 (log2_test_data): Likewise.
13288 (pow_test_data): Likewise.
13289 (scalb_test_data): Likewise.
13290 (sin_test_data): Likewise.
13291 (sincos_test_data): Likewise.
13292 (sinh_test_data): Likewise.
13293 (tan_test_data): Likewise.
13294 (tanh_test_data): Likewise.
13295 (tgamma_test_data): Likewise.
13296 (y0_test_data): Likewise.
13297 (y1_test_data): Likewise.
13298 (yn_test_data): Likewise.
13301 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13302 argument being NaN and avoid computations with second argument in
13304 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13305 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13306 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13308 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13310 * locale/iso-639.def: Add Chitwani Tharu (the).
13312 2013-11-14 Andreas Schwab <schwab@suse.de>
13314 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13315 word instead of empty string.
13317 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13320 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13322 (__fe_nomask_env): Likewise.
13324 2013-11-13 Steve Ellcey <sellcey@mips.com>
13326 * benchtests/bench-timing.h: Include time.h.
13328 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13331 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13333 * sysdeps/unix/sysv/linux/configure: Regenerated.
13335 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13338 * stdlib/strtod_l.c (round_and_return): Do not consider
13339 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13340 exponent one less than half the least subnormal exponent.
13341 * stdlib/test-strtod-round-data: Add more tests.
13342 * stdlib/tst-strtod-round.c (tests): Regenerated.
13344 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13347 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13348 (__fe_mask_env): Likewise.
13349 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13350 libm_hidden_proto and add function prototype.
13351 (__fe_mask_env): Add function prototype.
13352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13353 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13355 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13357 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13359 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13361 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13362 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13364 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13366 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13367 of htab_find_slot().
13369 2013-11-11 David S. Miller <davem@davemloft.net>
13372 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13373 symbol in the non-vis3 case in static builds.
13374 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13375 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13376 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13377 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13379 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13382 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13385 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13387 * benchtests/Makefile: Add bench-strtod.
13388 * benchtests/bench-strtod.c: New file: strtod benchtest
13390 2013-11-11 Andreas Schwab <schwab@suse.de>
13393 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13394 terminating NUL in key length.
13396 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13399 Add artificial ODP entry for vDSO symbol for PPC64.
13400 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13401 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13403 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13406 * nss/getent.c (services_keys): Recognize services starting with digit.
13408 2013-11-06 David S. Miller <davem@davemloft.net>
13411 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13412 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13414 2013-11-06 Will Newton <will.newton@linaro.org>
13416 * manual/memory.texi (Malloc Examples): Remove register
13417 keyword from examples.
13419 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13421 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13423 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13426 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13427 depending on [__GCC_IEC_559 > 0].
13428 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13429 depending on [__GCC_IEC_559_COMPLEX > 0].
13431 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13433 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13436 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13438 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13440 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13443 * malloc/malloc (malloc_info): Do not handle first bin as
13446 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13448 * locale/iso-639.def: Add Central Nahuatl (nhn).
13450 2013-11-01 Bruno Haible <bruno@clisp.org>
13453 * manual/math.texi (BSD Random): Specify range upper bound as
13456 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13458 * locale/iso-639.def: Add Meadow Mari (mhr).
13460 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13462 [BZ #14752], [BZ #15763]
13463 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13465 * rt/tst_shm.c: Add test for escaping directory.
13467 2013-10-31 Andreas Schwab <schwab@suse.de>
13470 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13471 followed by 'x' as part of digit sequence.
13472 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13474 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13477 * configure.ac: allow GNU Make 4.0 and greater.
13478 * configure: Regenerated.
13480 2013-10-30 Will Newton <will.newton@linaro.org>
13483 * malloc/hooks.c (memalign_check): Limit alignment to the
13484 maximum representable power of two.
13485 * malloc/malloc.c (__libc_memalign): Likewise.
13486 * malloc/tst-memalign.c (do_test): Add test for very
13487 large alignment values.
13488 * malloc/tst-posix_memalign.c (do_test): Likewise.
13490 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13493 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13494 (munmap_chunk): Likewise.
13495 (mremap_chunk): Likewise.
13497 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13500 * stdlib/div.c (div): Remove obsolete code.
13501 * stdlib/ldiv.c (ldiv): Likewise.
13502 * stdlib/lldiv.c (lldiv): Likewise.
13504 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13507 * nss/nss_files/files-XXX.c (get_contents_ret): New
13509 (get_contents): New function.
13510 (internal_getent): Use it. Expand size of LINEBUFLEN.
13512 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13514 * configure.in: Moved to ...
13515 * configure.ac: ... here. Change reference to configure.in
13517 * sysdeps/arm/preconfigure.ac: ... here.
13518 configure.in to configure.ac.
13519 * sysdeps/gnu/configure.in: Moved to ...
13520 * sysdeps/gnu/configure.ac: ... here.
13521 * sysdeps/i386/configure.in: Moved to ...
13522 * sysdeps/i386/configure.ac: ... here.
13523 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13524 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13525 * sysdeps/mach/configure.in: Moved to ...
13526 * sysdeps/mach/configure.ac: ... here.
13527 * sysdeps/mach/hurd/configure.in: Moved to ...
13528 * sysdeps/mach/hurd/configure.ac: ... here.
13529 * sysdeps/powerpc/configure.in: Moved to ...
13530 * sysdeps/powerpc/configure.ac: ... here.
13531 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13532 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13533 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13534 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13535 * sysdeps/s390/s390-32/configure.in: Moved to ...
13536 * sysdeps/s390/s390-32/configure.ac: ... here.
13537 * sysdeps/s390/s390-64/configure.in: Moved to ...
13538 * sysdeps/s390/s390-64/configure.ac: ... here.
13539 * sysdeps/sh/configure.in: Moved to ...
13540 * sysdeps/sh/configure.ac: ... here.
13541 * sysdeps/sparc/configure.in: Moved to ...
13542 * sysdeps/sparc/configure.ac: ... here.
13543 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13544 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13545 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13546 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13547 * sysdeps/x86_64/configure.in: Moved to ...
13548 * sysdeps/x86_64/configure.ac: ... here.
13549 * sysdeps/x86_64/preconfigure.in: Moved to ...
13550 * sysdeps/x86_64/preconfigure.ac: ... here.
13551 * aclocal.m4: Change reference to configure.in to configure.ac.
13552 * config.h.in: Likewise.
13553 * manual/install.texi: Likewise.
13554 * manual/maint.texi: Likewise.
13555 * Makefile: Likewise.
13556 * malloc/Makefile: Likewise.
13557 * nscd/Makefile: Likewise.
13558 * Makeconfig: Change reference to configure.in and
13559 preconfigure.in to configure.ac and preconfigure.ac
13561 * INSTALL: Regenerated.
13562 * configure: Likewise.
13563 * sysdeps/gnu/configure: Likewise.
13564 * sysdeps/i386/configure: Likewise.
13565 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13566 * sysdeps/mach/configure: Likewise.
13567 * sysdeps/mach/hurd/configure: Likewise.
13568 * sysdeps/powerpc/configure: Likewise.
13569 * sysdeps/powerpc/powerpc32/configure: Likewise.
13570 * sysdeps/powerpc/powerpc64/configure: Likewise.
13571 * sysdeps/s390/s390-32/configure: Likewise.
13572 * sysdeps/s390/s390-64/configure: Likewise.
13573 * sysdeps/sh/configure: Likewise.
13574 * sysdeps/sparc/configure: Likewise.
13575 * sysdeps/unix/sysv/linux/configure: Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13577 * sysdeps/x86_64/configure: Likewise.
13578 * sysdeps/x86_64/preconfigure: Likewise.
13580 2013-10-29 Andreas Schwab <schwab@suse.de>
13582 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13584 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13586 * benchtests/pow-inputs: Add new inputs.
13588 * benchtests/exp-inputs: Add new inputs.
13590 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13591 conditional check for return value.
13592 (__cos32): Likewise.
13594 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13596 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13597 to provide a boost for large inputs with word alignment.
13598 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13599 implementation based on optimized PPC64 strcpy.
13600 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13601 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13602 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13603 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13605 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13608 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13610 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13613 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13614 * time/tst-strptime.c (day_tests): Add testcase.
13616 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13619 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13621 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13624 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13625 MAP_FAILED on error.
13627 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13630 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13631 heap for large requests.
13633 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13636 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13637 result if the result has no associated interface.
13638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13639 interface for all 127.X.Y.Z addresses.
13641 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13643 * locale/iso-639.def: Add Ligurian (lij)
13645 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13648 * sunrpc/rpc_main.c: Document rpcgen -5.
13650 2013-10-19 Michael Stahl <mstahl@redhat.com>
13652 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13654 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13657 * posix/glob.c: Match only directories when trailing slash is present.
13658 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13659 (main): Add testcase.
13661 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13664 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13666 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13668 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13669 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13670 AUTH_DES and cindex for FIPS 140-2.
13671 (DES Encryption): Add cindex FIPS 46-3.
13673 * locale/locarchive.h (struct locarhandle): Add fname.
13674 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13675 if an optional argument was specified to --list-archive,
13677 * locale/programs/locarchive.c (show_archive_content): Take new
13678 argument fname and pass it via ah.fname to open_archive.
13679 * locale/programs/localedef.h: Update decl.
13680 (open_archive): If AH->fname is non-null, open that file
13681 rather than the default file name, and don't ignore ENOENT.
13682 (create_archive): Set AH.fname to NULL.
13683 (delete_locales_from_archive): Likewise.
13684 (add_locales_to_archive): Likewise.
13685 * locale/programs/locfile.c (write_all_categories): Likewise.
13687 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13688 Aldy Hernandez <aldyh@redhat.com>
13690 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13691 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13692 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13693 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13694 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13696 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13697 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13698 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13699 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13700 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13701 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13702 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13703 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13704 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13706 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13708 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13710 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13712 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13713 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13715 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13716 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13717 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13718 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13720 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13721 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13722 * sysdeps/powerpc/preconfigure: Likewise.
13723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13725 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13726 Replace contents of file by #include of <fenv_libc.h>.
13727 * sysdeps/powerpc/soft-fp/sfp-machine.h
13728 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13730 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13737 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13743 Allow copysignl PLT reference to be missing.
13745 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13746 Joseph Myers <joseph@codesourcery.com
13749 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13751 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13753 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13755 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13756 * elf/tst-tls1.c: Likewise.
13757 * elf/tst-tls10.h: Likewise.
13758 * elf/tst-tls14.c: Likewise.
13759 * elf/tst-tls2.c: Likewise.
13760 * elf/tst-tls3.c: Likewise.
13761 * elf/tst-tls4.c: Likewise.
13762 * elf/tst-tls5.c: Likewise.
13763 * elf/tst-tls6.c: Likewise.
13764 * elf/tst-tls7.c: Likewise.
13765 * elf/tst-tls8.c: Likewise.
13766 * elf/tst-tls9.c: Likewise.
13767 * elf/tst-tlsmod1.c: Likewise.
13768 * elf/tst-tlsmod13.c: Likewise.
13769 * elf/tst-tlsmod13a.c: Likewise.
13770 * elf/tst-tlsmod14a.c: Likewise.
13771 * elf/tst-tlsmod16a.c: Likewise.
13772 * elf/tst-tlsmod16b.c: Likewise.
13773 * elf/tst-tlsmod2.c: Likewise.
13774 * elf/tst-tlsmod3.c: Likewise.
13775 * elf/tst-tlsmod4.c: Likewise.
13776 * elf/tst-tlsmod5.c: Likewise.
13777 * elf/tst-tlsmod6.c: Likewise.
13779 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13782 * malloc/malloc.c: remove checks for statistics.
13784 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13787 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13788 * inet/tst-network.c: Add testcase.
13790 2013-10-17 Andreas Schwab <schwab@suse.de>
13793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13794 to determine canonical name.
13796 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13798 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13799 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13801 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13803 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13805 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13807 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13810 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13811 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13812 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13813 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13814 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13815 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13816 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13817 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13821 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13822 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13823 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13824 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13825 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13826 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13827 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13828 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13830 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13831 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13832 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13833 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13834 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13835 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13836 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13837 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13838 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13839 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13841 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13842 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13843 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13844 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13845 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13846 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13847 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13848 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13849 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13850 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13851 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13853 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13855 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13857 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13860 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13861 make result into a quiet NaN.
13863 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13865 * soft-fp/adddf3.c: Fix horizontal whitespace.
13866 * soft-fp/addsf3.c: Likewise.
13867 * soft-fp/addtf3.c: Likewise.
13868 * soft-fp/divdf3.c: Likewise.
13869 * soft-fp/divsf3.c: Likewise.
13870 * soft-fp/divtf3.c: Likewise.
13871 * soft-fp/double.h: Likewise.
13872 * soft-fp/eqdf2.c: Likewise.
13873 * soft-fp/eqsf2.c: Likewise.
13874 * soft-fp/eqtf2.c: Likewise.
13875 * soft-fp/extenddftf2.c: Likewise.
13876 * soft-fp/extended.h: Likewise.
13877 * soft-fp/extendsfdf2.c: Likewise.
13878 * soft-fp/extendsftf2.c: Likewise.
13879 * soft-fp/extendxftf2.c: Likewise.
13880 * soft-fp/fixdfdi.c: Likewise.
13881 * soft-fp/fixdfsi.c: Likewise.
13882 * soft-fp/fixdfti.c: Likewise.
13883 * soft-fp/fixsfdi.c: Likewise.
13884 * soft-fp/fixsfsi.c: Likewise.
13885 * soft-fp/fixsfti.c: Likewise.
13886 * soft-fp/fixtfdi.c: Likewise.
13887 * soft-fp/fixtfsi.c: Likewise.
13888 * soft-fp/fixtfti.c: Likewise.
13889 * soft-fp/fixunsdfdi.c: Likewise.
13890 * soft-fp/fixunsdfsi.c: Likewise.
13891 * soft-fp/fixunsdfti.c: Likewise.
13892 * soft-fp/fixunssfdi.c: Likewise.
13893 * soft-fp/fixunssfsi.c: Likewise.
13894 * soft-fp/fixunssfti.c: Likewise.
13895 * soft-fp/fixunstfdi.c: Likewise.
13896 * soft-fp/fixunstfsi.c: Likewise.
13897 * soft-fp/fixunstfti.c: Likewise.
13898 * soft-fp/floatdidf.c: Likewise.
13899 * soft-fp/floatdisf.c: Likewise.
13900 * soft-fp/floatditf.c: Likewise.
13901 * soft-fp/floatsidf.c: Likewise.
13902 * soft-fp/floatsisf.c: Likewise.
13903 * soft-fp/floatsitf.c: Likewise.
13904 * soft-fp/floattidf.c: Likewise.
13905 * soft-fp/floattisf.c: Likewise.
13906 * soft-fp/floattitf.c: Likewise.
13907 * soft-fp/floatundidf.c: Likewise.
13908 * soft-fp/floatundisf.c: Likewise.
13909 * soft-fp/floatunditf.c: Likewise.
13910 * soft-fp/floatunsidf.c: Likewise.
13911 * soft-fp/floatunsisf.c: Likewise.
13912 * soft-fp/floatunsitf.c: Likewise.
13913 * soft-fp/floatuntidf.c: Likewise.
13914 * soft-fp/floatuntisf.c: Likewise.
13915 * soft-fp/floatuntitf.c: Likewise.
13916 * soft-fp/fmadf4.c: Likewise.
13917 * soft-fp/fmasf4.c: Likewise.
13918 * soft-fp/fmatf4.c: Likewise.
13919 * soft-fp/gedf2.c: Likewise.
13920 * soft-fp/gesf2.c: Likewise.
13921 * soft-fp/getf2.c: Likewise.
13922 * soft-fp/ledf2.c: Likewise.
13923 * soft-fp/lesf2.c: Likewise.
13924 * soft-fp/letf2.c: Likewise.
13925 * soft-fp/muldf3.c: Likewise.
13926 * soft-fp/mulsf3.c: Likewise.
13927 * soft-fp/multf3.c: Likewise.
13928 * soft-fp/negdf2.c: Likewise.
13929 * soft-fp/negsf2.c: Likewise.
13930 * soft-fp/negtf2.c: Likewise.
13931 * soft-fp/op-1.h: Likewise.
13932 * soft-fp/op-2.h: Likewise.
13933 * soft-fp/op-4.h: Likewise.
13934 * soft-fp/op-8.h: Likewise.
13935 * soft-fp/op-common.h: Likewise.
13936 * soft-fp/quad.h: Likewise.
13937 * soft-fp/single.h: Likewise.
13938 * soft-fp/soft-fp.h: Likewise.
13939 * soft-fp/sqrtdf2.c: Likewise.
13940 * soft-fp/sqrtsf2.c: Likewise.
13941 * soft-fp/sqrttf2.c: Likewise.
13942 * soft-fp/subdf3.c: Likewise.
13943 * soft-fp/subsf3.c: Likewise.
13944 * soft-fp/subtf3.c: Likewise.
13945 * soft-fp/truncdfsf2.c: Likewise.
13946 * soft-fp/trunctfdf2.c: Likewise.
13947 * soft-fp/trunctfsf2.c: Likewise.
13948 * soft-fp/trunctfxf2.c: Likewise.
13949 * soft-fp/unorddf2.c: Likewise.
13950 * soft-fp/unordsf2.c: Likewise.
13951 * soft-fp/unordtf2.c: Likewise.
13953 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13955 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13956 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13958 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13960 * elf/dl-libc.c: Clear initfini list after freeing.
13962 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13964 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13965 * soft-fp/addsf3.c: Likewise.
13966 * soft-fp/addtf3.c: Likewise.
13967 * soft-fp/divdf3.c: Likewise.
13968 * soft-fp/divsf3.c: Likewise.
13969 * soft-fp/divtf3.c: Likewise.
13970 * soft-fp/double.h: Likewise.
13971 * soft-fp/eqdf2.c: Likewise.
13972 * soft-fp/eqsf2.c: Likewise.
13973 * soft-fp/eqtf2.c: Likewise.
13974 * soft-fp/extenddftf2.c: Likewise.
13975 * soft-fp/extended.h: Likewise.
13976 * soft-fp/extendsfdf2.c: Likewise.
13977 * soft-fp/extendsftf2.c: Likewise.
13978 * soft-fp/extendxftf2.c: Likewise.
13979 * soft-fp/fixdfdi.c: Likewise.
13980 * soft-fp/fixdfsi.c: Likewise.
13981 * soft-fp/fixdfti.c: Likewise.
13982 * soft-fp/fixsfdi.c: Likewise.
13983 * soft-fp/fixsfsi.c: Likewise.
13984 * soft-fp/fixsfti.c: Likewise.
13985 * soft-fp/fixtfdi.c: Likewise.
13986 * soft-fp/fixtfsi.c: Likewise.
13987 * soft-fp/fixtfti.c: Likewise.
13988 * soft-fp/fixunsdfdi.c: Likewise.
13989 * soft-fp/fixunsdfsi.c: Likewise.
13990 * soft-fp/fixunsdfti.c: Likewise.
13991 * soft-fp/fixunssfdi.c: Likewise.
13992 * soft-fp/fixunssfsi.c: Likewise.
13993 * soft-fp/fixunssfti.c: Likewise.
13994 * soft-fp/fixunstfdi.c: Likewise.
13995 * soft-fp/fixunstfsi.c: Likewise.
13996 * soft-fp/fixunstfti.c: Likewise.
13997 * soft-fp/floatdidf.c: Likewise.
13998 * soft-fp/floatdisf.c: Likewise.
13999 * soft-fp/floatditf.c: Likewise.
14000 * soft-fp/floatsidf.c: Likewise.
14001 * soft-fp/floatsisf.c: Likewise.
14002 * soft-fp/floatsitf.c: Likewise.
14003 * soft-fp/floattidf.c: Likewise.
14004 * soft-fp/floattisf.c: Likewise.
14005 * soft-fp/floattitf.c: Likewise.
14006 * soft-fp/floatundidf.c: Likewise.
14007 * soft-fp/floatundisf.c: Likewise.
14008 * soft-fp/floatunsidf.c: Likewise.
14009 * soft-fp/floatunsisf.c: Likewise.
14010 * soft-fp/floatuntidf.c: Likewise.
14011 * soft-fp/floatuntisf.c: Likewise.
14012 * soft-fp/floatuntitf.c: Likewise.
14013 * soft-fp/fmadf4.c: Likewise.
14014 * soft-fp/fmasf4.c: Likewise.
14015 * soft-fp/fmatf4.c: Likewise.
14016 * soft-fp/gedf2.c: Likewise.
14017 * soft-fp/gesf2.c: Likewise.
14018 * soft-fp/getf2.c: Likewise.
14019 * soft-fp/ledf2.c: Likewise.
14020 * soft-fp/lesf2.c: Likewise.
14021 * soft-fp/letf2.c: Likewise.
14022 * soft-fp/muldf3.c: Likewise.
14023 * soft-fp/mulsf3.c: Likewise.
14024 * soft-fp/multf3.c: Likewise.
14025 * soft-fp/negdf2.c: Likewise.
14026 * soft-fp/negsf2.c: Likewise.
14027 * soft-fp/negtf2.c: Likewise.
14028 * soft-fp/op-1.h: Likewise.
14029 * soft-fp/op-2.h: Likewise.
14030 * soft-fp/op-4.h: Likewise.
14031 * soft-fp/op-8.h: Likewise.
14032 * soft-fp/op-common.h: Likewise.
14033 * soft-fp/quad.h: Likewise.
14034 * soft-fp/single.h: Likewise.
14035 * soft-fp/soft-fp.h: Likewise.
14036 * soft-fp/sqrtdf2.c: Likewise.
14037 * soft-fp/sqrtsf2.c: Likewise.
14038 * soft-fp/sqrttf2.c: Likewise.
14039 * soft-fp/subdf3.c: Likewise.
14040 * soft-fp/subsf3.c: Likewise.
14041 * soft-fp/subtf3.c: Likewise.
14042 * soft-fp/truncdfsf2.c: Likewise.
14043 * soft-fp/trunctfdf2.c: Likewise.
14044 * soft-fp/trunctfsf2.c: Likewise.
14045 * soft-fp/trunctfxf2.c: Likewise.
14046 * soft-fp/unorddf2.c: Likewise.
14047 * soft-fp/unordsf2.c: Likewise.
14048 * soft-fp/unordtf2.c: Likewise.
14050 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14053 * misc/error.c (error_tail): Fix possible buffer overflow.
14055 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14058 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14061 2013-10-14 P. J. McDermott <pj@pehjota.net>
14064 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14065 testing pipefail option.
14067 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14069 * soft-fp/double.h: Indent preprocessor directives inside #if.
14070 * soft-fp/extended.h: Likewise.
14071 * soft-fp/op-2.h: Likewise.
14072 * soft-fp/op-4.h: Likewise.
14073 * soft-fp/op-common.h: Likewise.
14074 * soft-fp/quad.h: Likewise.
14075 * soft-fp/single.h: Likewise.
14076 * soft-fp/soft-fp.h: Likewise.
14078 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14080 * iconv/iconv_prog.c: Fix typos.
14081 * stdio-common/psiginfo-data.h: Likewise.
14083 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14086 * locale/setlocale.c: Fix typo.
14088 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14091 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14092 signaling NaN arguments.
14093 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14094 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14097 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14098 unordered operands.
14099 * soft-fp/gesf2.c (__gesf2): Likewise.
14100 * soft-fp/getf2.c (__getf2): Likewise.
14101 * soft-fp/ledf2.c (__ledf2): Likewise.
14102 * soft-fp/lesf2.c (__lesf2): Likewise.
14103 * soft-fp/letf2.c (__letf2): Likewise.
14105 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14106 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14107 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14108 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14109 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14110 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14111 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14112 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14113 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14114 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14115 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14116 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14117 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14118 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14119 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14120 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14121 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14122 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14123 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14124 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14125 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14126 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14127 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14128 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14129 * soft-fp/floattidf.c (__floattidf): Likewise.
14130 * soft-fp/floattisf.c (__floattisf): Likewise.
14131 * soft-fp/floattitf.c (__floattitf): Likewise.
14132 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14133 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14134 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14135 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14136 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14137 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14138 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14139 * soft-fp/gesf2.c (__gesf2): Likewise.
14140 * soft-fp/getf2.c (__getf2): Likewise.
14141 * soft-fp/ledf2.c (__ledf2): Likewise.
14142 * soft-fp/lesf2.c (__lesf2): Likewise.
14143 * soft-fp/letf2.c (__letf2): Likewise.
14145 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14146 Undefine and redefine.
14147 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14148 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14149 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14150 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14151 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14152 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14153 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14154 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14155 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14156 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14157 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14158 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14159 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14160 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14161 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14164 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14165 without decrementing exponent if mantissa >= that for the
14166 denominator, not >.
14167 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14168 denominator, not >. Decrement exponent in < case instead of
14169 incrementing in >= case.
14170 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14171 without decrementing exponent if mantissa >= that for the
14172 denominator, not >.
14174 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14175 computing saturated result for unsigned overflow.
14177 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14178 Jeff Law <law@redhat.com>
14180 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14181 (atan2Mp): Add systemtap probe marker.
14182 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14183 (__ieee754_log): Add systemtap probe marker.
14184 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14185 (atanMp): Add systemtap probe marker.
14186 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14187 (tanMp): Add systemtap probe marker.
14188 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14189 (__slowexp): Add systemtap probe marker.
14190 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14191 (__slowpow): Add systemtap probe marker.
14192 * manual/probes.texi: Document probes.
14194 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14197 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14199 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14201 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14202 written to buffer but not flushed.
14203 * libio/iofwrite_u.c: Likewise.
14204 * libio/iopadn.c: Return bytes returned even if EOF was
14206 * libio/iowpadn.c: Likewise.
14207 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14208 if _IO_padn does not write the whole buffer.
14209 [!COMPILE_WPRINTF] (PAD): Likewise.
14211 2013-10-10 David S. Miller <davem@davemloft.net>
14213 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14216 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14218 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14219 instead of FSF address.
14220 * soft-fp/fixdfti.c: Likewise.
14221 * soft-fp/fixsfti.c: Likewise.
14222 * soft-fp/fixtfti.c: Likewise.
14223 * soft-fp/fixunsdfti.c: Likewise.
14224 * soft-fp/fixunssfti.c: Likewise.
14225 * soft-fp/fixunstfti.c: Likewise.
14226 * soft-fp/floattidf.c: Likewise.
14227 * soft-fp/floattisf.c: Likewise.
14228 * soft-fp/floattitf.c: Likewise.
14229 * soft-fp/floatuntidf.c: Likewise.
14230 * soft-fp/floatuntisf.c: Likewise.
14231 * soft-fp/floatuntitf.c: Likewise.
14232 * soft-fp/trunctfxf2.c: Likewise.
14234 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14235 * soft-fp/fixdfti.c: Likewise.
14236 * soft-fp/fixsfti.c: Likewise.
14237 * soft-fp/fixtfti.c: Likewise.
14238 * soft-fp/fixunsdfti.c: Likewise.
14239 * soft-fp/fixunssfti.c: Likewise.
14240 * soft-fp/fixunstfti.c: Likewise.
14241 * soft-fp/floattidf.c: Likewise.
14242 * soft-fp/floattisf.c: Likewise.
14243 * soft-fp/floattitf.c: Likewise.
14244 * soft-fp/floatuntidf.c: Likewise.
14245 * soft-fp/floatuntisf.c: Likewise.
14246 * soft-fp/floatuntitf.c: Likewise.
14247 * soft-fp/trunctfxf2.c: Likewise.
14249 2013-10-10 David S. Miller <davem@davemloft.net>
14251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14253 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14255 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14256 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14257 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14258 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14259 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14260 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14261 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14264 for NaNs before doing comparisons on argument.
14265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14268 2013-10-10 Will Newton <will.newton@linaro.org>
14270 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14271 passed to _int_memalign does not overflow.
14273 2013-10-10 Torvald Riegel <triegel@redhat.com>
14275 * scripts/bench.pl: Add include-sources directive.
14276 * benchtests/README: Update documentation.
14278 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14280 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14281 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14282 instead of FP_INIT_ROUNDMODE.
14283 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14284 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14287 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14288 copy class of input value.
14289 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14290 not handle exceptions.
14291 * soft-fp/negsf2.c (__negsf2): Likewise.
14292 * soft-fp/negtf2.c (__negtf2): Likewise.
14293 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14295 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14297 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14298 semicolon. From Linux kernel.
14300 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14302 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14304 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14307 * manual/socket.texi: Added statement about buffer
14308 for gethostbyname2_r.
14310 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14312 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14313 Use .p2align directive instead, throughout.
14314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14315 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14316 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14317 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14318 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14319 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14320 * sysdeps/x86_64/strchr.S: Likewise.
14321 * sysdeps/x86_64/strrchr.S: Likewise.
14323 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14325 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14327 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14329 * sysdeps/generic/math_private.h (__mpsin1): Remove
14331 (__mpcos1): Likewise.
14332 (__mpsin): New argument __range_reduce.
14333 (__mpcos): Likewise.
14334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14335 (slow): Use __mpsin and __mpcos.
14339 (sloww1): Likewise.
14340 (sloww2): Likewise.
14341 (bsloww): Likewise.
14342 (bsloww1): Likewise.
14343 (bsloww2): Likewise.
14344 (cslow2): Likewise.
14345 (csloww): Likewise.
14346 (csloww1): Likewise.
14347 (csloww2): Likewise.
14348 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14349 range_reduce. Merge in __mpsin1.
14350 (__mpcos): Likewise.
14351 (__mpsin1): Remove.
14352 (__mpcos1): Likewise.
14354 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14356 * locale/loadlocale.c (_nl_intern_locale_data): Use
14358 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14359 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14360 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14361 obstack data is appropriately aligned.
14362 (obstack_int32_grow_fast): Likewise.
14363 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14364 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14365 (add_locale_uint32_array): Likewise.
14367 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14369 * benchtests/Makefile: Remove ARGLIST and RET variables.
14370 ($(objpfx)bench-%.c): Pass only function name to the script.
14371 * benchtests/README: Update documentation.
14372 * benchtests/acos-inputs: Add new directives.
14373 * benchtests/acosh-inputs: Likewise.
14374 * benchtests/asin-inputs: Likewise.
14375 * benchtests/asinh-inputs: Likewise.
14376 * benchtests/atan-inputs: Likewise.
14377 * benchtests/atanh-inputs: Likewise.
14378 * benchtests/cos-inputs: Likewise.
14379 * benchtests/cosh-inputs: Likewise.
14380 * benchtests/exp-inputs: Likewise.
14381 * benchtests/log-inputs: Likewise.
14382 * benchtests/pow-inputs: Likewise.
14383 * benchtests/rint-inputs: Likewise.
14384 * benchtests/sin-inputs: Likewise.
14385 * benchtests/sinh-inputs: Likewise.
14386 * benchtests/tan-inputs: Likewise.
14387 * benchtests/tanh-inputs: Likewise.
14388 * scripts/bench.pl: Add support for new directives.
14390 2013-10-07 Alan Modra <amodra@gmail.com>
14392 * README: Fix careless merge.
14394 2013-10-05 Alan Modra <amodra@gmail.com>
14396 * NEWS: Mention powerpc64le support and bugs fixed.
14397 * README: Both big-endian and little-endian powerpc64 supported.
14399 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14401 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14402 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14403 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14404 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14406 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14408 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14411 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14413 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14414 Move -mhard-float appending from
14415 ports/sysdeps/powerpc/powerpc32/Makefile.
14416 [$(with-fp) = yes] (ASFLAGS): Likewise.
14417 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14418 * sysdeps/powerpc/nofpu: Move directory from
14419 ports/sysdeps/powerpc/nofpu.
14420 * sysdeps/powerpc/soft-fp: Move directory from
14421 ports/sysdeps/powerpc/soft-fp.
14422 * sysdeps/powerpc/powerpc32/405: Move directory from
14423 ports/sysdeps/powerpc/powerpc32/405.
14424 * sysdeps/powerpc/powerpc32/440: Move directory from
14425 ports/sysdeps/powerpc/powerpc32/440.
14426 * sysdeps/powerpc/powerpc32/464: Move directory from
14427 ports/sysdeps/powerpc/powerpc32/464.
14428 * sysdeps/powerpc/powerpc32/476: Move directory from
14429 ports/sysdeps/powerpc/powerpc32/476.
14430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14431 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14435 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14437 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14439 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14440 * README: Update for powerpc-*-linux-gnu software floating point
14443 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14444 case to powerpc/powerpc32*.
14445 * sysdeps/unix/sysv/linux/configure: Regenerated.
14447 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14448 (_FPU_MASK_OM): Define as 0x04.
14449 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14452 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14454 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14457 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14460 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14463 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14464 and setcontext_e500.
14466 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14468 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14470 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14472 * manual/threads.texi (Default Thread Attributes): Fix typo.
14474 2013-10-04 Will Newton <will.newton@linaro.org>
14476 * malloc/Makefile: Add tst-memalign.
14477 * malloc/tst-memalign.c: New file.
14479 * malloc/tst-posix_memalign.c: Add comments.
14480 (do_test): Add comments and call free on all potentially
14481 allocated pointers. Add space after cast.
14483 * malloc/tst-pvalloc.c: Add comments.
14484 (do_test): Add comments and call free on all potentially
14485 allocated pointers. Remove duplicate check for NULL pointer.
14486 Add space after cast.
14488 * malloc/tst-valloc.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 2013-10-04 Alan Modra <amodra@gmail.com>
14495 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14496 Use stdint types in rather than __attribute__((mode())).
14497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14499 2013-10-04 Alan Modra <amodra@gmail.com>
14501 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14502 Correct handling of unaligned relocs for little-endian.
14503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14505 2013-10-04 Alan Modra <amodra@gmail.com>
14507 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14508 * configure: Regenerate.
14509 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14510 * shlib-versions: Likewise.
14512 2013-10-04 Alan Modra <amodra@gmail.com>
14514 * string/tester.c (test_memrchr): Increment reported test cycle.
14516 2013-10-04 Alan Modra <amodra@gmail.com>
14518 * string/test-memcpy.c (do_one_test): When reporting errors, print
14519 string address and don't overrun end of string.
14521 2013-10-04 Alan Modra <amodra@gmail.com>
14523 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14524 insrdi. Make better use of reg selection to speed exit slightly.
14525 Schedule entry path a little better. Remove useless "are we done"
14526 checks on entry to main loop. Handle wrapping around zero address.
14527 Correct main loop count. Handle single left-over word from main
14528 loop inline rather than by using loop_small. Remove extra word
14529 case in loop_small caused by wrong loop count. Add little-endian
14531 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14532 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14534 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14535 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14536 support. Avoid rlwimi.
14537 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14539 2013-10-04 Alan Modra <amodra@gmail.com>
14541 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14542 insrdi. Formatting.
14543 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14544 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14545 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14546 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14547 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14548 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14550 2013-10-04 Alan Modra <amodra@gmail.com>
14552 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14553 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14554 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14555 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14556 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14557 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14558 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14559 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14560 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14561 use of regs. Use power7 mtocrf. Tidy function tails.
14563 2013-10-04 Alan Modra <amodra@gmail.com>
14565 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14566 Formatting. Consistently use rXXX register defines or rN defines.
14567 Use early exit labels that avoid restoring unused non-volatile regs.
14568 Make cr field use more consistent with rWORDn compares. Rename
14569 regs used as shift registers for unaligned loop, using rN defines
14570 for short lifetime/multiple use regs.
14571 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14572 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14573 addi 1,1,64 to pop stack frame. Simplify return value code.
14574 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14576 2013-10-04 Alan Modra <amodra@gmail.com>
14578 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14579 support. Correct typos, formatting. Optimize tail. Use insrdi
14580 rather than rlwimi.
14581 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14582 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14583 little-endian support. Correct typos.
14584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14585 rather than rlwimi.
14586 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14587 in loop and entry code to keep "and." results.
14588 (strchr): Add little-endian support. Comment. Move cntlzd
14590 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14592 2013-10-04 Alan Modra <amodra@gmail.com>
14594 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14595 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14596 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14597 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14599 2013-10-04 Alan Modra <amodra@gmail.com>
14601 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14602 (rTMP): Define as r11.
14603 (strcmp): Add little-endian support. Optimise tail.
14604 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14605 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14606 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14608 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14612 2013-10-04 Alan Modra <amodra@gmail.com>
14614 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14615 little-endian support. Remove unnecessary "are we done" tests.
14616 Handle "s" wrapping around zero and extremely large "size".
14617 Correct main loop count. Handle single left-over word from main
14618 loop inline rather than by using small_loop. Correct comments.
14619 Delete "zero" tail, use "end_max" instead.
14620 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14622 2013-10-04 Alan Modra <amodra@gmail.com>
14624 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14625 support. Don't branch over align.
14626 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14627 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14628 support. Rearrange tmp reg use to suit. Comment.
14629 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14631 2013-10-04 Alan Modra <amodra@gmail.com>
14633 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14635 2013-10-04 Alan Modra <amodra@gmail.com>
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14638 conditional form of branch and link when obtaining pc.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14641 2013-10-04 Alan Modra <amodra@gmail.com>
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14648 2013-10-04 Alan Modra <amodra@gmail.com>
14650 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14651 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14652 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14653 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14654 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14655 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14656 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14657 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14658 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14659 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14661 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14662 Alistair Popple <alistair@ozlabs.au.ibm.com>
14663 Alan Modra <amodra@gmail.com>
14666 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14667 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14668 _dl_hwcap access for little-endian.
14669 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14670 destroy vmx regs when saving unaligned.
14671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14672 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14673 destroy vmx regs when saving unaligned.
14675 2013-10-04 Alan Modra <amodra@gmail.com>
14677 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14678 Don't use a union to pack hi/low value.
14680 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14682 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14684 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14686 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14687 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14688 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14690 2013-10-04 Alan Modra <amodra@gmail.com>
14692 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14693 constants to usual value for .cst8 section, and remove redundant
14695 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14696 constant for 0x1p52. Load little-endian words of double from
14697 correct stack offsets.
14699 2013-10-04 Alan Modra <amodra@gmail.com>
14701 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14702 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14703 words of double from correct stack offsets.
14704 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14706 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14707 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14708 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14709 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14711 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14712 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14713 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14715 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14716 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14717 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14718 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14719 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14720 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14722 2013-10-04 Alan Modra <amodra@gmail.com>
14724 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14725 64-bit int/double union.
14726 (_FPU_SETCW): Likewise.
14727 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14728 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14730 2013-10-04 Alan Modra <amodra@gmail.com>
14732 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14733 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14735 2013-10-04 Alan Modra <amodra@gmail.com>
14737 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14738 use vector int constants.
14739 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14741 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14743 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14744 array with long long.
14745 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14746 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14747 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14748 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14749 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14750 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14751 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14752 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14753 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14754 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14755 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14756 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14757 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14759 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14761 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14762 (__signbit): Likewise. Correct for little-endian.
14763 (__signbitl): Call __signbit.
14764 (lrint): Correct for little-endian.
14765 (lrintf): Call lrint.
14767 2013-10-04 Alan Modra <amodra@gmail.com>
14769 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14770 union 32-bit int array member with 64-bit int array.
14771 (t515, tm256): Double rather than long double.
14772 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14774 2013-10-04 Alan Modra <amodra@gmail.com>
14776 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14778 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14779 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14780 version of math_ldbl.h.
14782 2013-10-04 Alan Modra <amodra@gmail.com>
14784 [BZ #15734], [BZ #15735]
14785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14786 all uses of ieee875 long double macros and unions. Simplify test
14787 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14788 ldbl_extract_mantissa value for ix,iy exponents. Properly
14789 normalize after ldbl_extract_mantissa, and don't add hidden bit
14790 already handled. Don't treat low word of ieee854 mantissa like
14791 low word of IBM long double and mask off bit when testing for
14793 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14794 all uses of ieee875 long double macros and unions. Simplify tests
14795 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14796 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14797 two1022, instead use their values. Recognise that tests for large
14798 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14799 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14800 Rewrite all uses of ieee875 long double macros and unions. Simplify
14801 test for 0.0L and nan. Correct negation.
14802 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14803 ieee875 long double macros and unions. Correct output for large
14804 magnitude x. Correct absolute value calculation.
14805 (__erfcl): Likewise.
14806 * math/libm-test.inc: Add tests for errors discovered in IBM long
14807 double versions of fmodl, remainderl, erfl and erfcl.
14809 2013-10-04 Alan Modra <amodra@gmail.com>
14811 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14812 all uses of ieee854 long double macros and unions. Simplify tests
14813 for long doubles that are fully specified by the high double.
14814 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14816 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14817 Remove dead code too.
14818 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14819 (__ieee754_ynl): Likewise.
14820 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14821 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14823 Remove dead code too.
14824 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14831 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14832 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14833 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14834 Comment on variable precision.
14835 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14836 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14838 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14839 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14840 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14841 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14842 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14844 2013-10-04 Alan Modra <amodra@gmail.com>
14846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14847 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14848 all uses of ieee854 long double macros and unions.
14849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14851 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14854 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14856 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14857 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14858 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14860 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14861 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14862 Simplify sign and nan test too.
14863 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14864 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14865 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14866 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14868 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14869 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14872 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14873 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14876 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14878 2013-10-04 Alan Modra <amodra@gmail.com>
14880 * stdio-common/printf_size.c (__printf_size): Don't use
14881 union ieee854_long_double in fpnum union.
14882 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14883 signbit macro to retrieve sign from long double.
14884 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14885 retrieve sign from long double.
14886 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14887 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14888 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14889 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14890 * math/test-misc.c (main): Don't use union ieee854_long_double.
14892 2013-10-04 Alan Modra <amodra@gmail.com>
14895 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14896 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14897 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14898 calculation. Remove unnecessary test for denormal exponent.
14899 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14900 Correct handling of denormals. Avoid undefined shift behaviour.
14901 Correct normalisation of low mantissa when low double is denormal.
14902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14903 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14904 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14905 Correct normalisation of low mantissa. Test for overflow of high
14906 mantissa and normalise.
14907 (ldbl_nearbyint): Use more readable constant for two52.
14908 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14909 (__mpn_construct_long_double): Fix test for overflow of high
14910 mantissa and correct normalisation. Avoid undefined shift.
14912 2013-10-04 Alan Modra <amodra@gmail.com>
14914 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14915 (union ibm_extended_long_double): Define as an array of ieee754_double.
14916 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14918 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14919 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14921 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14923 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14928 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14930 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14931 page size instead of calling getpagesize.
14933 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14934 (LOCFILE_ALIGN_MASK): Likewise.
14935 (LOCFILE_ALIGN_UP): Likewise.
14936 (LOCFILE_ALIGNED_P): Likewise.
14937 * locale/programs/ld-collate.c (collate_output): Use the new
14938 macros instead of __alignof__ (int32_t).
14939 * locale/weight.h (findidx): Likewise.
14941 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14944 * manual/string.texi: Fix strncat and wcsncat.
14946 2013-10-03 Brooks Moses <bmoses@google.com>
14949 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14950 * Makerules: ...here, and adjust associated comments.
14952 2013-10-02 Will Newton <will.newton@linaro.org>
14954 * malloc/Makefile: Add tst-pvalloc.
14955 * malloc/tst-pvalloc.c: New file.
14957 2013-10-02 Will Newton <will.newton@linaro.org>
14959 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14960 improve test coverage.
14962 2013-10-02 Will Newton <will.newton@linaro.org>
14964 * malloc/Makefile: Add tst-posix_memalign.
14965 * malloc/tst-posix_memalign.c: New file.
14967 2013-10-01 Eric Blake <eblake@redhat.com>
14969 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14970 Use __THROWNL rather than __THROW on static functions.
14972 2013-09-30 Petr Machata <pmachata@redhat.com>
14974 * elf/elf.h (R_AARCH64_ABS16): New macro.
14975 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14976 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14977 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14978 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14979 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14980 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14981 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14982 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14983 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14984 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14985 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14986 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14987 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14988 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14989 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14990 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14991 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14992 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14993 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14994 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14995 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14996 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14997 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14998 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14999 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15000 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15001 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15002 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15003 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15004 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15005 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15006 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15007 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15008 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15009 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15010 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15011 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15012 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15013 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15014 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15015 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15016 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15017 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15018 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15019 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15020 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15021 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15022 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15023 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15024 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15025 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15026 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15027 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15028 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15029 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15030 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15031 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15032 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15033 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15034 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15035 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15036 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15037 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15038 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15039 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15040 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15041 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15042 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15043 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15044 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15045 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15046 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15047 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15048 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15049 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15050 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15051 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15052 (R_AARCH64_TLSDESC_LDR): Likewise.
15053 (R_AARCH64_TLSDESC_ADD): Likewise.
15054 (R_AARCH64_TLSDESC_CALL): Likewise.
15056 2013-09-30 Andreas Schwab <schwab@suse.de>
15059 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15060 the nss database lookup.
15061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15064 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15066 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15068 2013-09-28 P. J. McDermott <pj@pehjota.net>
15070 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15071 ${Bash-specific parameter/pattern/string} parameter expansion.
15072 * sysdeps/unix/make-syscalls.sh: Likewise.
15074 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15076 * sysdeps/sh/stackguard-macros.h: New file.
15078 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15082 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15083 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15084 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15085 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15087 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15089 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15090 Fix thread ID register.
15092 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15094 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15095 [POSIX || UNIX98]: Require rather than permitting all symbols from
15097 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15098 element of struct sched_param.
15099 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15100 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15101 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15102 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15105 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15107 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15108 argument calculation.
15110 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15112 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15114 [POSIX] (pthread_attr_t): Do not require type.
15115 [POSIX] (pthread_cond_t): Likewise.
15116 [POSIX] (pthread_condattr_t): Likewise.
15117 [POSIX] (pthread_key_t): Likewise.
15118 [POSIX] (pthread_mutex_t): Likewise.
15119 [POSIX] (pthread_mutexattr_t): Likewise.
15120 [POSIX] (pthread_once_t): Likewise.
15121 [POSIX] (pthread_t): Likewise.
15122 [POSIX-based standards] (pthread_atfork): Expect function.
15124 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15125 Richard Sandiford <richard@codesourcery.com>
15127 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15128 (swap_endianness_p): New extern variable.
15129 (set_big_endian): New inline function.
15130 (maybe_swap_uint32): Likewise.
15131 (maybe_swap_uint32_array): Likewise.
15132 (maybe_swap_uint32_obstack): Likewise.
15133 * locale/programs/locfile.c: Include <stdbool.h>.
15134 (swap_endianness_p): New variable.
15135 (add_locale_uint32): Call maybe_swap_uint32.
15136 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15137 (write_locale_data): Call maybe_swap_uint32_array.
15138 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15140 (obstack_int32_grow_fast): Likewise.
15141 (output_weightwc): Call maybe_swap_uint32_obstack.
15142 (collate_output): Likewise.
15143 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15144 (OPT_LITTLE_ENDIAN): Likewise.
15145 (options): Add --little-endian and --big-endian options.
15146 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15147 * locale/programs/locarchive.c: Include "locfile.h".
15151 (create_archive): Use the new macros to access fields of
15152 structures directly mapped from or written to locale archives.
15153 (oldlocrecentcmp): Likewise.
15154 (enlarge_archive): Likewise.
15155 (insert_name): Likewise.
15156 (add_alias): Likewise.
15157 (add_locale): Likewise.
15158 (delete_locales_from_archive): Likewise.
15159 (show_archive_content): Likewise.
15160 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15163 2013-09-24 Roland McGrath <roland@hack.frob.com>
15165 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15166 http://www.gnu.org/doc/freemanuals.texi.
15167 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15169 2013-09-24 Will Newton <will.newton@linaro.org>
15171 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15174 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15176 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15179 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15181 * manual/threads.texi (POSIX Threads): Fix a typo.
15183 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15186 * string/tst-strcoll-overflow.c: New test case.
15187 * string/Makefile (xtests): Add tst-strcoll-overflow.
15188 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15189 cache if string sizes may cause integer overflow.
15192 * string/strcoll_l.c (coll_seq): New members rule, idx,
15193 save_idx and back_us.
15194 (get_next_seq_nocache): New function.
15195 (do_compare_nocache): New function.
15196 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15199 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15202 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15203 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15204 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15207 * elf/Makefile (tests): Add tst-ptrguard1.
15208 (tests-static): Add tst-ptrguard1-static.
15209 (tst-ptrguard1-ARGS): Define.
15210 (tst-ptrguard1-static-ARGS): Define.
15211 * elf/tst-ptrguard1.c: New file.
15212 * elf/tst-ptrguard1-static.c: New file.
15213 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15214 * sysdeps/i386/stackguard-macros.h: Likewise.
15215 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15216 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15217 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15218 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15219 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15220 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15222 2013-09-23 Hector Marco <hecmargi@upv.es>
15223 Ismael Ripoll <iripoll@disca.upv.es>
15224 Carlos O'Donell <carlos@redhat.com>
15227 * sysdeps/generic/stackguard-macros.h: Define
15228 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15229 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15230 Define __pointer_chk_guard_local.
15231 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15232 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15234 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15237 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15239 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15241 * include/string.h (__ffs): Declare as hidden.
15242 * string/ffs.c (__ffs): Define as hidden.
15243 * sysdeps/i386/ffs.c (__ffs): Likewise.
15244 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15245 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15246 * sysdeps/s390/ffs.c (__ffs): Likewise.
15247 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15249 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15251 * NEWS: Mention malloc probes.
15253 * malloc/arena.c (new_heap): New memory_heap_new probe.
15254 (grow_heap): New memory_heap_more probe.
15255 (shrink_heap): New memory_heap_less probe.
15256 (heap_trim): New memory_heap_free probe.
15257 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15258 (systrim): New memory_sbrk_less probe.
15259 * manual/probes.texi: Document them.
15261 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15262 * manual/probes.texi: Document it.
15264 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15265 (__libc_realloc): Add memory_realloc_retry probe.
15266 (__libc_memalign): Add memory_memalign_retry probe.
15267 (__libc_valloc): Add memory_valloc_retry probe.
15268 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15269 (__libc_calloc): Add memory_calloc_retry probe.
15270 * manual/probes.texi: Document them.
15272 * malloc/arena.c (get_free_list): Add probe
15273 memory_arena_reuse_free_list.
15274 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15275 and memory_arena_reuse.
15276 (arena_get2) [!PER_THREAD]: Likewise.
15277 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15278 memory_arena_reuse_realloc.
15279 * manual/probes.texi: Document them.
15281 * malloc/malloc.c (__libc_free): Add
15282 memory_mallopt_free_dyn_thresholds probe.
15283 (__libc_mallopt): Add multiple memory_mallopt probes.
15284 * manual/probes.texi: Document them.
15286 * malloc/malloc.c: Include stap-probe.h.
15287 (__libc_mallopt): Add memory_mallopt probe.
15288 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15289 * manual/probes.texi: New.
15290 * manual/Makefile (chapters): Add probes.
15291 * manual/threads.texi: Set next node.
15293 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15295 [BZ #15963, #13985]
15296 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15297 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15298 Add `Chinese' to `nan' entry name.
15300 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15302 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15303 (POLYNOMIAL): Likewise.
15304 (TAYLOR_SINCOS): Likewise.
15305 (TAYLOR_SLOW): Likewise.
15306 (__sin): Use TAYLOR_SINCOS.
15308 (slow): Use TAYLOR_SLOW.
15310 (bsloww): Likewise.
15311 (csloww): Likewise.
15313 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15315 * stdlib/strtod_l.c: Fix buffer overrun.
15317 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15319 * benchtests/Makefile (bench): Add sincos.
15320 * benchtests/bench-sincos.c: New file.
15322 * math/libm-test.inc (cos_test_data): New test inputs.
15323 (sin_test_data): Likewise.
15325 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15331 (sloww1): Likewise.
15332 (sloww2): Likewise.
15333 (bsloww1): Likewise.
15334 (bsloww2): Likewise.
15335 (cslow2): Likewise.
15336 (csloww1): Likewise.
15337 (csloww2): Likewise.
15339 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15348 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15350 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15351 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15352 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15353 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15354 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15355 * elf/cache.c (print_entry): Handle the new cache flags.
15357 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15358 Aldy Hernandez <aldyh@redhat.com>
15360 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15361 Change condition to [_SOFT_FLOAT].
15362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15374 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15377 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15380 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15382 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15383 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15384 (__longjmp): Use LOAD_GP to load saved GPRs.
15385 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15386 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15387 (__sigsetjmp): Use SAVE_GP to save GPRs.
15389 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15390 Do not append -msoft-float.
15391 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15393 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15395 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15397 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15400 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15401 (_FPU_GETCW): Use initial "__" on variable and field names but not
15402 on macro parameter name.
15403 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15404 parentheses around reference to macro parameter.
15406 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15408 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15410 (ctype_startup): Use uint32_t in cast and sizeof for
15413 2013-09-11 Jia Liu <proljc@gmail.com>
15415 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15417 [__FreeBSD__]: Likewise.
15419 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15422 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15423 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15424 (strchr): Remove __strchr_sse42 ifunc selection.
15425 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15426 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15428 2013-09-11 Will Newton <will.newton@linaro.org>
15430 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15431 parameter to RES. Remove hardcoded 1000 value.
15432 * benchtests/bench-skeleton.c (main): Pass RES parameter
15433 to TIMING_INIT and multiply result by 1000.
15435 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15439 2013-09-11 Andreas Schwab <schwab@suse.de>
15441 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15443 (O_TMPFILE) [__USE_GNU]: Define.
15444 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15447 2013-09-11 Will Newton <will.newton@linaro.org>
15450 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15453 2013-09-11 Will Newton <will.newton@linaro.org>
15456 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15459 2013-09-11 Will Newton <will.newton@linaro.org>
15462 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15465 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15467 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15471 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15473 2013-09-10 Allan McRae <allan@archlinux.org>
15476 * manual/arith.texi (Parsing of Floats): Clarify
15480 * manual/install.texi (Running make install): Mention
15482 * INSTALL: Regenerated.
15484 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15486 * csu/init-first.c (_init): Remove the !SHARED condition around
15487 FPU control word initialization.
15488 * elf/dl-support.c (_dl_fpu_control): New variable.
15489 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15490 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15491 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15492 * math/test-fpucw-static.c: New file.
15493 * math/test-fpucw-ieee.c: New file.
15494 * math/test-fpucw-ieee-static.c: New file.
15495 * math/Makefile (tests): Add `test-fpucw-ieee' and
15497 (tests-static): New variable.
15498 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15500 [($(build-shared),yes)]
15501 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15503 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15506 2013-09-09 Allan McRae <allan@archlinux.org>
15509 * manual/string.texi (Collation Functions): Fix typo in
15511 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15514 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15517 * libio/memstream.c (open_memstream): Fix memory leak.
15518 * libio/wmemstream.c (open_wmemstream): Likewise.
15521 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15523 2013-09-09 Will Newton <will.newton@linaro.org>
15525 * malloc/Makefile: Add tst-realloc to tests.
15526 * malloc/tst-realloc.c: New file.
15528 2013-09-09 Allan McRae <allan@archlinux.org>
15531 * COPYING: Update from GNU website to fix FSF address.
15532 * COPYING.LIB: Likewise.
15534 2013-09-06 David S. Miller <davem@davemloft.net>
15536 * po/zh_TW.po: Update Chinese (traditional) translation from
15537 translation project.
15539 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15540 Joseph Myers <joseph@codesourcery.com>
15542 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15544 (obstack_chunk_alloc): New macro.
15545 (obstack_chunk_free): Likewise.
15546 (record_offset): New function.
15547 (init_locale_data): Likewise.
15548 (align_locale_data): Likewise.
15549 (add_locale_empty): Likewise.
15550 (add_locale_raw_data): Likewise.
15551 (add_locale_raw_obstack): Likewise.
15552 (add_locale_string): Likewise.
15553 (add_locale_wstring): Likewise.
15554 (add_locale_uint32): Likewise.
15555 (add_locale_uint32_array): Likewise.
15556 (add_locale_char): Likewise.
15557 (start_locale_structure): Likewise.
15558 (end_locale_structure): Likewise.
15559 (start_locale_prelude): Likewise.
15560 (end_locale_prelude): Likewise.
15561 (write_locale_data): Take locale_file structure rather than an
15563 * locale/programs/locfile.h: Include "obstack.h".
15564 (struct locale_file): Change to store locale file contents instead
15566 (init_locale_data): New prototype.
15567 (align_locale_data): Likewise.
15568 (add_locale_empty): Likewise.
15569 (add_locale_raw_data): Likewise.
15570 (add_locale_raw_obstack): Likewise.
15571 (add_locale_string): Likewise.
15572 (add_locale_wstring): Likewise.
15573 (add_locale_uint32): Likewise.
15574 (add_locale_uint32_array): Likewise.
15575 (add_locale_char): Likewise.
15576 (start_locale_structure): Likewise.
15577 (end_locale_structure): Likewise.
15578 (start_locale_prelude): Likewise.
15579 (end_locale_prelude): Likewise.
15580 (write_locale_data): Update prototype.
15581 * locale/programs/3level.h (struct TABLE): Remove result field.
15582 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15583 Use new locale_file interface.
15584 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15585 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15586 * locale/programs/ld-address.c (address_output): Use new
15587 locale_file interface.
15588 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15590 (collate_finish): Don't call collseq_table_finalize.
15591 (collate_output): Use new locale_file interface.
15592 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15594 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15595 (TABLE): Move defines earlier in file.
15596 (ELEMENT): Likewise.
15597 (DEFAULT): Likewise.
15598 (wctrans_table_add): Move macro and inline function earlier in
15600 (struct wctype_table): Move type earlier in file.
15601 (add_locale_wctype_table): New static prototype.
15602 (struct locale_ctype_t): Use logical types instead of struct iovec
15603 pointers for members.
15604 (ctype_output): Use new locale_file interface.
15605 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15606 new locale_file interface.
15607 (allocate_arrays): Update for use of new locale_file interface.
15608 * locale/programs/ld-identification.c (identification_output): Use
15609 new locale_file interface.
15610 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15611 * locale/programs/ld-messages.c (messages_output): Likewise.
15612 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15613 * locale/programs/ld-name.c (name_output): Likewise.
15614 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15615 * locale/programs/ld-paper.c (paper_output): Likewise.
15616 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15617 * locale/programs/ld-time.c (time_output): Likewise.
15619 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15621 * benchtests/Makefile: Add memrchr benchmark.
15622 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15623 benchmark as memrchr.
15624 * benchtests/bench-memrchr-ifunc.c: New file.
15625 * benchtests/bench-memrchr.c: New file.
15627 2013-09-06 Will Newton <will.newton@linaro.org>
15629 * benchtests/Makefile (string-bench): Add memcpy.
15631 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15632 Cong Wang <amwang@redhat.com>
15635 * sysdeps/unix/sysv/linux/bits/in.h
15636 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15637 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15638 before __USE_KERNEL_IPV6_DEFS uses.
15639 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15641 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15642 sockaddr_in6, or ipv6_mreq.
15644 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15646 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15647 memory access for final bytes in some large inputs.
15648 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15650 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15652 * string/test-memrchr.c: New file.
15653 * string/test-memrchr-ifunc.c: New file.
15654 * string/Makefile: Add new memrchr testcase.
15656 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15658 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15659 fanotify_init returns EPERM.
15661 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15663 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15665 (top level): Treat second token from macro or constant entries for
15666 allowed headers as allowed.
15667 * include/complex.h: Condition internal declarations on
15669 * include/fenv.h: Condition include of <stdbool.h> and internal
15670 declarations on [!_ISOMAC].
15672 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15675 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15677 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15679 * configure.in (--enable-versioning): Remove configure option.
15680 (libc_cv_asm_symver_directive): Remove configure test.
15681 (libc_cv_ld_version_script_option): Likewise.
15682 (VERSIONING): Remove variable and AC_SUBST.
15683 (DO_VERSIONING): Remove AC_DEFINE.
15684 * configure: Regenerated.
15685 * config.h.in (DO_VERSIONING): Remove macro.
15686 * Makerules [$(versioning) = yes]: Change conditionals to
15687 [$(build-shared) = yes].
15688 * config.make.in (versioning): Remove variable.
15689 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15690 [$(build-shared) = yes].
15691 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15692 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15693 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15694 [$(build-shared) = yes].
15695 * extra-lib.mk [$(versioning) = yes]: Likewise.
15696 * hurd/Makefile [$(versioning) = yes]: Likewise.
15697 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15699 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15701 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15702 [SHARED && !NO_HIDDEN].
15703 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15705 [SHARED && DO_VERSIONING]: Likewise..
15706 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15707 [$(build-shared) = yes].
15708 * manual/install.texi (--disable-versioning): Remove
15710 * INSTALL: Regenerated.
15711 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15713 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15714 [$(build-shared) = yes].
15715 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15716 * sysdeps/i386/i686/multiarch/strstr-c.c
15717 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15718 [SHARED && !NO_HIDDEN].
15719 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15720 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15721 * sysdeps/powerpc/powerpc32/dl-machine.c
15722 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15723 * sysdeps/powerpc/powerpc32/sysdep.h
15724 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15725 to [SHARED && PIC && !NO_HIDDEN].
15726 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15727 conditional to [SHARED].
15729 2013-09-04 Will Newton <will.newton@linaro.org>
15731 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15732 * benchtests/bench-string.h: Include bench-timing.h instead
15733 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15734 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15735 call to HP_TIMING_DIFF_INIT.
15736 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15737 instead of hp-timing.h macros.
15738 * benchtests/bench-memchr.c: Likewise.
15739 * benchtests/bench-memcmp.c: Likewise.
15740 * benchtests/bench-memcpy.c: Likewise.
15741 * benchtests/bench-memmem.c: Likewise.
15742 * benchtests/bench-memmove.c: Likewise.
15743 * benchtests/bench-memset.c: Likewise.
15744 * benchtests/bench-rawmemchr.c: Likewise.
15745 * benchtests/bench-strcasecmp.c: Likewise.
15746 * benchtests/bench-strcasestr.c: Likewise.
15747 * benchtests/bench-strcat.c: Likewise.
15748 * benchtests/bench-strchr.c: Likewise.
15749 * benchtests/bench-strcmp.c: Likewise.
15750 * benchtests/bench-strcpy.c: Likewise.
15751 * benchtests/bench-strcpy_chk.c: Likewise.
15752 * benchtests/bench-strlen.c: Likewise.
15753 * benchtests/bench-strncasecmp.c: Likewise.
15754 * benchtests/bench-strncat.c: Likewise.
15755 * benchtests/bench-strncmp.c: Likewise.
15756 * benchtests/bench-strncpy.c: Likewise.
15757 * benchtests/bench-strnlen.c: Likewise.
15758 * benchtests/bench-strpbrk.c: Likewise.
15759 * benchtests/bench-strrchr.c: Likewise.
15760 * benchtests/bench-strspn.c: Likewise.
15761 * benchtests/bench-strstr.c: Likewise.
15763 2013-09-04 Will Newton <will.newton@linaro.org>
15765 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15767 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15770 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15771 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15772 * math/libm-test.inc (lgamma_test_data): Add more tests.
15773 * sysdeps/i386/fpu/libm-test-ulps: Update.
15774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15776 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15778 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15782 Add strcmp-sse2-unaligned
15783 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15785 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15787 * Versions.def (libc): Add GLIBC_2.19.
15789 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15791 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15792 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15794 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15797 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15798 intermediate calculations in recurrence.
15799 (__ieee754_ynf): Likewise.
15800 * math/libm-test.inc (jn_test_data): Do not allow spurious
15801 underflow exception. Add more tests.
15802 (yn_test_data): Add more tests.
15803 * sysdeps/i386/fpu/libm-test-ulps: Update.
15804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15806 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15808 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15810 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15812 * csu/init-first.c: Fix then/than typos.
15813 * locale/programs/ld-collate.c: Likewise.
15814 * locale/programs/linereader.h: Likewise.
15815 * manual/charset.texi: Likewise.
15816 * manual/filesys.texi: Likewise.
15817 * manual/stdio.texi: Likewise.
15818 * manual/string.texi: Likewise.
15819 * stdlib/fmtmsg.c: Likewise.
15820 * sysdeps/i386/stpncpy.S: Likewise.
15821 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15822 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15823 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15824 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15826 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15828 * elf/dl-open.c: Fix typos.
15829 * iconvdata/gbbig5.c: Likewise.
15830 * iconvdata/iso-2022-jp.c: Likewise.
15831 * iconv/gconv_int.h: Likewise.
15832 * iconv/loop.c: Likewise.
15833 * nis/rpcsvc/nis.h: Likewise.
15834 * resolv/ns_name.c: Likewise.
15835 * stdio-common/vfscanf.c: Likewise.
15836 * streams/stropts.h: Likewise.
15837 * sunrpc/rpc_thread.c: Likewise.
15838 * sysdeps/i386/strpbrk.S: Likewise.
15839 * sysdeps/ieee754/k_standard.c: Likewise.
15840 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15842 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15843 * sysdeps/mach/hurd/profil.c: Likewise.
15844 * sysdeps/s390/dl-procinfo.h: Likewise.
15845 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15846 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15847 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15848 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15851 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15853 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15856 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15858 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15859 aix specific files.
15860 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15861 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15863 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15864 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15865 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15866 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15867 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15869 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15870 Roland McGrath <roland@hack.frob.com>
15872 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15873 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15875 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15877 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15878 __executable_start symbol instead of _start.
15880 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15882 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15883 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15885 * sysdeps/gnu/ldsodefs.h: ... this new file.
15887 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15888 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15889 instead of ELFOSABI_LINUX.
15891 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15892 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15893 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15894 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15896 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15897 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15900 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15901 (ibm_extended_long_double): Add ieee_nan member.
15902 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15903 (do_test): New function.
15905 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15907 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15908 functions, renamed from truncdfsf_test, trunctfsf_test,
15910 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15912 (do_test): Run all these.
15914 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15916 * argp/argp-help.c: Fix typos.
15917 * argp/argp-parse.c: Likewise.
15918 * debug/backtracesyms.c: Likewise.
15919 * elf/elf.h: Likewise.
15920 * malloc/malloc.c: Likewise.
15921 * nis/nis_print.c: Likewise.
15922 * resolv/res_comp.c: Likewise.
15923 * stdlib/stdlib.h: Likewise.
15924 * sunrpc/clnt_tcp.c: Likewise.
15925 * sunrpc/clnt_udp.c: Likewise.
15926 * sunrpc/clnt_unix.c: Likewise.
15927 * sysdeps/unix/bsd/ptsname.c: Likewise.
15928 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15936 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15938 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15940 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15943 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15946 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15947 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15948 ($(objpfx)bug-dl-leaf): New rule.
15949 ($(objpfx)bug-dl-leaf.so): Likewise.
15950 ($(objpfx)bug-dl-leaf.out): Likewise.
15951 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15952 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15953 * dlfcn/bug-dl-leaf.c: New test.
15954 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15955 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15956 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15957 (dlclose): Likewise.
15958 (dlmopen): Likewise.
15960 2013-08-27 Roland McGrath <roland@hack.frob.com>
15962 * include/netdb.h [!_ISOMAC]:
15963 Don't include <tls.h>.
15964 (h_errno, __libc_h_errno): Move declaration and macros out of
15967 * include/resolv.h [_RESOLV_H_]:
15968 Don't include <tls.h>.
15969 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15970 * resolv/res_libc.c: Don't include <tls.h>.
15971 (_res): Use __attribute__ ((nocommon)) in place of
15972 __attribute__ ((section (".bss"))).
15974 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15975 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15977 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15979 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15980 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15982 * resolv/res_mkquery.c: Include <sys/time.h>.
15984 * inet/ifreq.c: Moved to ...
15985 * sysdeps/unix/ifreq.c: ... here.
15986 * inet/ifreq.c: New file, true stub version.
15988 * socket/sa_len.c: New file.
15989 * socket/Makefile (aux): Add it.
15990 * sysdeps/unix/sysv/linux/Makefile
15991 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15992 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15993 and #include <socket/sa_len.c>.
15994 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15995 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15997 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15998 * bits/socket.h: ... here.
16000 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16001 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16002 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16004 2013-08-27 Andreas Schwab <schwab@suse.de>
16007 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16008 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16009 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16010 * string/test-strcasecmp.c (test_main): Run tests in several
16012 * string/test-strncasecmp.c (test_main): Likewise.
16014 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16015 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16016 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16018 (__strncasecmp_ssse3) [PIC]: Likewise.
16020 2013-08-26 Roland McGrath <roland@hack.frob.com>
16022 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16024 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16025 instead of explicitly declaring xdecrypt.
16026 * nis/nss_nis/nis-publickey.c: Likewise.
16028 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16031 * nscd/aicache.c: Include res_hconf.h.
16032 (addhstaiX): Initialize res_hconf.
16034 2013-08-26 Andreas Schwab <schwab@suse.de>
16036 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16037 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16039 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16041 * nscd/aicache.c (addhstaiX): Fix indentation.
16043 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16045 * configure.ac: Quote $build_pt_chown test.
16046 * configure: Regenerated.
16048 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16051 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16052 * math/s_cexpf.c (__cexpf): Likewise.
16053 * math/s_cexpl.c (__cexpl): Likewise.
16054 * math/libm-test.inc (cexp_test_data): Correct expected return
16055 value for NaN + i0. Add another test.
16057 2013-08-22 David S. Miller <davem@davemloft.net>
16059 * po/ca.po: Update Catalan translation from translation project.
16060 * po/uk.po: Add Ukrainian translations from translation project.
16062 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16065 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16066 is infinite, not alongside NaN test.
16067 * math/s_fdimf.c (__fdimf): Likewise.
16068 * math/s_fdiml.c (__fdiml): Likewise.
16069 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16070 errno is unchanged.
16072 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16074 * argp/argp-help.c: Fix typos.
16075 * crypt/speeds.c: Likewise.
16076 * csu/check_fds.c: Likewise.
16077 * elf/dl-load.c: Likewise.
16078 * elf/dl-open.c: Likewise.
16079 * elf/reldep3.c: Likewise.
16080 * elf/reldep.c: Likewise.
16081 * elf/sprof.c: Likewise.
16082 * iconv/iconv_charmap.c: Likewise.
16083 * iconv/skeleton.c: Likewise.
16084 * iconv/strtab.c: Likewise.
16085 * io/lockf64.c: Likewise.
16086 * libio/libioP.h: Likewise.
16087 * resolv/gai_notify.c: Likewise.
16088 * resolv/ns_name.c: Likewise.
16089 * resolv/ns_samedomain.c: Likewise.
16090 * resolv/res_send.c: Likewise.
16091 * stdlib/random.c: Likewise.
16092 * sunrpc/rpc/xdr.h: Likewise.
16093 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16095 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16096 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16097 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16098 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16099 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16100 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16101 * sysdeps/mach/hurd/check_fds.c: Likewise.
16102 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16103 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16104 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16106 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16108 * sysdeps/pthread/aio_notify.c: Likewise.
16109 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16110 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16113 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16115 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16117 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16118 version if bit_Slow_SSE4_2 is set.
16119 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16120 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16122 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16125 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16126 trampoline stack frame information.
16127 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16128 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16129 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16130 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16131 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16132 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16133 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16134 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16136 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16137 interrupting a syscall and set with option SA_SIGINFO.
16139 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16142 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16143 argument is infinite.
16144 * math/s_cprojf.c (__cprojf): Likewise.
16145 * math/s_cprojl.c (__cprojl): Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16147 * math/libm-test.inc (cproj_test_data): Add more tests.
16149 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16151 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16152 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16153 size. Use __ffs to determine corresponding shift.
16155 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16156 Roland McGrath <roland@hack.frob.com>
16158 * Makefile (INSTALL): Remove trailing blank lines from output of
16161 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16163 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16164 Align 32 bit compat elf_greg to 8 bytes.
16166 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16168 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16170 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16172 * string/strcoll_l.c (coll_seq): New structure.
16173 (get_next_seq_cached): New function.
16174 (get_next_seq): New function.
16175 (do_compare): New function.
16176 (STRCOLL): Use GNU style definition. Simplify implementation
16177 by using get_next_seq, get_next_seq_cached and do_compare.
16179 2013-08-16 Florian Weimer <fweimer@redhat.com>
16183 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16185 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16187 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16188 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16189 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16191 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16192 GETDENTS_64BIT_ALIGNED.
16193 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16194 * manual/filesys.texi (Reading/Closing Directory): Document
16195 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16197 * manual/conf.texi (Limits for Files): Add portability note to
16198 NAME_MAX, PATH_MAX.
16199 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16201 2013-08-13 Andreas Schwab <schwab@suse.de>
16204 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16206 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16207 LDBL_MAX_EXP >= 16384]: Add tests for it.
16209 2013-08-12 David S. Miller <davem@davemloft.net>
16211 * version.h (RELEASE): Set to "development".
16212 (VERSION): Set to "2.18.90".
16213 * NEWS: Add 2.19 section.
16215 2013-08-03 David S. Miller <davem@davemloft.net>
16217 * po/ko.po: Update Korean translation from translation project.
16219 2013-08-01 David S. Miller <davem@davemloft.net>
16221 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16222 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16225 2013-07-30 David S. Miller <davem@davemloft.net>
16227 * po/fr.po: Update French translation from translation project.
16229 2013-07-28 David S. Miller <davem@davemloft.net>
16231 * po/cs.po: Update Czech translation from translation project.
16233 * po/sv.po: Update Swedish translation from translation project.
16235 2013-07-27 David S. Miller <davem@davemloft.net>
16237 * po/eo.po: Update Esperanto translation from translation project.
16239 * po/vi.po: Update Vietnamese translation from translation project.
16241 * po/de.po: Update German translation from translation project.
16243 2013-07-26 David S. Miller <davem@davemloft.net>
16245 * po/bg.po: Update Bulgarian translation from translation project.
16247 * po/nl.po: Update Dutch translation from translation project.
16248 * po/pl.po: Update Polish translation from translation project.
16249 * po/ru.po: Update Russian translation from translation project.
16251 2013-07-24 David S. Miller <davem@davemloft.net>
16253 * po/libc.pot: Update.
16255 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16258 variable page size.
16259 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16260 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16261 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16263 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16265 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16267 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16268 Andreas Schwab <schwab@suse.de>
16269 Roland McGrath <roland@hack.frob.com>
16270 Joseph Myers <joseph@codesourcery.com>
16271 Carlos O'Donell <carlos@redhat.com>
16274 * config.h.in: Define HAVE_PT_CHOWN.
16275 * config.make.in (build-pt-chown): New variable.
16276 * configure.in (--enable-pt_chown): New configure option.
16277 * configure: Regenerate.
16278 * login/Makefile: Include Makeconfig. Build pt_chown only if
16279 build-pt-chown is enabled.
16280 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16281 pt_chown to fix pty ownership.
16282 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16284 * manual/install.texi (Configuring and compiling): Mention
16285 --enable-pt_chown. Add @findex for grantpt.
16286 * INSTALL: Regenerate.
16288 2013-07-20 David S. Miller <davem@davemloft.net>
16290 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16291 difference between 32-bit and 64-bit.
16293 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16296 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16297 Avoid system header dependency with -ffreestanding.
16298 ($(objpfx)bits/syscall%d): Likewise.
16300 2013-07-13 David S. Miller <davem@davemloft.net>
16302 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16303 underflows from atanl/atan2l due to bug 15319.
16304 (casinh_test_data): Likewise.
16306 2013-07-07 David S. Miller <davem@davemloft.net>
16308 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16310 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16312 * sysdeps/i386/fpu/libm-test-ulps: Update.
16313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16315 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16317 * configure.in (--enable-lock-elision): Fix message text.
16318 * INSTALL: Regenerate.
16319 * configure: Regenerate.
16321 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16325 2013-07-03 Andreas Jaeger <aj@suse.de>
16327 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16329 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16330 (ptrace_peeksiginfo_args): Add.
16331 (__ptrace_peeksiginfo_flags): Add.
16332 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16333 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16334 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16336 2013-07-03 Allan McRae <allan@archlinux.org>
16338 * sysdeps/i386/fpu/libm-test-ulps: Update.
16340 2013-07-02 David S. Miller <davem@davemloft.net>
16342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16344 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16346 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16348 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16350 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16353 2013-07-02 Andi Kleen <ak@linux.intel.com>
16355 * config.h.in (ENABLE_LOCK_ELISION): Add.
16356 * configure.in (--enable-lock-elision): Add option.
16357 * manual/install.texi: Document --enable lock elision.
16358 * configure: Regenerate
16359 * INSTALL: Regenerate.
16361 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16363 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16364 SSE4.2 strcasecmp for libc.a.
16365 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16367 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16370 * soft-fp/op-common.h (_FP_FMA): New macro.
16371 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16372 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16373 (_FP_MUL_MEAT_1_imm): ... here.
16374 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16375 (_FP_MUL_MEAT_1_wide): ... here.
16376 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16377 (_FP_MUL_MEAT_1_hard): ... here.
16378 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16379 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16380 (_FP_MUL_MEAT_2_wide): ... here.
16381 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16382 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16383 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16384 (_FP_MUL_MEAT_2_gmp): ... here.
16385 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16386 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16387 (_FP_MUL_MEAT_4_wide): ... here.
16388 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16389 (_FP_MUL_MEAT_4_gmp): ... here.
16390 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16391 (_FP_WFRACBITS_DW_S): Likewise.
16392 (_FP_WFRACXBITS_DW_S): Likewise.
16393 (_FP_HIGHBIT_DW_S): Likewise.
16394 (FP_FMA_S): Likewise.
16395 (_FP_FRAC_HIGH_DW_S): Likewise.
16396 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16397 (_FP_WFRACBITS_DW_D): Likewise.
16398 (_FP_WFRACXBITS_DW_D): Likewise.
16399 (_FP_HIGHBIT_DW_D): Likewise.
16400 (FP_FMA_D): Likewise.
16401 (_FP_FRAC_HIGH_DW_D): Likewise.
16402 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16403 (_FP_WFRACBITS_DW_E): Likewise.
16404 (_FP_WFRACXBITS_DW_E): Likewise.
16405 (_FP_HIGHBIT_DW_E): Likewise.
16406 (FP_FMA_E): Likewise.
16407 (_FP_FRAC_HIGH_DW_E): Likewise.
16408 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16409 (_FP_WFRACBITS_DW_Q): Likewise.
16410 (_FP_WFRACXBITS_DW_Q): Likewise.
16411 (_FP_HIGHBIT_DW_Q): Likewise.
16412 (FP_FMA_Q): Likewise.
16413 (_FP_FRAC_HIGH_DW_Q): Likewise.
16414 * soft-fp/fmasf4.c: New file.
16415 * soft-fp/fmadf4.c: Likewise.
16416 * soft-fp/fmatf4.c: Likewise.
16418 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16421 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16423 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16425 (index_Slow_SSE4_2): Likewise.
16426 (index_Prefer_PMINUB_for_stringop): Likewise.
16427 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16428 bit_Slow_SSE4_2 is set.
16429 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16430 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16432 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16434 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16435 rtld_global._dl_hwcap2.
16436 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16438 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16439 POWER8 feature descriptions defined in _dl_hwcap2.
16440 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16441 string handling for POWER8 feature bits.
16442 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16443 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16444 _dl_powerpc_cap_flags.
16445 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16446 * sysdeps/powerpc/rtld-global-offsets.sym
16447 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16448 _dl_hwcap2 in the rtld_global_ro structure.
16450 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16452 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16453 hardware capabilities in support of AT_HWCAP2.
16454 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16455 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16457 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16458 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16459 explicitly the unknown a_type display mechanism is used.
16460 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16461 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16463 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16464 to macro prototype for AT_HWCAP2 support.
16465 * sysdeps/i386/dl-procinfo.h: Likewise.
16466 * sysdeps/s390/dl-procinfo.h: Likewise.
16467 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16468 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16469 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16470 return -1 for unknown a_type display fallback.
16471 * sysdeps/sparc/dl-procinfo.h: Likewise.
16472 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16473 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16475 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16477 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16478 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16480 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16483 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16484 mprotect making __stack_prot writable.
16486 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16487 Joseph Myers <joseph@codesourcery.com>
16489 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16490 as being properly aligned.
16492 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16494 * dlfcn/modstatic5.c: New file.
16495 * dlfcn/tststatic5.c: New file.
16496 * dlfcn/Makefile (tests): Add tststatic5.
16497 (tests-static): Likewise.
16498 (modules-names): Add modstatic5.
16499 (tststatic5-ENV): New variable.
16500 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16503 * elf/dl-support.c (_dl_main_map): New variable.
16504 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16505 (_dl_nns, _dl_load_adds): Set to 1.
16506 (_dl_initial_searchlist): Refer to _dl_main_map.
16507 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16508 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16509 call to _dl_get_origin.
16510 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16512 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16513 * dlfcn/modstatic3.c: New file.
16514 * dlfcn/tststatic3.c: New file.
16515 * dlfcn/tststatic4.c: New file.
16516 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16517 (tests-static): Likewise.
16518 (modules-names): Add modstatic3.
16519 (tststatic3-ENV, tststatic4-ENV): New variables.
16520 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16521 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16523 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16525 * configure.in (CC): Require GCC version 4.4 or later.
16526 * configure: Regenerated.
16527 * manual/install.texi (Tools for Compilation): Update GCC version
16529 * INSTALL: Regenerated.
16531 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16534 * string/test-memcmp.c (check2): New.
16535 (main): Call check2.
16537 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16539 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16542 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16544 (dl_open_worker) [!SHARED]: ... here.
16546 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16548 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16550 2013-06-25 Richard Henderson <rth@redhat.com>
16552 * locale/programs/locarchive.c: Include <libc-internal.h>
16554 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16556 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16557 trailing whitespace removed.
16559 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16562 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16563 * locale/programs/locarchive.c: Include libc-mmap.h.
16564 (prepare_address_space): Take two new outputs (the mmap base and len).
16565 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16567 (create_archive): Declare new mmap base and len values for
16568 prepare_address_space, and store the result in ah.
16569 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16570 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16571 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16572 Declare new mmap base and len values for
16573 prepare_address_space, and store the result in new_ah.
16574 (open_archive): Declare new mmap base and len values for
16575 prepare_address_space, and store the result in ah.
16576 (close_archive): If ah->mmap_base is not NULL, use that and
16577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16578 * sysdeps/generic/libc-mmap.h: New file.
16580 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16582 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16583 (ALIGN_UP): Likewise.
16584 (PTR_ALIGN_DOWN): Likewise.
16585 (PTR_ALIGN_UP): Likewise.
16587 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16589 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16590 entry mapped to PPC_PLATFORM_POWER8.
16591 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16593 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16594 (_dl_string_platform): Add case for exporting platform position for
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16597 search path to sysdeps/powerpc/powerpc32/power8 directory.
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16599 search path to sysdeps/powerpc/powerpc64/power8 directory.
16600 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16601 power7 directories.
16602 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16603 power7 directories.
16605 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16607 * INSTALL: Regenerate.
16609 * nscd/connections.c (nscd_init): Fix comment.
16611 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16613 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16616 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16617 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16619 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16621 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16623 (DL_DST_REQ_STATIC): Remove macro.
16625 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16628 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16629 with a shift of 0 bits.
16631 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16633 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16636 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16639 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16641 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16643 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16644 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16645 accepts -fno-tree-loop-distribute-patterns.
16646 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16647 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16649 * string/memset.c (memset): Likewise.
16650 * string/test-memmove.c (simple_memmove): Disable loop transformation
16652 * string/test-memset.c (simple_memset): Likewise.
16653 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16654 * benchtests/bench-memset.c (simple_memset): Likewise.
16655 * configure: Regenerated.
16657 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16659 * math/test-misc.c (main): Ignore fesetround failure when failures
16660 of subsequent rounding tests would be ignored.
16663 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16664 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16665 * math/fegetenv.c (__fegetenv): Return 0.
16666 * math/fegetexcept.c (fegetexcept): Return 0.
16667 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16669 * math/feholdexcpt.c (feholdexcept): Return 0.
16670 * math/fesetenv.c (__fesetenv): Return 0.
16671 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16672 argument FE_TONEAREST.
16673 * math/feupdateenv.c (__feupdateenv): Return 0.
16674 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16676 2013-06-18 Roland McGrath <roland@hack.frob.com>
16678 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16679 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16680 ($(objpfx)rtld-%.os rules): Use them.
16682 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16684 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16687 2013-06-17 Roland McGrath <roland@hack.frob.com>
16689 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16690 length of target pattern, then descending length of dependency pattern.
16691 * configure.in (AWK): Require gawk 3.1.2 or newer.
16692 * manual/install.texi (Tools for Compilation): Say that we do.
16693 * configure: Regenerated.
16695 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16696 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16697 * scripts/sysd-rules.awk: ... this new script.
16698 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16699 than a glob-style pattern.
16701 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16703 * math/test-misc.c (main): Do not treat incorrectly rounded
16704 conversions as failure unless ROUNDING_TESTS passes.
16706 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16709 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16710 restore exception state around main square root computation, then
16711 check for inexactness explicitly.
16713 * math/libm-test.inc (fma_test_data): Add another test.
16715 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16717 * manual/threads.texi (Non-POSIX Extensions): New document
16718 node. Document pthread_getattr_default_np and
16719 pthread_setattr_default_np.
16721 * Versions.def (libpthread): Add GLIBC_2.18.
16722 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16731 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16742 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16745 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16747 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16748 H.J. Lu <hjl.tools@gmail.com>
16751 * sysdeps/x86_64/rtld-memset.c: Remove file.
16752 * sysdeps/x86_64/rtld-memset.S: New file.
16754 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16756 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16757 (test_in_one_mode): Take arguments for whether the rounding mode
16758 is supported for each floating-point type.
16759 (do_test): Pass new arguments to test_in_one_mode using
16762 2013-06-13 Roland McGrath <roland@hack.frob.com>
16764 * posix/tst-waitid.c (do_test): Distinguish different instances of
16765 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16766 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16767 before entering the kernel for waitpid.
16769 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16771 * NEWS: Fix note on clock function precision. Text by Roland
16774 2013-06-13 Roland McGrath <roland@hack.frob.com>
16776 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16777 it into place only when and if the sanity check passes.
16779 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16781 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16782 output for whether conversion result is exact. Take argument
16783 indicating whether type is IBM long double.
16784 (round_for_all): Change need_exact field to ibm_ld.
16785 * stdlib/tst-strtod-round.c (struct exactness): New type.
16786 (struct test): Change bool ld_ok field to struct exactness exact.
16787 (TEST): Update all definitions for change to field.
16788 (tests): Regenerate array contents.
16789 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16790 field value. Check for IBM long double here.
16791 (do_test): Update calls to test_in_one_mode.
16793 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16796 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16797 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16799 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16802 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16803 generated by the compiler on loop optimizations.
16804 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16805 general definitions.
16807 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16809 * math/bug-nextafter.c: Include <math-tests.h>.
16810 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16812 * math/bug-nexttoward.c: Include <math-tests.h>.
16813 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16815 * math/test-misc.c: Include <math-tests.h>.
16816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16819 2013-06-12 Andreas Jaeger <aj@suse.de>
16821 * po/ia.po: Update Interlingua translation from translation
16824 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16826 * include/fenv.h: Include stdbool.h.
16827 (struct rm_ctx): New structure.
16828 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16830 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16831 (SET_RESTORE_ROUNDF): Likewise.
16832 (SET_RESTORE_ROUNDL): Likewise.
16833 (SET_RESTORE_ROUND_NOEX): Likewise.
16834 (SET_RESTORE_ROUND_NOEXF): Likewise.
16835 (SET_RESTORE_ROUND_NOEXL): Likewise.
16836 (SET_RESTORE_ROUND_53BIT): Likewise.
16837 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16838 (libc_feresetround_noexf_ctx): Likewise.
16839 (libc_feresetround_noexl_ctx): Likewise.
16840 (libc_feholdsetround_53bit_ctx): Likewise.
16841 (libc_feresetround_53bit_ctx): Likewise.
16842 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16843 (libc_feholdexcept_setround_sse_ctx): New function.
16844 (libc_fesetenv_sse_ctx): Likewise.
16845 (libc_feupdateenv_sse_ctx): Likewise.
16846 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16847 (libc_feholdexcept_setround_387_ctx): Likewise.
16848 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16849 (libc_feholdsetround_387_prec_ctx): Likewise.
16850 (libc_feholdsetround_387_ctx): Likewise.
16851 (libc_feholdsetround_387_53bit_ctx): Likewise.
16852 (libc_feholdsetround_sse_ctx): Likewise.
16853 (libc_feresetround_sse_ctx): Likewise.
16854 (libc_feresetround_387_ctx): Likewise.
16855 (libc_feupdateenv_387_ctx): Likewise.
16856 (libc_feholdexcept_setroundf_ctx): Define macro.
16857 (libc_fesetenvf_ctx): Likewise.
16858 (libc_feupdateenvf_ctx): Likewise.
16859 (libc_feholdsetroundf_ctx): Likewise.
16860 (libc_feresetroundf_ctx): Likewise.
16861 (libc_feholdexcept_setround_ctx): Likewise.
16862 (libc_fesetenv_ctx): Likewise.
16863 (libc_feupdateenv_ctx): Likewise.
16864 (libc_feholdsetround_ctx): Likewise.
16865 (libc_feresetround_ctx): Likewise.
16866 (libc_feholdexcept_setroundl_ctx): Likewise.
16867 (libc_feupdateenvl_ctx): Likewise.
16868 (libc_feholdsetroundl_ctx): Likewise.
16869 (libc_feresetroundl_ctx): Likewise.
16870 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16871 (libc_feresetround_53bit_ctx): Likewise.
16873 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16875 * locale/iso-639.def: Convert to UTF-8.
16877 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16880 (EXCEPTION_TESTS_double): Likewise.
16881 (EXCEPTION_TESTS_long_double): Likewise.
16882 (EXCEPTION_TESTS): Likewise.
16883 * math/libm-test.inc (test_exceptions): Only test exceptions if
16884 EXCEPTION_TESTS (FLOAT).
16886 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16888 * benchtests/Makefile (string-bench): Add strcpy_chk and
16890 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16891 * benchtests/bench-stpcpy_chk.c: New file.
16892 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16893 * benchtests/bench-strcpy_chk.c: New file.
16894 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16896 (do_test): Likewise.
16898 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16900 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16901 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16902 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16903 with tabs where appropriate.
16904 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16906 [PPC_PLATFORM_PPC440]: Likewise.
16907 [PPC_PLATFORM_PPC464]: Likewise.
16908 [PPC_PLATFORM_PPC476]: Likewise.
16909 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16910 ppc464, and ppc476 platform strings merging from ports/
16913 2013-06-11 Andreas Schwab <schwab@suse.de>
16916 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16917 (from_ucs4_idx): Regenerate.
16918 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16919 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16920 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16921 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16922 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16923 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16924 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16925 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16926 from FROM_LOOP and TO_LOOP specific macros.
16927 (BODY): Handle combining characters.
16928 * iconvdata/BIG5HKSCS.irreversible: Update.
16929 * iconvdata/BIG5HKSCS.precomposed: New file.
16930 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16932 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16934 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16936 * include/sys/time.h: Fix indentation and add copyright header.
16938 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16939 (do_test): Likewise.
16940 * string/test-memchr.c (do_one_test): Likewise.
16941 (do_test): Likewise.
16942 * string/test-memcmp.c (do_one_test): Likewise.
16943 (do_test): Likewise.
16944 * string/test-memcpy.c (do_one_test): Likewise.
16945 (do_test): Likewise.
16946 * string/test-memmem.c (do_one_test): Likewise.
16947 (do_test): Likewise.
16948 (do_random_tests): Likewise.
16949 * string/test-memmove.c (do_one_test): Likewise.
16950 (do_test): Likewise.
16951 * string/test-memset.c (do_one_test): Likewise.
16952 (do_test): Likewise.
16953 * string/test-rawmemchr.c (do_one_test): Likewise.
16954 (do_test): Likewise.
16955 * string/test-strcasecmp.c (do_one_test): Likewise.
16956 (do_test): Likewise.
16957 * string/test-strcasestr.c (do_one_test): Likewise.
16958 (do_test): Likewise.
16959 * string/test-strcat.c (do_one_test): Likewise.
16960 (do_test): Likewise.
16961 * string/test-strchr.c (do_one_test): Likewise.
16962 (do_test): Likewise.
16963 * string/test-strcmp.c (do_one_test): Likewise.
16964 (do_test): Likewise.
16965 * string/test-strcpy.c (do_one_test): Likewise.
16966 (do_test): Likewise.
16967 * string/test-string.h: Likewise.
16968 (test_init): Likewise.
16969 * string/test-strlen.c (do_one_test): Likewise.
16970 (do_test): Likewise.
16971 * string/test-strncasecmp.c (do_one_test): Likewise.
16972 (do_test): Likewise.
16973 * string/test-strncat.c (do_one_test): Likewise.
16974 (do_test): Likewise.
16975 * string/test-strncmp.c (do_one_test): Likewise.
16976 (do_test_limit): Likewise.
16977 (do_test): Likewise.
16978 * string/test-strncpy.c (do_one_test): Likewise.
16979 (do_test): Likewise.
16980 * string/test-strnlen.c (do_one_test): Likewise.
16981 (do_test): Likewise.
16982 * string/test-strpbrk.c (do_one_test): Likewise.
16983 (do_test): Likewise.
16984 * string/test-strrchr.c (do_one_test): Likewise.
16985 (do_test): Likewise.
16986 * string/test-strspn.c (do_one_test): Likewise.
16987 (do_test): Likewise.
16988 * string/test-strstr.c (do_one_test): Likewise.
16989 (do_test): Likewise.
16991 * benchtests/Makefile (string-bench): Add string benchmarks.
16992 * benchtests/bench-bcopy-ifunc.c: New file.
16993 * benchtests/bench-bcopy.c: New file.
16994 * benchtests/bench-bzero-ifunc.c: New file.
16995 * benchtests/bench-bzero.c: New file.
16996 * benchtests/bench-memccpy-ifunc.c: New file.
16997 * benchtests/bench-memccpy.c: New file.
16998 * benchtests/bench-memchr-ifunc.c: New file.
16999 * benchtests/bench-memchr.c: New file.
17000 * benchtests/bench-memcmp-ifunc.c: New file.
17001 * benchtests/bench-memcmp.c: New file.
17002 * benchtests/bench-memmem-ifunc.c: New file.
17003 * benchtests/bench-memmem.c: New file.
17004 * benchtests/bench-memmove-ifunc.c: New file.
17005 * benchtests/bench-memmove.c: New file.
17006 * benchtests/bench-mempcpy-ifunc.c: New file.
17007 * benchtests/bench-mempcpy.c: New file.
17008 * benchtests/bench-memset-ifunc.c: New file.
17009 * benchtests/bench-memset.c: New file.
17010 * benchtests/bench-rawmemchr-ifunc.c: New file.
17011 * benchtests/bench-rawmemchr.c: New file.
17012 * benchtests/bench-stpcpy-ifunc.c: New file.
17013 * benchtests/bench-stpcpy.c: New file.
17014 * benchtests/bench-stpncpy-ifunc.c: New file.
17015 * benchtests/bench-stpncpy.c: New file.
17016 * benchtests/bench-strcasecmp-ifunc.c: New file.
17017 * benchtests/bench-strcasecmp.c: New file.
17018 * benchtests/bench-strcasestr-ifunc.c: New file.
17019 * benchtests/bench-strcasestr.c: New file.
17020 * benchtests/bench-strcat-ifunc.c: New file.
17021 * benchtests/bench-strcat.c: New file.
17022 * benchtests/bench-strchr-ifunc.c: New file.
17023 * benchtests/bench-strchr.c: New file.
17024 * benchtests/bench-strchrnul-ifunc.c: New file.
17025 * benchtests/bench-strchrnul.c: New file.
17026 * benchtests/bench-strcmp-ifunc.c: New file.
17027 * benchtests/bench-strcmp.c: New file.
17028 * benchtests/bench-strcpy-ifunc.c: New file.
17029 * benchtests/bench-strcpy.c: New file.
17030 * benchtests/bench-strcspn-ifunc.c: New file.
17031 * benchtests/bench-strcspn.c: New file.
17032 * benchtests/bench-strlen-ifunc.c: New file.
17033 * benchtests/bench-strlen.c: New file.
17034 * benchtests/bench-strncasecmp-ifunc.c: New file.
17035 * benchtests/bench-strncasecmp.c: New file.
17036 * benchtests/bench-strncat-ifunc.c: New file.
17037 * benchtests/bench-strncat.c: New file.
17038 * benchtests/bench-strncmp-ifunc.c: New file.
17039 * benchtests/bench-strncmp.c: New file.
17040 * benchtests/bench-strncpy-ifunc.c: New file.
17041 * benchtests/bench-strncpy.c: New file.
17042 * benchtests/bench-strnlen-ifunc.c: New file.
17043 * benchtests/bench-strnlen.c: New file.
17044 * benchtests/bench-strpbrk-ifunc.c: New file.
17045 * benchtests/bench-strpbrk.c: New file.
17046 * benchtests/bench-strrchr-ifunc.c: New file.
17047 * benchtests/bench-strrchr.c: New file.
17048 * benchtests/bench-strspn-ifunc.c: New file.
17049 * benchtests/bench-strspn.c: New file.
17050 * benchtests/bench-strstr-ifunc.c: New file.
17051 * benchtests/bench-strstr.c: New file.
17053 * benchtests/Makefile: Disable parallel execution of targets.
17054 (string-bench): Add memcpy.
17055 (benchset): New variable to store a list of benchmark sets.
17056 (bench-func): Renamed from bench.
17057 (bench-set): New target.
17058 (bench): Depend on bench-func and bench-set.
17059 * benchtests/README: Add section on benchmark sets.
17060 * benchtests/bench-memcpy-ifunc.c: New file.
17061 * benchtests/bench-memcpy.c: New file.
17062 * benchtests/bench-string.h: New file.
17064 2013-06-11 Andreas Schwab <schwab@suse.de>
17067 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17068 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17069 values in the triple.
17070 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17071 terminator in the group key.
17073 2013-06-11 Andreas Jaeger <aj@suse.de>
17075 * po/zh_TW.po: Update Chinese (traditional) translation from
17076 translation project.
17078 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17080 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17081 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17082 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17083 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17084 (clock_getcpuclockid): Likewise.
17085 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17086 Add weak_alias and libc_hidden_def.
17087 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17088 * rt/clock_gettime.c (clock_gettime): Rename to
17089 __clock_gettime. Add weak_alias and libc_hidden_def.
17090 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17091 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17092 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17093 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17094 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17096 * rt/clock_settime.c (clock_settime): Rename to
17097 __clock_settime. Add weak_alias and libc_hidden_def.
17098 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17100 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17102 * mach/err_boot.sub: Remove trailing whitespace.
17103 * mach/err_ipc.sub: Likewise.
17104 * mach/err_mach.sub: Likewise.
17106 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17107 (ROUNDING_TESTS_double): Likewise.
17108 (ROUNDING_TESTS_long_double): Likewise.
17109 (ROUNDING_TESTS): Likewise.
17110 * math/libm-test.inc: Include <math-tests.h>.
17111 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17112 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17113 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17114 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17116 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17118 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17121 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17123 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17124 otherwise empty TRANS lines.
17125 * sysdeps/gnu/errlist.c: Regenerated.
17127 * catgets/gencat.c (error_print): Use (void) in function
17129 * crypt/crypt_util.c (__init_des): Likewise.
17130 * crypt/speeds.c (Stop): Likewise.
17132 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17133 * inet/ruserpass.c (token): Likewise.
17134 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17135 * intl/localealias.c (extend_alias_table): Likewise.
17136 * intl/plural-exp.c (init_germanic_plural): Likewise.
17137 * libio/fcloseall.c (__fcloseall): Likewise.
17138 * libio/genops.c (_IO_flush_all): Likewise.
17139 (_IO_flush_all_linebuffered): Likewise.
17140 (_IO_cleanup): Likewise.
17141 (_IO_iter_begin): Likewise.
17142 (_IO_iter_end): Likewise.
17143 (_IO_list_lock): Likewise.
17144 (_IO_list_unlock): Likewise.
17145 (_IO_list_resetlock): Likewise.
17146 * libio/getchar.c (getchar): Likewise.
17147 * libio/getchar_u.c (getchar_unlocked): Likewise.
17148 * libio/getwchar.c (getwchar): Likewise.
17149 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17150 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17151 * login/getpt.c (__getpt): Likewise.
17152 * login/tst-utmp.c (main): Likewise.
17153 * malloc/hooks.c (__malloc_check_init): Likewise.
17154 * malloc/malloc.c (__malloc_stats): Likewise.
17155 * malloc/mtrace.c (tr_break): Likewise.
17156 (mtrace): Likewise.
17157 (muntrace): Likewise.
17158 * misc/fstab.c (endfsent): Likewise.
17159 * misc/getclktck.c (__getclktck): Likewise.
17160 * misc/getdtsz.c (__getdtablesize): Likewise.
17161 * misc/gethostid.c (gethostid): Likewise.
17162 * misc/getpagesize.c (__getpagesize): Likewise.
17163 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17164 (__get_nprocs): Likewise.
17165 (__get_phys_pages): Likewise.
17166 (__get_avphys_pages): Likewise.
17167 * misc/getttyent.c (getttyent): Likewise.
17168 (setttyent): Likewise.
17169 (endttyent): Likewise.
17170 * misc/getusershell.c (getusershell): Likewise.
17171 (endusershell): Likewise.
17172 (setusershell): Likewise.
17173 (initshells): Likewise.
17174 * misc/hsearch.c (__hdestroy): Likewise.
17175 * misc/sync.c (sync): Likewise.
17176 * misc/syslog.c (closelog_internal): Likewise.
17177 (closelog): Likewise.
17178 * misc/ttyslot.c (ttyslot): Likewise.
17179 * misc/vhangup.c (vhangup): Likewise.
17180 * posix/fork.c (__fork): Likewise.
17181 * posix/getegid.c (__getegid): Likewise.
17182 * posix/geteuid.c (__geteuid): Likewise.
17183 * posix/getgid.c (__getgid): Likewise.
17184 * posix/getpid.c (__getpid): Likewise.
17185 * posix/getppid.c (__getppid): Likewise.
17186 * posix/getuid.c (__getuid): Likewise.
17187 * posix/pause.c (pause): Likewise.
17188 * posix/setpgrp.c (setpgrp): Likewise.
17189 * posix/setsid.c (__setsid): Likewise.
17190 * posix/test-vfork.c (noop): Likewise.
17191 * resolv/gethnamaddr.c (_endhtent): Likewise.
17192 (_gethtent): Likewise.
17193 (ht_endhostent): Likewise.
17194 (gethostent): Likewise.
17195 (dns_service): Likewise.
17196 * stdlib/drand48.c (drand48): Likewise.
17197 * stdlib/lrand48.c (lrand48): Likewise.
17198 * stdlib/mrand48.c (mrand48): Likewise.
17199 * stdlib/rand.c (rand): Likewise.
17200 * stdlib/random.c (__random): Likewise.
17201 * stdlib/setenv.c (clearenv): Likewise.
17202 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17203 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17204 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17205 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17206 (__get_nprocs): Likewise.
17207 (__get_phys_pages): Likewise.
17208 (__get_avphys_pages): Likewise.
17209 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17210 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17211 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17212 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17213 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17214 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17215 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17216 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17217 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17218 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17219 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17220 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17221 * sysdeps/posix/clock.c (clock): Likewise.
17222 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17223 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17224 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17225 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17226 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17227 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17228 (__get_nprocs_conf): Likewise.
17229 (__get_phys_pages): Likewise.
17230 (__get_avphys_pages): Likewise.
17231 * time/clock.c (clock): Likewise.
17232 * time/tzset.c (__tzname_max): Likewise.
17234 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17236 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17237 (__bswap_32): Do not use "register".
17238 * crypt/crypt.c (_ufc_doit_r): Likewise.
17239 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17240 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17241 * gmon/gmon.c (__monstartup): Likewise.
17242 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17243 * hurd/hurdmalloc.c (more_memory): Likewise.
17244 (malloc): Likewise.
17246 (realloc): Likewise.
17247 (malloc_fork_prepare): Likewise.
17248 (malloc_fork_parent): Likewise.
17249 (malloc_fork_child): Likewise.
17250 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17251 (_svcauth_des): Likewise.
17252 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17253 * inet/inet_net.c (inet_network): Likewise.
17254 * inet/inet_netof.c (inet_netof): Likewise.
17255 * inet/rcmd.c (__validuser2_sa): Likewise.
17256 * io/fts.c (fts_open): Likewise.
17257 (fts_load): Likewise.
17258 (fts_close): Likewise.
17259 (fts_read): Likewise.
17260 (fts_children): Likewise.
17261 (fts_build): Likewise.
17262 (fts_stat): Likewise.
17263 (fts_sort): Likewise.
17264 (fts_alloc): Likewise.
17265 (fts_lfree): Likewise.
17266 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17267 (_IO_file_xsgetn): Likewise.
17268 (_IO_file_xsgetn_mmap): Likewise.
17269 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17270 (_IO_cookie_write): Likewise.
17271 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17272 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17273 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17274 * malloc/obstack.c (_obstack_begin): Likewise.
17275 (_obstack_begin_1): Likewise.
17276 (_obstack_newchunk): Likewise.
17277 (_obstack_allocated_p): Likewise.
17278 (obstack_free): Likewise.
17279 (_obstack_memory_used): Likewise.
17280 * misc/getttyent.c (getttynam): Likewise.
17281 (getttyent): Likewise.
17284 * misc/getusershell.c (initshells): Likewise.
17285 * misc/syslog.c (__vsyslog_chk): Likewise.
17286 * misc/ttyslot.c (ttyslot): Likewise.
17287 * nis/nis_hash.c (__nis_hash): Likewise.
17288 * posix/fnmatch_loop.c (FCT): Likewise.
17289 * posix/getconf.c (print_all): Likewise.
17291 * posix/getopt.c (exchange): Likewise.
17292 * posix/glob.c (globfree): Likewise.
17293 (prefix_array): Likewise.
17294 (__glob_pattern_type): Likewise.
17295 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17296 (NS_GET32): Likewise.
17297 (NS_PUT16): Likewise.
17298 (NS_PUT32): Likewise.
17299 * resolv/gethnamaddr.c (getanswer): Likewise.
17300 (gethostbyname2): Likewise.
17301 (gethostbyaddr): Likewise.
17302 (_gethtent): Likewise.
17303 (_gethtbyname2): Likewise.
17304 (_gethtbyaddr): Likewise.
17305 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17306 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17307 * resolv/res_init.c (__res_vinit): Likewise.
17308 (net_mask): Likewise.
17309 * resolv/res_mkquery.c (outchar): Likewise.
17311 * stdio-common/printf_fp.c (outchar): Likewise.
17313 * stdio-common/printf_fphex.c (outchar): Likewise.
17315 * stdio-common/printf_size.c (outchar): Likewise.
17317 * stdio-common/test_rdwr.c (main): Likewise.
17318 * stdio-common/tfformat.c (matches): Likewise.
17319 * stdio-common/vfprintf.c (outchar): Likewise.
17320 (printf_unknown): Likewise.
17321 (buffered_vfprintf): Likewise.
17322 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17323 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17324 (ReadFile): Likewise.
17325 * stdlib/qsort.c (SWAP): Likewise.
17326 (_quicksort): Likewise.
17327 * stdlib/setenv.c (__add_to_environ): Likewise.
17328 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17329 * stdlib/strtol_l.c (__strtol_l): Likewise.
17330 * stdlib/tst-strtod.c (main): Likewise.
17331 * stdlib/tst-strtol.c (main): Likewise.
17332 * stdlib/tst-strtoll.c (main): Likewise.
17333 * string/bits/string2.h (__strcmp_cc): Likewise.
17334 (__strcmp_cg): Likewise.
17335 (__strcspn_c1): Likewise.
17336 (__strcspn_c2): Likewise.
17337 (__strcspn_c3): Likewise.
17338 (__strspn_c1): Likewise.
17339 (__strspn_c2): Likewise.
17340 (__strspn_c3): Likewise.
17341 (__strsep_1c): Likewise.
17342 (__strsep_2c): Likewise.
17343 (__strsep_3c): Likewise.
17344 * string/memccpy.c (__memccpy): Likewise.
17345 * string/stpcpy.c (__stpcpy): Likewise.
17346 * string/strcmp.c (strcmp): Likewise.
17347 * string/strrchr.c (strrchr): Likewise.
17348 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17350 * sysdeps/mach/hurd/getcwd.c
17351 (_hurd_canonicalize_directory_name_internal): Likewise.
17352 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17353 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17354 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17355 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17356 Likewise, in both definitions.
17357 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17359 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17360 64] (__bswap_64): Likewise.
17361 * time/test_time.c (main): Likewise.
17362 * time/tzfile.c (__tzfile_read): Likewise.
17363 (__tzfile_compute): Likewise.
17364 * time/tzset.c (__tzset_parse_tz): Likewise.
17365 (tzset_internal): Likewise.
17366 (compute_change): Likewise.
17367 * wcsmbs/wcscat.c (__wcscat): Likewise.
17368 * wcsmbs/wcschr.c (wcschr): Likewise.
17369 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17370 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17371 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17372 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17373 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17374 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17375 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17377 * wcsmbs/wmemset.c (wmemset): Likewise.
17379 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17381 * scripts/config.guess: Update to version 2013-05-16.
17382 * scripts/config.sub: Update to version 2013-04-24.
17383 * scripts/install-sh: Update to version 2011-11-20.07.
17384 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17385 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17387 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17389 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17390 * elf/sln.c: Likewise.
17391 * hurd/hurd/ioctl.h: Likewise.
17392 * hurd/hurdmalloc.c: Likewise.
17393 * hurd/xattr.c: Likewise.
17394 * include/shlib-compat.h: Likewise.
17395 * inet/ruserpass.c: Likewise.
17396 * libio/iofgets_u.c: Likewise.
17397 * libio/iofgetws_u.c: Likewise.
17398 * locale/programs/ld-identification.c: Likewise.
17399 * locale/programs/ld-time.c: Likewise.
17400 * mach/msg-destroy.c: Likewise.
17401 * nss/nss_files/files-netgrp.c: Likewise.
17402 * resolv/res_data.c: Likewise.
17403 * soft-fp/op-1.h: Likewise.
17404 * soft-fp/op-2.h: Likewise.
17405 * soft-fp/op-4.h: Likewise.
17406 * soft-fp/op-common.h: Likewise.
17407 * stdio-common/printf_fphex.c: Likewise.
17408 * stdlib/strtod_l.c: Likewise.
17409 * sunrpc/rpc/clnt.h: Likewise.
17410 * sysdeps/generic/framestate.c: Likewise.
17411 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17412 * sysdeps/i386/bsd-setjmp.S: Likewise.
17413 * sysdeps/i386/__longjmp.S: Likewise.
17414 * sysdeps/i386/setjmp.S: Likewise.
17415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17416 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17418 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17422 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17425 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17426 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17428 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17431 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17433 * sysdeps/ieee754/support.c: Likewise.
17434 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17435 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17436 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17437 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17438 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17439 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17440 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17441 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17442 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17443 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17444 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17445 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17446 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17447 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17448 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17449 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17450 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17453 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17455 * posix/transbug.c: Remove executable mode.
17457 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17459 * crypt/speeds.c: Remove trailing whitespace.
17460 * dlfcn/default.c: Likewise.
17461 * elf/ifuncdep2.c: Likewise.
17462 * elf/ifuncmain1.c: Likewise.
17463 * elf/ifuncmain1vis.c: Likewise.
17464 * elf/testobj.h: Likewise.
17465 * elf/tst-stackguard1.c: Likewise.
17466 * gmon/sys/gmon.h: Likewise.
17467 * hurd/hurdmsg.c: Likewise.
17468 * hurd/new-fd.c: Likewise.
17469 * hurd/ports-get.c: Likewise.
17470 * iconvdata/ibm1008_420.c: Likewise.
17471 * inet/tst-getni1.c: Likewise.
17472 * inet/tst-getni2.c: Likewise.
17473 * libio/ioungetc.c: Likewise.
17474 * libio/wfiledoalloc.c: Likewise.
17475 * manual/libm-err-tab.pl: Likewise.
17476 * math/w_dremf.c: Likewise.
17477 * misc/ftruncate.c: Likewise.
17478 * posix/bug-glob2.c: Likewise.
17479 * posix/tst-pcre.c: Likewise.
17480 * posix/wait4.c: Likewise.
17481 * resolv/README: Likewise.
17482 * resolv/res_debug.h: Likewise.
17483 * resolv/tst-inet_ntop.c: Likewise.
17484 * setjmp/bug269-setjmp.c: Likewise.
17485 * soft-fp/extended.h: Likewise.
17486 * soft-fp/op-1.h: Likewise.
17487 * soft-fp/op-2.h: Likewise.
17488 * soft-fp/op-4.h: Likewise.
17489 * soft-fp/op-8.h: Likewise.
17490 * soft-fp/testit.c: Likewise.
17491 * stdio-common/bug16.c: Likewise.
17492 * stdlib/random.c: Likewise.
17493 * sunrpc/rpcsvc/rquota.x: Likewise.
17494 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17495 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17496 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17497 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17498 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17499 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17500 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17501 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17502 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17503 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17504 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17505 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17506 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17508 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17509 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17510 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17511 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17512 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17515 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17519 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17520 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17521 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17523 * sysdeps/ieee754/s_lib_version.c: Likewise.
17524 * sysdeps/mach/hurd/check_fds.c: Likewise.
17525 * sysdeps/mach/hurd/getsockname.c: Likewise.
17526 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17527 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17528 * sysdeps/powerpc/bits/link.h: Likewise.
17529 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17530 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17531 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17532 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17533 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17534 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17535 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17536 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17537 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17538 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17539 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17540 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17541 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17542 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17543 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17544 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17545 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17547 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17548 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17549 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17550 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17551 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17552 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17553 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17554 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17555 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17559 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17560 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17561 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17562 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17563 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17564 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17565 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17566 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17567 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17568 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17569 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17570 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17571 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17572 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17573 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17574 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17575 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17576 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17577 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17578 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17581 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17582 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17583 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17584 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17585 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17586 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17588 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17589 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17590 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17591 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17592 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17593 * sysdeps/powerpc/sysdep.h: Likewise.
17594 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17595 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17596 * sysdeps/sh/dl-trampoline.S: Likewise.
17597 * sysdeps/sh/memset.S: Likewise.
17598 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17599 * sysdeps/sh/strlen.S: Likewise.
17600 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17601 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17602 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17603 * sysdeps/sparc/sparc32/rem.S: Likewise.
17604 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17605 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17606 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17607 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17608 * sysdeps/sparc/sparc32/urem.S: Likewise.
17609 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17610 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17611 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17612 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17614 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17615 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17616 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17617 * sysdeps/unix/bsd/times.c: Likewise.
17618 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17619 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17623 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17624 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17625 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17626 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17627 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17628 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17629 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17630 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17631 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17632 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17633 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17634 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17635 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17636 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17637 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17638 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17639 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17640 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17641 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17642 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17643 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17644 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17645 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17646 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17647 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17648 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17649 * sysdeps/x86_64/strcspn.S: Likewise.
17651 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17653 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17654 generated file. Regenerate properly from gen-translit.pl.
17655 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17656 locale/C-translit.h.
17658 2013-06-05 Andreas Schwab <schwab@suse.de>
17661 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17662 week as 6 instead of -1.
17663 * time/tst-strptime.c (day_tests): Add test case.
17665 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17667 * sysdeps/generic/math_private.h
17668 (libc_feholdexcept_setround_53bit): Replace with
17669 libc_feholdsetround_53bit.
17670 (libc_feupdateenv_53bit): Replace with
17671 libc_feresetround_53bit.
17672 (SET_RESTORE_ROUND_53BIT): Adjust.
17674 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17676 * string/test-strchrnul.c: Add copyright header.
17678 * posix/tst-getaddrinfo4.c: Increase test timeout.
17680 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17683 * math/libm-test.inc (MAX_EXP): Remove
17685 (ulp): Use MIN_EXP - MANT_DIG.
17686 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17688 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17690 * po/be.po: Revert last change.
17691 * po/zh_CN.po: Likewise.
17692 * po/header.pot: Likewise.
17694 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17696 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17697 link-libc-deps to empty as target-specific variable.
17698 * Makerules (link-libc-args): New variable.
17699 (libc-for-link): Likewise.
17700 (link-libc-deps): Likewise.
17701 (lib%.so): Depend on $(link-libc-deps). Link with
17703 (build-module): Link with $(link-libc-args).
17704 (build-module-asneeded): Likewise.
17705 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17707 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17708 target-specific variable.
17709 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17710 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17711 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17713 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17715 ($(objpfx)libpcprofile.so): Likewise.
17716 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17718 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17719 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17720 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17722 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17723 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17724 * login/Makefile ($(objpfx)libutil.so): Likewise.
17725 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17726 * math/Makefile ($(objpfx)libm.so): Likewise.
17727 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17728 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17729 variable instead of depending directly on libc.
17730 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17731 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17733 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17735 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17736 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17737 ($(objpfx)libanl.so): Likewise.
17738 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17740 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17742 * sysdeps/i386/fpu/Makefile: Remove file.
17743 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17744 ($(objpfx)libm.so): Remove dependency on ld.so.
17746 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17749 * nis/yp_xdr.c (XDRMAXNAME): Define.
17750 (XDRMAXRECORD): Define.
17751 (xdr_domainname): Use XDRMAXNAME.
17752 (xdr_mapname): Likewise.
17753 (xdr_peername): Likewise.
17754 (xdr_keydat): Use XDRMAXRECORD.
17755 (xdr_valdat): Likewise.
17757 2013-05-30 Jeff Law <law@redhat.com>
17760 * manual/errno.texi (ESTALE): Update to account for more than
17761 just NFS file systems.
17762 * sysdeps/gnu/errlist.c: Regenerated.
17764 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17767 * elf/Makefile (tests): Add tst-null-argv.
17768 (modules-names): Add tst-null-argv-lib.
17769 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17770 (tst-null-argv-ENV): Set environment for tst-null-argv.
17771 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17772 (RTLD_PROGNAME): New macro.
17773 * elf/tst-null-argv.c: New test case.
17774 * elf/tst-null-argv-lib.c: Library for test case.
17775 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17776 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17777 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17778 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17779 * elf/dl-init.c (call_init): Likewise.
17780 (_dl_init): Likewise.
17781 * elf/dl-load.c (print_search_path): Likewise.
17782 (_dl_map_object): Likewise.
17783 * elf/dl-lookup.c (do_lookup_x): Likewise.
17784 (add_dependency): Likewise.
17785 (_dl_lookup_symbol_x): Likewise.
17786 (_dl_debug_bindings): Likewise.
17787 * elf/dl-open.c (_dl_show_scope): Likewise.
17788 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17789 * elf/dl-version.c (match_symbol): Likewise.
17790 (_dl_check_map_versions): Likewise.
17791 * elf/rtld.c (dl_main): Likewise.
17792 (print_unresolved): Use RTLD_PROGNAME.
17793 (print_missing_version): Likewise.
17794 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17795 (elf_machine_rela): Likewise.
17796 * sysdeps/powerpc/powerpc32/dl-machine.c
17797 (__process_machine_rela): Likewise.
17798 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17800 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17802 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17804 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17811 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17813 * po/be.po: Add descriptive title.
17814 * po/zh_CN.po: Likewise.
17815 * po/header.pot: Likewise.
17817 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17819 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17821 (enlarge_archive): Likewise.
17823 2013-05-28 Ben North <ben@redfrontdoor.org>
17825 * manual/arith.texi (frexp): It is the magnitude of the return
17826 value which lies in [0.5, 1), not the return value itself.
17828 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17832 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17834 * stdio-common/bug26.c (main): Correct fscanf template.
17836 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17837 declare _dl_skip_args.
17839 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17842 * manual/platform.texi: Add missing @end deftypefun.
17844 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17847 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17848 bit of mantissa of 2^16382.
17849 * math/libm-test.inc (hypot_test_data): Add more tests.
17851 * math/libm-test.inc: Add drem and pow10 to list of tested
17853 (pow10_test): New function.
17854 (drem_test): Likewise.
17855 (drem_test_tonearest): Likewise.
17856 (drem_test_towardzero): Likewise.
17857 (drem_test_downward): Likewise.
17858 (drem_test_upward): Likewise.
17859 (main): Call the new functions.
17861 * math/libm-test.inc (finite_test_data): Remove.
17862 (finite_test): Run tests from isfinite_test_data.
17863 (gamma_test_data): Remove.
17864 (gamma_test): Run tests from lgamma_test_data.
17865 * sysdeps/i386/fpu/libm-test-ulps: Update.
17866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17868 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17870 * manual/platform.texi: Add PowerPC PPR function set documentation.
17871 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17874 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17876 * math/libm-test.inc (MAX_EXP): Define.
17878 (ulp): New function.
17879 (check_float_internal): Use ULPDIFF.
17880 (cpow_test): Disable failing test.
17881 (check_ulp): Test ulp() implemetnation.
17882 (main): Call check_ulp before starting tests.
17884 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17886 * math/gen-libm-test.pl (generate_testfile): Do not handle
17887 START_DATA and END_DATA.
17888 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17890 (acos_tonearest_test_data): Likewise.
17891 (acos_towardzero_test_data): Likewise.
17892 (acos_downward_test_data): Likewise.
17893 (acos_upward_test_data): Likewise.
17894 (acosh_test_data): Likewise.
17895 (asin_test_data): Likewise.
17896 (asin_tonearest_test_data): Likewise.
17897 (asin_towardzero_test_data): Likewise.
17898 (asin_downward_test_data): Likewise.
17899 (asin_upward_test_data): Likewise.
17900 (asinh_test_data): Likewise.
17901 (atan_test_data): Likewise.
17902 (atanh_test_data): Likewise.
17903 (atan2_test_data): Likewise.
17904 (cabs_test_data): Likewise.
17905 (cacos_test_data): Likewise.
17906 (cacosh_test_data): Likewise.
17907 (carg_test_data): Likewise.
17908 (casin_test_data): Likewise.
17909 (casinh_test_data): Likewise.
17910 (catan_test_data): Likewise.
17911 (catanh_test_data): Likewise.
17912 (cbrt_test_data): Likewise.
17913 (ccos_test_data): Likewise.
17914 (ccosh_test_data): Likewise.
17915 (ceil_test_data): Likewise.
17916 (cexp_test_data): Likewise.
17917 (cimag_test_data): Likewise.
17918 (clog_test_data): Likewise.
17919 (clog10_test_data): Likewise.
17920 (conj_test_data): Likewise.
17921 (copysign_test_data): Likewise.
17922 (cos_test_data): Likewise.
17923 (cos_tonearest_test_data): Likewise.
17924 (cos_towardzero_test_data): Likewise.
17925 (cos_downward_test_data): Likewise.
17926 (cos_upward_test_data): Likewise.
17927 (cosh_test_data): Likewise.
17928 (cosh_tonearest_test_data): Likewise.
17929 (cosh_towardzero_test_data): Likewise.
17930 (cosh_downward_test_data): Likewise.
17931 (cosh_upward_test_data): Likewise.
17932 (cpow_test_data): Likewise.
17933 (cproj_test_data): Likewise.
17934 (creal_test_data): Likewise.
17935 (csin_test_data): Likewise.
17936 (csinh_test_data): Likewise.
17937 (csqrt_test_data): Likewise.
17938 (ctan_test_data): Likewise.
17939 (ctan_tonearest_test_data): Likewise.
17940 (ctan_towardzero_test_data): Likewise.
17941 (ctan_downward_test_data): Likewise.
17942 (ctan_upward_test_data): Likewise.
17943 (ctanh_test_data): Likewise.
17944 (ctanh_tonearest_test_data): Likewise.
17945 (ctanh_towardzero_test_data): Likewise.
17946 (ctanh_downward_test_data): Likewise.
17947 (ctanh_upward_test_data): Likewise.
17948 (erf_test_data): Likewise.
17949 (erfc_test_data): Likewise.
17950 (exp_test_data): Likewise.
17951 (exp_tonearest_test_data): Likewise.
17952 (exp_towardzero_test_data): Likewise.
17953 (exp_downward_test_data): Likewise.
17954 (exp_upward_test_data): Likewise.
17955 (exp10_test_data): Likewise.
17956 (exp2_test_data): Likewise.
17957 (expm1_test_data): Likewise.
17958 (fabs_test_data): Likewise.
17959 (fdim_test_data): Likewise.
17960 (finite_test_data): Likewise.
17961 (floor_test_data): Likewise.
17962 (fma_test_data): Likewise.
17963 (fma_towardzero_test_data): Likewise.
17964 (fma_downward_test_data): Likewise.
17965 (fma_upward_test_data): Likewise.
17966 (fmax_test_data): Likewise.
17967 (fmin_test_data): Likewise.
17968 (fmod_test_data): Likewise.
17969 (fpclassify_test_data): Likewise.
17970 (frexp_test_data): Likewise.
17971 (gamma_test_data): Likewise.
17972 (hypot_test_data): Likewise.
17973 (ilogb_test_data): Likewise.
17974 (isfinite_test_data): Likewise.
17975 (isgreater_test_data): Likewise.
17976 (isgreaterequal_test_data): Likewise.
17977 (isinf_test_data): Likewise.
17978 (isless_test_data): Likewise.
17979 (islessequal_test_data): Likewise.
17980 (islessgreater_test_data): Likewise.
17981 (isnan_test_data): Likewise.
17982 (isnormal_test_data): Likewise.
17983 (issignaling_test_data): Likewise.
17984 (isunordered_test_data): Likewise.
17985 (j0_test_data): Likewise.
17986 (j1_test_data): Likewise.
17987 (jn_test_data): Likewise.
17988 (ldexp_test_data): Likewise.
17989 (lgamma_test_data): Likewise.
17990 (lrint_test_data): Likewise.
17991 (lrint_tonearest_test_data): Likewise.
17992 (lrint_towardzero_test_data): Likewise.
17993 (lrint_downward_test_data): Likewise.
17994 (lrint_upward_test_data): Likewise.
17995 (llrint_test_data): Likewise.
17996 (llrint_tonearest_test_data): Likewise.
17997 (llrint_towardzero_test_data): Likewise.
17998 (llrint_downward_test_data): Likewise.
17999 (llrint_upward_test_data): Likewise.
18000 (log_test_data): Likewise.
18001 (log10_test_data): Likewise.
18002 (log1p_test_data): Likewise.
18003 (log2_test_data): Likewise.
18004 (logb_test_data): Likewise.
18005 (logb_downward_test_data): Likewise.
18006 (lround_test_data): Likewise.
18007 (llround_test_data): Likewise.
18008 (modf_test_data): Likewise.
18009 (nearbyint_test_data): Likewise.
18010 (nextafter_test_data): Likewise.
18011 (nexttoward_test_data): Likewise.
18012 (pow_test_data): Likewise.
18013 (pow_tonearest_test_data): Likewise.
18014 (pow_towardzero_test_data): Likewise.
18015 (pow_downward_test_data): Likewise.
18016 (pow_upward_test_data): Likewise.
18017 (remainder_test_data): Likewise.
18018 (remainder_tonearest_test_data): Likewise.
18019 (remainder_towardzero_test_data): Likewise.
18020 (remainder_downward_test_data): Likewise.
18021 (remainder_upward_test_data): Likewise.
18022 (remquo_test_data): Likewise.
18023 (rint_test_data): Likewise.
18024 (rint_tonearest_test_data): Likewise.
18025 (rint_towardzero_test_data): Likewise.
18026 (rint_downward_test_data): Likewise.
18027 (rint_upward_test_data): Likewise.
18028 (round_test_data): Likewise.
18029 (scalb_test_data): Likewise.
18030 (scalbn_test_data): Likewise.
18031 (scalbln_test_data): Likewise.
18032 (signbit_test_data): Likewise.
18033 (sin_test_data): Likewise.
18034 (sin_tonearest_test_data): Likewise.
18035 (sin_towardzero_test_data): Likewise.
18036 (sin_downward_test_data): Likewise.
18037 (sin_upward_test_data): Likewise.
18038 (sincos_test_data): Likewise.
18039 (sinh_test_data): Likewise.
18040 (sinh_tonearest_test_data): Likewise.
18041 (sinh_towardzero_test_data): Likewise.
18042 (sinh_downward_test_data): Likewise.
18043 (sinh_upward_test_data): Likewise.
18044 (sqrt_test_data): Likewise.
18045 (tan_test_data): Likewise.
18046 (tan_tonearest_test_data): Likewise.
18047 (tan_towardzero_test_data): Likewise.
18048 (tan_downward_test_data): Likewise.
18049 (tan_upward_test_data): Likewise.
18050 (tanh_test_data): Likewise.
18051 (tgamma_test_data): Likewise.
18052 (trunc_test_data): Likewise.
18053 (y0_test_data): Likewise.
18054 (y1_test_data): Likewise.
18055 (yn_test_data): Likewise.
18056 (significand_test_data): Likewise.
18058 * math/gen-libm-test.pl (@functions): Remove variable.
18059 (generate_testfile): Don't handle START and END lines.
18060 * math/libm-test.inc (START): New macro.
18062 (END_COMPLEX): Likewise.
18063 (acos_test): Use END macro without arguments.
18064 (acos_test_tonearest): Likewise.
18065 (acos_test_towardzero): Likewise.
18066 (acos_test_downward): Likewise.
18067 (acos_test_upward): Likewise.
18068 (acosh_test): Likewise.
18069 (asin_test): Likewise.
18070 (asin_test_tonearest): Likewise.
18071 (asin_test_towardzero): Likewise.
18072 (asin_test_downward): Likewise.
18073 (asin_test_upward): Likewise.
18074 (asinh_test): Likewise.
18075 (atan_test): Likewise.
18076 (atanh_test): Likewise.
18077 (atan2_test): Likewise.
18078 (cabs_test): Likewise.
18079 (cacos_test): Use END_COMPLEX macro without arguments.
18080 (cacosh_test): Likewise.
18081 (carg_test): Use END macro without arguments.
18082 (casin_test): Use END_COMPLEX macro without arguments.
18083 (casinh_test): Likewise.
18084 (catan_test): Likewise.
18085 (catanh_test): Likewise.
18086 (cbrt_test): Use END macro without arguments.
18087 (ccos_test): Use END_COMPLEX macro without arguments.
18088 (ccosh_test): Likewise.
18089 (ceil_test): Use END macro without arguments.
18090 (cexp_test): Use END_COMPLEX macro without arguments.
18091 (cimag_test): Use END macro without arguments.
18092 (clog_test): Use END_COMPLEX macro without arguments.
18093 (clog10_test): Likewise.
18094 (conj_test): Likewise.
18095 (copysign_test): Use END macro without arguments.
18096 (cos_test): Likewise.
18097 (cos_test_tonearest): Likewise.
18098 (cos_test_towardzero): Likewise.
18099 (cos_test_downward): Likewise.
18100 (cos_test_upward): Likewise.
18101 (cosh_test): Likewise.
18102 (cosh_test_tonearest): Likewise.
18103 (cosh_test_towardzero): Likewise.
18104 (cosh_test_downward): Likewise.
18105 (cosh_test_upward): Likewise.
18106 (cpow_test): Use END_COMPLEX macro without arguments.
18107 (cproj_test): Likewise.
18108 (creal_test): Use END macro without arguments.
18109 (csin_test): Use END_COMPLEX macro without arguments.
18110 (csinh_test): Likewise.
18111 (csqrt_test): Likewise.
18112 (ctan_test): Likewise.
18113 (ctan_test_tonearest): Likewise.
18114 (ctan_test_towardzero): Likewise.
18115 (ctan_test_downward): Likewise.
18116 (ctan_test_upward): Likewise.
18117 (ctanh_test): Likewise.
18118 (ctanh_test_tonearest): Likewise.
18119 (ctanh_test_towardzero): Likewise.
18120 (ctanh_test_downward): Likewise.
18121 (ctanh_test_upward): Likewise.
18122 (erf_test): Use END macro without arguments.
18123 (erfc_test): Likewise.
18124 (exp_test): Likewise.
18125 (exp_test_tonearest): Likewise.
18126 (exp_test_towardzero): Likewise.
18127 (exp_test_downward): Likewise.
18128 (exp_test_upward): Likewise.
18129 (exp10_test): Likewise.
18130 (exp2_test): Likewise.
18131 (expm1_test): Likewise.
18132 (fabs_test): Likewise.
18133 (fdim_test): Likewise.
18134 (finite_test): Likewise.
18135 (floor_test): Likewise.
18136 (fma_test): Likewise.
18137 (fma_test_towardzero): Likewise.
18138 (fma_test_downward): Likewise.
18139 (fma_test_upward): Likewise.
18140 (fmax_test): Likewise.
18141 (fmin_test): Likewise.
18142 (fmod_test): Likewise.
18143 (fpclassify_test): Likewise.
18144 (frexp_test): Likewise.
18145 (gamma_test): Likewise.
18146 (hypot_test): Likewise.
18147 (ilogb_test): Likewise.
18148 (isfinite_test): Likewise.
18149 (isgreater_test): Likewise.
18150 (isgreaterequal_test): Likewise.
18151 (isinf_test): Likewise.
18152 (isless_test): Likewise.
18153 (islessequal_test): Likewise.
18154 (islessgreater_test): Likewise.
18155 (isnan_test): Likewise.
18156 (isnormal_test): Likewise.
18157 (issignaling_test): Likewise.
18158 (isunordered_test): Likewise.
18159 (j0_test): Likewise.
18160 (j1_test): Likewise.
18161 (jn_test): Likewise.
18162 (ldexp_test): Likewise.
18163 (lgamma_test): Likewise.
18164 (lrint_test): Likewise.
18165 (lrint_test_tonearest): Likewise.
18166 (lrint_test_towardzero): Likewise.
18167 (lrint_test_downward): Likewise.
18168 (lrint_test_upward): Likewise.
18169 (llrint_test): Likewise.
18170 (llrint_test_tonearest): Likewise.
18171 (llrint_test_towardzero): Likewise.
18172 (llrint_test_downward): Likewise.
18173 (llrint_test_upward): Likewise.
18174 (log_test): Likewise.
18175 (log10_test): Likewise.
18176 (log1p_test): Likewise.
18177 (log2_test): Likewise.
18178 (logb_test): Likewise.
18179 (logb_test_downward): Likewise.
18180 (lround_test): Likewise.
18181 (llround_test): Likewise.
18182 (modf_test): Likewise.
18183 (nearbyint_test): Likewise.
18184 (nextafter_test): Likewise.
18185 (nexttoward_test): Likewise.
18186 (pow_test): Likewise.
18187 (pow_test_tonearest): Likewise.
18188 (pow_test_towardzero): Likewise.
18189 (pow_test_downward): Likewise.
18190 (pow_test_upward): Likewise.
18191 (remainder_test): Likewise.
18192 (remainder_test_tonearest): Likewise.
18193 (remainder_test_towardzero): Likewise.
18194 (remainder_test_downward): Likewise.
18195 (remainder_test_upward): Likewise.
18196 (remquo_test): Likewise.
18197 (rint_test): Likewise.
18198 (rint_test_tonearest): Likewise.
18199 (rint_test_towardzero): Likewise.
18200 (rint_test_downward): Likewise.
18201 (rint_test_upward): Likewise.
18202 (round_test): Likewise.
18203 (scalb_test): Likewise.
18204 (scalbn_test): Likewise.
18205 (scalbln_test): Likewise.
18206 (signbit_test): Likewise.
18207 (sin_test): Likewise.
18208 (sin_test_tonearest): Likewise.
18209 (sin_test_towardzero): Likewise.
18210 (sin_test_downward): Likewise.
18211 (sin_test_upward): Likewise.
18212 (sincos_test): Likewise.
18213 (sinh_test): Likewise.
18214 (sinh_test_tonearest): Likewise.
18215 (sinh_test_towardzero): Likewise.
18216 (sinh_test_downward): Likewise.
18217 (sinh_test_upward): Likewise.
18218 (sqrt_test): Likewise.
18219 (tan_test): Likewise.
18220 (tan_test_tonearest): Likewise.
18221 (tan_test_towardzero): Likewise.
18222 (tan_test_downward): Likewise.
18223 (tan_test_upward): Likewise.
18224 (tanh_test): Likewise.
18225 (tgamma_test): Likewise.
18226 (trunc_test): Likewise.
18227 (y0_test): Likewise.
18228 (y1_test): Likewise.
18229 (yn_test): Likewise.
18230 (significand_test): Likewise.
18232 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18235 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18237 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18240 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18241 __ppc_mdoio and __ppc_mdoom.
18242 * manual/platform.texi: Document new functions __ppc_yield,
18243 __ppc_mdoio and __ppc_mdoom.
18245 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18247 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18248 (main): Mention "tls" pseudo-hwcap is legacy.
18249 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18251 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18253 * math/gen-libm-test.pl (parse_args): Output only string of
18254 arguments as text for test name, not full call or descriptions of
18255 tests for extra outputs.
18256 (generate_testfile): Do not pass function name to parse_args.
18257 Generate this_func variable from START.
18258 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18260 (struct test_ff_f_data): Likewise.
18261 (test_ff_f_data_nexttoward): Likewise.
18262 (struct test_fi_f_data): Likewise.
18263 (struct test_fl_f_data): Likewise.
18264 (struct test_if_f_data): Likewise.
18265 (struct test_fff_f_data): Likewise.
18266 (struct test_c_f_data): Likewise.
18267 (struct test_f_f1_data): Likewise. Remove field extra_name.
18268 (struct test_fF_f1_data): Likewise.
18269 (struct test_ffI_f1_data): Likewise.
18270 (struct test_c_c_data): Rename test_name field to arg_str.
18271 (struct test_cc_c_data): Likewise.
18272 (struct test_f_i_data): Likewise.
18273 (struct test_ff_i_data): Likewise.
18274 (struct test_f_l_data): Likewise.
18275 (struct test_f_L_data): Likewise.
18276 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18278 (COMMON_TEST_SETUP): New macro.
18279 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18280 (COMMON_TEST_CLEANUP): Likewise.
18281 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18282 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18284 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18285 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18287 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18288 (RUN_TEST_fff_f): Take argument string. Call new setup and
18290 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18291 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18293 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18294 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18296 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18297 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18299 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18300 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18302 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18303 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18305 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18306 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18308 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18309 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18311 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18312 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18314 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18315 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18317 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18318 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18320 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18321 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18323 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18324 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18326 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18327 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18329 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18330 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18332 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18333 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18335 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18337 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18339 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18340 to _sifields.sigfault.
18341 (si_addr_lsb): Define new macro.
18342 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18344 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18346 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18349 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18351 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18353 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18354 loading the domain.
18356 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18358 * math/gen-libm-test.pl (parse_args): Do not include expected
18359 result in test name.
18360 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18361 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18362 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18364 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18367 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18369 * benchtests/Makefile: Sort function entries.
18371 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18372 tanh, asinh, acosh, atanh.
18373 * benchtests/acos-inputs: New file.
18374 * benchtests/acosh-inputs: New file.
18375 * benchtests/asin-inputs: New file.
18376 * benchtests/asinh-inputs: New file.
18377 * benchtests/atanh-inputs: New file.
18378 * benchtests/cosh-inputs: New file.
18379 * benchtests/log-inputs: New file.
18380 * benchtests/sinh-inputs: New file.
18381 * benchtests/tanh-inputs: New file.
18383 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18386 * posix/tst-getaddrinfo4.c: New test.
18387 * posix/Makefile (tests): Add it.
18389 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18392 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18393 when no services were used.
18394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18395 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18397 2013-05-21 Andreas Schwab <schwab@suse.de>
18400 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18401 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18403 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18404 redundant variable declarations and reallocation of buffer when
18405 parsing as IPv6 address. Always set NSS status when called from
18406 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18407 buffer too small. Correct computation of needed size.
18408 * nss/Makefile (tests): Add test-digits-dots.
18409 * nss/test-digits-dots.c: New test.
18411 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18413 * benchtests/Makefile: Remove instructions for adding
18415 * benchtests/README: New file to explain how to execute and
18416 enhance the benchmark tests.
18418 2013-05-21 Andreas Schwab <schwab@suse.de>
18421 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18422 * setjmp/tst-sigsetjmp.c: New test.
18424 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18426 * sysdeps/x86_64/memset.S (memset): New implementation.
18427 (__bzero): Likewise.
18428 (__memset_tail): New function.
18430 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18432 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18433 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18434 __memcpy_sse2_unaligned ifunc selection.
18435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18436 Add memcpy-sse2-unaligned.S.
18437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18438 Add: __memcpy_sse2_unaligned.
18440 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18443 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18444 math_force_eval before restoring floating-point envrionment.
18445 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18448 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18450 (__nearbyintl): Use math_force_eval before restoring
18451 floating-point environment.
18452 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18454 * math/gen-libm-test.pl (special_functions): Remove.
18455 (parse_args): Don't handle TEST_extra. Handle functions with no
18457 * math/libm-test.inc (struct test_sincos_data): Replace with
18458 struct test_fFF_11_data.
18459 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18460 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18461 (sincos_test_data): Change element type to struct
18462 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18463 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18464 RUN_TEST_LOOP_sincos.
18465 * math/README.libm-test: Don't mention special handling of
18466 individual functions.
18467 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18468 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18469 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18470 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18471 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18474 * math/gen-libm-test.pl (get_variable): Remove function.
18475 (parse_args): Don't show pointer parameters to call in test
18476 names. Use "extra output N" in test names for extra outputs
18477 rather than naming variables.
18479 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18482 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18483 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18484 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18486 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18488 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18491 * math/gen-libm-test.pl (@tests): Remove variable.
18492 ($count): Likewise.
18493 (new_test): Remove function.
18494 (show_exceptions): New function.
18495 (special_functions): Use show_exceptions instead of new_test.
18496 (parse_args): Likewise.
18497 (generate_testfile): Pass only function name in generated call to
18498 print_max_error or print_complex_max_error.
18499 (get_ulps): Do not handle complex tests specially.
18500 (output_test): Rename to ...
18501 (get_all_ulps_for_test): ... this. Return a string rather than
18502 printing to a file. Require ulps to be present.
18503 (output_ulps): Generate arrays rather than #defines.
18504 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18505 (struct ulp_data): New type.
18506 (BUILD_COMPLEX_ULP): Remove macro.
18507 (compare_ulp_data): New function.
18508 (find_ulps): Likewise.
18509 (find_test_ulps): Likewise.
18510 (find_function_ulps): Likewise.
18511 (find_complex_function_ulps): Likewise.
18512 (print_max_error): Determine allowed ulps using
18513 find_function_ulps.
18514 (print_complex_max_error): Determine allowed ulps using
18515 find_complex_function_ulps.
18516 (check_float_internal): Determine max ulps using find_test_ulps.
18517 (check_float): Do not take max_ulp parameter. Update call to
18518 check_float_internal.
18519 (check_complex): Likewise.
18520 (check_int): Do not take max_ulp parameter.
18521 (check_long): Likewise.
18522 (check_bool): Likewise.
18523 (check_longlong): Likewise.
18524 (struct test_f_f_data): Remove max_ulp field.
18525 (struct test_ff_f_data): Likewise.
18526 (struct test_ff_f_data_nexttoward): Likewise.
18527 (struct test_fi_f_data): Likewise.
18528 (struct test_fl_f_data): Likewise.
18529 (struct test_if_f_data): Likewise.
18530 (struct test_fff_f_data): Likewise.
18531 (struct test_c_f_data): Likewise.
18532 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18533 (struct test_fF_f1_data): Likewise.
18534 (struct test_ffI_f1_data): Likewise.
18535 (struct test_c_c_data): Remove max_ulp field.
18536 (struct test_cc_c_data): Likewise.
18537 (struct test_f_i_data): Likewise.
18538 (struct test_ff_i_data): Likewise.
18539 (struct test_f_l_data): Likewise.
18540 (struct test_f_L_data): Likewise.
18541 (struct test_sincos_data): Likewise.
18542 (RUN_TEST_f_f): Do not handle ulps.
18543 (RUN_TEST_LOOP_f_f): Likewise.
18544 (RUN_TEST_2_f): Likewise.
18545 (RUN_TEST_LOOP_2_f): Likewise.
18546 (RUN_TEST_fff_f): Likewise.
18547 (RUN_TEST_LOOP_fff_f): Likewise.
18548 (RUN_TEST_c_f): Likewise.
18549 (RUN_TEST_LOOP_c_f): Likewise.
18550 (RUN_TEST_f_f1): Likewise.
18551 (RUN_TEST_LOOP_f_f1): Likewise.
18552 (RUN_TEST_fF_f1): Likewise.
18553 (RUN_TEST_LOOP_fF_f1): Likewise.
18554 (RUN_TEST_fI_f1): Likewise.
18555 (RUN_TEST_LOOP_fI_f1): Likewise.
18556 (RUN_TEST_ffI_f1): Likewise.
18557 (RUN_TEST_LOOP_ffI_f1): Likewise.
18558 (RUN_TEST_c_c): Likewise.
18559 (RUN_TEST_LOOP_c_c): Likewise.
18560 (RUN_TEST_cc_c): Likewise.
18561 (RUN_TEST_LOOP_cc_c): Likewise.
18562 (RUN_TEST_f_i): Likewise.
18563 (RUN_TEST_LOOP_f_i): Likewise.
18564 (RUN_TEST_f_i_tg): Likewise.
18565 (RUN_TEST_LOOP_f_i_tg): Likewise.
18566 (RUN_TEST_ff_i_tg): Likewise.
18567 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18568 (RUN_TEST_f_b): Likewise.
18569 (RUN_TEST_LOOP_f_b): Likewise.
18570 (RUN_TEST_f_b_tg): Likewise.
18571 (RUN_TEST_LOOP_f_b_tg): Likewise.
18572 (RUN_TEST_f_l): Likewise.
18573 (RUN_TEST_LOOP_f_l): Likewise.
18574 (RUN_TEST_f_L): Likewise.
18575 (RUN_TEST_LOOP_f_L): Likewise.
18576 (RUN_TEST_sincos): Likewise.
18577 (RUN_TEST_LOOP_sincos): Likewise.
18579 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18583 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18584 main case of finite arguments, set rounding mode to FE_TONEAREST
18585 and discard exceptions.
18586 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18588 (remainder_tonearest_test_data): New variable.
18589 (remainder_test_tonearest): New function.
18590 (remainder_towardzero_test_data): New variable.
18591 (remainder_test_towardzero): New function.
18592 (remainder_downward_test_data): New variable.
18593 (remainder_test_downward): New function.
18594 (remainder_upward_test_data): New variable.
18595 (remainder_test_upward): New function.
18596 (main): Call the new test functions.
18598 * math/libm-test.inc (struct test_f_f1_data): Remove field
18600 (struct test_fF_f1_data): Likewise.
18601 (struct test_ffI_f1_data): Likewise.
18602 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18603 based on value of EXTRA_EXPECTED.
18604 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18605 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18606 EXTRA_VAR based on value of EXTRA_EXPECTED.
18607 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18608 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18609 EXTRA_VAR based on value of EXTRA_EXPECTED.
18610 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18611 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18612 EXTRA_VAR based on value of EXTRA_EXPECTED.
18613 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18614 * math/gen-libm-test.pl (parse_args): Don't output initializers
18615 for extra output values.
18617 * math/libm-test.inc (check_int): Expect result to be exactly
18618 equal to expected value and do not handle ulps.
18619 (check_long): Likewise.
18620 (check_longlong): Likewise.
18622 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18624 (cimag_test_data): Likewise.
18625 (conj_test_data): Likewise.
18626 (copysign_test_data): Likewise.
18627 (cproj_test_data): Likewise.
18628 (creal_test_data): Likewise.
18629 (fabs_test_data): Likewise.
18630 (fdim_test_data): Likewise.
18631 (finite_test_data): Likewise.
18632 (floor_test_data): Likewise.
18633 (fmax_test_data): Likewise.
18634 (fmin_test_data): Likewise.
18635 (fmod_test_data): Likewise.
18636 (fpclassify_test_data): Likewise.
18637 (frexp_test_data): Likewise.
18638 (ilogb_test_data): Likewise.
18639 (isfinite_test_data): Likewise.
18640 (isgreater_test_data): Likewise.
18641 (isgreaterequal_test_data): Likewise.
18642 (isinf_test_data): Likewise.
18643 (isless_test_data): Likewise.
18644 (islessequal_test_data): Likewise.
18645 (islessgreater_test_data): Likewise.
18646 (isnan_test_data): Likewise.
18647 (isnormal_test_data): Likewise.
18648 (issignaling_test_data): Likewise.
18649 (isunordered_test_data): Likewise.
18650 (ldexp_test_data): Likewise.
18651 (lrint_test_data): Likewise.
18652 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18653 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18654 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18655 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18656 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18657 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18659 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18660 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18661 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18662 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18664 (lrint_downward_test_data): Test for "inexact" exceptions.
18665 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18666 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18667 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18669 (lrint_upward_test_data): Test for "inexact" exceptions.
18670 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18672 (llrint_test_data): Test for "inexact" exceptions.
18673 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18674 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18675 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18676 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18677 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18678 (llrint_downward_test_data): Test for "inexact" exceptions.
18679 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18680 (llrint_upward_test_data): Test for "inexact" exceptions.
18681 (logb_test_data): Likewise.
18682 (logb_downward_test_data): Likewise.
18683 (nextafter_test_data): Likewise.
18684 (nexttoward_test_data): Likewise.
18685 (remainder_test_data): Likewise.
18686 (remquo_test_data): Likewise.
18687 (scalbn_test_data): Likewise.
18688 (scalbln_test_data): Likewise.
18689 (signbit_test_data): Likewise.
18690 (sqrt_test_data): Likewise.
18691 (significand_test_data): Likewise.
18693 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18696 * benchtests/bench-modf.c (struct args): Mark arg0 as
18698 * scripts/bench.pl: Mark members of struct args as volatile.
18700 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18703 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18704 negative infinity on POWER6 or lower.
18705 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18707 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18710 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18711 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18712 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18713 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18714 (_FP_SETQNAN): New macro.
18715 (_FP_SETQNAN_SEMIRAW): Likewise.
18716 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18717 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18718 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18719 (FP_EXTEND): Use _FP_FRAC_SNANP.
18720 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18721 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18725 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18728 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18730 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18731 with DIVIDE_BY_ZERO_EXCEPTION.
18732 (gamma_test_data): Likewise.
18733 (lgamma_test_data): Likewise.
18734 (log_test_data): Likewise.
18735 (log10_test_data): Likewise.
18736 (log2_test_data): Likewise.
18737 (tgamma_test_data): Likewise.
18739 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18740 (acos_test_tonearest): Likewise.
18741 (acos_test_towardzero): Likewise.
18742 (acos_test_downward): Likewise.
18743 (acos_test_upward): Likewise.
18744 (acosh_test): Likewise.
18745 (asin_test): Likewise.
18746 (asin_test_tonearest): Likewise.
18747 (asin_test_towardzero): Likewise.
18748 (asin_test_downward): Likewise.
18749 (asin_test_upward): Likewise.
18750 (asinh_test): Likewise.
18751 (atan_test): Likewise.
18752 (atanh_test): Likewise.
18753 (atan2_test): Likewise.
18754 (cabs_test): Likewise.
18755 (cacos_test): Likewise.
18756 (cacosh_test): Likewise.
18757 (casin_test): Likewise.
18758 (casinh_test): Likewise.
18759 (catan_test): Likewise.
18760 (catanh_test): Likewise.
18761 (cbrt_test): Likewise.
18762 (ccos_test): Likewise.
18763 (ccosh_test): Likewise.
18764 (cexp_test): Likewise.
18765 (clog_test): Likewise.
18766 (clog10_test): Likewise.
18767 (cos_test): Likewise.
18768 (cos_test_tonearest): Likewise.
18769 (cos_test_towardzero): Likewise.
18770 (cos_test_downward): Likewise.
18771 (cos_test_upward): Likewise.
18772 (cosh_test): Likewise.
18773 (cosh_test_tonearest): Likewise.
18774 (cosh_test_towardzero): Likewise.
18775 (cosh_test_downward): Likewise.
18776 (cosh_test_upward): Likewise.
18777 (cpow_test): Likewise.
18778 (csin_test): Likewise.
18779 (csinh_test): Likewise.
18780 (csqrt_test): Likewise.
18781 (ctan_test): Likewise.
18782 (ctan_test_tonearest): Likewise.
18783 (ctan_test_towardzero): Likewise.
18784 (ctan_test_downward): Likewise.
18785 (ctan_test_upward): Likewise.
18786 (ctanh_test): Likewise.
18787 (ctanh_test_tonearest): Likewise.
18788 (ctanh_test_towardzero): Likewise.
18789 (ctanh_test_downward): Likewise.
18790 (ctanh_test_upward): Likewise.
18791 (erf_test): Likewise.
18792 (erfc_test): Likewise.
18793 (exp_test): Likewise.
18794 (exp_test_tonearest): Likewise.
18795 (exp_test_towardzero): Likewise.
18796 (exp_test_downward): Likewise.
18797 (exp_test_upward): Likewise.
18798 (exp10_test): Likewise.
18799 (exp2_test): Likewise.
18800 (expm1_test): Likewise.
18801 (fmod_test): Likewise.
18802 (gamma_test): Likewise.
18803 (hypot_test): Likewise.
18804 (j0_test): Likewise.
18805 (j1_test): Likewise.
18806 (jn_test): Likewise.
18807 (lgamma_test): Likewise.
18808 (log_test): Likewise.
18809 (log10_test): Likewise.
18810 (log1p_test): Likewise.
18811 (log2_test): Likewise.
18812 (logb_test_downward): Likewise.
18813 (pow_test): Likewise.
18814 (pow_test_tonearest): Likewise.
18815 (pow_test_towardzero): Likewise.
18816 (pow_test_downward): Likewise.
18817 (pow_test_upward): Likewise.
18818 (remainder_test): Likewise.
18819 (remquo_test): Likewise.
18820 (sin_test): Likewise.
18821 (sin_test_tonearest): Likewise.
18822 (sin_test_towardzero): Likewise.
18823 (sin_test_downward): Likewise.
18824 (sin_test_upward): Likewise.
18825 (sincos_test): Likewise.
18826 (sinh_test): Likewise.
18827 (sinh_test_tonearest): Likewise.
18828 (sinh_test_towardzero): Likewise.
18829 (sinh_test_downward): Likewise.
18830 (sinh_test_upward): Likewise.
18831 (sqrt_test): Likewise.
18832 (tan_test): Likewise.
18833 (tan_test_tonearest): Likewise.
18834 (tan_test_towardzero): Likewise.
18835 (tan_test_downward): Likewise.
18836 (tan_test_upward): Likewise.
18837 (tanh_test): Likewise.
18838 (tgamma_test): Likewise.
18839 (y0_test): Likewise.
18840 (y1_test): Likewise.
18841 (yn_test): Likewise.
18843 * math/gen-libm-test.pl (adjust_arg): Remove function.
18844 (special_function): Remove argument $in_func. Only handle
18845 generating output for tables of tests, not inside functions.
18846 (parse_args): Likewise.
18847 (generate_testfile): Remove variable $in_func. Update call to
18849 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18850 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18851 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18852 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18853 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18854 (MAX_VALUE_INIT): Rename macro to max_value.
18855 (MIN_VALUE_INIT): Rename macro to min_value.
18856 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18857 (plus_zero): Remove variable.
18858 (minus_zero): Likewise.
18859 (plus_infty): Likewise.
18860 (minus_infty): Likewise.
18861 (qnan_value): Likewise.
18862 (max_value): Likewise.
18863 (min_value): Likewise.
18864 (min_subnorm_value): Likewise.
18866 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18868 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18869 uint64_t or uint32_t usage.
18870 * crypt/sha256-block.c: Likewise.
18871 * crypt/sha256-crypt.c: Likewise.
18872 * crypt/sha256.c: Likewise.
18873 * crypt/sha512-block.c: Likewise.
18874 * crypt/sha512-crypt.c: Likewise.
18875 * crypt/sha512.c: Likewise.
18876 * debug/backtrace-tst.c: Likewise.
18877 * debug/pcprofiledump.c: Likewise.
18878 * elf/cache.c: Likewise.
18879 * elf/dl-cache.c: Likewise.
18880 * elf/dl-misc.c: Likewise.
18881 * elf/dl-profile.c: Likewise.
18882 * elf/dl-support.c: Likewise.
18883 * elf/ldconfig.c: Likewise.
18884 * elf/sprof.c: Likewise.
18885 * iconv/dummy-repertoire.c: Likewise.
18886 * iconv/iconv_charmap.c: Likewise.
18887 * iconv/skeleton.c: Likewise.
18888 * iconvdata/8bit-generic.c: Likewise.
18889 * iconvdata/cp737.h: Likewise.
18890 * iconvdata/cp775.h: Likewise.
18891 * iconvdata/ibm1008.h: Likewise.
18892 * iconvdata/ibm1025.h: Likewise.
18893 * iconvdata/ibm1046.h: Likewise.
18894 * iconvdata/ibm1097.h: Likewise.
18895 * iconvdata/ibm1112.h: Likewise.
18896 * iconvdata/ibm1122.h: Likewise.
18897 * iconvdata/ibm1123.h: Likewise.
18898 * iconvdata/ibm1124.h: Likewise.
18899 * iconvdata/ibm1129.h: Likewise.
18900 * iconvdata/ibm1130.h: Likewise.
18901 * iconvdata/ibm1132.h: Likewise.
18902 * iconvdata/ibm1133.h: Likewise.
18903 * iconvdata/ibm1137.h: Likewise.
18904 * iconvdata/ibm1140.h: Likewise.
18905 * iconvdata/ibm1141.h: Likewise.
18906 * iconvdata/ibm1142.h: Likewise.
18907 * iconvdata/ibm1143.h: Likewise.
18908 * iconvdata/ibm1144.h: Likewise.
18909 * iconvdata/ibm1145.h: Likewise.
18910 * iconvdata/ibm1146.h: Likewise.
18911 * iconvdata/ibm1147.h: Likewise.
18912 * iconvdata/ibm1148.h: Likewise.
18913 * iconvdata/ibm1149.h: Likewise.
18914 * iconvdata/ibm1153.h: Likewise.
18915 * iconvdata/ibm1154.h: Likewise.
18916 * iconvdata/ibm1155.h: Likewise.
18917 * iconvdata/ibm1156.h: Likewise.
18918 * iconvdata/ibm1157.h: Likewise.
18919 * iconvdata/ibm1158.h: Likewise.
18920 * iconvdata/ibm1160.h: Likewise.
18921 * iconvdata/ibm1161.h: Likewise.
18922 * iconvdata/ibm1162.h: Likewise.
18923 * iconvdata/ibm1163.h: Likewise.
18924 * iconvdata/ibm1164.h: Likewise.
18925 * iconvdata/ibm1166.h: Likewise.
18926 * iconvdata/ibm1167.h: Likewise.
18927 * iconvdata/ibm12712.h: Likewise.
18928 * iconvdata/ibm1390.h: Likewise.
18929 * iconvdata/ibm1399.h: Likewise.
18930 * iconvdata/ibm16804.h: Likewise.
18931 * iconvdata/ibm4517.h: Likewise.
18932 * iconvdata/ibm4899.h: Likewise.
18933 * iconvdata/ibm4909.h: Likewise.
18934 * iconvdata/ibm4971.h: Likewise.
18935 * iconvdata/ibm5347.h: Likewise.
18936 * iconvdata/ibm803.h: Likewise.
18937 * iconvdata/ibm856.h: Likewise.
18938 * iconvdata/ibm901.h: Likewise.
18939 * iconvdata/ibm902.h: Likewise.
18940 * iconvdata/ibm9030.h: Likewise.
18941 * iconvdata/ibm9066.h: Likewise.
18942 * iconvdata/ibm921.h: Likewise.
18943 * iconvdata/ibm922.h: Likewise.
18944 * iconvdata/ibm9448.h: Likewise.
18945 * iconvdata/isiri-3342.h: Likewise.
18946 * iconvdata/jis0201.h: Likewise.
18947 * include/link.h: Likewise.
18948 * include/netdb.h: Likewise.
18949 * inet/check_native.c: Likewise.
18950 * inet/check_pf.c: Likewise.
18951 * inet/getipv4sourcefilter.c: Likewise.
18952 * inet/getnameinfo.c: Likewise.
18953 * inet/getsourcefilter.c: Likewise.
18954 * inet/htonl.c: Likewise.
18955 * inet/setipv4sourcefilter.c: Likewise.
18956 * inet/setsourcefilter.c: Likewise.
18957 * inet/test-inet6_opt.c: Likewise.
18958 * inet/tst-network.c: Likewise.
18959 * locale/C-collate.c: Likewise.
18960 * locale/C-ctype.c: Likewise.
18961 * locale/C-time.c: Likewise.
18962 * locale/C-translit.h: Likewise.
18963 * locale/loadarchive.c: Likewise.
18964 * locale/programs/3level.h: Likewise.
18965 * locale/programs/charmap.c: Likewise.
18966 * locale/programs/charmap.h: Likewise.
18967 * locale/programs/ld-address.c: Likewise.
18968 * locale/programs/ld-collate.c: Likewise.
18969 * locale/programs/ld-ctype.c: Likewise.
18970 * locale/programs/ld-identification.c: Likewise.
18971 * locale/programs/ld-measurement.c: Likewise.
18972 * locale/programs/ld-messages.c: Likewise.
18973 * locale/programs/ld-monetary.c: Likewise.
18974 * locale/programs/ld-name.c: Likewise.
18975 * locale/programs/ld-numeric.c: Likewise.
18976 * locale/programs/ld-paper.c: Likewise.
18977 * locale/programs/ld-telephone.c: Likewise.
18978 * locale/programs/ld-time.c: Likewise.
18979 * locale/programs/linereader.c: Likewise.
18980 * locale/programs/locale.c: Likewise.
18981 * locale/programs/locarchive.c: Likewise.
18982 * locale/programs/locfile.h: Likewise.
18983 * locale/programs/repertoire.c: Likewise.
18984 * locale/programs/simple-hash.c: Likewise.
18985 * locale/programs/simple-hash.h: Likewise.
18986 * malloc/memusage.c: Likewise.
18987 * malloc/memusagestat.c: Likewise.
18988 * nis/nis_defaults.c: Likewise.
18989 * nis/nis_hash.c: Likewise.
18990 * nis/nis_print.c: Likewise.
18991 * nis/nis_xdr.c: Likewise.
18992 * nscd/connections.c: Likewise.
18993 * nscd/hstcache.c: Likewise.
18994 * nscd/nscd_gethst_r.c: Likewise.
18995 * nscd/nscd_getserv_r.c: Likewise.
18996 * nscd/nscd_helper.c: Likewise.
18997 * nscd/servicescache.c: Likewise.
18998 * nss/makedb.c: Likewise.
18999 * nss/nss_db/db-XXX.c: Likewise.
19000 * nss/nss_db/db-initgroups.c: Likewise.
19001 * nss/nss_db/db-netgrp.c: Likewise.
19002 * nss/nss_files/files-network.c: Likewise.
19003 * nss/nss_files/files-parse.c: Likewise.
19004 * posix/bug-regex5.c: Likewise.
19005 * posix/fnmatch_loop.c: Likewise.
19006 * posix/regcomp.c: Likewise.
19007 * posix/regexec.c: Likewise.
19008 * posix/tst-rfc3484-2.c: Likewise.
19009 * posix/tst-rfc3484-3.c: Likewise.
19010 * posix/tst-rfc3484.c: Likewise.
19011 * resolv/nss_dns/dns-canon.c: Likewise.
19012 * resolv/nss_dns/dns-network.c: Likewise.
19013 * resolv/res_init.c: Likewise.
19014 * resolv/res_mkquery.c: Likewise.
19015 * resolv/tst-aton.c: Likewise.
19016 * stdlib/cxa_atexit.c: Likewise.
19017 * stdlib/cxa_finalize.c: Likewise.
19018 * stdlib/gen-fpioconst.c: Likewise.
19019 * stdlib/strtol_l.c: Likewise.
19020 * string/tst-endian.c: Likewise.
19021 * sunrpc/auth_des.c: Likewise.
19022 * sunrpc/clnt_udp.c: Likewise.
19023 * sunrpc/rtime.c: Likewise.
19024 * sunrpc/svcauth_des.c: Likewise.
19025 * sunrpc/xdr.c: Likewise.
19026 * sunrpc/xdr_intXX_t.c: Likewise.
19027 * sunrpc/xdr_rec.c: Likewise.
19028 * sysdeps/generic/ldconfig.h: Likewise.
19029 * sysdeps/generic/ldsodefs.h: Likewise.
19030 * sysdeps/generic/memusage.h: Likewise.
19031 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19032 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19033 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19034 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19035 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19036 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19037 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19039 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19040 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19041 * sysdeps/posix/getaddrinfo.c: Likewise.
19042 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19043 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19044 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19045 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19046 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19047 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19048 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19049 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19050 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19051 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19052 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19053 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19054 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19055 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19056 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19057 * sysdeps/x86_64/dl-tls.h: Likewise.
19058 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19059 * time/alt_digit.c: Likewise.
19060 * time/era.c: Likewise.
19061 * wcsmbs/tst-c16c32-1.c: Likewise.
19063 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19065 * math/libm-test.inc (struct test_sincos_data): New type.
19066 (RUN_TEST_LOOP_sincos): New macro.
19067 (sincos_test_data): New variable.
19068 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19070 2013-05-16 Richard Henderson <rth@redhat.com>
19072 * math/atest-exp2.c (LIMB64): New macro.
19073 (CONSTSZ): New macro.
19074 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19076 (print_mpn_fp): ... to function scope.
19077 (read_mpn_hex): Remove.
19078 (get_log2): Remove.
19079 (exp2_mpn): Use mp_log2.
19080 (main): Use mp_exp1.
19082 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19084 * math/libm-test.inc: Remove comment about not testing "inexact"
19086 (INEXACT_EXCEPTION): New macro.
19087 (NO_INEXACT_EXCEPTION): Likewise.
19088 (INVALID_EXCEPTION_OK): Update value.
19089 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19090 (OVERFLOW_EXCEPTION_OK): Likewise.
19091 (UNDERFLOW_EXCEPTION_OK): Likewise.
19092 (IGNORE_ZERO_INF_SIGN): Likewise.
19093 (ERRNO_UNCHANGED): Likewise.
19094 (ERRNO_EDOM): Likewise.
19095 (ERRNO_ERANGE): Likewise.
19096 (test_exceptions): Handle testing "inexact" exceptions.
19097 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19098 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19099 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19100 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19102 (rint_towardzero_test_data): Likewise.
19103 (rint_downward_test_data): Likewise.
19104 (rint_upward_test_data): Likewise.
19106 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19107 with OVERFLOW_EXCEPTION.
19108 (exp10_test_data): Likewise.
19109 (exp2_test_data): Likewise.
19110 (expm1_test_data): Likewise.
19111 (lgamma_test_data): Likewise.
19112 (pow_test_data): Likewise.
19113 (tgamma_test_data): Likewise.
19114 (yn_test_data): Remove duplicate test of overflow.
19116 * math/libm-test.inc (struct test_cc_c_data): New type.
19117 (RUN_TEST_LOOP_cc_c): New macro.
19118 (cpow_test_data): New variable.
19119 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19121 * math/libm-test.inc (struct test_f_L_data): New type.
19122 (RUN_TEST_LOOP_f_L): New macro.
19123 (llrint_test_data): New variable.
19124 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19125 (llrint_tonearest_test_data): New variable.
19126 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19127 (llrint_towardzero_test_data): New variable.
19128 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19129 (llrint_downward_test_data): New variable.
19130 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19131 (llrint_upward_test_data): New variable.
19132 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19133 (llround_test_data): New variable.
19134 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19136 2013-05-13 Peter Collingbourne <pcc@google.com>
19138 * math/atest-exp2.c (get_log2): Remove const attribute.
19140 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19142 * math/libm-test.inc (struct test_f_l_data): New type.
19143 (RUN_TEST_LOOP_f_l): New macro.
19144 (lrint_test_data): New variable.
19145 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19146 (lrint_tonearest_test_data): New variable.
19147 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19148 (lrint_towardzero_test_data): New variable.
19149 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19150 (lrint_downward_test_data): New variable.
19151 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19152 (lrint_upward_test_data): New variable.
19153 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19154 (lround_test_data): New variable.
19155 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19157 2013-05-15 Peter Collingbourne <pcc@google.com>
19159 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19160 (EXTRACT_WORDS64) Use where appropriate.
19161 (INSERT_WORDS64) Likewise.
19163 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19164 constraints with x constraints.
19165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19167 * malloc/obstack.c (_obstack_compat): Add initializer.
19169 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19172 si_trapno and add si_addr_lsb to _sifields.sigfault.
19173 (si_trapno): Remove macro.
19174 (si_addr_lsb): Define new macro.
19175 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19177 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19179 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19180 instead of TEST_f_l.
19181 (llrint_test_tonearest): Likewise.
19182 (llrint_test_towardzero): Likewise.
19183 (llrint_test_downward): Likewise.
19184 (llrint_test_upward): Likewise.
19185 (llround_test): Likewise.
19187 * math/libm-test.inc (struct test_f_i_data): Add comment.
19188 (RUN_TEST_LOOP_f_b): New macro.
19189 (RUN_TEST_LOOP_f_b_tg): Likewise.
19190 (finite_test_data): New variable.
19191 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19192 (isfinite_test_data): New variable.
19193 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19194 (isinf_test_data): New variable.
19195 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19196 (isnan_test_data): New variable.
19197 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19198 (isnormal_test_data): New variable.
19199 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19200 (issignaling_test_data): New variable.
19201 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19202 (signbit_test_data): New variable.
19203 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19205 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19206 with INVALID_EXCEPTION.
19207 (acosh_test_data): Likewise.
19208 (asin_test_data): Likewise.
19209 (atanh_test_data): Likewise.
19210 (fmod_test_data): Likewise.
19211 (log_test_data): Likewise.
19212 (log10_test_data): Likewise.
19213 (log2_test_data): Likewise.
19214 (pow_test_data): Likewise.
19215 (sqrt_test_data): Likewise.
19216 (y0_test_data): Likewise.
19217 (y1_test_data): Likewise.
19218 (yn_test_data): Likewise.
19220 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19223 * math/libm-test.inc (struct test_ff_i_data): New type.
19224 (RUN_TEST_LOOP_ff_i_tg): New macro.
19225 (isgreater_test_data): New variable.
19226 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19227 (isgreaterequal_test_data): New variable.
19228 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19229 (isless_test_data): New variable.
19230 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19231 (islessequal_test_data): New variable.
19232 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19233 (islessgreater_test_data): New variable.
19234 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19235 (isunordered_test_data): New variable.
19236 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19238 2013-05-14 David S. Miller <davem@davemloft.net>
19240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19242 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19244 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19246 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19248 (struct test_f_i_data): Change type of max_ulp to int.
19250 * math/libm-test.inc (test_ffI_f1_data): New type.
19251 (RUN_TEST_LOOP_ffI_f1): New macro.
19252 (remquo_test_data): New variable.
19253 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19255 * setjmp/tst-setjmp-fp.c: New file.
19256 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19257 (link-libm): New variable.
19258 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19260 * math/libm-test.inc (struct test_f_i_data): New type.
19261 (RUN_TEST_LOOP_f_i): New macro.
19262 (RUN_TEST_LOOP_f_i_tg): Likewise.
19263 (fpclassify_test_data): New variable.
19264 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19265 (ilogb_test_data): New variable.
19266 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19268 * math/libm-test.inc (scalbln_test): Correct function name in END
19271 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19272 (RUN_TEST_LOOP_fI_f1): New macro.
19273 (frexp_test_data): New variable.
19274 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19276 * math/libm-test.inc (struct test_fF_f1_data): New type.
19277 (RUN_TEST_LOOP_fF_f1): New macro.
19278 (modf_test_data): New variable.
19279 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19281 * math/libm-test.inc (struct test_f_f1_data): New type.
19282 (RUN_TEST_LOOP_f_f1): New macro.
19283 (gamma_test_data): New variable.
19284 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19285 (lgamma_test_data): New variable.
19286 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19288 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19290 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19291 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19292 (main): Comment "tls" pseudo-hwcap.
19294 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19296 * math/libm-test.inc (struct test_fl_f_data): New type.
19297 (RUN_TEST_LOOP_fl_f): New variable.
19298 (scalbln_test_data): New variable.
19299 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19301 * math/libm-test.inc (struct test_fi_f_data): New type.
19302 (RUN_TEST_LOOP_fi_f): New macro.
19303 (ldexp_test_data): New variable.
19304 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19305 (scalbn_test_data): New variable.
19306 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19308 * math/libm-test.inc (struct test_c_f_data): New type.
19309 (RUN_TEST_LOOP_c_f): New macro.
19310 (cabs_test_data): New variable.
19311 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19312 (carg_test_data): New variable.
19313 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19314 (cimag_test_data): New variable.
19315 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19316 (creal_test_data): New variable.
19317 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19319 * math/libm-test.inc (struct test_if_f_data): New type.
19320 (RUN_TEST_LOOP_if_f): New macro.
19321 (jn_test_data): New variable.
19322 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19323 (yn_test_data): New variable.
19324 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19326 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19328 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19330 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19331 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19333 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19335 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19336 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19337 (bench-deps): Add bench-timing.h.
19338 * benchtests-bench-skeleton.c: Include bench-timing.h.
19339 (main): Use TIMING_* macros instead of clock_gettime.
19340 * benchtests/bench-timing.h: New file.
19343 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19344 Renamed from _LIB_VERSION.
19345 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19347 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19349 * math/libm-test.inc (struct test_fff_f_data): New type.
19350 (RUN_TEST_LOOP_fff_f): New macro.
19351 (fma_test_data): New variable.
19352 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19353 (fma_towardzero_test_data): New variable.
19354 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19355 (fma_downward_test_data): New variable.
19356 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19357 (fma_upward_test_data): New variable.
19358 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19360 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19361 (struct test_c_c_data): New type.
19362 (RUN_TEST_LOOP_c_c): New macro.
19363 (cacos_test_data): New variable.
19364 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19365 (cacosh_test_data): New variable.
19366 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19367 (casin_test_data): New variable.
19368 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19369 (casinh_test_data): New variable.
19370 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19371 (catan_test_data): New variable.
19372 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19373 (catanh_test_data): New variable.
19374 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19375 (ccos_test_data): New variable.
19376 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19377 (ccosh_test_data): New variable.
19378 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19379 (cexp_test_data): New variable.
19380 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19381 (clog_test_data): New variable.
19382 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19383 (clog10_test_data): New variable.
19384 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19385 (conj_test_data): New variable.
19386 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19387 (cproj_test_data): New variable.
19388 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19389 (csin_test_data): New variable.
19390 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19391 (csinh_test_data): New variable.
19392 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19393 (csqrt_test_data): New variable.
19394 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19395 (ctan_test_data): New variable.
19396 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19397 (ctan_tonearest_test_data): New variable.
19398 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19399 (ctan_towardzero_test_data): New variable.
19400 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19401 (ctan_downward_test_data): New variable.
19402 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19403 (ctan_upward_test_data): New variable.
19404 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19405 (ctanh_test_data): New variable.
19406 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19407 (ctanh_tonearest_test_data): New variable.
19408 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19409 (ctanh_towardzero_test_data): New variable.
19410 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19411 (ctanh_downward_test_data): New variable.
19412 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19413 (ctanh_upward_test_data): New variable.
19414 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19415 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19418 * math/libm-test.inc (struct test_ff_f_data): New type.
19419 (struct test_ff_f_data_nexttoward): Likewise.
19420 (RUN_TEST_LOOP_2_f): New macro.
19421 (RUN_TEST_LOOP_ff_f): Likewise.
19422 (atan2_test_data): New variable.
19423 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19424 (copysign_test_data): New variable.
19425 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19426 (fdim_test_data): New variable.
19427 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19428 (fmax_test_data): New variable.
19429 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19430 (fmin_test_data): New variable.
19431 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19432 (fmod_test_data): New variable.
19433 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19434 (hypot_test_data): New variable.
19435 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19436 (nextafter_test_data): New variable.
19437 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19438 (nexttoward_test_data): New variable.
19439 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19440 (pow_test_data): New variable.
19441 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19442 (pow_tonearest_test_data): New variable.
19443 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19444 (pow_towardzero_test_data): New variable.
19445 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19446 (pow_downward_test_data): New variable.
19447 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19448 (pow_upward_test_data): New variable.
19449 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19450 (remainder_test_data): New variable.
19451 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19452 (scalb_test_data): New variable.
19453 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19454 * sysdeps/i386/fpu/libm-test-ulps: Update.
19456 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19458 * math/libm-test.inc (fma_test): Use max_value instead of local
19460 (nextafter_test): Likewise.
19462 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19463 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19464 (acos_downward_test_data): New variable.
19465 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19466 (acos_upward_test_data): New variable.
19467 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19468 (acosh_test_data): New variable.
19469 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19470 (asin_test_data): New variable.
19471 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19472 (asin_tonearest_test_data): New variable.
19473 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19474 (asin_towardzero_test_data): New variable.
19475 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19476 (asin_downward_test_data): New variable.
19477 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19478 (asin_upward_test_data): New variable.
19479 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19480 (asinh_test_data): New variable.
19481 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19482 (atan_test_data): New variable.
19483 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19484 (atanh_test_data): New variable.
19485 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19486 (cbrt_test_data): New variable.
19487 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19488 (ceil_test_data): New variable.
19489 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19490 (cos_test_data): New variable.
19491 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19492 (cos_tonearest_test_data): New variable.
19493 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19494 (cos_towardzero_test_data): New variable.
19495 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19496 (cos_downward_test_data): New variable.
19497 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19498 (cos_upward_test_data): New variable.
19499 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19500 (cosh_test_data): New variable.
19501 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19502 (cosh_tonearest_test_data): New variable.
19503 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19504 (cosh_towardzero_test_data): New variable.
19505 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19506 (cosh_downward_test_data): New variable.
19507 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19508 (cosh_upward_test_data): New variable.
19509 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19510 (erf_test_data): New variable.
19511 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19512 (erfc_test_data): New variable.
19513 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19514 (exp_test_data): New variable.
19515 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19516 (exp_tonearest_test_data): New variable.
19517 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19518 (exp_towardzero_test_data): New variable.
19519 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19520 (exp_downward_test_data): New variable.
19521 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19522 (exp_upward_test_data): New variable.
19523 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19524 (exp10_test_data): New variable.
19525 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19526 (exp2_test_data): New variable.
19527 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19528 (expm1_test_data): New variable.
19529 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19530 (fabs_test_data): New variable.
19531 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19532 (floor_test_data): New variable.
19533 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19534 (j0_test_data): New variable.
19535 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19536 (j1_test_data): New variable.
19537 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19538 (log_test_data): New variable.
19539 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19540 (log10_test_data): New variable.
19541 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19542 (log1p_test_data): New variable.
19543 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19544 (log2_test_data): New variable.
19545 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19546 (logb_test_data): New variable.
19547 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19548 (logb_downward_test_data): New variable.
19549 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19550 (nearbyint_test_data): New variable.
19551 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19552 (rint_test_data): New variable.
19553 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19554 (rint_tonearest_test_data): New variable.
19555 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19556 (rint_towardzero_test_data): New variable.
19557 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19558 (rint_downward_test_data): New variable.
19559 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19560 (rint_upward_test_data): New variable.
19561 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19562 (round_test_data): New variable.
19563 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19564 (sin_test_data): New variable.
19565 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19566 (sin_tonearest_test_data): New variable.
19567 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19568 (sin_towardzero_test_data): New variable.
19569 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19570 (sin_downward_test_data): New variable.
19571 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19572 (sin_upward_test_data): New variable.
19573 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19574 (sinh_test_data): New variable.
19575 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19576 (sinh_tonearest_test_data): New variable.
19577 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19578 (sinh_towardzero_test_data): New variable.
19579 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19580 (sinh_downward_test_data): New variable.
19581 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19582 (sinh_upward_test_data): New variable.
19583 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19584 (sqrt_test_data): New variable.
19585 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19586 (tan_test_data): New variable.
19587 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19588 (tan_tonearest_test_data): New variable.
19589 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19590 (tan_towardzero_test_data): New variable.
19591 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19592 (tan_downward_test_data): New variable.
19593 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19594 (tan_upward_test_data): New variable.
19595 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19596 (tanh_test_data): New variable.
19597 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19598 (tgamma_test_data): New variable.
19599 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19600 (trunc_test_data): New variable.
19601 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19602 (y0_test_data): New variable.
19603 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19604 (y1_test_data): New variable.
19605 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19606 (significand_test_data): New variable.
19607 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19609 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19612 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19614 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19616 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19618 2013-05-10 Andreas Jaeger <aj@suse.de>
19621 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19622 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19624 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19626 * math/gen-libm-test.pl (adjust_arg): New function.
19627 (special_functions): Handle generating output in both functions
19629 (parse_args): Likewise.
19630 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19631 $in_func argument to parse_args.
19632 * math/libm-test.inc (struct test_f_f_data): New type.
19633 (IF_ROUND_INIT_): New macro.
19634 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19635 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19636 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19637 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19638 (ROUND_RESTORE_): Likewise.
19639 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19640 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19641 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19642 (ROUND_RESTORE_FE_UPWARD): Likewise.
19643 (RUN_TEST_LOOP_f_f): New macro.
19644 (acos_test_data): New variable.
19645 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19646 (acos_tonearest_test_data): New variable.
19647 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19649 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19651 * benchtests/bench-skeleton.c (startup): Fix coding style.
19653 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19656 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19657 negative infinity argument.
19658 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19659 negative infinity argument.
19660 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19661 negative infinity argument.
19662 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19665 2013-05-10 Florian Weimer <fweimer@redhat.com>
19667 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19668 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19669 * iconv/iconv_prog.c (main): Likewise.
19670 * locale/programs/charmap-dir.c (charmap_readdir)
19671 (fopen_uncompressed): Likewise.
19672 * locale/programs/locfile.c (siblings_uncached)
19673 (write_locale_data): Use lstat64 instead of lstat.
19674 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19677 2013-05-10 Andreas Jaeger <aj@suse.de>
19680 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19682 Include <locale.h>.
19684 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19686 * elf/dl-close.c (_dl_close_worker): Add comments.
19688 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19691 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19693 (__ieee754_rem_pio2l): Update comments.
19696 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19698 (__ieee754_rem_pio2l): Update comments.
19700 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19701 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19703 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19706 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19707 (M_PI_34_LOG10El): Likewise.
19708 (M_PI2_LOG10El): Likewise.
19709 (M_PI4_LOG10El): Likewise.
19710 (M_PI_LOG10El): Likewise.
19712 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19716 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19718 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19719 (MINUS_ZERO_INIT): Likewise.
19720 (PLUS_INFTY_INIT): Likewise.
19721 (MINUS_INFTY_INIT): Likewise.
19722 (QNAN_VALUE_INIT): Likewise.
19723 (MAX_VALUE_INIT): Likewise.
19724 (MIN_VALUE_INIT): Likewise.
19725 (MIN_SUBNORM_VALUE_INIT): Likewise.
19726 (plus_zero): Initialize with PLUS_ZERO_INIT.
19727 (minus_zero): Initialize with MINUS_ZERO_INIT.
19728 (plus_infty): Initialize with PLUS_INFTY_INIT.
19729 (minus_infty): Initialize with MINUS_INFTY_INIT.
19730 (qnan_value): Initialize with QNAN_VALUE_INIT.
19731 (max_value): Initialize with MAX_VALUE_INIT.
19732 (min_value): Initialize with MIN_VALUE_INIT.
19733 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19735 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19736 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19737 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19738 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19740 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19741 (RUN_TEST_2_f): Likewise.
19742 (RUN_TEST_ff_f): Likewise.
19743 (RUN_TEST_fi_f): Likewise.
19744 (RUN_TEST_fl_f): Likewise.
19745 (RUN_TEST_fff_f): Likewise.
19746 (RUN_TEST_c_f): Likewise.
19747 (RUN_TEST_f_f1): Likewise.
19748 (RUN_TEST_fF_f1): Likewise.
19749 (RUN_TEST_fI_f1): Likewise.
19750 (RUN_TEST_ffI_f1): Likewise.
19751 (RUN_TEST_c_c): Likewise.
19752 (RUN_TEST_cc_c): Likewise.
19753 (RUN_TEST_f_i): Likewise.
19754 (RUN_TEST_f_i_tg): Likewise.
19755 (RUN_TEST_ff_i_tg): Likewise.
19756 (RUN_TEST_f_b): Likewise.
19757 (RUN_TEST_f_b_tg): Likewise.
19758 (RUN_TEST_f_l): Likewise.
19759 (RUN_TEST_f_L): Likewise.
19760 (RUN_TEST_sincos): Likewise.
19761 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19762 whether to show exceptions. Do not include ");\n" in return
19764 (special_functions): Output call to RUN_TEST_sincos instead of
19765 check_float calls. Update calls to new_test.
19766 (parse_args): Output call to single RUN_TEST_* macro instead of
19767 check_* calls and other assignments. Update calls to new_test.
19773 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19774 input to result for tgamma overflow.
19775 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19776 (gamma_coeff): New variable.
19777 (NCOEFF): New macro.
19778 (gamma_positive): New function.
19779 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19780 underflow here. Use gamma_positive instead of exp (lgamma) for
19782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19783 (gamma_coeff): New variable.
19784 (NCOEFF): New macro.
19785 (gammaf_positive): New function.
19786 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19787 underflow here. Use gamma_positive instead of exp (lgamma) for
19789 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19790 (gamma_coeff): New variable.
19791 (NCOEFF): New macro.
19792 (gammal_positive): New function.
19793 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19794 underflow here. Use gamma_positive instead of exp (lgamma) for
19796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19797 (gamma_coeff): New variable.
19798 (NCOEFF): New macro.
19799 (gammal_positive): New function.
19800 (__ieee754_gammal_r): Handle positive infinity, overflow and
19801 underflow here. Handle NaN the same as positive infinity. Remove
19802 check x < 0xffffffff for negative integers. Use gamma_positive
19803 instead of exp (lgamma) for other arguments.
19804 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19805 (gamma_coeff): New variable.
19806 (NCOEFF): New macro.
19807 (gammal_positive): New function.
19808 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19809 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19813 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19814 * sysdeps/generic/math_private.h (__gamma_productf): New
19816 (__gamma_product): Likewise.
19817 (__gamma_productl): Likewise.
19818 * math/Makefile (libm-calls): Add gamma_product.
19819 * math/libm-test.inc (tgamma_test): Add more tests.
19820 * sysdeps/i386/fpu/libm-test-ulps: Update.
19821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19823 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19825 * benchtests/bench-skeleton.c (main): Preheat CPU.
19827 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19829 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19831 2013-05-07 Roland McGrath <roland@hack.frob.com>
19833 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19834 and _dl_skip_args_internal.
19836 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19838 * manual/message.texi (Message Translation): Talk about users.
19839 Message to key mapping impacts design.
19841 2013-05-06 Roland McGrath <roland@hack.frob.com>
19843 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19845 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19847 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19848 * sysdeps/wordsize-64/glob64.c: ... here.
19850 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19851 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19854 * debug/getlogin_r_chk.c: Moved to ...
19855 * login/getlogin_r_chk.c: ... here.
19856 * debug/Makefile (routines): Move getlogin_r_chk to ...
19857 * login/Makefile (routines): ... here.
19858 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19859 * login/Versions (libc: GLIBC_2.4): ... here.
19861 * io/poll.c (__poll): Renamed from poll.
19862 Add libc_hidden_def.
19863 (poll): Define as weak alias.
19865 * debug/ptsname_r_chk.c: Moved to ...
19866 * login/ptsname_r_chk.c: ... here.
19867 * debug/Makefile (routines): Move ptsname_r_chk to ...
19868 * login/Makefile (routines): ... here.
19869 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19870 * login/Versions (libc: GLIBC_2.4): ... here.
19872 * posix/getlogin.c: Moved to ...
19873 * login/getlogin.c: ... here.
19874 * posix/getlogin_r.c: Moved to ...
19875 * login/getlogin_r.c: ... here.
19876 * posix/getlogin_r.c: Moved to ...
19877 * login/getlogin_r.c: ... here.
19878 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19879 * login/Makefile (routines): ... here.
19880 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19881 * login/Versions (libc: GLIBC_2.0): ... here.
19883 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19884 (setrlimit): Define as weak alias.
19886 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19887 Call __ names for open, ftruncate, and close.
19888 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19889 (truncate): Define as weak alias.
19891 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19893 * math/gen-libm-test.pl (parse_args): Initialize x before each
19894 test of frexp, modf and remquo.
19896 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19897 test signgam value.
19899 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19903 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19905 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19907 2013-05-06 Roland McGrath <roland@hack.frob.com>
19909 * elf/dl-writev.h: New file.
19910 * elf/dl-misc.c: Include it.
19911 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19912 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19914 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19916 * math/libm-test.inc (noXFails): Remove variable.
19917 (noXPasses): Likewise.
19918 (BUILD_COMPLEX_INT): Remove macro.
19919 (print_screen): Remove xfail argument.
19920 (print_screen_max_error): Likewise.
19921 (update_stats): Likewise.
19922 (print_max_error): Likewise. Update calls to other affected
19924 (print_complex_max_error): Likewise.
19925 (test_single_exception): Update calls to print_screen.
19926 (test_single_errno): Likewise.
19927 (check_float_internal): Remove xfail argument. Update calls to
19928 other affected functions.
19929 (check_float): Likewise.
19930 (check_complex): Likewise.
19931 (check_int): Likewise.
19932 (check_long): Likewise.
19933 (check_bool): Likewise.
19934 (check_longlong): Likewise.
19935 (main): Don't print noXFails and noXPasses.
19936 * math/gen-libm-test.pl (top level): Don't mention expected
19937 failure handling in comment.
19938 (new_test): Don't handle expected failures.
19939 (parse_args): Don't mention expected failure handling in comment.
19940 (generate_testfile): Don't handle expected failures.
19941 (parse_ulps): Likewise.
19942 (print_ulps_file): Likewise.
19943 (get_failure): Remove function.
19944 (output_test): Don't handle expected failures.
19945 * make/README.libm-test: Don't mention expected failure handling.
19947 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19948 (minus_zero): Likewise.
19949 (plus_infty): Likewise.
19950 (minus_infty): Likewise.
19951 (qnan_value): Likewise.
19952 (max_value): Likewise.
19953 (min_value): Likewise.
19954 (min_subnorm_value): Likewise.
19955 (initialize): Do not initialize those variables dynamically.
19957 2013-05-03 Roland McGrath <roland@hack.frob.com>
19959 * io/open.c (__open_2): Moved to ...
19960 * io/open_2.c: ... this new file.
19961 * io/open64.c (__open64_2): Moved to ...
19962 * io/open64_2.c: ... this new file.
19963 * io/openat.c (__openat_2): Moved to ...
19964 * io/openat_2.c: ... this new file.
19965 * io/openat64.c (__openat64_2): Moved to ...
19966 * io/openat64_2.c: ... this new file.
19967 * io/Makefile (routines): Add them.
19968 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19969 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19970 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19971 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19972 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19973 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19974 (__openat64): Add hidden_ver.
19975 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19976 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19978 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19979 Separately conditionalize setting of GLRO(dl_sysinfo) so
19980 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19981 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19983 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19985 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19988 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19989 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19990 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19991 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19992 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19994 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19996 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19997 test signgam value.
19999 * math/libm-test.inc (hypot_test): Do not use
20000 IGNORE_ZERO_INF_SIGN.
20002 2013-05-03 Andreas Jaeger <aj@suse.de>
20004 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20006 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20007 (PF_MAX): Adjust for VSOCK change.
20009 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20013 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20016 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20017 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20018 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20020 2013-05-02 David S. Miller <davem@davemloft.net>
20022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20024 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20026 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20028 2013-05-01 Roland McGrath <roland@hack.frob.com>
20030 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20032 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20035 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20036 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20037 Use __attribute__ ((__gnu_inline__)).
20038 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20039 Don't use __attribute__ ((__gnu_inline__)).
20041 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20044 * math/s_catan.c (__catan): Handle small real or imaginary part of
20045 input specially to avoid spurious underflow.
20046 * math/s_catanf.c (__catanf): Likewise.
20047 * math/s_catanh.c (__catanh): Likewise.
20048 * math/s_catanhf.c (__catanhf): Likewise.
20049 * math/s_catanhl.c (__catanhl): Likewise.
20050 * math/s_catanl.c (__catanl): Likewise.
20051 * math/libm-test.inc (catan_test): Add more tests.
20052 (catanh_test): Likewise.
20053 * sysdeps/i386/fpu/libm-test-ulps: Update.
20054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20056 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20060 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20063 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20064 accurately for denominator in atan2.
20065 * math/s_catanf.c (__catanf): Likewise.
20066 * math/s_catanh.c (__catanh): Likewise.
20067 * math/s_catanhf.c (__catanhf): Likewise.
20068 * math/s_catanhl.c (__catanhl): Likewise.
20069 * math/s_catanl.c (__catanl): Likewise.
20070 * math/libm-test.inc (catan_test): Add more tests.
20071 (catanh_test): Likewise.
20072 * sysdeps/i386/fpu/libm-test-ulps: Update.
20073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20075 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20077 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20079 * benchtests/Makefile (bench): Remove slow benchmarks.
20080 * benchtests/atan-inputs: Add slow benchmark inputs.
20081 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20082 (BENCH_FUNC): Accept variant offset.
20084 * benchtests/bench-skeleton.c (main): Run benchmark for each
20086 * benchtests/cos-inputs: Add slow benchmark inputs.
20087 * benchtests/exp-inputs: Likewise.
20088 * benchtests/pow-inputs: Likewise.
20089 * benchtests/sin-inputs: Likewise.
20090 * benchtests/slowatan-inputs: Remove.
20091 * benchtests/slowatan.c: Remove.
20092 * benchtests/slowcos-inputs: Remove.
20093 * benchtests/slowcos.c: Remove.
20094 * benchtests/slowexp-inputs: Remove.
20095 * benchtests/slowexp.c: Remove.
20096 * benchtests/slowpow-inputs: Remove.
20097 * benchtests/slowpow.c: Remove.
20098 * benchtests/slowsin-inputs: Remove.
20099 * benchtests/slowsin.c: Remove.
20100 * benchtests/slowtan-inputs: Remove.
20101 * benchtests/slowtan.c: Remove.
20102 * benchtests/tan-inputs: Add slow benchmark inputs.
20103 * scripts/bench.pl: Parse comments and directives.
20105 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20107 ($(objpfx)bench-%.c): Remove *-ITER.
20108 * benchtests/bench-modf.c: Remove definition of ITER.
20109 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20110 (main): Loop for DURATION seconds instead of fixed number of
20112 * scripts/bench.pl: Don't expect iterations in parameters.
20114 2013-04-29 Roland McGrath <roland@hack.frob.com>
20116 * io/fchdir.c (__fchdir): Renamed from fchdir.
20117 (fchdir): Define as weak alias.
20119 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20121 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20122 (ERRNO_EDOM): Likewise.
20123 (ERRNO_ERANGE): Likewise.
20124 (noErrnoTests): New variable.
20125 (init_max_error): Set errno to 0.
20126 (test_single_errno): New function.
20127 (test_errno): Likewise.
20128 (check_float_internal): Call test_errno. Set errno to 0.
20129 (check_complex): Refer to errno tests in comment.
20130 (check_int): Call test_errno. Set errno to 0.
20131 (check_long): Likewise.
20132 (check_bool): Likewise.
20133 (check_longlong): Likewise.
20134 (cos_test): Use ERRNO_* flags for errno tests instead of
20136 (expm1_test): Likewise.
20137 (fmod_test): Likewise.
20138 (ilogb_test): Likewise.
20139 (lgamma_test): Likewise.
20140 (pow_test): Likewise.
20141 (remainder_test): Likewise.
20142 (sin_test): Likewise.
20143 (tan_test): Likewise.
20144 (yn_test): Likewise.
20145 (initialize): Set errno to 0.
20146 (main): Print number of errno tests.
20147 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20149 2013-04-29 Andreas Jaeger <aj@suse.de>
20152 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20156 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20157 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20161 * stdlib/random.c (__initstate): Return NULL if
20165 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20166 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20169 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20173 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20175 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20176 of individual tests.
20177 (casin_test): Likewise.
20178 (casinh_test): Likewise.
20180 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20183 * math/s_catan.c (__catan): Handle arguments with large real or
20184 imaginary part separately without squaring.
20185 * math/s_catanf.c (__catanf): Likewise.
20186 * math/s_catanh.c (__catanh): Likewise.
20187 * math/s_catanhf.c (__catanhf): Likewise.
20188 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20190 (__catanhl): Handle arguments with large real or imaginary part
20191 separately without squaring.
20192 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20194 (__catanl): Handle arguments with large real or imaginary part
20195 separately without squaring.
20196 * math/libm-test.inc (catan_test): Add more tests.
20197 (catanh_test): Likewise.
20198 * sysdeps/i386/fpu/libm-test-ulps: Update.
20199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20201 2013-04-27 Andreas Jaeger <aj@suse.de>
20204 * stdlib/stdlib.h: Update guards for qecvt.
20205 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20208 2013-04-27 Allan McRae <allan@archlinux.org>
20210 * sysdeps/i386/fpu/libm-test-ulps: Update.
20212 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20215 * math/s_catan.c: Include <float.h>.
20216 (__catan): Ensure underflow exception occurs for underflowed
20218 * math/s_catanf.c: Include <float.h>.
20219 (__catanf): Ensure underflow exception occurs for underflowed
20221 * math/s_catanh.c: Include <float.h>.
20222 (__catanh): Ensure underflow exception occurs for underflowed
20224 * math/s_catanhf.c: Include <float.h>.
20225 (__catanhf): Ensure underflow exception occurs for underflowed
20227 * math/s_catanhl.c: Include <float.h>.
20228 (__catanhl): Ensure underflow exception occurs for underflowed
20230 * math/s_catanl.c: Include <float.h>.
20231 (__catanl): Ensure underflow exception occurs for underflowed
20233 * math/libm-test.inc (catan_test): Add more tests.
20234 (catanh_test): Likewise.
20237 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20238 underflowed result.
20239 * math/s_ccoshf.c (__ccoshf): Likewise.
20240 * math/s_ccoshl.c (__ccoshl): Likewise.
20241 * math/s_csin.c (__csin): Likewise.
20242 * math/s_csinf.c (__csinf): Likewise.
20243 * math/s_csinh.c (__csinh): Likewise.
20244 * math/s_csinhf.c (__csinhf): Likewise.
20245 * math/s_csinhl.c (__csinhl): Likewise.
20246 * math/s_csinl.c (__csinl): Likewise.
20247 * math/libm-test.inc (ccos_test): Add more tests.
20248 (ccosh_test): Likewise.
20249 (csin_test): Likewise.
20250 (csinh_test): Likewise.
20252 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20254 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20255 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20256 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20257 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20258 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20259 powerpc/power5+/fpu folders.
20260 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20263 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20267 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20269 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20270 additions to variable.
20271 [$(config-machine) = x86_64] (modules-names): Likewise.
20272 ($(objpfx)tst-audit3): Remove dependency.
20273 ($(objpfx)tst-audit3.out): Likewise.
20274 ($(objpfx)tst-audit4): Likewise.
20275 ($(objpfx)tst-audit4.out): Likewise.
20276 ($(objpfx)tst-audit5): Likewise.
20277 ($(objpfx)tst-audit5.out): Likewise.
20278 ($(objpfx)tst-audit6): Likewise.
20279 ($(objpfx)tst-audit6.out): Likewise.
20280 ($(objpfx)tst-audit7): Likewise.
20281 ($(objpfx)tst-audit7.out): Likewise.
20282 (tst-audit3-ENV): Remove variable.
20283 (tst-audit4-ENV): Likewise.
20284 (tst-audit5-ENV): Likewise.
20285 (tst-audit6-ENV): Likewise.
20286 (tst-audit7-ENV): Likewise.
20287 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20288 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20289 addition to variable.
20290 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20291 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20292 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20293 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20294 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20295 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20296 tst-audit3, tst-audit4 and tst-audit5.
20297 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20298 tst-audit6 and tst-audit7.
20299 [$(subdir) = elf] (modules-names): Add audit modules for those
20301 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20302 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20303 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20304 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20305 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20306 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20307 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20308 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20309 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20310 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20311 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20312 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20313 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20314 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20315 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20316 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20318 [$(subdir) = elf && $(config-cflags-avx) = yes]
20319 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20320 [$(subdir) = elf && $(config-cflags-avx) = yes]
20321 (CFLAGS-tst-auditmod4a.c): Likewise.
20322 [$(subdir) = elf && $(config-cflags-avx) = yes]
20323 (CFLAGS-tst-auditmod4b.c): Likewise.
20324 [$(subdir) = elf && $(config-cflags-avx) = yes]
20325 (CFLAGS-tst-auditmod6b.c): Likewise.
20326 [$(subdir) = elf && $(config-cflags-avx) = yes]
20327 (CFLAGS-tst-auditmod6c.c): Likewise.
20328 [$(subdir) = elf && $(config-cflags-avx) = yes]
20329 (CFLAGS-tst-auditmod7b.c): Likewise.
20330 * elf/tst-audit3.c: Move to ...
20331 * sysdeps/x86_64/tst-audit3.c: ... here.
20332 * elf/tst-audit4.c: Move to ...
20333 * sysdeps/x86_64/tst-audit4.c: ... here.
20334 * elf/tst-audit5.c: Move to ...
20335 * sysdeps/x86_64/tst-audit5.c: ... here.
20336 * elf/tst-audit6.c: Move to ...
20337 * sysdeps/x86_64/tst-audit6.c: ... here.
20338 * elf/tst-audit7.c: Move to ...
20339 * sysdeps/x86_64/tst-audit7.c: ... here.
20340 * elf/tst-auditmod3a.c: Move to ...
20341 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20342 * elf/tst-auditmod3b.c: Move to ...
20343 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20344 * elf/tst-auditmod4a.c: Move to ...
20345 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20346 * elf/tst-auditmod4b.c: Move to ...
20347 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20348 * elf/tst-auditmod5a.c: Move to ...
20349 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20350 * elf/tst-auditmod5b.c: Move to ...
20351 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20352 * elf/tst-auditmod6a.c: Move to ...
20353 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20354 * elf/tst-auditmod6b.c: Move to ...
20355 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20356 * elf/tst-auditmod6c.c: Move to ...
20357 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20358 * elf/tst-auditmod7a.c: Move to ...
20359 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20360 * elf/tst-auditmod7b.c: Move to ...
20361 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20363 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20366 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20367 define unconditionally.
20368 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20369 define unconditionally.
20370 (INT8_C, INT16_C, etc.): Likewise.
20372 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20374 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20375 __ehdr_start with hidden visibility.
20377 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20379 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20381 * math/libm-test.inc (cos_test): Use accurate hex constants.
20382 (sincost_test): Likewise.
20384 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20386 * math/libm-test.inc (catan_test): Add more tests.
20387 (catanh_test): Likewise.
20389 * math/s_catanf.c (__catanf): Use suffixed floating-point
20391 * math/s_catanhf.c (__catanhf): Likewise.
20392 * math/s_catanhl.c (__catanhl): Likewise.
20393 * math/s_catanl.c (__catanl): Likewise.
20396 * math/s_catan.c (__catan): Calculate imaginary part of result
20397 with log1p not log unless computing log of number close to 0.
20398 * math/s_catanf.c (__catanf): Likewise.
20399 * math/s_catanl.c (__catanl): Likewise.
20400 * math/s_catanh.c (__catanh): Calculate real part of result with
20401 log1p not log unless computing log of number close to 0.
20402 * math/s_catanhf.c (__catanhf): Likewise.
20403 * math/s_catanhl.c (__catanhl): Likewise.
20404 * math/libm-test.inc (catan_test): Add more tests.
20405 (catanh_test): Likewise.
20406 * sysdeps/i386/fpu/libm-test-ulps: Update.
20407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20409 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20411 * benchtests/Makefile: Mention files in which fast and slow
20412 paths of math functions are implemented.
20414 2013-04-23 Roland McGrath <roland@hack.frob.com>
20416 * sysdeps/posix/timespec_get.c: New file.
20418 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20420 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20422 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20424 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20425 powerpc/power5/fpu folders.
20426 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20427 * benchtests/Makefile: Add modf testcase.
20428 * benchtests/bench-modf.c: New file: Benchmark test for mo
20430 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20433 * time/Makefile (tests): Add tst-strptime-whitespace.
20434 * time/strptime_l.c (get_number): Use ISSPACE.
20435 (__strptime_internal): Likewise.
20436 * time/tst-strptime-whitespace.c: New test case.
20438 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20440 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20442 (_nss_files_init): Set it here.
20444 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20446 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20447 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20450 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20452 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20454 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20456 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20459 2013-04-21 David S. Miller <davem@davemloft.net>
20461 * po/ru.po: Update Russion translation from translation project.
20463 2013-04-17 Adam Conrad <adconrad@0c3.net>
20465 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20468 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20470 * configure.in: Remove i386 configure warning. Remove i386 case.
20471 * configure: Regenerate.
20472 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20473 Add example to error message.
20474 * sysdeps/i386/configure: Regenerate.
20476 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20478 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20480 * benchtests/cos-inputs: New file.
20481 * benchtests/slowcos-inputs: New file.
20482 * benchtests/slowcos.c: New file.
20483 * benchtests/slowtan-inputs: New file.
20484 * benchtests/slowtan.c: New file.
20485 * benchtests/tan-inputs: New file.
20487 2013-04-16 Roland McGrath <roland@hack.frob.com>
20489 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20492 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20494 * benchtests/Makefile: Include cppflags-iterator.mk to add
20495 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20497 * Makefile.in (bench-clean): New target.
20498 * benchtests/Makefile (bench-clean): Likewise.
20500 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20502 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20504 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20506 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20508 2013-04-15 Andreas Schwab <schwab@suse.de>
20510 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20512 * nscd/pwdcache.c (cache_addpw): Likewise.
20513 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20516 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20518 * benchtests/Makefile (bench): Write all output to
20519 bench-out.tmp together.
20521 2013-04-15 Andreas Schwab <schwab@suse.de>
20523 * nscd/nscd.c (main): Don't fork again after closing files.
20525 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20527 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20529 * benchtests/Rules (bench-deps): Collect dependencies into a
20530 single variable. Add Makefile to dependencies.
20531 ($(objpfx)bench-%.c): Depend on bench-deps.
20533 2013-04-12 Roland McGrath <roland@hack.frob.com>
20534 Xavier Roche <roche+kml2@exalead.com>
20537 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20538 just that it's a file descriptor.
20539 * manual/llio.texi (Synchronizing AIO Operations): Update description
20540 for EBADF error from aio_fsync.
20542 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20544 * Rules (bench): Move target definition...
20545 * benchtests/Makefile: ... here.
20547 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20549 * math/libm-test.inc (cos_test): Fix PI/2 test.
20550 (sincos_test): Likewise.
20551 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20552 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20554 2013-04-11 Andreas Schwab <schwab@suse.de>
20557 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20558 accept exponent character only when digits were seen.
20559 * stdio-common/Makefile (tests): Add bug26.
20560 * stdio-common/bug26.c: New file.
20563 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20566 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20568 * Makeconfig (rtld-prefix): Define built linker prefix.
20569 * Rules (run-bench): Use it.
20570 * math/Makefile (run-regen-ulps): Likewise.
20572 * Rules (bench): Remove eval.
20574 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20575 Roland McGrath <roland@hack.frob.com>
20576 Ondrej Bilka <neleai@seznam.cz>
20579 * time/getdate.c: Include ctype.h and alloca.h.
20580 (__getdate_r): Trim leading and trailing spaces of input.
20581 * time/tst-getdate.c (tests): Add tests with leading and
20584 2013-04-08 Roland McGrath <roland@hack.frob.com>
20587 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20588 when computing value.
20590 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20592 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20593 Use testrun.sh to run libm tests.
20596 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20598 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20601 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20603 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20605 * Makefile.in (regen-ulps): New target.
20606 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20607 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20608 [ifneq (no,$(PERL)] (regen-ulps): New target.
20609 [ifeq (no,$(PERL)] (regen-ulps): New target.
20610 * math/libm-test.inc (ulps_file_name): Define.
20611 (output_dir): New variable.
20612 (options): Add "output-dir" option.
20613 (parse_opt): Handle 'o' case.
20614 (main): If output_dir is non-NULL use it as a prefix
20616 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20618 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20620 [BZ #10060, #10062]
20621 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20622 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20623 fail configure if __sync_val_compare_and_swap is not inlined.
20624 * sysdeps/i386/configure: Regenerate.
20625 * configure.in: Build for i686 when configured for i386.
20626 * configure: Regenerate.
20627 * README: Remove i386 reference.
20629 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20631 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20632 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20634 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20636 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20637 (lmsnanval): New variables.
20638 (F): Add conversion tests.
20639 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20640 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20642 * stdio-common/tstdiomisc.c (F): Properly collect individual
20645 [BZ #14686, #15336]
20646 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20647 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20648 Instead, use input NaN values or generate a qNaN by arithmetic
20649 operation. Also fix bugs to comply with the standard.
20650 * math/libm-test.inc (remainder_test): Add more tests.
20652 [BZ #15335, #15342]
20653 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20655 input NaN values or generate a qNaN by arithmetic operation.
20657 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20660 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20663 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20666 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20667 underflowed result.
20668 * math/s_cexpf.c (__cexpf): Likewise.
20669 * math/s_cexpl.c (__cexpl): Likewise.
20670 * math/libm-test.inc (cexp_test): Add more tests.
20672 2013-04-03 Andreas Schwab <schwab@suse.de>
20675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20676 order arrays from heap if bigger than alloca cutoff.
20678 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20680 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20681 (SNAN_TESTS_double): Refer to GCC PR56831.
20682 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20685 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20687 * Rules (bench): Move bench.out after the run is complete.
20689 * Rules (bench): Echo currently running benchmark.
20691 * benchtests/Makefile (bench): Add atan and slowatan.
20692 * benchtests/atan-inputs: New file.
20693 * benchtests/slowatan-inputs: New file.
20694 * benchtests/slowatan.c: New file.
20696 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20701 * sysdeps/unix/sysv/linux/kernel-features.h
20702 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20703 __ASSUME_XFS_RESTRICTED_CHOWN.
20704 * sysdeps/unix/sysv/linux/pathconf.c
20705 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20706 Save and restore errno.
20708 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20711 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20712 arguments using __kernel_casinh.
20713 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20714 arguments using __kernel_casinhf.
20715 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20716 arguments using __kernel_casinhl.
20717 * math/libm-test.inc (cacosh_test): Add more tests.
20718 * sysdeps/i386/fpu/libm-test-ulps: Update.
20719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20721 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20723 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20726 * bench/Makefile (bench): Add sin and slowsin.
20727 * benchtests/sin-inputs: New file.
20728 * benchtests/slowsin-inputs: New file.
20729 * benchtests/slowsin.c: New file.
20731 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20732 (bench): Add slowexp and slowpow.
20733 (exp-ITER): Increase iterations.
20734 (pow-ITER): Likewise.
20735 * benchtests/exp-inputs: Change input.
20736 * benchtests/pow-inputs: Likewise.
20737 * benchtests/slowexp-inputs: New file.
20738 * benchtests/slowexp.c: New file.
20739 * benchtests/slowpow-inputs: New file.
20740 * benchtests/slowpow.c: New file.
20742 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20744 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20746 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20747 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20748 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20749 * benchtests/Makefile: Add rint benchtest.
20750 * benchtests/rint-inputs: Input for rint benchtest.
20752 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20754 * Versions.def (libm): Add GLIBC_2.18.
20755 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20756 hidden libm prototypes.
20757 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20758 * math/Makefile (libm-calls): Add s_issignaling.
20759 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20760 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20761 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20763 * math/math.h [__USE_GNU] (issignaling): New macro.
20764 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20765 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20766 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20767 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20768 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20769 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20770 * manual/arith.texi (issignaling): New section.
20771 * manual/libm-err-tab.pl (@all_functions): Update comment.
20772 * math/gen-libm-test.pl (parse_args): Apply special handling for
20774 * math/libm-test.inc (print_float, issignaling_test): New
20776 (check_float_internal): Add issignaling checks.
20777 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20778 default definition.
20779 * sysdeps/powerpc/math-tests.h: New file.
20780 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20782 * math/test-snan.c (TEST_FUNC): Likewise.
20784 2013-03-30 David S. Miller <davem@davemloft.net>
20786 * po/de.po: Update from translation team.
20788 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20791 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20792 imaginary part less than 1.0 and real part less than 0.5
20794 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20795 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20796 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20797 (cacos_test): Add more tests.
20798 (casin_test): Likewise.
20799 (casinh_test): Likewise.
20800 * sysdeps/i386/fpu/libm-test-ulps: Update.
20801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20803 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20805 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20806 ONE with its value.
20808 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20809 (__pow_mp): Replace ONE and MONE with their values.
20810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20811 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20813 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20814 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20815 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20817 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20819 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20820 (__pow_mp): Replace ZERO and MZERO with their values.
20821 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20822 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20823 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20825 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20826 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20829 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20831 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20833 2013-03-28 Roland McGrath <roland@hack.frob.com>
20835 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20836 Declare with __attribute__ ((weak)).
20837 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20838 Call __call_tls_dtors only if it's not NULL.
20840 2013-03-28 Roland McGrath <roland@hack.frob.com>
20842 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20843 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20844 magic __ehdr_start linker symbol if it's defined.
20845 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20846 them up here if it was already done.
20848 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20849 (_dl_aux_init): Use const in cast when setting it.
20850 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20851 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20852 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20854 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20856 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20857 * csu/libc-tls.c: Nor here.
20858 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20860 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20861 (__libc_message): Never call vsyslog.
20863 2013-03-28 Alan Modra <amodra@gmail.com>
20865 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20867 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20870 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20873 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20877 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20880 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20881 Don't add gid passed as argument.
20883 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20885 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20888 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20889 imaginary part between 1.0 and 1.5 and real part less than 0.5
20891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20893 * math/libm-test.inc (cacos_test): Add more tests.
20894 (casin_test): Likewise.
20895 (casinh_test): Likewise.
20896 * sysdeps/i386/fpu/libm-test-ulps: Update.
20897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20899 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20901 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20904 (denorm): Likewise.
20905 (__dbl_mp): Likewise.
20906 (add_magnitudes): Likewise.
20907 (sub_magnitudes): Likewise.
20915 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20917 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20918 (__dubcos): Likewise.
20919 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20920 (__ieee754_acos): Likewise.
20921 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20922 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20923 (__exp1): Likewise.
20924 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20927 (my_log2): Likewise.
20928 (checkint): Likewise.
20929 * sysdeps/ieee754/dbl-64/e_remainder.c
20930 (__ieee754_remainder): Likewise.
20931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20932 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20933 (bsloww): Likewise.
20934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20936 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20937 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20938 MANTISSA_STORE_T to store computations on mantissa. Use
20939 macros for rounding and division.
20940 (denorm): Likewise.
20941 (__dbl_mp): Likewise.
20942 (add_magnitudes): Likewise.
20943 (sub_magnitudes): Likewise.
20946 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20947 powers of two in terms of TWOPOW macro.
20948 (mp_no): Make type of mantissa as MANTISSA_T.
20949 [!RADIXI]: Define RADIXI.
20950 [!TWO52]: Define TWO52.
20951 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20953 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20955 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20956 llroundl symbol when building for PPC32.
20958 2013-03-24 Mark H Weaver <mhw@netris.org>
20960 * manual/arith.texi (Normalization Functions): Fix prototypes for
20961 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20963 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20967 high value to check if expl overflow.
20968 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20969 to check for underflow and overflow.
20970 * math/libm-test.inc: Add exp test.
20972 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20975 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20978 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20980 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20983 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20985 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20986 wrap blocks consisting of several statements.
20988 * sysdeps/generic/math-tests.h: New file.
20989 * sysdeps/i386/fpu/math-tests.h: Likewise.
20990 * math/test-snan.c: Include it.
20991 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20993 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20996 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20997 (__ieee754_j0l): Do not improve calculations using cos of twice
20998 input for inputs above LDBL_MAX / 2.0L.
20999 (__ieee754_y0l): Likewise.
21000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21001 (__ieee754_j1l): Do not improve calculations using cos of twice
21002 input for inputs above LDBL_MAX / 2.0L.
21003 (__ieee754_y1l): Likewise.
21004 * math/libm-test.inc (j0_test): Add another test.
21005 (j1_test): Likewise.
21006 (y0_test): Likewise.
21007 (y1_test): Likewise.
21008 * sysdeps/i386/fpu/libm-test-ulps: Update.
21010 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21012 * Rules ($(objpfx)bench-%.c): Include code from a C source
21015 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21018 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21019 imaginary part 1.0 and real part less than 0.5 specially.
21020 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21021 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21022 * math/libm-test.inc (cacos_test): Add more tests.
21023 (casin_test): Likewise.
21024 (casinh_test): Likewise.
21025 * sysdeps/i386/fpu/libm-test-ulps: Update.
21026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21028 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21030 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21031 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21033 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21035 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21036 * config.make.in (config-cflags-sse4): Remove variable.
21037 (config-cflags-avx): Likewise.
21038 (config-cflags-sse2avx): Likewise.
21039 (config-cflags-novzeroupper): Likewise.
21040 (config-asflags-i686): Likewise.
21041 (have-mfma4): Likewise.
21042 (have-as-vis3): Likewise.
21044 * configure.in (MIG): Do not AC_SUBST.
21045 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21046 (libc_cv_cc_sse4): Do not AC_SUBST.
21047 (libc_cv_cc_avx): Likewise.
21048 (libc_cv_cc_sse2avx): Likewise.
21049 (libc_cv_cc_novzeroupper): Likewise.
21050 (libc_cv_cc_fma4): Likewise.
21051 (libc_cv_as_i686): Likewise.
21052 (libc_cv_sparc_as_vis3): Likewise.
21053 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21055 (config-asflags-i686): Likewise.
21056 (config-cflags-avx): Likewise.
21057 (config-cflags-sse2avx): Likewise.
21058 (have-mfma4): Likewise.
21059 (config-cflags-novzeroupper): Likewise.
21060 * sysdeps/mach/configure.in (MIG): Likewise.
21061 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21062 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21064 (config-cflags-avx): Likewise.
21065 (config-cflags-sse2avx): Likewise.
21066 (have-mfma4): Likewise.
21067 (config-cflags-novzeroupper): Likewise.
21068 * configure: Regenerated.
21069 * sysdeps/i386/configure: Likewise.
21070 * sysdeps/mach/configure: Likewise.
21071 * sysdeps/sparc/configure: Likewise.
21072 * sysdeps/x86_64/configure: Likewise.
21074 2013-03-20 Roland McGrath <roland@hack.frob.com>
21077 * locale/programs/localedef.c (options): Put N_ translation marker
21078 on argument names, not just descriptions.
21080 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21082 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21084 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21087 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21089 2013-03-19 Roland McGrath <roland@hack.frob.com>
21091 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21092 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21093 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21094 [!BEFORE_ABORT] (before_abort): New function.
21095 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21096 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21097 (writev_for_fatal): New function.
21098 (WRITEV_FOR_FATAL): New macro; call that.
21099 (backtrace_and_maps): New function.
21100 (BEFORE_ABORT): New macro; call that.
21101 (struct str_list): Type removed.
21102 (__libc_message, __libc_fatal): Functions removed.
21103 Include <sysdeps/posix/libc_fatal.c> instead.
21105 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21107 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21109 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21112 2013-03-19 Andreas Schwab <schwab@suse.de>
21114 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21115 * sysdeps/gnu/configure: Regenerate.
21117 * configure.in: Substitute libc_cv_rtlddir.
21118 * configure: Regenerate.
21119 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21120 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21121 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21122 * elf/Makefile (install-others, CFLAGS-interp.c)
21123 (ldso_install, common-ldd-rewrite): Likewise.
21124 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21125 $(inst_slibdir)/$(rtld-installed-name).
21126 * scripts/rellns-sh: Add -p option.
21127 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21130 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21132 * manual/nptl.texi: Renamed to ...
21133 * manual/threads.texi: ... this.
21134 * manual/Makefile (chapters): Update.
21136 2013-03-18 Roland McGrath <roland@hack.frob.com>
21139 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21140 on argument names, not just descriptions.
21141 * malloc/memusagestat.c (options): Likewise.
21142 * nss/getent.c (options): Likewise.
21144 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21147 * iconv/iconv_prog.c (options): Put N_ translation marker
21148 on argument names, not just descriptions.
21149 * iconv/iconvconfig.c (options): Likewise.
21151 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21153 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21154 implementation which is faster on all x86_64 architectures.
21155 Tested on AMD, Intel Nehalem, SNB, IVB.
21156 * sysdeps/x86_64/strnlen.S: Likewise.
21158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21159 Remove all multiarch strlen and strnlen versions.
21160 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21161 Remove strlen and strnlen related parts.
21163 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21164 Inline strlen part.
21165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21167 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21168 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21169 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21170 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21171 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21172 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21174 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21176 * manual/memory.texi (Malloc Tunable Parameters):
21177 Sort parameters alphabetically. Add comments for missing entries.
21179 2013-03-17 David S. Miller <davem@davemloft.net>
21181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21183 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21186 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21187 for arguments at most half maximum finite value.
21188 * math/libm-test.inc (j0_test): Add more tests.
21189 (j1_test): Likewise.
21190 (y0_test): Likewise.
21191 (y1_test): Likewise.
21192 * sysdeps/i386/fpu/libm-test-ulps: Update.
21193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21196 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21197 1 / x and functions P and Q for arguments above 0x1p256L.
21198 (__ieee754_y0l): Likewise.
21199 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21200 (__ieee754_y1l): Likewise.
21201 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21202 (j1_test): Likewise.
21203 (y0_test): Likewise.
21204 (y1_test): Likewise.
21206 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21208 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21211 2013-03-15 Roland McGrath <roland@hack.frob.com>
21213 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21214 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21215 zero since it's initialized to EXEC_PAGESIZE.
21217 * sysdeps/unix/sysv/linux/ldsodefs.h
21218 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21219 * sysdeps/generic/ldsodefs.h: ... here.
21221 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21223 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21225 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21227 * math/test-snan.c: Renamed from
21228 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21229 * math/Makefile (tests): Add test-snan.
21230 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21233 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21234 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21236 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21237 __builtin_nan family of functions.
21238 * math/libm-test.inc (initialize): Initialize qnan_value with
21239 __builtin_nan family of functions.
21240 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21242 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21244 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21245 storage class. Initialize qNaN_var and sNaN_var with
21246 __builtin_nan and __builtin_nans families of functions,
21249 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21250 (sqrt_test): Remove duplicate test with qNaN input.
21251 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21252 (round_test, signbit_test, significand_test): Note missing +/-Inf
21253 as well as qNaN tests.
21255 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21256 qNaN_var. Fix a few strings, too.
21257 * math/libm-test.inc (nan_value): Rename to qnan_value.
21258 * math/gen-libm-test.pl (%beautify): Adjust to that.
21259 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21260 * math/test-misc.c (main): Likewise.
21261 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21262 to __qnan_bytes, and __qnan_union, respectively.
21263 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21265 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21266 and lqnanval, respectively.
21267 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21268 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21269 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21270 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21272 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21273 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21276 * math/test-misc.c (main): Fix copy'n'pastos.
21277 * misc/tst-efgcvt.c (special): Likewise.
21279 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21280 Remove declarations.
21282 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21284 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21285 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21286 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21287 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21289 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21292 macro to return vdso values correctly in IFUNC implementations.
21293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21294 Optimization by using IFUNC.
21296 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21297 Richard Henderson <rth@redhat.com>
21298 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21300 * Makefile.in (bench): New target.
21301 * NEWS: Mention the benchmark framework.
21302 * Rules (bench): Likewise.
21303 (binaries-bench): Generate binaries for functions to
21305 * benchtests/Makefile: New makefile for benchmark tests.
21306 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21308 * benchtests/exp-inputs: New input file for EXP function.
21309 * benchtests/pow-inputs: New input file for POW function.
21310 * scripts/bench.pl: New script to generate source files for
21311 benchmark programs.
21313 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21315 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21316 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21317 computations on mantissa. Use macros for rounding and
21319 (denorm): Likewise.
21320 (__dbl_mp): Likewise.
21321 (add_magnitudes): Likewise.
21322 (sub_magnitudes): Likewise.
21325 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21326 powers of two in terms of TWOPOW macro.
21327 (mp_no): Make type of mantissa as MANTISSA_T.
21328 [!RADIXI]: Define RADIXI.
21329 [!TWO52]: Define TWO52.
21330 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21332 * manual/nptl.texi (cindex): Modify threads to pthreads.
21334 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21336 * sysdeps/x86_64/preconfigure: Regenerated.
21338 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21341 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21343 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21344 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21346 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21347 * math/libm-test.inc (j0_test): Do not allow one spurious
21348 underflow exception.
21349 (y1_test): Likewise.
21351 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21353 * manual/Makefile (chapters): Add nptl.
21354 * manual/debug.texi (Debugging Support): Add link to Threads
21356 * manual/nptl.texi: New file.
21358 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21360 2013-03-14 Petr Baudis <pasky@ucw.cz>
21362 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21363 for non-NULL pointer before the memory validity test. Pointed
21364 out by Holger Brunck <holger.brunck@keymile.com>.
21366 2013-03-13 Andreas Schwab <schwab@suse.de>
21368 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21371 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21373 * timezone/zic.c: Update from tzcode 2013b.
21375 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21377 * manual/install.texi (Configuring and compiling):
21378 Mention i686 and i586.
21379 * INSTALL: Regenerate.
21381 2013-03-12 Roland McGrath <roland@hack.frob.com>
21383 * sysdeps/init_array/elf-init.c: New file.
21385 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21386 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21388 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21389 __gmon_start__ as global, but as static with a .preinit_array pointer.
21390 * sysdeps/init_array/gmon-start.c: New file. Use that.
21391 * sysdeps/init_array/crti.S: New file, empty except for comments.
21392 * sysdeps/init_array/crtn.S: Likewise.
21394 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21396 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21399 Remove Prefer_SSE_for_memop.
21400 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21401 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21402 HAS_PREFER_SSE_FOR_MEMOP.
21403 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21405 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21406 Remove bzero, memset ifunc support.
21407 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21408 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21409 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21410 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21412 2013-03-11 Andreas Schwab <schwab@suse.de>
21415 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21418 (GLIBC_2.16): Remove pthread_atfork.
21420 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21422 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21423 (ptestcases.h): Likewise.
21425 2013-03-08 Roland McGrath <roland@hack.frob.com>
21427 * Makeconfig ($(common-objpfx)config.status): Depend on
21428 sysdeps/*/preconfigure{,.in} too.
21430 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21432 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21433 (__free_hook): Use void * instead of __malloc_ptr_t.
21434 (__malloc_hook): Likewise.
21435 (__realloc_hook): Likewise.
21436 (__memalign_hook): Likewise.
21437 (__after_morecore_hook): Likewise.
21438 * malloc/arena.c (save_malloc_hook): Likewise.
21439 (save_free_hook): Likewise.
21440 * malloc/hooks.c (malloc_hook_ini): Likewise.
21441 (realloc_hook_ini): Likewise.
21442 (memalign_hook_ini): Likewise.
21443 * malloc/malloc.c (malloc_hook_ini): Likewise.
21444 (realloc_hook_ini): Likewise.
21445 (memalign_hook_ini): Likewise.
21446 (__free_hook): Likewise.
21447 (__malloc_hook): Likewise.
21448 (__realloc_hook): Likewise.
21449 (__memalign_hook): Likewise.
21450 (__libc_malloc): Likewise.
21451 (__libc_free): Likewise.
21452 (__libc_realloc): Likewise.
21453 (__libc_memalign): Likewise.
21454 (__libc_valloc): Likewise.
21455 (__libc_pvalloc): Likewise.
21456 (__libc_calloc): Likewise.
21457 (__posix_memalign): Likewise.
21458 * malloc/morecore.c (__sbrk): Likewise.
21459 (__default_morecore): Likewise.
21461 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21463 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21464 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21465 __malloc_ptrdiff_t.
21467 * malloc/malloc.h (__malloc_size_t): Remove macro.
21468 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21470 (old_memalign_hook): Likewise.
21471 (old_realloc_hook): Likewise.
21472 (struct hdr): Likewise.
21474 (mallochook): Likewise.
21475 (memalignhook): Likewise.
21476 (reallochook): Likewise.
21477 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21478 (tr_old_realloc_hook): Likewise.
21479 (tr_old_memalign_hook): Likewise.
21480 (tr_mallochook): Likewise.
21481 (tr_reallochook): Likewise.
21482 (tr_memalignhook): Likewise.
21484 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21486 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21487 default_ldbl_pack and using as default implementation.
21488 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21490 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21491 redundant definition.
21492 (ldbl_insert_mantissa): Likewise.
21493 (ldbl_canonicalize): Likewise.
21494 (ldbl_nearbyint): Likewise.
21495 (ldbl_pack): Rename to ldbl_pack_ppc.
21496 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21497 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21498 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21500 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21503 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21505 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21506 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21508 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21509 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21511 2013-03-07 Andreas Jaeger <aj@suse.de>
21513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21516 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21518 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21519 Include mpa.h and declare __MPEXP.
21520 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21521 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21522 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21523 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21524 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21525 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21526 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21528 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21529 (__slowpow): Use long double EXPL and LOGL functions to
21531 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21532 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21533 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21534 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21535 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21536 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21539 intermediate variable to calculate exponent.
21541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21545 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21546 [!NO__SQR]: Define __sqr.
21547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21548 and NO__SQR. Remove all code except __mul and __sqr. Include
21549 sysdeps/ieee754/dbl-64/mpa.c.
21550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21553 * posix/Makefile (tests): Add tst-pathconf.
21554 * posix/tst-pathconf.c: New test case.
21555 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21557 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21559 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21561 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21563 2013-03-06 Andreas Jaeger <aj@suse.de>
21565 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21566 definition via __MAP_ANONYMOUS.
21568 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21569 it's not part of Linux headers.
21571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21572 (MAP_HUGE_MASK): Define.
21574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21576 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21577 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21579 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21580 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21587 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21588 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21589 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21590 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21591 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21592 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21594 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21597 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21598 Handle f2fs and efivarfs.
21600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21603 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21604 (EFIVARFS_MAGIC): Add.
21605 (F2FS_LINK_MAX): Add.
21607 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21609 * stdio-common/vfprintf.c: Replace __builtin_expect with
21612 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21615 * sysdeps/generic/bp-sym.h: Remove file.
21616 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21617 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21618 <bp-sym.h> and <bp-asm.h>.
21619 (__longjmp): Don't use BP_SYM.
21620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21622 (memcpy): Don't use BP_SYM.
21623 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21624 <bp-sym.h> and <bp-asm.h>.
21625 (memcpy): Don't use BP_SYM.
21626 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21628 (memcpy): Don't use BP_SYM.
21629 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21631 (memset): Don't use BP_SYM.
21632 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21633 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21634 (__bzero): Don't use BP_SYM.
21635 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21636 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21637 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21638 <bp-sym.h> and <bp-asm.h>.
21639 (memcmp): Don't use BP_SYM. Remove comment about bounded
21641 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21642 <bp-sym.h> and <bp-asm.h>.
21643 (memcpy): Don't use BP_SYM.
21644 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21645 <bp-sym.h> and <bp-asm.h>.
21646 (memset): Don't use BP_SYM.
21647 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21648 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21649 (__bzero): Don't use BP_SYM.
21650 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21651 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21653 <bp-sym.h> and <bp-asm.h>.
21654 (strncmp): Don't use BP_SYM. Remove comment about bounded
21656 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21657 <bp-sym.h> and <bp-asm.h>.
21658 (memcpy): Don't use BP_SYM.
21659 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21660 <bp-sym.h> and <bp-asm.h>.
21661 (memset): Don't use BP_SYM.
21662 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21663 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21664 (__bzero): Don't use BP_SYM.
21665 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21666 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21668 <bp-sym.h> and <bp-asm.h>.
21669 (__memchr): Don't use BP_SYM.
21670 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21671 <bp-sym.h> and <bp-asm.h>.
21672 (memcmp): Don't use BP_SYM. Remove comment about bounded
21674 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21675 <bp-sym.h> and <bp-asm.h>.
21676 (memcpy): Don't use BP_SYM.
21677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21678 <bp-sym.h> and <bp-asm.h>.
21679 (__mempcpy): Don't use BP_SYM.
21680 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21681 <bp-sym.h> and <bp-asm.h>.
21682 (__memrchr): Don't use BP_SYM.
21683 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21684 <bp-sym.h> and <bp-asm.h>.
21685 (memset): Don't use BP_SYM.
21686 (__bzero): Likewise.
21687 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21688 <bp-sym.h> and <bp-asm.h>.
21689 (__rawmemchr): Don't use BP_SYM.
21690 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21691 <bp-sym.h> and <bp-asm.h>.
21692 (__STRCMP): Don't use BP_SYM.
21693 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21694 <bp-sym.h> and <bp-asm.h>.
21695 (strchr): Don't use BP_SYM.
21696 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21697 <bp-sym.h> and <bp-asm.h>.
21698 (__strchrnul): Don't use BP_SYM.
21699 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21700 <bp-sym.h> and <bp-asm.h>.
21701 (strlen): Don't use BP_SYM.
21702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21703 <bp-sym.h> and <bp-asm.h>.
21704 (strncmp): Don't use BP_SYM. Remove comment about bounded
21706 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21707 <bp-sym.h> and <bp-asm.h>.
21708 (__strnlen): Don't use BP_SYM.
21709 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21710 <bp-sym.h> and <bp-asm.h>.
21711 (__GI__setjmp): Don't use BP_SYM.
21712 (_setjmp): Likewise.
21713 (__sigsetjmp): Likewise.
21714 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21715 (L(start_addresses)): Don't use BP_SYM.
21716 (_start): Likewise.
21717 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21719 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21720 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21721 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21722 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21723 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21725 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21726 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21727 about bounded pointers.
21728 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21729 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21730 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21732 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21733 about bounded pointers. Remove GKM FIXME comments.
21734 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21735 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21737 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21738 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21739 Remove GKM FIXME comments.
21740 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21741 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21742 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21744 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21745 about bounded pointers. Remove GKM FIXME comment.
21746 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21748 (strncmp): Don't use BP_SYM. Remove comment about bounded
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21751 <bp-sym.h> and <bp-asm.h>.
21752 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21754 <bp-sym.h> and <bp-asm.h>.
21755 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21758 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21760 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21763 2013-03-05 David S. Miller <davem@davemloft.net>
21765 * po/es.po: Update from translation team.
21767 2013-03-05 Andreas Jaeger <aj@suse.de>
21769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21770 <bits/mman-linux.h>.
21771 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21773 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21774 <bits/mman-linux.h> to end of file.
21775 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21777 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21778 <bits/mman-linux.h> to end of file.
21779 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21781 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21782 <bits/mman-linux.h> to end of file.
21784 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21785 (MCL_CURRENT, MCL_FUTURE): Define here.
21787 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21790 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21792 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21794 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21796 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21797 fourth parameter needed for rt_sigprocmask syscall.
21798 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21799 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21800 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21801 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21802 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21803 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21805 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21808 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21809 comment about bounded pointers.
21810 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21811 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21813 2013-03-04 Andreas Jaeger <aj@suse.de>
21815 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21816 common definitions.
21818 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21819 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21820 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21821 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21822 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21823 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21825 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21828 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21829 __ieee754_sqrl instead of __sqrl.
21831 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21833 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21834 * sysdeps/powerpc/fpu_control.h: ... here.
21835 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21836 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21837 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21838 * sysdeps/powerpc/bits/mathinline.h: ... here.
21840 2013-03-01 Roland McGrath <roland@hack.frob.com>
21842 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21843 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21844 to just [NEED_DL_SYSINFO_DSO].
21845 * elf/dl-support.c: Likewise.
21846 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21847 * elf/rtld.c (dl_main): Likewise.
21848 * elf/setup-vdso.h (setup_vdso): Likewise.
21849 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21850 * sysdeps/unix/sysv/linux/dl-sysdep.c
21851 (_dl_discover_osversion): Likewise.
21853 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21855 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21856 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21858 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21860 * NEWS: Mention libm performance improvements and non-x86 PI
21863 * csu/libc-start.c (__pthread_initialize_minimal): Change
21864 function arguments.
21865 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21867 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21870 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21871 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21872 <bp-sym.h> and <bp-asm.h>.
21873 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21876 (memcpy): Don't use BP_SYM.
21877 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21879 (__mpn_add_n): Don't use BP_SYM.
21880 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21881 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21883 (__mpn_addmul_1): Don't use BP_SYM.
21884 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21885 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21887 (_setjmp): Don't use BP_SYM.
21888 (__novmx_setjmp): Likewise.
21889 (__GI__setjmp): Likewise.
21890 (__vmx_setjmp): Likewise.
21891 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21893 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21894 (__bzero): Don't use BP_SYM.
21895 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21896 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21897 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21898 <bp-sym.h> and <bp-asm.h>.
21899 (memcpy): Don't use BP_SYM.
21900 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21901 <bp-sym.h> and <bp-asm.h>.
21902 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21903 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21904 <bp-sym.h> and <bp-asm.h>.
21905 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21906 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21908 (__mpn_lshift): Don't use BP_SYM.
21909 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21910 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21912 (memset): Don't use BP_SYM.
21913 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21914 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21915 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21917 (__mpn_mul_1): Don't use BP_SYM.
21918 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21919 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21920 <bp-sym.h> and <bp-asm.h>.
21921 (memcmp): Don't use BP_SYM.
21922 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21923 <bp-sym.h> and <bp-asm.h>.
21924 (memcpy): Don't use BP_SYM.
21925 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21926 <bp-sym.h> and <bp-asm.h>.
21927 (memset): Don't use BP_SYM.
21928 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21929 <bp-sym.h> and <bp-asm.h>.
21930 (strncmp): Don't use BP_SYM.
21931 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21932 <bp-sym.h> and <bp-asm.h>.
21933 (memcpy): Don't use BP_SYM.
21934 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21935 <bp-sym.h> and <bp-asm.h>.
21936 (memset): Don't use BP_SYM.
21937 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21938 <bp-sym.h> and <bp-asm.h>.
21939 (__memchr): Don't use BP_SYM.
21940 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21941 <bp-sym.h> and <bp-asm.h>.
21942 (memcmp): Don't use BP_SYM.
21943 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21944 <bp-sym.h> and <bp-asm.h>.
21945 (memcpy): Don't use BP_SYM.
21946 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21947 <bp-sym.h> and <bp-asm.h>.
21948 (__mempcpy): Don't use BP_SYM.
21949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21950 <bp-sym.h> and <bp-asm.h>.
21951 (__memrchr): Don't use BP_SYM.
21952 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21953 <bp-sym.h> and <bp-asm.h>.
21954 (memset): Don't use BP_SYM.
21955 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21956 <bp-sym.h> and <bp-asm.h>.
21957 (__rawmemchr): Don't use BP_SYM.
21958 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21959 <bp-sym.h> and <bp-asm.h>.
21960 (__STRCMP): Don't use BP_SYM.
21961 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21962 <bp-sym.h> and <bp-asm.h>.
21963 (strchr): Don't use BP_SYM.
21964 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21965 <bp-sym.h> and <bp-asm.h>.
21966 (__strchrnul): Don't use BP_SYM.
21967 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21968 <bp-sym.h> and <bp-asm.h>.
21969 (strlen): Don't use BP_SYM.
21970 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21971 <bp-sym.h> and <bp-asm.h>.
21972 (strncmp): Don't use BP_SYM.
21973 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21974 <bp-sym.h> and <bp-asm.h>.
21975 (__strnlen): Don't use BP_SYM.
21976 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21978 (__mpn_rshift): Don't use BP_SYM.
21979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21980 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21981 <bp-sym.h> and <bp-asm.h>.
21982 (__sigsetjmp): Don't use BP_SYM.
21983 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21984 (L(start_addresses)): Don't use BP_SYM.
21985 (_start): Likewise.
21986 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21988 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21989 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21990 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21991 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21993 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21994 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21995 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21996 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21998 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22001 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22003 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22005 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22006 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22007 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22009 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22011 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22013 (strncmp): Don't use BP_SYM,
22014 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22016 (__mpn_sub_n): Don't use BP_SYM.
22017 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22018 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22020 (__mpn_submul_1): Don't use BP_SYM.
22021 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22023 <bp-sym.h> and <bp-asm.h>.
22024 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22026 <bp-sym.h> and <bp-asm.h>.
22027 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22030 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22033 Use ZK to minimize writes to Z.
22034 (sub_magnitudes): Simplify code a bit.
22035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22036 Use ZK to minimize writes to Z.
22037 (sub_magnitudes): Simplify code a bit.
22039 2013-02-27 Roland McGrath <roland@hack.frob.com>
22041 * csu/gmon-start.c: Add special exception to license text.
22043 2013-02-27 Richard Henderson <rth@redhat.com>
22045 * scripts/config.guess: Update from config.git.
22046 * scripts/config.sub: Likewise.
22048 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22050 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22052 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22054 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22056 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22058 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22060 2013-02-26 Roland McGrath <roland@hack.frob.com>
22062 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22063 [$(build-shared = yes].
22065 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22067 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22068 (__mul): Reduce iterations for calculating mantissa.
22070 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22072 (__mpranred): Likewise.
22075 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22076 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22078 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22080 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22081 Define __attribute__.
22083 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22085 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22087 * posix/regex_internal.h (__attribute): Remove.
22088 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22089 (re_string_context_at): Likewise.
22090 (bitset_not): Use __attribute__ and mark function as possibly
22092 (bitset_merge): Likewise.
22093 (bitset_mask): Likewise.
22094 (re_string_char_size_at): Likewise.
22095 (re_string_wchar_at): Likewise.
22096 (re_string_elem_size_at): Likewise.
22098 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22100 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22104 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22108 (denorm): Likewise.
22109 (__dbl_mp): Likewise.
22110 (add_magnitudes): Likewise.
22111 (sub_magnitudes): Likewise.
22115 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22118 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22121 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22125 up changes with default code.
22126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22129 2013-02-24 Allan McRae <allan@archlinux.org>
22131 * manual/socket.texi (The Internet Namespace): Order menu items
22132 to match that in the file.
22134 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22135 node listing of the info page menu.
22137 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22140 * sysdeps/i386/bp-asm.h: Remove file.
22141 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22142 (PARMS): Do not use macros from bp-asm.h.
22146 (__mpn_add_n): Do not use BP_SYM
22147 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22149 (PARMS): Do not use macros from bp-asm.h.
22152 (__mpn_addmul_1): Do not use BP_SYM
22153 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22155 (PARMS): Do not use macros from bp-asm.h.
22156 (SIGMSK): Likewise.
22157 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
22165 (PARMS): Do not use macros from bp-asm.h.
22166 (__frexp): Do not use BP_SYM.
22168 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22170 (PARMS): Do not use macros from bp-asm.h.
22171 (__frexpf): Do not use BP_SYM.
22172 (frexpf): Likewise.
22173 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22175 (PARMS): Do not use macros from bp-asm.h.
22176 (__frexpl): Do not use BP_SYM.
22177 (frexpl): Likewise.
22178 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22180 (PARMS): Do not use macros from bp-asm.h.
22181 (__remquo): Do not use BP_SYM.
22182 (remquo): Likewise.
22183 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22185 (PARMS): Do not use macros from bp-asm.h.
22186 (__remquof): Do not use BP_SYM.
22187 (remquof): Likewise.
22188 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22190 (PARMS): Do not use macros from bp-asm.h.
22191 (__remquol): Do not use BP_SYM.
22192 (remquol): Likewise.
22193 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22195 (PARMS): Do not use macros from bp-asm.h.
22198 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22199 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22201 (PARMS): Do not use macros from bp-asm.h.
22202 (strlen): Do not use BP_SYM.
22203 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22205 (PARMS): Do not use macros from bp-asm.h.
22209 (__mpn_add_n): Do not use BP_SYM.
22210 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22212 (PARMS): Do not use macros from bp-asm.h.
22215 (__mpn_addmul_1): Do not use BP_SYM.
22216 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22219 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22221 (PARMS): Do not use macros from bp-asm.h.
22224 (__mpn_lshift): Do not use BP_SYM.
22225 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22227 (PARMS): Do not use macros from bp-asm.h.
22231 (memcpy): Likewise. Do not use BP_SYM.
22232 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22233 libc_hidden_def and weak_alias.
22234 (mempcpy): Do not use BP_SYM in weak_alias.
22235 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22237 (PARMS): Do not use macros from bp-asm.h.
22240 [!BZERO_P] (CHR): Likewise.
22241 (memset): Likewise. Do not use BP_SYM.
22242 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22244 (PARMS): Do not use macros from bp-asm.h.
22247 (__mpn_mul_1): Do not use BP_SYM.
22248 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22250 (PARMS): Do not use macros from bp-asm.h.
22253 (__mpn_rshift): Do not use BP_SYM.
22254 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22256 (PARMS): Do not use macros from bp-asm.h.
22259 (strchr): Likewise. Do not use BP_SYM.
22260 (index): Do not use BP_SYM in weak_alias.
22261 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22263 (PARMS): Do not use macros from bp-asm.h.
22266 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22267 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22269 (PARMS): Do not use macros from bp-asm.h.
22270 (strlen): Do not use BP_SYM.
22271 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22273 (PARMS): Do not use macros from bp-asm.h.
22277 (__mpn_sub_n): Do not use BP_SYM.
22278 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22280 (PARMS): Do not use macros from bp-asm.h.
22283 (__mpn_submul_1): Do not use BP_SYM.
22284 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22286 (PARMS): Do not use macros from bp-asm.h.
22290 (__mpn_add_n): Do not use BP_SYM.
22291 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22294 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22296 (PARMS): Do not use macros from bp-asm.h.
22299 (memcmp): Do not use BP_SYM.
22300 (bcmp): Do not use BP_SYM in weak_alias.
22301 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22303 (PARMS): Do not use macros from bp-asm.h.
22307 (memcpy): Likewise. Do not use BP_SYM.
22308 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22310 (PARMS): Do not use macros from bp-asm.h.
22314 (memmove): Likewise. Do not use BP_SYM.
22315 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22317 (PARMS): Do not use macros from bp-asm.h.
22321 (__mempcpy): Likewise. Do not use BP_SYM.
22322 (mempcpy): Do not use BP_SYM in weak_alias.
22323 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22325 (PARMS): Do not use macros from bp-asm.h.
22328 [!BZERO_P] (CHR): Likewise.
22329 (memset): Likewise. Do not use BP_SYM.
22330 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22332 (PARMS): Do not use macros from bp-asm.h.
22334 (strcmp): Do not use BP_SYM.
22335 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22337 (PARMS): Do not use macros from bp-asm.h.
22340 [USE_AS_STRTOK_R] (SAVE): Likewise.
22341 (FUNCTION): Likewise. Do not use BP_SYM.
22342 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22344 (strtok_r): Likewise.
22345 (__GI___strtok_r): Likewise.
22346 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22347 (PARMS): Do not use macros from bp-asm.h.
22350 (__mpn_lshift): Do not use BP_SYM.
22351 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22352 (PARMS): Do not use macros from bp-asm.h.
22355 (__memchr): Do not use BP_SYM.
22356 (memchr): Do not use BP_SYM in weak_alias.
22357 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22358 (PARMS): Do not use macros from bp-asm.h.
22361 (memcmp): Do not use BP_SYM.
22362 (bcmp): Do not use BP_SYM in weak_alias.
22363 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22364 (PARMS): Do not use macros from bp-asm.h.
22367 (__mpn_mul_1): Do not use BP_SYM.
22368 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22370 (PARMS): Do not use macros from bp-asm.h.
22373 (__rawmemchr): Do not use BP_SYM.
22374 (rawmemchr): Do not use BP_SYM in weak_alias.
22375 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22376 (PARMS): Do not use macros from bp-asm.h.
22379 (__mpn_rshift): Do not use BP_SYM.
22380 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22381 (PARMS): Do not use macros from bp-asm.h.
22382 (SIGMSK): Likewise.
22383 (__sigsetjmp): Likewise. Do not use BP_SYM.
22384 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22385 (_start): Do not use BP_SYM.
22386 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22387 (PARMS): Do not use macros from bp-asm.h.
22390 (__stpcpy): Likewise. Do not use BP_SYM.
22391 (stpcpy): Do not use BP_SYM in weak_alias.
22392 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22394 (PARMS): Do not use macros from bp-asm.h.
22398 (__stpncpy): Likewise. Do not use BP_SYM.
22399 (stpncpy): Do not use BP_SYM in weak_alias.
22400 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22401 (PARMS): Do not use macros from bp-asm.h.
22404 (strchr): Likewise. Do not use BP_SYM.
22405 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22407 (PARMS): Do not use macros from bp-asm.h.
22410 (__strchrnul): Likewise. Do not use BP_SYM.
22411 (strchrnul): Do not use BP_SYM in weak_alias.
22412 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22414 (PARMS): Do not use macros from bp-asm.h.
22416 (strcspn): Do not use BP_SYM.
22417 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22419 (PARMS): Do not use macros from bp-asm.h.
22422 (strpbrk): Likewise. Do not use BP_SYM.
22423 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22425 (PARMS): Do not use macros from bp-asm.h.
22428 (strrchr): Likewise. Do not use BP_SYM.
22429 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22430 (PARMS): Do not use macros from bp-asm.h.
22432 (strspn): Do not use BP_SYM.
22433 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22434 (PARMS): Do not use macros from bp-asm.h.
22438 (FUNCTION): Likewise. Do not use BP_SYM.
22439 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22441 (strtok_r): Likewise.
22442 (__GI___strtok_r): Likewise.
22443 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22444 (PARMS): Do not use macros from bp-asm.h.
22448 (__mpn_sub_n): Do not use BP_SYM.
22449 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22451 (PARMS): Do not use macros from bp-asm.h.
22454 (__mpn_submul_1): Do not use BP_SYM.
22455 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22457 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22459 (PARMS): Do not use macros from bp-asm.h.
22464 (__clone): Do not use BP_SYM.
22465 (clone): Do not use BP_SYM in weak_alias.
22466 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22468 (PARMS): Do not use macros from bp-asm.h.
22470 (__mmap64): Do not use BP_SYM.
22471 (mmap64): Do not use BP_SYM in weak_alias.
22472 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22473 <bp-sym.h> and <bp-asm.h>.
22474 (PARMS): Do not use macros from bp-asm.h.
22475 (__posix_fadvise64_l64): Do not use BP_SYM.
22476 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22477 (PARMS): Do not use macros from bp-asm.h.
22479 (semtimedop): Do not use BP_SYM.
22480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22483 2013-02-21 Allan McRae <allan@archlinux.org>
22485 * manual/message.texi (Charset conversion in gettext):
22486 Move @end statement to beginning of line.
22488 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22496 (denorm): Likewise.
22497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22500 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22502 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22503 tail-call to the resolved function if pltexit isn't needed.
22505 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22508 or Y being zero as being unlikely.
22509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22512 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22514 * manual/nss.texi (System Databases and Name Service Switch):
22515 Remove frobnicate @pxref.
22517 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22519 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22520 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22522 2013-02-20 Petr Machata <pmachata@redhat.com>
22524 * elf/elf.h (R_ARM_TARGET1): New macro.
22525 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22526 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22527 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22528 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22529 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22530 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22531 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22532 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22533 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22534 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22535 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22536 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22537 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22538 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22539 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22540 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22541 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22542 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22543 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22544 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22545 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22546 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22547 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22548 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22549 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22550 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22551 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22552 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22553 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22554 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22555 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22556 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22557 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22558 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22559 (R_ARM_THM_GOT_BREL12): Likewise.
22560 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22561 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22562 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22563 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22564 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22565 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22566 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22567 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22568 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22570 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22572 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22573 __attribute_used__ to __attribute__ ((unused)).
22575 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22580 comment formatting.
22581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22583 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22586 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22588 (ENTER): Remove both macro definitions.
22590 (CHECK_BOUNDS_LOW): Likewise.
22591 (CHECK_BOUNDS_HIGH): Likewise.
22592 (CHECK_BOUNDS_BOTH): Likewise.
22593 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22594 (RETURN_BOUNDED_POINTER): Likewise.
22595 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22596 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22597 (POP_ERRNO_LOCATION_RETURN): Likewise.
22598 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22599 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22600 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22602 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22603 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22604 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22605 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22606 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22607 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22608 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22609 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22610 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22611 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22612 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22613 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22614 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22615 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22617 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22618 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22620 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22621 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22622 * sysdeps/i386/i586/memset.S (memset): Likewise.
22623 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22624 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22625 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22627 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22628 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22629 Change uses of L(2) to L(out).
22630 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22631 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22632 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22633 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22634 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22636 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22637 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22639 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22640 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22641 (RETURN): Do not use macro LEAVE.
22642 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22643 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22644 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22645 * sysdeps/i386/i686/memset.S (memset): Likewise.
22646 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22647 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22648 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22649 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22651 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22652 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22653 L(1_2) and L(1_3) into L(1).
22654 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22655 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22656 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22657 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22658 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22659 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22660 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22661 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22662 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22664 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22665 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22666 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22667 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22668 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22669 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22670 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22671 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22672 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22673 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22674 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22675 * sysdeps/i386/strspn.S (strspn): Likewise.
22676 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22678 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22679 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22680 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22681 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22682 L(1_3) into L(1_1).
22683 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22684 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22685 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22687 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22689 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22691 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22694 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22696 * math/atest-exp.c (exp_mpn): Remove ROUND.
22697 * math/atest-exp2.c (exp_mpn): Likewise.
22698 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22700 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22701 * stdlib/tst-tls-atexit-lib.c: Likewise.
22702 * stdlib/tst-tls-atexit.c: Likewise.
22704 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22706 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22707 and __attribute_alloc_size__.
22709 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22711 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22712 __attribute_alloc_size__.
22713 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22714 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22716 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22718 * include/programs/xmalloc.h: New file.
22719 * catgets/gencat.c: Include it.
22720 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22721 * elf/pldd.c: Likewise.
22722 * iconv/iconv_charmap.c: Likewise.
22723 * iconv/iconvconfig.c: Likewise.
22724 * iconv/strtab.c: Likewise.
22725 * locale/programs/locale.c: Likewise.
22726 * locale/programs/localedef.h: Likewise.
22727 * locale/programs/simple-hash.c: Likewise.
22728 * nscd/nscd.h: Likewise.
22729 * nss/makedb.c: Likewise.
22730 * sysdeps/generic/ldconfig.h: Likewise.
22732 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22734 * Versions.def: Add GLIBC_2.18.
22735 * include/link.h (struct link_map): New member l_tls_dtor_count.
22736 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22737 (__call_tls_dtors): Likewise.
22738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22739 __cxa_thread_atexit_impl.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22756 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22757 (tests): Add test case tst-tls-atexit.
22758 (modules-names): Add shared library for tst-tls-atexit.
22759 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22760 (GLIBC_PRIVATE): Add __call_tls_dtors.
22761 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22763 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22764 * stdlib/tst-tls-atexit.c: New test case.
22765 * stdlib/tst-tls-atexit-lib.c: New test case.
22767 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22769 * elf/Versions (ld): Add _dl_find_dso_for_object.
22770 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22771 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22772 (dl_open_worker): Use _dl_find_dso_for_object.
22773 * elf/dl-sym.c (do_sym): Likewise.
22774 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22776 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22778 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22779 Syntactic changes only.
22780 (_dl_runtime_profile): Do a tail-call to the resolved function.
22782 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22785 * sysdeps/x86_64/bp-asm.h: Remove file.
22786 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22787 <bp-sym.h> and <bp-asm.h>.
22788 (__clone): Do not use BP_SYM.
22789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22790 <bp-sym.h> and <bp-asm.h>.
22791 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22792 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22794 (_setjmp): Do not use BP_SYM.
22795 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22797 (setjmp): Do not use BP_SYM.
22798 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22800 (mempcpy): Do not use BP_SYM in weak_alias.
22801 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22803 (strchr): Do not use BP_SYM.
22804 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22806 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22807 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22808 (_start): Do not use BP_SYM.
22809 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22811 (strcat): Do not use BP_SYM.
22812 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22814 (STRCMP): Do not use BP_SYM.
22815 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22817 (STRCPY): Do not use BP_SYM.
22818 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22820 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22822 (FUNCTION): Do not use BP_SYM.
22823 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22825 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22827 2013-02-17 Andreas Jaeger <aj@suse.de>
22829 * time/Versions: Sort entries.
22830 * string/Versions: Likewise.
22831 * resolv/Versions: Likewise.
22832 * posix/Versions: Likewise.
22833 * iconv/Versions: Likewise.
22834 * elf/Versions: Likewise.
22835 * wcsmbs/Versions: Likewise.
22837 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22839 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22840 loop termination condition.
22842 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22843 variable to calculate EZ.
22846 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22847 the lower precision input.
22849 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22852 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22853 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22854 (run-via-rtld-prefix): Do not handle %-bp tests.
22855 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22856 (all-object-suffixes): Remove .ob.
22857 (bppfx): Remove variable.
22858 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22859 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22860 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22861 [$(build-bounded) = yes] (libtype.ob): Likewise.
22862 * Makerules (elide-routines.ob): Remove variable.
22863 (do-tests-clean): Do not handle *-bp.out.
22864 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22865 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22866 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22867 (tests): Do not include $(tests-bp.out).
22868 (xtests): Do not include $(xtests-bp.out).
22869 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22870 [$(build-bounded) = yes] ($(addprefix
22871 $(objpfx),$(binaries-bounded))): Remove rule.
22872 ($(objpfx)%-bp.out): Remove rule.
22873 * config.make.in (build-bounded): Remove variable.
22874 * crypt/Makefile [$(build-bounded) = yes]
22875 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22876 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22877 append to variable.
22878 [$(build-bounded) = yes] (install-lib): Likewise.
22879 [$(build-bounded) = yes] (generated): Likewise.
22880 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22882 * intl/Makefile [$(build-bounded) = yes]
22883 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22884 * math/Makefile [$(build-bounded) = yes]
22885 ($(tests:%=$(objpfx)%-bp): Likewise.
22886 * misc/Makefile [$(build-bounded) = yes]
22887 ($(objpfx)tst-tsearch-bp): Likewise.
22888 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22889 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22891 * string/Makefile (o-objects.ob): Remove variable.
22892 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22893 (CFLAGS-.ob): Remove variable.
22894 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22895 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22896 both definitions of variable.
22897 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22898 (ASFLAGS-.ob): Remove variable.
22900 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22903 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22904 Remove __BOUNDED_POINTERS__ from condition.
22905 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22906 * string/bits/string2.h [!__NO_STRING_INLINES &&
22907 !__BOUNDED_POINTERS__]: Likewise.
22908 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22910 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22911 Remove conditional code.
22912 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22913 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22914 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22918 * csu/libc-start.c: Do not include <bp-sym.h>.
22919 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22920 * elf/dl-open.c: Do not include <bp-sym.h>.
22921 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22922 * math/fegetenv.c: Do not include <bp-sym.h>.
22923 (fegetenv): Do not use BP_SYM in versioned symbols.
22924 * nptl/sysdeps/pthread/bits/libc-lockP.h
22925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22928 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22930 (__pthread_mutex_destroy): Likewise.
22931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22932 (__pthread_mutex_lock): Likewise.
22933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22934 (__pthread_mutex_trylock): Likewise.
22935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22936 (__pthread_mutex_unlock): Likewise.
22937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22938 (__pthread_mutexattr_init): Likewise.
22939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22940 (__pthread_mutexattr_destroy): Likewise.
22941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22942 (__pthread_mutexattr_settype): Likewise.
22943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22944 (__pthread_rwlock_init): Likewise.
22945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22946 (__pthread_rwlock_destroy): Likewise.
22947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22948 (__pthread_rwlock_rdlock): Likewise.
22949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22950 (__pthread_rwlock_tryrdlock): Likewise.
22951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22952 (__pthread_rwlock_wrlock): Likewise.
22953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22954 (__pthread_rwlock_trywrlock): Likewise.
22955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22956 (__pthread_rwlock_unlock): Likewise.
22957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22958 (__pthread_key_create): Likewise.
22959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22960 (__pthread_setspecific): Likewise.
22961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22962 (__pthread_getspecific): Likewise.
22963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22966 (_pthread_cleanup_push_defer): Likewise.
22967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22968 (_pthread_cleanup_pop_restore): Likewise.
22969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22970 (pthread_setcancelstate): Likewise.
22971 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22973 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22974 (memchr): Do not use BP_SYM in weak_alias.
22975 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22976 (fegetenv): Do not use BP_SYM in versioned symbols.
22977 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22978 (fesetenv): Do not use BP_SYM in versioned symbols.
22979 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22980 (feupdateenv): Do not use BP_SYM in versioned symbols.
22981 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22982 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22983 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22984 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22985 (open64): Do not use BP_SYM in weak_alias.
22986 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22987 (fegetenv): Do not use BP_SYM in versioned symbols.
22988 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22989 (fesetenv): Do not use BP_SYM in versioned symbols.
22990 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22991 (feupdateenv): Do not use BP_SYM in versioned symbols.
22992 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22993 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22994 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22995 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22996 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22997 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23000 (__libc_start_main): Do not use BP_SYM.
23002 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23005 redundant return line.
23007 (denorm): Likewise.
23008 (dbl_mp): Likewise.
23009 (sub_magnitudes): Likewise.
23015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23017 (denorm): Likewise.
23018 (dbl_mp): Likewise.
23019 (sub_magnitudes): Likewise.
23026 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23029 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23032 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23033 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23034 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23035 of __mul for squares.
23036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23038 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23040 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23041 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23043 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23046 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23048 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23049 prototype or function definition. Rename ubp_* variables and
23050 parameters. Remove argv definitions conditional on
23051 [__BOUNDED_POINTERS__].
23052 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23053 * elf/dl-runtime.c (_dl_fixup): Likewise.
23054 * include/set-hooks.h (RUN_HOOK): Likewise.
23055 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23057 * string/strcpy.c (strcpy): Do not use __unbounded.
23058 * sysdeps/generic/frame.h (struct layout): Likewise.
23059 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23060 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23061 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23062 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23063 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23064 (__backtrace): Likewise.
23065 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23067 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23068 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23069 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23071 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23072 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23073 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23074 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23075 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23076 Do not use __unbounded.
23077 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23078 Rename __unboundedrlimits parameter to rlimits in prototype.
23079 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23080 Do not use __unbounded.
23081 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23082 not use __ptrvalue.
23083 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23084 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23085 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23086 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23087 __ptrvalue or __unbounded.
23088 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23089 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23091 (__new_msgctl): Do not use __ptrvalue.
23092 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23094 (__libc_msgrcv): Do not use __ptrvalue.
23095 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23096 startup_info): Do not use __unbounded.
23097 (__libc_start_main): Likewise. Rename ubp_* variables and
23098 parameters. Remove argv definitions conditional on
23099 [__BOUNDED_POINTERS__].
23100 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23102 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23104 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23106 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23108 (__new_shmctl): Do not use __ptrvalue.
23109 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23110 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23112 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23113 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23114 (__libc_sigaction): Likewise.
23115 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23116 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23118 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23120 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23122 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23124 * string/mempcpy.c: Implement by calling memcpy.
23126 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23133 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23134 values in the mantissa.
23136 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23137 minimize writes to Z.
23138 (sub_magnitudes): Simplify code a bit.
23140 2013-02-12 Roland McGrath <roland@hack.frob.com>
23142 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23143 from the message. The linker prefixes all warnings with that already.
23145 2013-02-12 Andreas Schwab <schwab@suse.de>
23148 * posix/regexec.c (extend_buffers): Add parameter min_len.
23149 (check_matching): Pass minimum needed length.
23150 (clean_state_log_if_needed): Likewise.
23151 (get_subexp): Likewise.
23152 * posix/Makefile (tests): Add bug-regex34.
23153 (bug-regex34-ENV): Define.
23154 * posix/bug-regex34.c: New file.
23157 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23158 elements compare against the byte sequence of it, not its name.
23159 * posix/Makefile (tests): Add bug-regex35.
23160 (bug-regex35-ENV): Define.
23161 * posix/bug-regex35.c: New file.
23163 2013-02-11 Tom de Vries <tom@codesourcery.com>
23165 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23167 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23168 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23169 (CHECK_EOL): Add undef.
23171 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23173 * bits/stdlib-bsearch.h: New file.
23174 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23175 * stdlib/stdlib.h: Likewise.
23177 2013-02-11 Roland McGrath <roland@hack.frob.com>
23179 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23180 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23182 * manual/search.texi (Array Search Function): Add missing const in
23184 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23185 declaration to use rlim_t.
23186 (Basic Scheduling Functions): Remove erroneous const from
23187 sched_getparam prototype. Remove erroneous * from
23188 sched_get_priority_max and sched_get_priority_min prototypes.
23189 (Resource Usage): Fix summary @comment on vtimes to refer to
23190 sys/vtimes.h rather than vtimes.h.
23191 Add missing *s in vtimes prototype.
23192 (Limits on Resources): Fix ulimit prototype to return long int.
23193 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23194 prototypes to use long int rather than double.
23195 (BSD Random): Fix initstate and setstate to use char *, not void *.
23196 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23197 prototype to make second argument 'struct aiocb64 *const[]'.
23198 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23199 (Status of AIO Operations): Remove erroneous const in aio_return and
23200 aio_return64 prototypes.
23201 (Synchronizing I/O): Fix sync prototype to return void.
23202 * manual/startup.texi (Suboptions): Remove an erroneous const in
23203 getsubopt prototype.
23204 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23205 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23206 use size_t rather than int.
23207 (Scanning All Users): Likewise for getpwent_r.
23208 (Setting Groups): Add missing const to setgroups prototype.
23209 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23210 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23211 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23212 'const void *' rather than 'const char *'.
23213 (Host Address Functions): Likewise for inet_ntop.
23214 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23215 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23216 ssize_t for return value.
23217 (Sending Data): Likewise for send, sendto, sendmsg.
23218 (Socket Option Functions): Add a missing const in setsockopt prototype.
23219 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23220 use wchar_t for the argument.
23221 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23222 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23224 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23225 double/float/long double for second argument.
23226 Fix return types of significand, significandf, significandl.
23227 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23228 argument in fchmod prototype.
23229 (File Owner): Use uid_t and gid_t in fchown prototype.
23230 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23231 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23232 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23233 use 'const struct dirent **' as argument types to CMP function pointer
23235 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23236 (File Times): Fix summary magic @comment for struct utimbuf and utime
23237 to refer to utime.h, not time.h.
23238 * manual/string.texi (Argz Functions): Add missing const in
23239 argz_extract and argz_next prototypes.
23240 (Finding Tokens in a String): Likewise for basename.
23241 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23242 (Copying and Concatenation): Fix typo in wmemmove prototype.
23243 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23244 (Signal Stack): Remove erroneous const in sigstack prototype.
23245 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23247 (Simple Calendar Time): Likewise for stime.
23248 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23250 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23251 say sys/sysctl.h instead.
23252 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23253 and vsyslog prototypes.
23255 2013-02-11 Tom de Vries <tom@codesourcery.com>
23257 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23260 2013-02-11 Roland McGrath <roland@hack.frob.com>
23262 * misc/sys/mman.h: Fix typo in mremap comment.
23264 2013-02-08 Roland McGrath <roland@hack.frob.com>
23266 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23267 the '\0' terminator.
23269 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23272 * debug/segfault.c: Don't include <bp-checks.h>.
23273 * sysdeps/generic/bp-checks.h: Remove file.
23274 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23275 (__GETDENTS): Don't use CHECK_N.
23276 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23277 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23278 (__getgroups): Don't use CHECK_N.
23279 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23280 (setgroups): Don't use CHECK_N.
23281 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23282 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23283 (__libc_msgrcv): Don't use CHECK_N.
23284 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23285 (__libc_msgsnd): Don't use CHECK_N.
23286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23288 (__libc_pread): Don't use CHECK_N.
23289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23290 include <bp-checks.h>.
23291 (__libc_pread64): Don't use CHECK_N.
23292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23293 include <bp-checks.h>.
23294 (__libc_pwrite): Don't use CHECK_N.
23295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23296 include <bp-checks.h>.
23297 (__libc_pwrite64): Don't use CHECK_N.
23298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23300 (__libc_pread): Don't use CHECK_N.
23301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23302 include <bp-checks.h>.
23303 (__libc_pread64): Don't use CHECK_N.
23304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23305 include <bp-checks.h>.
23306 (__libc_pwrite): Don't use CHECK_N.
23307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23308 include <bp-checks.h>.
23309 (__libc_pwrite64): Don't use CHECK_N.
23310 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23311 (do_pread): Don't use CHECK_N.
23312 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23313 (do_pread64): Don't use CHECK_N.
23314 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23315 (do_pwrite): Don't use CHECK_N.
23316 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23317 (do_pwrite64): Don't use CHECK_N.
23318 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23319 (__libc_readv): Don't use CHECK_N.
23320 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23321 (semop): Don't use CHECK_N.
23322 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23324 (semtimedop): Don't use CHECK_N.
23325 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23326 (__libc_pread): Don't use CHECK_N.
23327 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23329 (__libc_pread64): Don't use CHECK_N.
23330 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23332 (__libc_pwrite): Don't use CHECK_N.
23333 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23335 (__libc_pwrite64): Don't use CHECK_N.
23336 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23338 (__libc_msgrcv): Don't use CHECK_N.
23339 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23340 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23341 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23342 (__libc_writev): Don't use CHECK_N.
23344 2013-02-08 Roland McGrath <roland@hack.frob.com>
23346 * string/strcpy.c: Removed unused variable.
23348 * Makeconfig (+sysdep-includes): Define with := rather than =.
23349 Use an existing include/ subdir of each sysdeps dir before it.
23351 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23353 * nscd/connection.c (register_traced_file): Comment function.
23354 [HAVE_INOTIFY] (union __inev): Define.
23355 [HAVE_INOTIFY] (inotify_check_files): New function.
23356 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23357 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23359 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23361 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23363 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23364 loaded if not already and that a failure is permanent.
23366 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23369 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23370 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23372 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23375 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23376 (CHECK_1_NULL_OK): Likewise.
23377 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23378 (__fxstat): Do not use CHECK_1.
23379 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23381 (___fxstat64): Do not use CHECK_1.
23382 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23384 (__fxstatat): Do not use CHECK_1.
23385 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23387 (__fxstatat64): Do not use CHECK_1.
23388 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23390 (__fxstat): Do not use CHECK_1.
23391 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23393 (__fxstatat): Do not use CHECK_1.
23394 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23396 (__getresgid): Do not use CHECK_1.
23397 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23399 (__getresuid): Do not use CHECK_1.
23400 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23402 (__lxstat): Do not use CHECK_1.
23403 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23405 (__old_msgctl): Do not use CHECK_1.
23406 (__new_msgctl): Likewise.
23407 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23409 (__new_setrlimit): Do not use CHECK_1.
23410 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23412 (__old_shmctl): Do not use CHECK_1.
23413 (__new_shmctl): Likewise.
23414 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23416 (__xstat): Do not use CHECK_1.
23417 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23418 (__lxstat): Do not use CHECK_1.
23419 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23421 (___lxstat64): Do not use CHECK_1.
23422 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23423 (__old_msgctl): Do not use CHECK_1.
23424 (__new_msgctl): Likewise.
23425 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23427 (__gettimeofday): Do not use CHECK_1.
23428 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23429 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23430 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23432 (__gettimeofday): Do not use CHECK_1.
23433 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23434 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23435 (__new_shmctl): Do not use CHECK_1.
23436 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23438 (do_sigtimedwait): Do not use CHECK_1.
23439 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23441 (do_sigwaitinfo): Do not use CHECK_1.
23442 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23444 (msgctl): Do not use CHECK_1.
23445 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23447 (shmctl): Do not use CHECK_1.
23448 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23449 (ustat): Do not use CHECK_1.
23450 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23452 (__fxstat): Do not use CHECK_1.
23453 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23455 (__fxstatat): Do not use CHECK_1.
23456 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23458 (__lxstat): Do not use CHECK_1.
23459 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23461 (__xstat): Do not use CHECK_1.
23462 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23463 (__xstat): Do not use CHECK_1.
23464 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23465 (___xstat64): Do not use CHECK_1.
23468 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23470 (CHECK_BOUNDS_HIGH): Likewise.
23471 * string/strcpy.c: Do not include <bp-checks.h>.
23472 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23474 2013-02-07 Roland McGrath <roland@hack.frob.com>
23476 * nscd/nscd-client.h (__nscd_drop_map_ref):
23477 Add __attribute__ ((unused)).
23478 * nis/nss-nisplus.h (niserr2nss): Likewise.
23480 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23481 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23483 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23484 Remove inline keyword.
23485 * include/rounding-mode.h (round_away): Likewise.
23486 * libio/wfileops.c (adjust_wide_data): Likewise.
23487 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23488 (__m128i_strloadu_tolower): Likewise.
23489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23490 (__m128i_strloadu_tolower): Likewise.
23491 * time/mktime.c (ydhms_diff): Likewise.
23492 * locale/elem-hash.h (elem_hash): Likewise.
23493 * locale/setlocale.c (setdata): Likewise.
23494 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23495 (re_string_wchar_at): Likewise.
23496 (bitset_not, bitset_merge, bitset_mask): Likewise.
23497 [!(__GNUC__ > 3)] (inline): Remove macro.
23498 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23499 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23500 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23501 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23502 * string/memcmp.c (memcmp_bytes): Likewise.
23503 * locale/programs/locarchive.c (compute_hashval): Likewise.
23504 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23505 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23506 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23507 * nss/getent.c (print_rpc, print_protocols): Likewise.
23508 (print_passwd, print_group, print_aliases): Likewise.
23509 * nis/nss-nisplus.h (niserr2nss): Likewise.
23510 * nscd/connections.c (restart_p): Likewise.
23511 Change return type to bool.
23513 2013-02-05 Roland McGrath <roland@hack.frob.com>
23515 * Makeconfig (all-Depend-files): Add existing
23516 $(sorted-subdirs:=/Depend) files.
23517 (all-subdirs): Remove nss.
23518 * sysdeps/unix/inet/Subdirs: Add it here instead.
23519 * hesiod/Depend: New file.
23521 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23522 instead of calling alloca.
23524 * io/lseek.c (__lseek): Rename to __libc_lseek.
23525 Define __lseek as an alias.
23527 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23529 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23531 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23532 else clause and remove check for non-standard endianness.
23534 2013-02-04 David S. Miller <davem@davemloft.net>
23536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23538 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23541 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23542 (__ubp_memchr): Remove prototype.
23543 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23544 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23545 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23546 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23547 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23549 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23550 (__ubp_memchr): Likewise.
23551 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23552 (__ubp_memchr): Likewise.
23553 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23554 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23555 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23556 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23558 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23559 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23560 (__getcwd): Do not use CHECK_STRING.
23561 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23563 (__real_chown): Do not use CHECK_STRING.
23564 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23566 (fchownat): Do not use CHECK_STRING.
23567 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23569 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23571 (__lchown): Do not use CHECK_STRING.
23572 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23573 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23574 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23575 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23577 include <bp-checks.h>.
23578 (truncate64): Do not use CHECK_STRING.
23579 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23581 (__real_chown): Do not use CHECK_STRING.
23582 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23584 (__lchown): Do not use CHECK_STRING.
23585 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23587 (__chown): Do not use CHECK_STRING.
23588 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23590 (truncate64): Do not use CHECK_STRING.
23591 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23593 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23594 (__xmknod): Do not use CHECK_STRING.
23595 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23597 (__xmknodat): Do not use CHECK_STRING.
23598 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23599 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23601 2013-02-04 Andreas Schwab <schwab@suse.de>
23604 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23605 * include/netdb.h: Likewise for h_errno.
23606 * elf/tst-stackguard1.c: Include <tls.h>.
23608 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23610 * elf/link.h (struct link_map): Extend the l_addr comment.
23611 * include/link.h (struct link_map): Likewise.
23613 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23616 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23617 (BOUNDED_1): Remove macro.
23618 * debug/backtrace.c: Don't include <bp-checks.h>.
23619 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23620 (__backtrace): Likewise.
23621 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23623 (__backtrace): Don't use BOUNDED_1.
23624 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23626 (__backtrace): Don't use BOUNDED_1.
23627 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23628 (__backtrace): Don't use BOUNDED_1.
23629 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23630 (shmat): Don't use BOUNDED_N.
23632 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23635 * sysdeps/generic/bp-start.h: Remove file.
23636 * csu/libc-start.c: Don't include <bp-start.h>.
23637 (LIBC_START_MAIN): Set up __environ directly instead of using
23638 INIT_ARGV_and_ENVIRON.
23639 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23643 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23645 (CHECK_FCNTL): Likewise.
23646 (CHECK_N_PAGES): Likewise.
23649 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23651 (CHECK_SIGSET_NULL_OK): Likewise.
23652 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23654 (sigpending): Don't use CHECK_SIGSET.
23655 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23657 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23658 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23660 (do_sigsuspend): Don't use CHECK_SIGSET.
23661 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23663 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23664 (do_sigwait): Don't use CHECK_SIGSET.
23665 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23667 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23668 include <bp-checks.h>.
23669 (sigpending): Don't use CHECK_SIGSET.
23670 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23671 include <bp-checks.h>.
23672 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23673 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23675 (sigpending): Don't use CHECK_SIGSET.
23676 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23681 * sysdeps/generic/bp-semctl.h: Remove file.
23682 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23683 <bp-checks.h> and <bp-semctl.h>.
23684 (__old_semctl): Don't use CHECK_SEMCTL.
23685 (__new_semctl): Likewise.
23686 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23688 (__old_semctl): Don't use CHECK_SEMCTL.
23689 (__new_semctl): Likewise.
23690 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23691 <bp-checks.h> and <bp-semctl.h>.
23692 (__old_semctl): Don't use CHECK_SEMCTL.
23693 (__new_semctl): Likewise.
23694 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23695 <bp-checks.h> and <bp-semctl.h>.
23696 (semctl): Don't use CHECK_SEMCTL.
23699 * Makerules (elide-bp-thunks): Remove variable.
23700 (elide-routines.oS): Don't use $(elide-bp-thunks).
23701 (elide-routines.os): Likewise.
23702 (elide-routines.o): Likewise.
23703 (elide-routines.op): Likewise.
23704 (elide-routines.og): Likewise.
23705 (objects): Don't use $(bp-thunks).
23706 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23708 (common-generated): Do not add s-proto-bp.d.
23709 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23712 Do not generate makefile rules for bounded-pointer thunks.
23713 * sysdeps/generic/bp-thunks.h: Remove file.
23714 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23715 * sysdeps/unix/s-proto-bp.S: Likewise.
23718 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23719 parts of result separately when argument is not close to line from
23720 -i to i and one part of argument is small.
23721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23723 * math/libm-test.inc (cacos_test): Add more tests.
23724 (casin_test): Likewise.
23725 (casinh_test): Likewise.
23726 * sysdeps/i386/fpu/libm-test-ulps: Update.
23727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23729 2013-01-31 David S. Miller <davem@davemloft.net>
23731 * po/de.po: Update from translation team.
23733 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23735 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23737 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23739 * configure.in (_AC_PROG_CC_C89): New definition.
23740 * configure: Regenerate.
23742 * configure.in (AC_PROG_CPP): New definition.
23743 * configure: Regenerate.
23745 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23747 * debug/tst-backtrace.h: New file.
23748 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23749 (ret): Remove variable.
23751 (FAIL): Remove macro.
23752 (NO_INLINE): Likewise.
23753 (fn1): Use match function instead of strstr.
23754 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23755 (ret): Remove variable.
23757 (FAIL): Remove macro.
23758 (NO_INLINE): Likewise.
23759 (fn): Use match function instead of strstr.
23760 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23761 (ret): Remove variable.
23763 (FAIL): Remove macro.
23764 (NO_INLINE): Likewise.
23765 (handle_signal): Use match function instead of strstr.
23766 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23767 (ret): Remove variable.
23769 (FAIL): Remove macro.
23770 (NO_INLINE): Likewise.
23771 (handle_signal): Use match function instead of strstr.
23773 2013-01-23 Roland McGrath <roland@hack.frob.com>
23775 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23777 2013-01-23 David S. Miller <davem@davemloft.net>
23779 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23780 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23781 argument of CAS if possible.
23782 * sysdeps/sparc/sparc64/bits/atomic.h
23783 (__arch_compare_and_exchange_val_32_acq): Likewise.
23784 (__arch_compare_and_exchange_val_64_acq): Likewise.
23786 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23788 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23789 * sysdeps/posix/ulimit.c: ... this.
23790 Include <limits.h>.
23791 * sysdeps/unix/bsd/ulimit.c: Remove file.
23793 2013-01-23 Adam Conrad <adconrad@0c3.net>
23795 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23796 (LDFLAGS-tst-array5): Likewise.
23798 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23801 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23802 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23803 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23804 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23806 2013-01-21 David S. Miller <davem@davemloft.net>
23808 * sysdeps/sparc/backtrace.c: New file.
23809 * sysdeps/sparc/sparc32/backtrace.h: New file.
23810 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23811 * sysdeps/sparc/sparc64/backtrace.h: New file.
23812 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23813 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23816 2013-01-21 Andreas Schwab <schwab@suse.de>
23819 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23822 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23824 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23826 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23828 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23829 Mark Mitchell <mark@codesourcery.com>
23830 Tom de Vries <tom@codesourcery.com>
23831 Paul Pluzhnikov <ppluzhnikov@google.com>
23833 * debug/tst-backtrace2.c: New file.
23834 * debug/tst-backtrace3.c: Likewise.
23835 * debug/tst-backtrace4.c: Likewise.
23836 * debug/tst-backtrace5.c: Likewise.
23837 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23838 (CFLAGS-tst-backtrace3.c): Likewise.
23839 (CFLAGS-tst-backtrace4.c): Likewise.
23840 (CFLAGS-tst-backtrace5.c): Likewise.
23841 (LDFLAGS-tst-backtrace2): Likewise.
23842 (LDFLAGS-tst-backtrace3): Likewise.
23843 (LDFLAGS-tst-backtrace4): Likewise.
23844 (LDFLAGS-tst-backtrace5): Likewise.
23845 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23846 tst-backtrace4 and tst-backtrace5.
23848 2013-01-18 Anton Blanchard <anton@samba.org>
23849 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23851 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23852 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23853 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23854 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23856 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23857 "+r" and remove output regs list as redundant. Add explicit inline
23858 asm to specify register of return val to work around compiler codegen
23859 bug. Remove (int) cast on return value. Add return type parameter to
23860 use in macro so that this macro does not truncate return value for
23862 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23863 pass to INTERNAL_VSYSCALL_NCS.
23864 (INLINE_VSYSCALL): Add 'long int' as return type to
23865 INTERNAL_VSYSCALL_NCS macro invocation.
23866 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23867 INTERNAL_VSYSCALL_NCS macro invocation.
23868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23870 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23873 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23874 Fix application of SIMD FP exception mask.
23876 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23877 mp_no from a power of two.
23878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23879 __mpexp_twomm1. Use __pow_mp.
23881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23884 2013-01-17 David S. Miller <davem@davemloft.net>
23886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23888 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23891 * include/complex.h: Condition contents on [!_COMPLEX_H].
23892 (__kernel_casinhf): New prototype.
23893 (__kernel_casinh): Likewise.
23894 (__kernel_casinhl): Likewise.
23895 * math/Makefile (libm_calls): Add k_casinh.
23896 * math/k_casinh.c: New file.
23897 * math/k_casinhf.c: Likewise.
23898 * math/k_casinhl.c: Likewise.
23899 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23900 finite nonzero arguments.
23901 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23902 finite nonzero arguments.
23903 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23904 finite nonzero arguments.
23905 * math/s_casinh.c: Do not include <float.h>.
23906 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23907 * math/s_casinhf.c: Do not include <float.h>.
23908 (__casinhf): Move code for finite nonzero arguments to
23910 * math/s_casinhl.c: Do not include <float.h>.
23911 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23913 (__casinhl): Move code for finite nonzero arguments to
23915 * math/libm-test.inc (cacos_test): Add more tests.
23916 * sysdeps/i386/fpu/libm-test-ulps: Update.
23917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23919 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23921 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23922 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23923 [!HAVE_MREMAP]: Remove [defined linux] case.
23924 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23926 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23928 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23930 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23932 * elf/elf.h (R_386_SIZE32): New relocation.
23933 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23935 (elf_machine_rela): Likewise.
23936 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23937 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23939 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23941 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23942 (FP_FAST_FMA): Do not define.
23943 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23944 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23945 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23946 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23947 !_SOFT_FLOAT]: Likewise.
23948 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23949 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23951 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23952 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23953 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23954 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23955 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23956 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23959 2013-01-16 Andreas Schwab <schwab@suse.de>
23962 * include/stdlib.h (__mktemp): Add declaration.
23963 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23964 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23966 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23968 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23970 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23971 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23972 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23974 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23975 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23977 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23979 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23980 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23981 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23983 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23984 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23986 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23988 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23990 2013-01-15 David S. Miller <davem@davemloft.net>
23992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23993 trunc{,f} to libm-sysdep_routes.
23994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24004 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24005 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24006 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24007 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24008 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24009 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24012 nearbyint{,f} to libm-sysdep_routes.
24013 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24024 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24026 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24027 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24030 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24031 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24033 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24034 libc_feholdexcept and libc_fesetenv.
24036 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24038 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24040 2013-01-14 David S. Miller <davem@davemloft.net>
24042 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24043 (SPARC_ASM_VIS2_IFUNC): Likewise.
24044 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24046 use of 'siam' instruction.
24047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24055 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24068 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24080 routines to libm-sysdep_routines.
24081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24084 fdim/fdimf to libm-sysdep_routines.
24085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24093 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24094 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24095 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24096 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24098 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24101 to optimize copies.
24103 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24105 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24108 local variable MPTWO.
24109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24112 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24114 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24117 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24119 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24121 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24123 * manual/pattern.texi (glob_t): Document gl_flags.
24124 (glob64_t): Likewise.
24126 2013-01-11 David S. Miller <davem@davemloft.net>
24128 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24129 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24130 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24131 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24132 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24133 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24134 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24135 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24136 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24137 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24138 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24139 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24140 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24142 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24143 sparc V9 rather than using V8 code.
24144 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24145 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24147 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24149 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24152 2013-01-11 Roland McGrath <roland@hack.frob.com>
24154 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24155 not in the main loop.
24156 * configure: Regenerated.
24158 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24160 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24161 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24163 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24164 [!__GLIBC_HAVE_LONG_LONG] case.
24165 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24166 condition to just #else.
24167 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24168 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24169 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24170 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24172 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24173 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24174 #elif condition to just #else.
24175 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24176 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24177 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24178 #elif condition to just #else.
24180 2013-01-11 Steve Ellcey <sellcey@mips.com>
24182 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24183 (EF_MIPS_ARCH_64): Fix value.
24184 (EF_MIPS_ARCH_32R2): New.
24185 (EF_MIPS_ARCH_64R2): New.
24187 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24189 * Makeconfig (+link-pie-before-libc): New.
24190 (+link-pie-after-libc): Likewise.
24191 (+link-pie-tests): Likewise.
24192 (+link-pie): Rewritten.
24193 (link-before-libc): Remove $(config-LDFLAGS).
24194 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24195 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24196 (config-LDFLAGS): Renamed to ...
24197 (rtld-LDFLAGS): This.
24198 (rtld-tests-LDFLAGS): New macro.
24199 (link-libc-rpath-link): Likewise.
24200 (link-libc-tests-rpath-link): Likewise.
24201 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24202 (link-libc): Prepand $(link-libc-rpath-link).
24203 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24204 (test-program-prefix): New macro.
24205 (test-via-rtld-prefix): Likewise.
24206 (test-program-cmd): Likewise.
24207 (host-test-program-cmd): Likewise.
24208 * Makefile ($(common-objpfx)testrun.sh): Replace
24209 $(run-program-prefix) with $(test-program-prefix).
24210 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24212 ($(common-objpfx)shlib.lds): Likewise.
24213 (build-module-helper): Likewise.
24214 ($(common-objpfx)format.lds): Likewise.
24215 * Rules (binaries-pie-tests): New.
24216 (binaries-pie-notests): Likewise.
24217 (binaries-pie): Rewritten.
24218 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24219 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24220 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24221 (make-test-out): Replace $(host-built-program-cmd) with
24222 $(host-test-program-cmd).
24223 * config.make.in (build-hardcoded-path-in-tests): New variable.
24224 * configure.in (--enable-hardcoded-path-in-tests): New configure
24226 (hardcoded_path_in_tests): New AC_SUBST.
24227 * configure: Regenerated.
24228 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24229 $(built-program-cmd) with $(test-program-cmd).
24230 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24231 (test_program_cmd): This.
24232 * elf/Makefile ($(objpfx)order.out): Run test with
24233 $(test-program-prefix).
24234 ($(objpfx)order2.out): Likewise.
24235 ($(objpfx)tst-initorder.out): Likewise.
24236 ($(objpfx)tst-initorder2.out): Likewise.
24237 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24238 $(test-program-cmd).
24239 ($(objpfx)tst-array1-static.out): Likewise.
24240 ($(objpfx)tst-array2.out): Likewise.
24241 ($(objpfx)tst-array3.out): Likewise.
24242 ($(objpfx)tst-array4.out): Likewise.
24243 ($(objpfx)tst-array5.out): Likewise.
24244 ($(objpfx)tst-array5-static.out): Likewise.
24245 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24246 $(test-program-cmd).
24247 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24248 $(run-program-prefix) with $(test-program-prefix).
24249 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24250 (test_program_prefix): This.
24251 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24252 $(run-program-prefix) with $(test-program-prefix).
24253 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24254 (test_program_prefix): This.
24255 * iconvdata/tst-tables.sh: Likewise.
24256 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24257 $(run-program-prefix) with $(test-program-prefix).
24258 ($(objpfx)tst-translit.out): Likewise.
24259 ($(objpfx)tst-gettext2.out): Likewise.
24260 ($(objpfx)tst-gettext4.out): Likewise.
24261 ($(objpfx)tst-gettext6.out): Likewise.
24262 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24263 (test_program_prefix): This.
24264 * intl/tst-gettext2.sh: Likewise.
24265 * intl/tst-gettext4.sh Likewise.
24266 * intl/tst-gettext6.sh: Likewise.
24267 * intl/tst-translit.sh: Likewise.
24268 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24269 with $(test-program-cmd).
24270 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24271 $(run-program-prefix) with $(test-program-prefix).
24272 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24273 (test_program_prefix): This.
24274 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24275 $(run-program-prefix) with $(test-program-prefix).
24276 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24277 (test_program_prefix): This.
24278 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24279 * posix/Makefile ($(objpfx)globtest.out): Replace
24280 $(run-via-rtld-prefix) and $(test-wrapper) with
24281 $(test-program-prefix) and $(test-via-rtld-prefix).
24282 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24283 $(test-program-prefix).
24284 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24285 $(host-test-program-cmd).
24286 (tst-spawn-ARGS): Likewise.
24287 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24288 $(test-program-prefix).
24289 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24290 (test_via_rtld_prefix): This.
24291 (test_wrapper): Renamed to ...
24292 (test_program_prefix): This.
24293 (run_program_prefix): Replaced by test_program_prefix.
24294 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24295 (test_program_prefix): This.
24296 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24297 with $(host-test-program-cmd).
24298 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24299 $(run-program-prefix) with $(test-program-prefix).
24300 ($(objpfx)tst-printf.out): Likewise.
24301 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24302 $(test-program-cmd).
24303 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24304 (test_program_prefix): This.
24305 * stdio-common/tst-unbputc.sh: Likewise.
24306 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24307 $(run-program-prefix) with $(test-program-prefix).
24308 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24309 (test_program_prefix): This.
24310 * string/Makefile ($(objpfx)tst-svc.out): Replace
24311 $(built-program-cmd) with $(test-program-cmd).
24313 2013-01-11 Andreas Jaeger <aj@suse.de>
24316 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24317 value. Sync with Linux 3.7.
24319 2013-01-10 David S. Miller <davem@davemloft.net>
24321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24322 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24323 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24325 2013-01-10 Roland McGrath <roland@hack.frob.com>
24327 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24329 * configure: Regenerated.
24331 2013-01-10 David S. Miller <davem@davemloft.net>
24333 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24334 sparc V9 rather than using V8 code.
24335 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24336 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24338 2013-01-10 Roland McGrath <roland@hack.frob.com>
24340 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24341 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24342 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24343 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24344 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24345 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24346 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24347 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24348 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24349 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24350 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24351 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24352 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24353 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24354 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24355 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24356 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24357 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24358 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24359 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24360 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24361 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24362 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24363 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24364 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24365 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24366 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24368 2013-01-10 David S. Miller <davem@davemloft.net>
24370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24372 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24374 * posix/Makefile (tests-static): New variable.
24375 (tests): Add $(tests-static).
24376 (tst-exec-static-ARGS): New variable.
24377 (tst-spawn-static-ARGS): Likewise.
24378 * posix/tst-exec-static.c: New file.
24379 * posix/tst-spawn-static.c: Likewise.
24380 * posix/tst-exec.c: Support run directly.
24381 * posix/tst-spawn.c: Likewise.
24383 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24385 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24387 * math/bits/mathcalls.h (llrint): Likewise.
24388 (llround): Likewise.
24389 * stdlib/stdlib.h (struct drand48_data): Likewise.
24390 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24391 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24392 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24394 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24396 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24397 (elf_greg_t): Likewise.
24398 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24399 (__jmp_buf): Likewise.
24400 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24402 (llrint): Likewise, for all definitions.
24403 (llrintl): Likewise.
24405 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24406 Remove [__GNUC__] condition.
24407 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24408 condition to just [__USE_ISOC99].
24409 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24411 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24414 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24415 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24417 (_POSIX_V6_ILP32_OFF32): Likewise.
24418 (_XBS5_ILP32_OFF32): Likewise.
24419 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24420 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24422 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24424 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24427 doubles __mpexp_twomm1. Adjust usage.
24428 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24431 2013-01-10 Andreas Schwab <schwab@suse.de>
24434 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24435 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24437 2013-01-09 David S. Miller <davem@davemloft.net>
24440 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24441 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24442 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24443 (TCP_FASTOPEN): Define.
24444 (tcp_repair_opt): New structure.
24445 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24447 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24448 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24449 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24450 (tcp_cookie_transactions): New structure.
24452 2013-01-09 Anton Blanchard <anton@samba.org>
24454 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24455 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24457 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24459 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24461 * include/features.h (__USE_ANSI): Remove.
24463 2013-01-09 Roland McGrath <roland@hack.frob.com>
24465 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24467 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24469 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24471 * sysdeps/s390/fpu/libm-test-ulps: Update.
24473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24475 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24479 (denorm): Likewise.
24480 (__mp_dbl): Likewise.
24481 (__dbl_mp): Likewise.
24482 (add_magnitudes): Likewise.
24483 (sub_magnitudes): Likewise.
24489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24493 (denorm): Likewise.
24494 (__mp_dbl): Likewise.
24495 (__dbl_mp): Likewise.
24496 (add_magnitudes): Likewise.
24497 (sub_magnitudes): Likewise.
24503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24507 (denorm): Likewise.
24508 (__mp_dbl): Likewise.
24509 (__dbl_mp): Likewise.
24510 (add_magnitudes): Likewise.
24511 (sub_magnitudes): Likewise.
24518 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24520 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24521 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24522 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24523 2 && __USE_EXTERN_INLINES]: Likewise.
24525 2013-01-08 Andreas Jaeger <aj@suse.de>
24528 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24530 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24531 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24533 2013-01-07 Anton Blanchard <anton@samba.org>
24535 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24536 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24537 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24538 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24539 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24540 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24541 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24542 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24544 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24545 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24546 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24547 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24548 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24549 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24550 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24551 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24552 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24553 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24555 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24556 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24558 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24559 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24560 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24561 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24562 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24563 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24564 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24565 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24566 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24567 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24568 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24569 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24571 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24572 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24573 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24574 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24575 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24577 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24579 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24581 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24582 (__MALLOC_PMT): Likewise.
24583 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24584 [__GNUC__], only on [_LIBC].
24585 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24586 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24587 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24588 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24589 forward declaration.
24590 (realloc_hook_ini): Likewise.
24591 (memalign_hook_ini): Likewise.
24592 (__libc_memalign): Do not use __MALLOC_PMT in variable
24594 (__libc_valloc): Likewise.
24595 (__libc_pvalloc): Likewise.
24596 (__libc_calloc): Likewise.
24597 (__posix_memalign): Likewise.
24600 * math/s_casinh.c: Include <float.h>.
24601 (__casinh): Do not do computation with squaring and square root
24602 for large arguments.
24603 * math/s_casinhf.c: Include <float.h>.
24604 (__casinhf): Do not do computation with squaring and square root
24605 for large arguments.
24606 * math/s_casinhl.c: Include <float.h>.
24607 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24608 (__casinhl): Do not do computation with squaring and square root
24609 for large arguments.
24610 * math/libm-test.inc (casin_test): Add more tests.
24611 (casinh_test): Likewise.
24612 * sysdeps/i386/fpu/libm-test-ulps: Update.
24613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24615 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24617 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24618 (__x86_64_raw_data_cache_size): Likewise.
24619 (__x86_64_data_cache_size_half): Likewise.
24620 (__x86_64_raw_data_cache_size_half): Likewise.
24621 (__x86_64_shared_cache_size): Likewise.
24622 (__x86_64_raw_shared_cache_size): Likewise.
24623 (__x86_64_shared_cache_size_half): Likewise.
24624 (__x86_64_raw_shared_cache_size_half): Likewise.
24625 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24627 (__x86_data_cache_size): This.
24628 (__x86_64_raw_data_cache_size): Renamed to ...
24629 (__x86_raw_data_cache_size): This.
24630 (__x86_64_data_cache_size_half): Renamed to ...
24631 (__x86_data_cache_size_half): This.
24632 (__x86_64_raw_data_cache_size_half): Renamed to ...
24633 (__x86_raw_data_cache_size_half): This.
24634 (__x86_64_shared_cache_size): Renamed to ...
24635 (__x86_shared_cache_size): This.
24636 (__x86_64_raw_shared_cache_size): Renamed to ...
24637 (__x86_raw_shared_cache_size): This.
24638 (__x86_64_shared_cache_size_half): Renamed to ...
24639 (__x86_shared_cache_size_half): This.
24640 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24641 (__x86_raw_shared_cache_size_half): This.
24642 * sysdeps/x86_64/memcpy.S: Updated.
24643 * sysdeps/x86_64/memset.S: Likewise.
24644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24645 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24646 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24648 2013-01-04 David S. Miller <davem@davemloft.net>
24650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24652 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24654 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24655 1 to avoid redefinition warning.
24656 (__USE_GNU): Don't define.
24657 (init_signaling_nan): Protoize.
24659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24661 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24663 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24665 (__cpymn): Likewise.
24666 (norm): Remove commented code.
24667 (denorm): Likewise.
24668 (__mp_dbl): Likewise.
24670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24671 (__cpymn): Likewise.
24672 (norm): Remove commented code.
24673 (denorm): Likewise.
24674 (__mp_dbl): Likewise.
24677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24678 mp_no value for 1.0 and 2.0.
24679 (norm): Use RADIXI instead of radixi.d.
24680 (denorm): Likewise.
24681 (__mul): Use 0.0 instead of zero.d.
24682 * sysdeps/powerpc/powerpc64/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.
24688 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24691 * math/s_casinh.c (__casinh): Reduce finite argument to first
24692 quadrant then set signs of results at the end.
24693 * math/s_casinhf.c (__casinhf): Likewise.
24694 * math/s_casinhl.c (__casinhl): Likewise.
24695 * math/libm-test.inc (casin_test): Add more tests.
24696 (casinh_test): Likewise.
24697 * sysdeps/i386/fpu/libm-test-ulps: Update.
24698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24700 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24702 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24704 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24706 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24708 (denorm): Likewise.
24709 (__mp_dbl): Likewise.
24712 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24713 and adjust the header comment.
24715 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24716 variable name from declaration.
24718 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24721 Initialize COMMON_CPUID_INDEX_7 element.
24722 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24723 (CPUID_RTM): Likewise.
24724 (HAS_RTM): Likewise.
24725 (COMMON_CPUID_INDEX_7): New enum.
24727 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24730 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24731 size is zero, record memory as freed.
24733 2013-01-03 Andreas Jaeger <aj@suse.de>
24735 * po/ia.po: Add new Interlingua translation.
24737 2012-01-03 Allan McRae <allan@archlinux.org>
24739 * locale/programs/localedef.c: Fix description of '--posix' flag.
24741 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24743 * NEWS: Update dates in second copyright notice.
24744 * README: Update copyright dates in example.
24745 * manual/libc.texinfo: Update copyright dates.
24746 * scripts/test-installation.pl: Update copyright date in --version
24749 * hurd/ctty-input.c: Fix copyright notice formatting.
24750 * hurd/ctty-output.c: Likewise.
24751 * hurd/dtable.c: Likewise.
24752 * hurd/hurd-raise.c: Likewise.
24753 * hurd/hurdprio.c: Likewise.
24754 * hurd/msgportdemux.c: Likewise.
24755 * misc/sys/file.h: Likewise.
24756 * misc/sys/ioctl.h: Likewise.
24757 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24758 * sysdeps/mach/hurd/chdir.c: Likewise.
24759 * sysdeps/mach/hurd/fchdir.c: Likewise.
24760 * sysdeps/mach/hurd/rename.c: Likewise.
24761 * sysdeps/mach/hurd/rmdir.c: Likewise.
24762 * sysdeps/mach/hurd/seekdir.c: Likewise.
24763 * sysdeps/mach/hurd/setsid.c: Likewise.
24764 * sysdeps/posix/wait3.c: Likewise.
24766 * All files with FSF copyright notices: Update copyright dates
24767 using scripts/update-copyrights.
24768 * intl/plural.c: Regenerated.
24769 * locale/programs/charmap-kw.h: Likewise.
24770 * locale/programs/locfile-kw.h: Likewise.
24772 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24774 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24777 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24778 calculation loop and add branch prediction.
24780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24781 check access beyond bounds of m1np.
24783 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24785 (__inv): Remove local variable MPTWO to use the global
24787 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24790 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24791 MP3HALFS static const.
24793 2013-01-01 David S. Miller <davem@davemloft.net>
24795 * po/ca.po: Update from translation team.
24797 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24799 * scripts/update-copyrights: New file.
24800 * Makeconfig: Reformat copyright notice.
24801 * ctype/ctype.h: Likewise.
24802 * debug/swprintf_chk.c: Likewise.
24803 * elf/dl-cache.c: Likewise.
24804 * elf/dl-debug.c: Likewise.
24805 * elf/dl-object.c: Likewise.
24806 * grp/initgroups.c: Likewise.
24807 * hurd/Makefile: Likewise.
24808 * hurd/hurd/signal.h: Likewise.
24809 * hurd/hurdfault.c: Likewise.
24810 * hurd/hurdioctl.c: Likewise.
24811 * hurd/hurdlookup.c: Likewise.
24812 * hurd/intr-msg.c: Likewise.
24813 * iconv/gconv_open.c: Likewise.
24814 * libio/swprintf.c: Likewise.
24815 * locale/lc-ctype.c: Likewise.
24816 * locale/nl_langinfo.c: Likewise.
24817 * mach/Machrules: Likewise.
24818 * mach/Makefile: Likewise.
24819 * malloc/obstack.h: Likewise.
24820 * manual/Makefile: Likewise.
24821 * manual/tsort.awk: Likewise.
24822 * misc/bits/stab.def: Likewise.
24823 * nis/nis_print_group_entry.c: Likewise.
24824 * nis/nis_table.c: Likewise.
24825 * nis/nss_compat/compat-pwd.c: Likewise.
24826 * nis/nss_compat/compat-spwd.c: Likewise.
24827 * po/Makefile: Likewise.
24828 * posix/fnmatch.c: Likewise.
24829 * posix/regex.h: Likewise.
24830 * resolv/Makefile: Likewise.
24831 * resolv/nss_dns/dns-network.c: Likewise.
24832 * resolv/res_hconf.c: Likewise.
24833 * scripts/gen-sorted.awk: Likewise.
24834 * soft-fp/soft-fp.h: Likewise.
24835 * stdio-common/printf.h: Likewise.
24836 * stdlib/monetary.h: Likewise.
24837 * stdlib/random.c: Likewise.
24838 * stdlib/random_r.c: Likewise.
24839 * sysdeps/generic/Makefile: Likewise.
24840 * sysdeps/gnu/Makefile: Likewise.
24841 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24842 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24843 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24844 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24845 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24846 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24847 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24848 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24851 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24852 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24853 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24854 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24855 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24856 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24857 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24864 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24865 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24866 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24867 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24868 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24869 * sysdeps/mach/hurd/errnos.awk: Likewise.
24870 * sysdeps/mach/hurd/fork.c: Likewise.
24871 * sysdeps/mach/hurd/getcwd.c: Likewise.
24872 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24873 * sysdeps/mach/hurd/mmap.c: Likewise.
24874 * sysdeps/mach/hurd/utimes.c: Likewise.
24875 * sysdeps/mach/hurd/xmknod.c: Likewise.
24876 * sysdeps/posix/profil.c: Likewise.
24877 * sysdeps/posix/readdir_r.c: Likewise.
24878 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24879 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24880 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24881 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24883 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24884 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24885 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24887 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24889 * sysdeps/pthread/lio_listio.c: Likewise.
24890 * sysdeps/sparc/dl-procinfo.h: Likewise.
24891 * sysdeps/unix/i386/sysdep.S: Likewise.
24892 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24893 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24894 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24895 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24897 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24898 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24899 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24900 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24901 * sysdeps/wordsize-32/divdi3.c: Likewise.
24902 * time/sys/time.h: Likewise.
24903 * wcsmbs/Makefile: Likewise.
24905 2013-01-01 David S. Miller <davem@davemloft.net>
24907 * po/fr.po: Update from translation team.
24909 * catgets/gencat.c: Update copyright year.
24910 * csu/version.c: Likewise.
24911 * debug/catchsegv.sh: Likewise.
24912 * debug/pcprofiledump.c: Likewise.
24913 * debug/xtrace.sh: Likewise.
24914 * elf/ldconfig.c: Likewise.
24915 * elf/ldd.bash.in: Likewise.
24916 * elf/pldd.c: Likewise.
24917 * elf/sotruss.ksh: Likewise.
24918 * elf/sprof.c: Likewise.
24919 * iconv/iconv_prog.c: Likewise.
24920 * iconv/iconvconfig.c: Likewise.
24921 * locale/programs/locale.c: Likewise.
24922 * locale/programs/localedef.c: Likewise.
24923 * login/programs/pt_chown.c: Likewise.
24924 * malloc/memusage.sh: Likewise.
24925 * malloc/memusagestat.c: Likewise.
24926 * malloc/mtrace.pl: Likewise.
24927 * nscd/nscd.c: Likewise.
24928 * nss/getent.c: Likewise.
24929 * nss/makedb.c: Likewise.
24930 * posix/getconf.c: Likewise.
24932 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24934 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24937 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24939 * math/bits/mathcalls.h (modf): Use __nonnull.
24941 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24943 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24944 (split): Use macro CN instead of the bare value.
24945 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24948 instead of the bare value.
24949 (power1): Likewise.
24951 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24953 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24957 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24959 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24960 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24961 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24962 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24964 2012-12-28 Andreas Jaeger <aj@suse.de>
24966 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24967 values are from Linux 3.7.
24969 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24970 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24972 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24974 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24979 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24980 variables with preprocessor constants.
24981 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24982 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24983 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24985 2012-12-27 Bruno Haible <bruno@clisp.org>
24988 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24991 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24994 and use variable directly.
24995 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24997 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24999 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25004 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25005 include directive. Remove local variable MPONE.
25006 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25007 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25008 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25010 2012-12-25 David S. Miller <davem@davemloft.net>
25012 * version.h (RELEASE): Set to "development".
25013 (VERSION): Set to "2.17.90".
25014 * NEWS: Add 2.18 section.
25016 2012-12-21 David S. Miller <davem@davemloft.net>
25018 * po/hr.po: Update from translation team.
25020 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25022 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25024 2012-12-19 Steve Ellcey <sellcey@mips.com>
25026 * NEWS: Mention new memcpy for MIPS.
25028 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25030 * manual/contrib.texi (Contributors): Spelling correction.
25032 2012-12-15 David S. Miller <davem@davemloft.net>
25034 * po/ru.po: Update from translation team.
25036 2012-12-13 David S. Miller <davem@davemloft.net>
25038 * NEWS: Mention IFUNC testsuite enhancements.
25040 * po/pl.po: Update from translation team.
25041 * po/bg.po: Likewise.
25043 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25044 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25046 2012-12-11 David S. Miller <davem@davemloft.net>
25048 * po/sv.po: Update from translation team.
25050 * po/vi.po: Update from translation team.
25052 * po/cs.po: Update from translation team.
25054 * po/de.po: Update from translation team.
25055 * po/eo.po: Likewise.
25056 * po/nl.po: Likewise.
25058 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25061 * manual/argp.texi (Argp Helper Functions): Move node to follow
25062 Argp Parsing State.
25065 * manual/conf.texi (Limits on File System Capacity): Mention if
25066 terminating null is included in the max size.
25068 2012-12-10 Andreas Jaeger <aj@suse.de>
25070 * po/cs.po: Update from translation team.
25072 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25074 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25075 void pointer and cast to uintptr_t.
25076 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25078 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25079 * sysdeps/s390/s390-64/memset.S: Likewise.
25081 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25084 * menual/message.texi (Message Translation): Fix typos.
25085 (Helper programs for gettext): Likewise.
25087 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25090 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25093 2012-12-07 David S. Miller <davem@davemloft.net>
25095 * po/libc.pot: Update.
25097 2012-12-07 Richard Henderson <rth@redhat.com>
25100 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25101 normal/normal case to before the switch.
25102 (_FP_DIV): Likewise.
25104 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25105 Mike Frysinger <vapier@gentoo.org>
25107 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25108 check for __NR_fadvise64_64.
25110 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25112 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25113 0, not just to plain "0" as a statement.
25114 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25117 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25119 * NEWS: Use sourceware.org in Bugzilla URL.
25121 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25124 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25126 * stdio-common/tst-put-error.c (do_test): Add newline to the
25127 padded test to ensure flush.
25129 2012-12-05 Jeff Law <law@redhat.com>
25131 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25133 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25135 * README: Don't refer to ports add-on as distributed separately.
25136 Mention AArch64 in list of systems supported in the ports add-on.
25138 * LICENSES: Add more non-FSF copyright and license notices.
25140 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25143 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25145 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25146 10000 as width of padded output.
25148 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25150 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25152 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25153 variable LX with __attribute__ ((unused)).
25154 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25156 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25157 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25159 with __attribute__ ((unused)).
25161 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25163 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25165 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25167 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25168 (CFLAGS-nldbl-acos.c): New variable.
25169 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25170 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25171 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25172 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25173 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25174 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25175 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25176 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25177 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25178 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25179 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25180 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25181 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25182 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25183 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25184 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25185 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25186 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25187 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25188 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25189 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25190 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25191 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25192 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25193 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25194 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25195 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25196 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25197 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25202 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25203 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25204 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25205 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25206 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25207 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25208 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25220 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25221 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25222 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25223 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25224 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25225 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25226 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25227 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25228 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25229 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25230 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25231 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25232 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25233 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25234 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25235 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25236 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25237 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25238 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25239 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25240 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25241 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25242 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25243 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25244 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25245 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25246 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25247 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25248 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25249 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25250 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25251 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25252 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25253 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25254 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25255 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25256 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25257 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25258 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25259 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25260 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25261 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25262 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25263 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25264 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25265 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25268 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25271 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25272 whole low double instead of just low 47 bits when splitting values
25275 2012-12-03 Allan McRae <allan@archlinux.org>
25277 * manual/stdio.texi (Predefined Printf Handlers): Remove
25278 @hsep and @vsep usage.
25280 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25282 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25283 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25285 2012-12-03 Jeff Law <law@redhat.com>
25287 * time/sys/time.h (settimeofday): Do not mark TV argument
25290 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25292 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25293 when currently writing and seek to current position when not.
25294 * libio/Makefile (tests): Remove bug-fclose1.
25295 * libio/bug-fclose1.c: Delete.
25297 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25299 * manual/arith.texi (feenableexcept): Fix typo.
25300 (fedisableexcept): Likewise.
25302 2012-11-30 Roland McGrath <roland@hack.frob.com>
25304 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25305 second, differently-typed declaration, rather than a cast.
25307 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25309 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25310 * include/rpc/svc.h: ... here.
25312 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25315 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25316 depending n and resplen2 to catch cases where answer
25319 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25321 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25322 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25324 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25326 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25328 2012-11-29 Roland McGrath <roland@hack.frob.com>
25330 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25332 2012-11-28 Jeff Law <law@redhat.com>
25335 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25336 dataset_temporary. Track alloca usage into alloca_used.
25337 If dataset is large allocate and release it via malloc/free.
25339 2012-06-04 Florian Weimer <fweimer@redhat.com>
25342 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25344 2012-11-28 David S. Miller <davem@davemloft.net>
25346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25348 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25351 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25352 of pi/2 rounded to nearest to 64 bits.
25353 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25354 nearest to 64 bits.
25355 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25358 2012-11-28 Jeff Law <law@redhat.com>
25359 Martin Osvald <mosvald@redhat.com>
25362 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25363 * sunrpc/svc.c: Include time.h.
25364 (__svc_accept_failed): New function.
25365 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25366 any reason other than EINTR, call __svc_accept_failed.
25367 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25368 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25370 2012-11-28 Andreas Schwab <schwab@suse.de>
25372 * scripts/abilist.awk: Also handle indirect functions in .opd
25375 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25378 * sysdeps/x86/fpu/powl_helper.c: New file.
25379 * sysdeps/x86/fpu/Makefile: Likewise.
25380 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25382 (__ieee754_powl): Use __powl_helper for finite arguments except
25383 integer exponents below 8.
25384 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25386 (__ieee754_powl): Use __powl_helper for finite arguments except
25387 integer exponents below 8.
25388 * math/libm-test.inc (pow_test): Add more tests and enable some
25389 previously disabled tests.
25390 * sysdeps/i386/fpu/libm-test-ulps: Update.
25391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25393 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25394 Carlos O'Donell <carlos_odonell@mentor.com>
25396 * nss/makedb.c (is_prime): Assert that input is odd and greater
25397 than 4. Note that fact in a comment too.
25398 (next_prime): Add 4 to input.
25400 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25403 * libio/Makefile (tests): Add test case tst-fwrite-error.
25404 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25405 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25406 * libio/tst-fwrite-error.c: New test case.
25408 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25410 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25411 before casting to void *.
25412 * include/libc-internal.h (__pointer_type): New macro.
25413 (__integer_if_pointer_type_sub): Likewise.
25414 (__integer_if_pointer_type): Likewise.
25415 (cast_to_integer): Likewise.
25416 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25417 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25418 before casting to atomic64_t.
25419 (atomic_exchange_acq): Likewise.
25420 (__arch_exchange_and_add_body): Likewise.
25421 (__arch_add_body): Likewise.
25422 (atomic_add_negative): Likewise.
25423 (atomic_add_zero): Likewise.
25425 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25427 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25428 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25429 (add_fdes): Likewise.
25430 (linear_search_fdes): Likewise.
25431 (binary_search_unencoded_fdes): Likewise.
25433 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25435 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25437 2012-11-24 Adam Conrad <adconrad@0c3.net>
25439 * configure.in: Autodetect C++ header directories.
25440 * configure: Regenerated.
25442 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25444 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25446 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25450 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25452 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25453 LDBL_MANT_DIG == 106]: Disable some tests.
25454 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25456 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25460 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25461 input for small inputs. Return +/- pi/2 for large inputs.
25462 * math/libm-test.inc (atan_test): Add more tests.
25464 * sysdeps/generic/unwind-dw2-fde-glibc.c
25465 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25466 __attribute__ ((unused)).
25469 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25470 x * y if x and y are nonzero and z is zero.
25473 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25474 nonzero exponents with absolute value below 0x1p-117 to +/-
25478 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25479 up arguments below 2**-450, not just those below 2**-500.
25480 * math/libm-test.inc (hypot_test): Add another test.
25483 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25484 Return a+b for ratio over 2**120, not 2**60.
25485 * math/libm-test.inc (hypot_test): Add another test.
25487 * math/libm-test.inc (clog_test): Use
25488 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25489 (clog10_test): Likewise.
25492 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25494 2012-11-22 Andreas Schwab <schwab@suse.de>
25496 * sysdeps/i386/fpu/libm-test-ulps: Update.
25498 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25500 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25501 printf output with newline.
25503 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25506 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25507 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25508 -z nodlopen, -z initfirst and -z execstack support.
25509 * configure: Regenerated.
25511 * elf/elf.h (DF_1_NODIRECT): New macro.
25512 (DF_1_IGNMULDEF): Likewise.
25513 (DF_1_NOKSYMS): Likewise.
25514 (DF_1_NOHDR): Likewise.
25515 (DF_1_EDITED): Likewise.
25516 (DF_1_NORELOC): Likewise.
25517 (DF_1_SYMINTPOSE): Likewise.
25518 (DF_1_GLOBAUDIT): Likewise.
25519 (DF_1_SINGLETON): Likewise.
25520 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25521 DT_1_SUPPORTED_MASK bits.
25522 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25524 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25526 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25528 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25530 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25533 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25534 (sendmmsg): Move declarations...
25535 * socket/sys/socket.h: ... here.
25536 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25537 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25539 * socket/recvmmsg.c: ... this new file.
25540 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25541 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25542 definition of __sendmmsg hidden.
25543 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25544 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25545 Move ENOSYS stub into and include it from...
25546 * socket/sendmmsg.c: ... this new file.
25547 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25548 (sysdep_routines): Move recvmmsg and sendmmsg...
25549 * socket/Makefile (routines): ... here.
25550 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25551 (GLIBC_PRIVATE): Add __sendmmsg.
25552 * include/sys/socket.h (__sendmmsg): Add declarations.
25553 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25556 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25558 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25559 variable I1 with __attribute__ ((unused)).
25560 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25562 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25564 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25565 DUMMY variables with __attribute__ ((unused)).
25567 * bits/byteswap.h: Include <bits/types.h>.
25568 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25570 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25572 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25573 string_t. Do not manually set errno.
25574 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25575 length with __strnlen. Make sure to both set errno and return it on
25578 2012-11-19 David S. Miller <davem@davemloft.net>
25580 With help from Joseph Myers.
25581 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25582 very large arguments properly.
25583 * math/libm-test.inc (atan_test): New tests.
25584 (atan2_test): New tests.
25585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25588 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25591 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25594 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25595 [POSIX] (EADDRNOTAVAIL): Likewise.
25596 [POSIX] (EAFNOSUPPORT): Likewise.
25597 [POSIX] (EALREADY): Likewise.
25598 [POSIX] (ECONNABORTED): Likewise.
25599 [POSIX] (ECONNREFUSED): Likewise.
25600 [POSIX] (ECONNRESET): Likewise.
25601 [POSIX] (EDESTADDRREQ): Likewise.
25602 [POSIX] (EDQUOT): Likewise.
25603 [POSIX] (EHOSTUNREACH): Likewise.
25604 [POSIX] (EIDRM): Likewise.
25605 [POSIX] (EISCONN): Likewise.
25606 [POSIX] (ELOOP): Likewise.
25607 [POSIX] (EMULTIHOP): Likewise.
25608 [POSIX] (ENETDOWN): Likewise.
25609 [POSIX] (ENETUNREACH): Likewise.
25610 [POSIX] (ENOBUFS): Likewise.
25611 [POSIX] (ENODATA): Likewise.
25612 [POSIX] (ENOLINK): Likewise.
25613 [POSIX] (ENOMSG): Likewise.
25614 [POSIX] (ENOPROTOOPT): Likewise.
25615 [POSIX] (ENOSR): Likewise.
25616 [POSIX] (ENOSTR): Likewise.
25617 [POSIX] (ENOTCONN): Likewise.
25618 [POSIX] (ENOTSOCK): Likewise.
25619 [POSIX] (EOPNOTSUPP): Likewise.
25620 [POSIX] (EOVERFLOW): Likewise.
25621 [POSIX] (EPROTO): Likewise.
25622 [POSIX] (EPROTONOSUPPORT): Likewise.
25623 [POSIX] (EPROTOTYPE): Likewise.
25624 [POSIX] (ESTALE): Likewise.
25625 [POSIX] (ETIME): Likewise.
25626 [POSIX] (ETXTBSY): Likewise.
25627 [POSIX] (EWOULDBLOCK): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25629 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25630 [POSIX] (SEEK_CUR): Likewise.
25631 [POSIX] (SEEK_END): Likewise.
25632 [POSIX || UNIX98] (mode_t): Do not require.
25633 [POSIX] (off_t): Likewise.
25634 [POSIX] (pid_t): Likewise.
25635 [POSIX] (sys/stat.h): Do not allow header.
25636 [POSIX] (unistd.h): Likewise.
25637 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25638 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25639 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25640 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25642 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25643 sigevent): Specify elements.
25644 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25646 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25647 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25649 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25650 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25651 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25652 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25653 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25654 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25655 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25656 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25657 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25658 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25659 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25660 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25661 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25662 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25664 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25666 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25670 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25671 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25672 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25673 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25674 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25675 Specify lower bound on value.
25676 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25677 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25679 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25680 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25681 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25682 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25683 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25685 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25687 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25688 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25704 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25706 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25713 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25718 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25719 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25721 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25723 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25724 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25725 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25726 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25727 specify as optional.
25728 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25729 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25730 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25731 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25732 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25733 [XPG3] (NL_LANGMAX): Likewise.
25734 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25735 [POSIX || XPG3] (NL_NMAX): Likewise.
25736 [POSIX || XPG3] (NL_SETMAX): Likewise.
25737 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25738 [XPG3] (NZERO): Likewise.
25739 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25740 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25741 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25742 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25743 (REG_ERANGE): Expect.
25744 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25746 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25747 Use (void) in prototype.
25748 [POSIX] (*_t): Allow.
25749 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25750 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25751 (WRDE_BADVAL): Expect.
25753 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25755 [XPG3 || XPG4] (O_RSYNC): Likewise.
25756 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25758 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25759 [XPG3 || XPG4] (sigqueue): Likewise.
25760 [XPG3 || XPG4] (sigtimedwait): Likewise.
25761 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25762 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25763 [XPG3 || XPG4] (vsnprintf): Likewise.
25764 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25766 [XPG3 || XPG4] (blksize_t): Likewise.
25767 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25769 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25770 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25771 [XPG3 || XPG4] (struct itimerspec): Likewise.
25772 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25773 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25774 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25775 [XPG3 || XPG4] (clockid_t): Likewise.
25776 [XPG3 || XPG4] (timer_t): Likewise.
25777 [XPG3 || XPG4] (clock_getres): Likewise.
25778 [XPG3 || XPG4] (clock_gettime): Likewise.
25779 [XPG3 || XPG4] (clock_settime): Likewise.
25780 [XPG3 || XPG4] (nanosleep): Likewise.
25781 [XPG3 || XPG4] (timer_create): Likewise.
25782 [XPG3 || XPG4] (timer_delete): Likewise.
25783 [XPG3 || XPG4] (timer_gettime): Likewise.
25784 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25785 [XPG3 || XPG4] (timer_settime): Likewise.
25786 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25787 [XPG3 || XPG4] (getlogin_r): Likewise.
25788 [XPG3 || XPG4] (pread): Likewise.
25789 [XPG3 || XPG4] (pthread_atfork): Likewise.
25790 [XPG3 || XPG4] (pwrite): Likewise.
25793 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25796 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25798 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25799 finalizing MALLSTREAM.
25801 * sysdeps/mach/hurd/syncfs.c: New file.
25803 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25806 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25807 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25808 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25809 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25810 (_nss_dns_gethostbyname4_r): Likewise.
25811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25812 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25814 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25817 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25819 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25821 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25822 * elf/cache.c (print_entry): Print ",AArch64" for
25825 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25826 * elf/cache.c (print_entry): Print ",hard-float" for
25829 2012-11-18 David S. Miller <davem@davemloft.net>
25831 With help from Joseph Myers.
25832 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25834 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25836 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25837 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25839 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25840 * math/libm-test.inc (y0_test): New tests.
25841 (y1_test): New tests.
25842 * sysdeps/i386/fpu/libm-test-ulps: Update.
25843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25846 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25848 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25850 * configure: Regenerated.
25852 2012-11-17 David S. Miller <davem@davemloft.net>
25855 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25856 nonzero exponents with absolute value below 0x1p-128 to +/-
25859 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25861 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25863 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25865 * posix/getconf-speclist.c: New file.
25866 * posix/posix-envs.def: Likewise.
25867 * posix/confstr.c (START_ENV_GROUP): New macro.
25868 (END_ENV_GROUP): Likewise.
25869 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25870 (KNOWN_PRESENT_ENV_STRING): Likewise.
25871 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25872 (UNKNOWN_ENVIRONMENT): Likewise.
25873 (confstr): Include posix-envs.def instead of handling
25874 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25875 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25876 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25877 (END_ENV_GROUP): Likewise.
25878 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25879 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25880 (UNKNOWN_ENVIRONMENT): Likewise.
25881 (__sysconf): Include posix-envs.def instead of handling associated
25882 cases directly here.
25883 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25884 preprocessing getconf-speclist.c rather than running getconf or
25885 generating empty file.
25887 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25889 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25891 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25894 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25896 2012-11-16 David S. Miller <davem@davemloft.net>
25898 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25899 smaller than LDBL_EPSILON/2.0L, just return xm1.
25901 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25903 * elf/tst-array1.c (init): Set constructor priority to 1000.
25904 (fini): Set destructor priority to 1000.
25905 * elf/tst-array2dep.c: Likewise.
25907 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25910 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25911 (_IO_new_file_xsputn): Also return EOF if none of the input
25912 data was written when overflow failed.
25913 * libio/iopadn.c (_IO_padn): Likewise.
25914 * libio/iowpadn.c (_IO_wpadn): Likewise.
25915 * stdio-common/tst-put-error.c: Add copyright notice.
25916 (do_test): Add case for printing padded string.
25917 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25918 _IO_padn returned error.
25919 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25920 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25923 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25925 * libio/libioP.h: Add comment note that the references to C++
25926 bits are now obsolete.
25928 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25930 * math/libm-test.inc (check_complex): Use asprintf.
25932 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25934 * debug/pcprofiledump.c (print_version): Update copyright year.
25935 * malloc/memusagestat.c (print_version): Likewise.
25937 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25940 * elf/Makefile (tests): Add tst-audit8.
25941 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25942 ($(objpfx)tst-audit8.out): New target.
25943 (tst-audit8-ENV): New variable.
25944 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25945 audit if l_reloc_result is NULL.
25946 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25947 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25948 * elf/tst-audit8.c: New file.
25950 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25952 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25953 * misc/Makefile (CFLAGS-select.c): Define.
25954 * posix/Makefile (CFLAGS-pause.c): Define.
25956 2012-11-13 David S. Miller <davem@davemloft.net>
25958 * crypt/Makefile: Move test targets after toplevel Rules
25959 inclusion. Grab any necessary sysdep routines when linking.
25960 * crypt/md5.c (md5_process_block): Remove define, we will always
25961 name it __md5_process_block.
25962 (md5_finish_ctx): Update md5_process_block call.
25963 (md5_stream): Likewise.
25964 (md5_process_bytes): Likewise.
25965 (md5_process_block): Rename to __md5_process_block and move to ...
25966 * crypt/md5-block.c: ... here.
25967 * crypt/sha256.c (sha256_process_block): Move to ...
25968 * crypt/sha256-block.c: ... here.
25969 * crypt/sha512.c (sha512_process_block): Move to ...
25970 * crypt/sha512-block.c: ... here.
25971 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25973 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25974 * sysdeps/sparc/sparc64/multiarch/Makefile
25975 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25977 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25978 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25980 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25981 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25982 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25983 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25984 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25985 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25986 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25987 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25988 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25990 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25991 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25993 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25995 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25997 * timezone/tzselect.ksh: Update from tzcode git revision
25998 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25999 * timezone/zdump.c: Likewise.
26000 * timezone/zic.c: Likewise.
26001 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26002 in TZVERSION setting, not $(PKGVERSION).
26003 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26004 REPORT_BUGS_TO settings.
26007 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26010 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26012 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26013 detection to immediately after _FP_ROUND().
26014 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26017 2012-11-11 David S. Miller <davem@davemloft.net>
26019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26021 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26022 __close rather than their public counterparts.
26024 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26026 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26028 [UNIX98] (sem_timedwait): Do not expect.
26029 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26030 [XPG4 || UNIX98] (sockatmark): Do not expect.
26031 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26032 (clock_getcpuclockid): Do not expect.
26033 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26034 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26036 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26037 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26038 [UNIX98] (vwscanf): Likewise.
26039 [UNIX98] (vswscanf): Likewise.
26041 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26043 * timezone/version.h: Remove file.
26044 * timezone/README: Do not refer to version.h.
26045 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26046 $(objpfx)version.h.
26047 ($(objpfx)zdump.o): Likewise.
26048 ($(objpfx)version.h): New target.
26050 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26052 * timezone/README: Don't mention modification to tzselect.ksh.
26053 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26054 work on unmodified tzselect.ksh. Substitute version numbers in
26057 * Makefile (format-me): Remove.
26058 (INSTALL): Adjust indentation. Use commands directly instead of
26059 using $(format-me).
26061 * aclocal.m4 (ACX_PKGVERSION): New macro.
26062 (ACX_BUGURL): Likewise.
26063 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26064 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26065 (REPORT_BUGS_TO): Likewise.
26066 * configure: Regenerated.
26067 * config.h.in (PKGVERSION): New macro.
26068 (REPORT_BUGS_TO): Likewise.
26069 * config.make.in (PKGVERSION): New variable.
26070 (PKGVERSION_TEXI): Likewise.
26071 (REPORT_BUGS_TO): Likewise.
26072 (REPORT_BUGS_TEXI): Likewise.
26073 * Makefile (format-me): Use -I$(common-objpfx)manual.
26074 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26075 ($(common-objpfx)manual/%): New target.
26076 (manual/%): Remove target.
26077 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26078 (print_version): Use PKGVERSION.
26079 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26080 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26081 and REPORT_BUGS_TO.
26082 ($(objpfx)xtrace): Likewise.
26083 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26084 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26085 (print_version): Use PKGVERSION.
26086 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26087 (do_version): Use PKGVERSION.
26088 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26090 (common-ldd-rewrite): Likewise.
26091 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26092 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26093 (print_version): Use PKGVERSION.
26094 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26095 * elf/pldd.c (argp_program_bug_address): Remove variable.
26096 (more_help): New function.
26097 (argp): Use more_help.
26098 (print_version): Use PKGVERSION.
26099 * elf/sln.c (main): Use PKGVERSION.
26100 (usage): Use REPORT_BUGS_TO.
26101 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26102 (top level): Use PKGVERSION.
26103 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26104 (print_version): Use PKGVERSION.
26105 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26106 (print_version): Use PKGVERSION.
26107 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26108 (print_version): Use PKGVERSION.
26109 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26110 (print_version): Use PKGVERSION.
26111 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26112 (print_version): Use PKGVERSION.
26113 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26114 (print_version): Use PKGVERSION.
26115 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26117 ($(objpfx)memusage): Likewise.
26118 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26119 (do_version): Use PKGVERSION.
26120 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26121 (print_version): Use PKGVERSION.
26122 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26123 ($PKGVERSION): New variable.
26124 ($REPORT_BUGS_TO): Likewise.
26125 (usage): Use $REPORT_BUGS_TO.
26126 (top level): Use $PKGVERSION.
26127 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26128 ($(objpfx)pkgvers.texi): New rule.
26129 ($(objpfx)stamp-pkgvers): Likewise.
26130 * manual/install.texi: Include pkgvers.texi.
26131 (--with-pkgversion): Document new configure option.
26132 (--with-bugurl): Likewise.
26133 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26134 than necessarily for this particular distribution. Use
26135 REPORT_BUGS_TO for where to report bugs.
26136 * INSTALL: Regenerated.
26137 * manual/libc.texinfo: Include pkgvers.texi.
26138 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26139 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26140 (print_version): Use PKGVERSION.
26141 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26142 (print_version): Use PKGVERSION.
26143 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26144 (print_version): Use PKGVERSION.
26145 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26146 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26148 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26149 (print_version): Use PKGVERSION.
26150 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26151 (print_version): Use PKGVERSION.
26152 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26155 * timezone/checktab.awk: Update from tzcode 2012i.
26156 * timezone/ialloc.c: Likewise.
26157 * timezone/private.h: Likewise.
26158 * timezone/scheck.c: Likewise.
26159 * timezone/tzfile.h: Likewise.
26160 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26161 (TZVERSION): Hardcode tzcode version number.
26162 * timezone/zdump.c: Update from tzcode 2012i.
26163 * timezone/zic.c: Likewise.
26164 * timezone/version.h: New file.
26165 * timezone/README: Describe version.h. Update upstream location.
26168 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26169 (mktemp): Enable declaration.
26170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26171 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26173 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26175 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26187 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26188 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26189 for copies of such integer values.
26190 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26191 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26193 2012-11-09 Andreas Jaeger <aj@suse.de>
26195 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26196 definitions and declarations that are provided by
26197 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26199 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26201 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26202 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26203 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26206 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26208 * elf/elf.h: Update comment before AArch64 relocations.
26210 2012-11-07 David S. Miller <davem@davemloft.net>
26212 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26213 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26214 (__start_context): Declare.
26215 (__makecontext_ret): Delete.
26216 (__makecontext): Hook up __start_context instead of
26218 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26219 (sysdep_routines): Add __start_context when in stdlib.
26221 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26223 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26224 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26225 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26227 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26228 (READELF): New variable. Use it instead of hardcoded "readelf".
26230 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26232 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26233 * sysdeps/x86/Makefile: Here.
26234 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26235 * sysdeps/x86/tst-xmmymm.sh: This.
26237 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26239 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26241 [UNIX98] (pthread_barrier_t): Do not expect.
26242 [UNIX98] (pthread_barrierattr_t): Likewise.
26243 [UNIX98] (pthread_spinlock_t): Likewise.
26244 [UNIX98] (pthread_barrier_destroy): Likewise.
26245 [UNIX98] (pthread_barrier_init): Likewise.
26246 [UNIX98] (pthread_barrier_wait): Likewise.
26247 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26248 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26249 [UNIX98] (pthread_barrierattr_init): Likewise.
26250 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26251 [UNIX98] (pthread_getcpuclockid): Likewise.
26252 [UNIX98] (pthread_mutex_timedlock): Likewise.
26253 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26254 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26255 [UNIX98] (pthread_sigmask): Likewise.
26256 [UNIX98] (pthread_spin_destroy): Likewise.
26257 [UNIX98] (pthread_spin_init): Likewise.
26258 [UNIX98] (pthread_spin_lock): Likewise.
26259 [UNIX98] (pthread_spin_trylock): Likewise.
26260 [UNIX98] (pthread_spin_unlock): Likewise.
26261 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26263 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26264 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26265 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26266 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26267 [XPG3 || XPG4] (pthread_key_t): Likewise.
26268 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26269 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26270 [XPG3 || XPG4] (pthread_once_t): Likewise.
26271 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26272 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26273 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26274 [XPG3 || XPG4] (pthread_t): Likewise.
26276 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26278 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26280 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26281 Change function return type to int.
26283 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26284 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26285 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26286 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26287 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26288 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26289 [!POSIX] (posix_madvise): Likewise.
26290 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26292 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26293 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26294 (mode_t): Likewise.
26295 (posix_mem_offset): Likewise.
26296 (posix_typed_mem_get_info): Likewise.
26297 (posix_typed_mem_open): Likewise.
26299 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26300 Change condition to [XOPEN2K8].
26302 * conform/conformtest.pl: Preprocess allow-header data with -x c
26303 instead of from stdin.
26304 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26305 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26306 [C99-based standards] (cerfc): Likewise.
26307 [C99-based standards] (cexp2): Likewise.
26308 [C99-based standards] (cexpm1): Likewise.
26309 [C99-based standards] (clog10): Likewise.
26310 [C99-based standards] (clog1p): Likewise.
26311 [C99-based standards] (clog2): Likewise.
26312 [C99-based standards] (clgamma): Likewise.
26313 [C99-based standards] (ctgamma): Likewise.
26314 [C99-based standards] (cerff): Likewise.
26315 [C99-based standards] (cerfcf): Likewise.
26316 [C99-based standards] (cexp2f): Likewise.
26317 [C99-based standards] (cexpm1f): Likewise.
26318 [C99-based standards] (clog10f): Likewise.
26319 [C99-based standards] (clog1pf): Likewise.
26320 [C99-based standards] (clog2f): Likewise.
26321 [C99-based standards] (clgammaf): Likewise.
26322 [C99-based standards] (ctgammaf): Likewise.
26323 [C99-based standards] (cerfl): Likewise.
26324 [C99-based standards] (cerfcl): Likewise.
26325 [C99-based standards] (cexp2l): Likewise.
26326 [C99-based standards] (cexpm1l): Likewise.
26327 [C99-based standards] (clog10l): Likewise.
26328 [C99-based standards] (clog1pl): Likewise.
26329 [C99-based standards] (clog2l): Likewise.
26330 [C99-based standards] (clgammal): Likewise.
26331 [C99-based standards] (ctgammal): Likewise.
26332 * conform/data/inttypes.h-data [C99-based standards]: Include
26333 stdint.h-data. Remove all expectations for stdint.h contents.
26334 [C99-based standards] (PRI*): Do not allow.
26335 [C99-based standards] (SCN*): Likewise.
26336 [C99-based standards] (*_t): Likewise.
26337 [C99-based-standards] (PRId8): Expect macro.
26338 [C99-based-standards] (PRIi8): Likewise.
26339 [C99-based-standards] (PRIo8): Likewise.
26340 [C99-based-standards] (PRIu8): Likewise.
26341 [C99-based-standards] (PRIx8): Likewise.
26342 [C99-based-standards] (PRIX8): Likewise.
26343 [C99-based-standards] (SCNd8): Likewise.
26344 [C99-based-standards] (SCNi8): Likewise.
26345 [C99-based-standards] (SCNo8): Likewise.
26346 [C99-based-standards] (SCNu8): Likewise.
26347 [C99-based-standards] (SCNx8): Likewise.
26348 [C99-based-standards] (PRIdLEAST8): Likewise.
26349 [C99-based-standards] (PRIiLEAST8): Likewise.
26350 [C99-based-standards] (PRIoLEAST8): Likewise.
26351 [C99-based-standards] (PRIuLEAST8): Likewise.
26352 [C99-based-standards] (PRIxLEAST8): Likewise.
26353 [C99-based-standards] (PRIXLEAST8): Likewise.
26354 [C99-based-standards] (SCNdLEAST8): Likewise.
26355 [C99-based-standards] (SCNiLEAST8): Likewise.
26356 [C99-based-standards] (SCNoLEAST8): Likewise.
26357 [C99-based-standards] (SCNuLEAST8): Likewise.
26358 [C99-based-standards] (SCNxLEAST8): Likewise.
26359 [C99-based-standards] (PRIdFAST8): Likewise.
26360 [C99-based-standards] (PRIiFAST8): Likewise.
26361 [C99-based-standards] (PRIoFAST8): Likewise.
26362 [C99-based-standards] (PRIuFAST8): Likewise.
26363 [C99-based-standards] (PRIxFAST8): Likewise.
26364 [C99-based-standards] (PRIXFAST8): Likewise.
26365 [C99-based-standards] (SCNdFAST8): Likewise.
26366 [C99-based-standards] (SCNiFAST8): Likewise.
26367 [C99-based-standards] (SCNoFAST8): Likewise.
26368 [C99-based-standards] (SCNuFAST8): Likewise.
26369 [C99-based-standards] (SCNxFAST8): Likewise.
26370 [C99-based-standards] (PRId16): Likewise.
26371 [C99-based-standards] (PRIi16): Likewise.
26372 [C99-based-standards] (PRIo16): Likewise.
26373 [C99-based-standards] (PRIu16): Likewise.
26374 [C99-based-standards] (PRIx16): Likewise.
26375 [C99-based-standards] (PRIX16): Likewise.
26376 [C99-based-standards] (SCNd16): Likewise.
26377 [C99-based-standards] (SCNi16): Likewise.
26378 [C99-based-standards] (SCNo16): Likewise.
26379 [C99-based-standards] (SCNu16): Likewise.
26380 [C99-based-standards] (SCNx16): Likewise.
26381 [C99-based-standards] (PRIdLEAST16): Likewise.
26382 [C99-based-standards] (PRIiLEAST16): Likewise.
26383 [C99-based-standards] (PRIoLEAST16): Likewise.
26384 [C99-based-standards] (PRIuLEAST16): Likewise.
26385 [C99-based-standards] (PRIxLEAST16): Likewise.
26386 [C99-based-standards] (PRIXLEAST16): Likewise.
26387 [C99-based-standards] (SCNdLEAST16): Likewise.
26388 [C99-based-standards] (SCNiLEAST16): Likewise.
26389 [C99-based-standards] (SCNoLEAST16): Likewise.
26390 [C99-based-standards] (SCNuLEAST16): Likewise.
26391 [C99-based-standards] (SCNxLEAST16): Likewise.
26392 [C99-based-standards] (PRIdFAST16): Likewise.
26393 [C99-based-standards] (PRIiFAST16): Likewise.
26394 [C99-based-standards] (PRIoFAST16): Likewise.
26395 [C99-based-standards] (PRIuFAST16): Likewise.
26396 [C99-based-standards] (PRIxFAST16): Likewise.
26397 [C99-based-standards] (PRIXFAST16): Likewise.
26398 [C99-based-standards] (SCNdFAST16): Likewise.
26399 [C99-based-standards] (SCNiFAST16): Likewise.
26400 [C99-based-standards] (SCNoFAST16): Likewise.
26401 [C99-based-standards] (SCNuFAST16): Likewise.
26402 [C99-based-standards] (SCNxFAST16): Likewise.
26403 [C99-based-standards] (PRId32): Likewise.
26404 [C99-based-standards] (PRIi32): Likewise.
26405 [C99-based-standards] (PRIo32): Likewise.
26406 [C99-based-standards] (PRIu32): Likewise.
26407 [C99-based-standards] (PRIx32): Likewise.
26408 [C99-based-standards] (PRIX32): Likewise.
26409 [C99-based-standards] (SCNd32): Likewise.
26410 [C99-based-standards] (SCNi32): Likewise.
26411 [C99-based-standards] (SCNo32): Likewise.
26412 [C99-based-standards] (SCNu32): Likewise.
26413 [C99-based-standards] (SCNx32): Likewise.
26414 [C99-based-standards] (PRIdLEAST32): Likewise.
26415 [C99-based-standards] (PRIiLEAST32): Likewise.
26416 [C99-based-standards] (PRIoLEAST32): Likewise.
26417 [C99-based-standards] (PRIuLEAST32): Likewise.
26418 [C99-based-standards] (PRIxLEAST32): Likewise.
26419 [C99-based-standards] (PRIXLEAST32): Likewise.
26420 [C99-based-standards] (SCNdLEAST32): Likewise.
26421 [C99-based-standards] (SCNiLEAST32): Likewise.
26422 [C99-based-standards] (SCNoLEAST32): Likewise.
26423 [C99-based-standards] (SCNuLEAST32): Likewise.
26424 [C99-based-standards] (SCNxLEAST32): Likewise.
26425 [C99-based-standards] (PRIdFAST32): Likewise.
26426 [C99-based-standards] (PRIiFAST32): Likewise.
26427 [C99-based-standards] (PRIoFAST32): Likewise.
26428 [C99-based-standards] (PRIuFAST32): Likewise.
26429 [C99-based-standards] (PRIxFAST32): Likewise.
26430 [C99-based-standards] (PRIXFAST32): Likewise.
26431 [C99-based-standards] (SCNdFAST32): Likewise.
26432 [C99-based-standards] (SCNiFAST32): Likewise.
26433 [C99-based-standards] (SCNoFAST32): Likewise.
26434 [C99-based-standards] (SCNuFAST32): Likewise.
26435 [C99-based-standards] (SCNxFAST32): Likewise.
26436 [C99-based-standards] (PRId64): Likewise.
26437 [C99-based-standards] (PRIi64): Likewise.
26438 [C99-based-standards] (PRIo64): Likewise.
26439 [C99-based-standards] (PRIu64): Likewise.
26440 [C99-based-standards] (PRIx64): Likewise.
26441 [C99-based-standards] (PRIX64): Likewise.
26442 [C99-based-standards] (SCNd64): Likewise.
26443 [C99-based-standards] (SCNi64): Likewise.
26444 [C99-based-standards] (SCNo64): Likewise.
26445 [C99-based-standards] (SCNu64): Likewise.
26446 [C99-based-standards] (SCNx64): Likewise.
26447 [C99-based-standards] (PRIdLEAST64): Likewise.
26448 [C99-based-standards] (PRIiLEAST64): Likewise.
26449 [C99-based-standards] (PRIoLEAST64): Likewise.
26450 [C99-based-standards] (PRIuLEAST64): Likewise.
26451 [C99-based-standards] (PRIxLEAST64): Likewise.
26452 [C99-based-standards] (PRIXLEAST64): Likewise.
26453 [C99-based-standards] (SCNdLEAST64): Likewise.
26454 [C99-based-standards] (SCNiLEAST64): Likewise.
26455 [C99-based-standards] (SCNoLEAST64): Likewise.
26456 [C99-based-standards] (SCNuLEAST64): Likewise.
26457 [C99-based-standards] (SCNxLEAST64): Likewise.
26458 [C99-based-standards] (PRIdFAST64): Likewise.
26459 [C99-based-standards] (PRIiFAST64): Likewise.
26460 [C99-based-standards] (PRIoFAST64): Likewise.
26461 [C99-based-standards] (PRIuFAST64): Likewise.
26462 [C99-based-standards] (PRIxFAST64): Likewise.
26463 [C99-based-standards] (PRIXFAST64): Likewise.
26464 [C99-based-standards] (SCNdFAST64): Likewise.
26465 [C99-based-standards] (SCNiFAST64): Likewise.
26466 [C99-based-standards] (SCNoFAST64): Likewise.
26467 [C99-based-standards] (SCNuFAST64): Likewise.
26468 [C99-based-standards] (SCNxFAST64): Likewise.
26469 [C99-based-standards] (PRIdMAX): Likewise.
26470 [C99-based-standards] (PRIiMAX): Likewise.
26471 [C99-based-standards] (PRIoMAX): Likewise.
26472 [C99-based-standards] (PRIuMAX): Likewise.
26473 [C99-based-standards] (PRIxMAX): Likewise.
26474 [C99-based-standards] (PRIXMAX): Likewise.
26475 [C99-based-standards] (SCNdMAX): Likewise.
26476 [C99-based-standards] (SCNiMAX): Likewise.
26477 [C99-based-standards] (SCNoMAX): Likewise.
26478 [C99-based-standards] (SCNuMAX): Likewise.
26479 [C99-based-standards] (SCNxMAX): Likewise.
26480 [C99-based-standards] (PRIdPTR): Likewise.
26481 [C99-based-standards] (PRIiPTR): Likewise.
26482 [C99-based-standards] (PRIoPTR): Likewise.
26483 [C99-based-standards] (PRIuPTR): Likewise.
26484 [C99-based-standards] (PRIxPTR): Likewise.
26485 [C99-based-standards] (PRIXPTR): Likewise.
26486 [C99-based-standards] (SCNdPTR): Likewise.
26487 [C99-based-standards] (SCNiPTR): Likewise.
26488 [C99-based-standards] (SCNoPTR): Likewise.
26489 [C99-based-standards] (SCNuPTR): Likewise.
26490 [C99-based-standards] (SCNxPTR): Likewise.
26491 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26493 * conform/data/stdint.h-data: Update comments to clarify
26495 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26497 [C99-based standards] (INT8_MAX): Likewise.
26498 [C99-based standards] (INT16_MIN): Likewise.
26499 [C99-based standards] (INT16_MAX): Likewise.
26500 [C99-based standards] (INT32_MIN): Likewise.
26501 [C99-based standards] (INT32_MAX): Likewise.
26502 [C99-based standards] (INT64_MIN): Likewise.
26503 [C99-based standards] (INT64_MAX): Likewise.
26504 [C99-based standards] (UINT8_MAX): Likewise.
26505 [C99-based standards] (UINT16_MAX): Likewise.
26506 [C99-based standards] (UINT32_MAX): Likewise.
26507 [C99-based standards] (UINT64_MAX): Likewise.
26508 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26509 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26510 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26511 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26512 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26513 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26514 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26515 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26516 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26517 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26518 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26519 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26520 [C99-based standards] (INT_FAST8_MIN): Likewise.
26521 [C99-based standards] (INT_FAST8_MAX): Likewise.
26522 [C99-based standards] (INT_FAST16_MIN): Likewise.
26523 [C99-based standards] (INT_FAST16_MAX): Likewise.
26524 [C99-based standards] (INT_FAST32_MIN): Likewise.
26525 [C99-based standards] (INT_FAST32_MAX): Likewise.
26526 [C99-based standards] (INT_FAST64_MIN): Likewise.
26527 [C99-based standards] (INT_FAST64_MAX): Likewise.
26528 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26529 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26530 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26531 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26532 [C99-based standards] (INTPTR_MIN): Likewise.
26533 [C99-based standards] (INTPTR_MAX): Likewise.
26534 [C99-based standards] (UINTPTR_MAX): Likewise.
26535 [C99-based standards] (INTMAX_MIN): Likewise.
26536 [C99-based standards] (INTMAX_MAX): Likewise.
26537 [C99-based standards] (UINTMAX_MAX): Likewise.
26538 [C99-based standards] (PTRDIFF_MIN): Likewise.
26539 [C99-based standards] (PTRDIFF_MAX): Likewise.
26540 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26541 [C99-based standards] (SIZE_MAX): Likewise.
26542 [C99-based standards] (WCHAR_MAX): Likewise.
26543 [C99-based standards] (WINT_MAX): Likewise.
26544 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26545 constraint on value.
26546 [C99-based standards] (WCHAR_MIN): Likewise.
26547 [C99-based standards] (WINT_MIN): Likewise.
26548 [C99-based standards] (*_t): Allow.
26549 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26550 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26551 Include math.h-data and complex.h-data. Remove all expectations
26552 of math.h and complex.h contents.
26553 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26555 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26556 (struct tm): Expect tag.
26557 [C99-based-standards] (wcstof): Expect function.
26558 [C99-based-standards] (wcstold): Likewise.
26559 [C99-based-standards] (wcstoll): Likewise.
26560 [C99-based-standards] (wcstoull): Likewise.
26561 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26562 macro-int-constant. Specify type.
26563 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26564 constraint on value.
26565 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26567 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26569 [ISO C standards]: Do not allow headers.
26570 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26571 wcs[abcdefghijklmnopqrstuvwxyz]*.
26572 [ISO C standards] (*_t): Do not allow.
26573 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26575 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26576 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26578 [ISO C standards]: Do not allow headers.
26579 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26580 is[abcdefghijklmnopqrstuvwxyz]*.
26581 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26582 to[abcdefghijklmnopqrstuvwxyz]*.
26583 [ISO C standards] (*_t): Do not allow.
26584 * conform/data/stdalign.h-data: New file.
26585 * conform/data/stdbool.h-data: Likewise.
26586 * conform/data/stdnoreturn.h-data: Likewise.
26588 2012-11-07 Roland McGrath <roland@hack.frob.com>
26591 * manual/filesys.texi (Directory Entries): Typo fix.
26592 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26594 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26596 * elf/elf.h (EM_AARCH64): New macro.
26597 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26598 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26599 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26600 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26601 (R_AARCH64_TLSDESC): Likewise.
26602 (NT_ARM_TLS): Likewise.
26603 (NT_ARM_HW_BREAK): Likewise.
26604 (NT_ARM_HW_WATCH): Likewise.
26606 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26609 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26610 (__ieee754_powl): Saturate nonzero exponents with absolute value
26611 below 0x1p-79 to +/- 0x1p-79.
26612 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26613 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26614 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26615 nonzero exponents with absolute value below 0x1p-32 to +/-
26617 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26618 (__ieee754_powl): Saturate nonzero exponents with absolute value
26619 below 0x1p-79 to +/- 0x1p-79.
26620 * math/libm-test.inc (pow_test): Add more tests.
26622 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26624 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26625 _dl_s390_cap_flags with kernel. Increase string length.
26626 (_dl_s390_platforms): Add z196 and zEC12.
26628 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26630 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26631 Change XOPEN21K to XOPEN2K.
26633 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26635 * string/memmove.c: Use memcpy when possible.
26637 2012-11-06 Andreas Jaeger <aj@suse.de>
26639 * po/eo.po: Update from translation team.
26641 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26645 exponent and small x and y exponents, scale x or y up. Increase
26646 by 2 the exponent used in scaling up.
26647 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26648 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26649 * math/libm-test.inc (fma_test): Add more tests.
26650 (fma_test_towardzero): Likewise.
26651 (fma_test_downward): Likewise.
26652 (fma_test_upward): Likewise.
26654 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26657 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26661 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26662 namespace for names of struct fields.
26663 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26665 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26666 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26668 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26671 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26673 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26675 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26679 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26682 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26686 definitely overflow as x * y not x * y + z.
26687 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26688 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26689 * math/libm-test.inc (fma_test): Add more tests.
26690 (fma_test_towardzero): Likewise.
26691 (fma_test_downward): Likewise.
26692 (fma_test_upward): Likewise.
26694 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26698 * include/stub-tag.h: Remove file.
26699 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26701 * manual/maint.texi (Porting): Don't reference it.
26702 * Makerules ($(objpfx)stubs): Likewise.
26703 * dirent/closedir.c: Don't include <stub-tag.h>.
26704 * dirent/dirfd.c: Likewise.
26705 * dirent/fdopendir.c: Likewise.
26706 * dirent/getdents.c: Likewise.
26707 * dirent/getdents64.c: Likewise.
26708 * dirent/opendir.c: Likewise.
26709 * dirent/readdir.c: Likewise.
26710 * dirent/readdir64.c: Likewise.
26711 * dirent/readdir64_r.c: Likewise.
26712 * dirent/readdir_r.c: Likewise.
26713 * dirent/rewinddir.c: Likewise.
26714 * dirent/seekdir.c: Likewise.
26715 * dirent/telldir.c: Likewise.
26716 * gmon/profil.c: Likewise.
26717 * grp/setgroups.c: Likewise.
26718 * inet/if_index.c: Likewise.
26719 * io/access.c: Likewise.
26720 * io/chdir.c: Likewise.
26721 * io/chmod.c: Likewise.
26722 * io/chown.c: Likewise.
26723 * io/close.c: Likewise.
26724 * io/dup.c: Likewise.
26725 * io/dup2.c: Likewise.
26726 * io/dup3.c: Likewise.
26727 * io/euidaccess.c: Likewise.
26728 * io/faccessat.c: Likewise.
26729 * io/fchdir.c: Likewise.
26730 * io/fchmod.c: Likewise.
26731 * io/fchmodat.c: Likewise.
26732 * io/fchown.c: Likewise.
26733 * io/fchownat.c: Likewise.
26734 * io/fcntl.c: Likewise.
26735 * io/flock.c: Likewise.
26736 * io/fstatfs.c: Likewise.
26737 * io/fstatfs64.c: Likewise.
26738 * io/fstatvfs.c: Likewise.
26739 * io/fstatvfs64.c: Likewise.
26740 * io/futimens.c: Likewise.
26741 * io/fxstat.c: Likewise.
26742 * io/fxstat64.c: Likewise.
26743 * io/fxstatat.c: Likewise.
26744 * io/fxstatat64.c: Likewise.
26745 * io/getcwd.c: Likewise.
26746 * io/isatty.c: Likewise.
26747 * io/lchmod.c: Likewise.
26748 * io/lchown.c: Likewise.
26749 * io/link.c: Likewise.
26750 * io/linkat.c: Likewise.
26751 * io/lseek.c: Likewise.
26752 * io/lseek64.c: Likewise.
26753 * io/lxstat64.c: Likewise.
26754 * io/mkdir.c: Likewise.
26755 * io/mkdirat.c: Likewise.
26756 * io/mkfifo.c: Likewise.
26757 * io/mkfifoat.c: Likewise.
26758 * io/open.c: Likewise.
26759 * io/open64.c: Likewise.
26760 * io/openat.c: Likewise.
26761 * io/openat64.c: Likewise.
26762 * io/pipe.c: Likewise.
26763 * io/pipe2.c: Likewise.
26764 * io/poll.c: Likewise.
26765 * io/posix_fadvise.c: Likewise.
26766 * io/posix_fadvise64.c: Likewise.
26767 * io/posix_fallocate.c: Likewise.
26768 * io/posix_fallocate64.c: Likewise.
26769 * io/read.c: Likewise.
26770 * io/readlink.c: Likewise.
26771 * io/readlinkat.c: Likewise.
26772 * io/rmdir.c: Likewise.
26773 * io/sendfile.c: Likewise.
26774 * io/sendfile64.c: Likewise.
26775 * io/statfs.c: Likewise.
26776 * io/statfs64.c: Likewise.
26777 * io/statvfs.c: Likewise.
26778 * io/statvfs64.c: Likewise.
26779 * io/symlink.c: Likewise.
26780 * io/symlinkat.c: Likewise.
26781 * io/ttyname.c: Likewise.
26782 * io/ttyname_r.c: Likewise.
26783 * io/umask.c: Likewise.
26784 * io/unlink.c: Likewise.
26785 * io/unlinkat.c: Likewise.
26786 * io/utime.c: Likewise.
26787 * io/utimensat.c: Likewise.
26788 * io/write.c: Likewise.
26789 * io/xmknod.c: Likewise.
26790 * io/xmknodat.c: Likewise.
26791 * io/xstat.c: Likewise.
26792 * io/xstat64.c: Likewise.
26793 * login/getpt.c: Likewise.
26794 * login/grantpt.c: Likewise.
26795 * login/unlockpt.c: Likewise.
26796 * math/e_acoshl.c: Likewise.
26797 * math/e_acosl.c: Likewise.
26798 * math/e_asinl.c: Likewise.
26799 * math/e_atan2l.c: Likewise.
26800 * math/e_atanhl.c: Likewise.
26801 * math/e_coshl.c: Likewise.
26802 * math/e_expl.c: Likewise.
26803 * math/e_fmodl.c: Likewise.
26804 * math/e_gammal_r.c: Likewise.
26805 * math/e_hypotl.c: Likewise.
26806 * math/e_j0l.c: Likewise.
26807 * math/e_j1l.c: Likewise.
26808 * math/e_jnl.c: Likewise.
26809 * math/e_lgammal_r.c: Likewise.
26810 * math/e_log10l.c: Likewise.
26811 * math/e_log2l.c: Likewise.
26812 * math/e_logl.c: Likewise.
26813 * math/e_powl.c: Likewise.
26814 * math/e_rem_pio2l.c: Likewise.
26815 * math/e_sinhl.c: Likewise.
26816 * math/e_sqrtl.c: Likewise.
26817 * math/fclrexcpt.c: Likewise.
26818 * math/fedisblxcpt.c: Likewise.
26819 * math/feenablxcpt.c: Likewise.
26820 * math/fegetenv.c: Likewise.
26821 * math/fegetexcept.c: Likewise.
26822 * math/fegetround.c: Likewise.
26823 * math/feholdexcpt.c: Likewise.
26824 * math/fesetenv.c: Likewise.
26825 * math/fesetround.c: Likewise.
26826 * math/feupdateenv.c: Likewise.
26827 * math/fgetexcptflg.c: Likewise.
26828 * math/fraiseexcpt.c: Likewise.
26829 * math/fsetexcptflg.c: Likewise.
26830 * math/ftestexcept.c: Likewise.
26831 * math/k_cosl.c: Likewise.
26832 * math/k_rem_pio2l.c: Likewise.
26833 * math/k_sinl.c: Likewise.
26834 * math/k_tanl.c: Likewise.
26835 * math/s_asinhl.c: Likewise.
26836 * math/s_atanl.c: Likewise.
26837 * math/s_cbrtl.c: Likewise.
26838 * math/s_erfl.c: Likewise.
26839 * math/s_expm1l.c: Likewise.
26840 * math/s_log1pl.c: Likewise.
26841 * math/s_tanhl.c: Likewise.
26842 * misc/acct.c: Likewise.
26843 * misc/brk.c: Likewise.
26844 * misc/chflags.c: Likewise.
26845 * misc/chroot.c: Likewise.
26846 * misc/fchflags.c: Likewise.
26847 * misc/fgetxattr.c: Likewise.
26848 * misc/flistxattr.c: Likewise.
26849 * misc/fremovexattr.c: Likewise.
26850 * misc/fsetxattr.c: Likewise.
26851 * misc/fsync.c: Likewise.
26852 * misc/ftruncate.c: Likewise.
26853 * misc/futimes.c: Likewise.
26854 * misc/futimesat.c: Likewise.
26855 * misc/getdomain.c: Likewise.
26856 * misc/getdtsz.c: Likewise.
26857 * misc/gethostid.c: Likewise.
26858 * misc/gethostname.c: Likewise.
26859 * misc/getloadavg.c: Likewise.
26860 * misc/getpagesize.c: Likewise.
26861 * misc/getsysstats.c: Likewise.
26862 * misc/getxattr.c: Likewise.
26863 * misc/gtty.c: Likewise.
26864 * misc/ioctl.c: Likewise.
26865 * misc/lgetxattr.c: Likewise.
26866 * misc/listxattr.c: Likewise.
26867 * misc/llistxattr.c: Likewise.
26868 * misc/lremovexattr.c: Likewise.
26869 * misc/lsetxattr.c: Likewise.
26870 * misc/lutimes.c: Likewise.
26871 * misc/madvise.c: Likewise.
26872 * misc/mincore.c: Likewise.
26873 * misc/mlock.c: Likewise.
26874 * misc/mlockall.c: Likewise.
26875 * misc/mmap.c: Likewise.
26876 * misc/mprotect.c: Likewise.
26877 * misc/msync.c: Likewise.
26878 * misc/munlock.c: Likewise.
26879 * misc/munlockall.c: Likewise.
26880 * misc/munmap.c: Likewise.
26881 * misc/preadv.c: Likewise.
26882 * misc/preadv64.c: Likewise.
26883 * misc/ptrace.c: Likewise.
26884 * misc/pwritev.c: Likewise.
26885 * misc/pwritev64.c: Likewise.
26886 * misc/readv.c: Likewise.
26887 * misc/reboot.c: Likewise.
26888 * misc/remap_file_pages.c: Likewise.
26889 * misc/removexattr.c: Likewise.
26890 * misc/revoke.c: Likewise.
26891 * misc/select.c: Likewise.
26892 * misc/setdomain.c: Likewise.
26893 * misc/setegid.c: Likewise.
26894 * misc/seteuid.c: Likewise.
26895 * misc/sethostid.c: Likewise.
26896 * misc/sethostname.c: Likewise.
26897 * misc/setregid.c: Likewise.
26898 * misc/setreuid.c: Likewise.
26899 * misc/setxattr.c: Likewise.
26900 * misc/sstk.c: Likewise.
26901 * misc/stty.c: Likewise.
26902 * misc/swapoff.c: Likewise.
26903 * misc/swapon.c: Likewise.
26904 * misc/sync.c: Likewise.
26905 * misc/syncfs.c: Likewise.
26906 * misc/syscall.c: Likewise.
26907 * misc/truncate.c: Likewise.
26908 * misc/ualarm.c: Likewise.
26909 * misc/usleep.c: Likewise.
26910 * misc/ustat.c: Likewise.
26911 * misc/utimes.c: Likewise.
26912 * misc/vhangup.c: Likewise.
26913 * misc/writev.c: Likewise.
26914 * posix/_exit.c: Likewise.
26915 * posix/alarm.c: Likewise.
26916 * posix/execve.c: Likewise.
26917 * posix/fexecve.c: Likewise.
26918 * posix/fork.c: Likewise.
26919 * posix/fpathconf.c: Likewise.
26920 * posix/getaddrinfo.c: Likewise.
26921 * posix/getegid.c: Likewise.
26922 * posix/geteuid.c: Likewise.
26923 * posix/getgid.c: Likewise.
26924 * posix/getgroups.c: Likewise.
26925 * posix/getlogin.c: Likewise.
26926 * posix/getlogin_r.c: Likewise.
26927 * posix/getpgid.c: Likewise.
26928 * posix/getpid.c: Likewise.
26929 * posix/getppid.c: Likewise.
26930 * posix/getresgid.c: Likewise.
26931 * posix/getresuid.c: Likewise.
26932 * posix/getsid.c: Likewise.
26933 * posix/getuid.c: Likewise.
26934 * posix/glob64.c: Likewise.
26935 * posix/nanosleep.c: Likewise.
26936 * posix/pathconf.c: Likewise.
26937 * posix/pause.c: Likewise.
26938 * posix/posix_madvise.c: Likewise.
26939 * posix/pread.c: Likewise.
26940 * posix/pread64.c: Likewise.
26941 * posix/pwrite.c: Likewise.
26942 * posix/pwrite64.c: Likewise.
26943 * posix/sched_getaffinity.c: Likewise.
26944 * posix/sched_getp.c: Likewise.
26945 * posix/sched_gets.c: Likewise.
26946 * posix/sched_primax.c: Likewise.
26947 * posix/sched_primin.c: Likewise.
26948 * posix/sched_rr_gi.c: Likewise.
26949 * posix/sched_setaffinity.c: Likewise.
26950 * posix/sched_setp.c: Likewise.
26951 * posix/sched_sets.c: Likewise.
26952 * posix/sched_yield.c: Likewise.
26953 * posix/setgid.c: Likewise.
26954 * posix/setlogin.c: Likewise.
26955 * posix/setpgid.c: Likewise.
26956 * posix/setresgid.c: Likewise.
26957 * posix/setresuid.c: Likewise.
26958 * posix/setsid.c: Likewise.
26959 * posix/setuid.c: Likewise.
26960 * posix/sleep.c: Likewise.
26961 * posix/spawni.c: Likewise.
26962 * posix/sysconf.c: Likewise.
26963 * posix/times.c: Likewise.
26964 * posix/wait.c: Likewise.
26965 * posix/wait3.c: Likewise.
26966 * posix/wait4.c: Likewise.
26967 * posix/waitpid.c: Likewise.
26968 * resolv/gai_sigqueue.c: Likewise.
26969 * resource/getpriority.c: Likewise.
26970 * resource/getrlimit.c: Likewise.
26971 * resource/getrusage.c: Likewise.
26972 * resource/nice.c: Likewise.
26973 * resource/setpriority.c: Likewise.
26974 * resource/setrlimit.c: Likewise.
26975 * resource/ulimit.c: Likewise.
26976 * rt/aio_cancel.c: Likewise.
26977 * rt/aio_fsync.c: Likewise.
26978 * rt/aio_read.c: Likewise.
26979 * rt/aio_sigqueue.c: Likewise.
26980 * rt/aio_suspend.c: Likewise.
26981 * rt/aio_write.c: Likewise.
26982 * rt/clock_getres.c: Likewise.
26983 * rt/clock_gettime.c: Likewise.
26984 * rt/clock_nanosleep.c: Likewise.
26985 * rt/clock_settime.c: Likewise.
26986 * rt/lio_listio.c: Likewise.
26987 * rt/mq_close.c: Likewise.
26988 * rt/mq_getattr.c: Likewise.
26989 * rt/mq_notify.c: Likewise.
26990 * rt/mq_open.c: Likewise.
26991 * rt/mq_receive.c: Likewise.
26992 * rt/mq_send.c: Likewise.
26993 * rt/mq_setattr.c: Likewise.
26994 * rt/mq_timedreceive.c: Likewise.
26995 * rt/mq_timedsend.c: Likewise.
26996 * rt/mq_unlink.c: Likewise.
26997 * rt/shm_open.c: Likewise.
26998 * rt/shm_unlink.c: Likewise.
26999 * rt/timer_create.c: Likewise.
27000 * rt/timer_delete.c: Likewise.
27001 * rt/timer_getoverr.c: Likewise.
27002 * rt/timer_gettime.c: Likewise.
27003 * rt/timer_settime.c: Likewise.
27004 * setjmp/__longjmp.c: Likewise.
27005 * setjmp/setjmp.c: Likewise.
27006 * signal/kill.c: Likewise.
27007 * signal/killpg.c: Likewise.
27008 * signal/raise.c: Likewise.
27009 * signal/sigaction.c: Likewise.
27010 * signal/sigaltstack.c: Likewise.
27011 * signal/sigblock.c: Likewise.
27012 * signal/sigignore.c: Likewise.
27013 * signal/sigintr.c: Likewise.
27014 * signal/signal.c: Likewise.
27015 * signal/sigpause.c: Likewise.
27016 * signal/sigpending.c: Likewise.
27017 * signal/sigqueue.c: Likewise.
27018 * signal/sigreturn.c: Likewise.
27019 * signal/sigset.c: Likewise.
27020 * signal/sigsetmask.c: Likewise.
27021 * signal/sigstack.c: Likewise.
27022 * signal/sigsuspend.c: Likewise.
27023 * signal/sigtimedwait.c: Likewise.
27024 * signal/sigvec.c: Likewise.
27025 * signal/sigwait.c: Likewise.
27026 * signal/sigwaitinfo.c: Likewise.
27027 * signal/sysv_signal.c: Likewise.
27028 * socket/accept.c: Likewise.
27029 * socket/accept4.c: Likewise.
27030 * socket/bind.c: Likewise.
27031 * socket/connect.c: Likewise.
27032 * socket/getpeername.c: Likewise.
27033 * socket/getsockname.c: Likewise.
27034 * socket/getsockopt.c: Likewise.
27035 * socket/isfdtype.c: Likewise.
27036 * socket/listen.c: Likewise.
27037 * socket/recv.c: Likewise.
27038 * socket/recvfrom.c: Likewise.
27039 * socket/recvmsg.c: Likewise.
27040 * socket/send.c: Likewise.
27041 * socket/sendmsg.c: Likewise.
27042 * socket/sendto.c: Likewise.
27043 * socket/setsockopt.c: Likewise.
27044 * socket/shutdown.c: Likewise.
27045 * socket/sockatmark.c: Likewise.
27046 * socket/socket.c: Likewise.
27047 * socket/socketpair.c: Likewise.
27048 * stdio-common/ctermid.c: Likewise.
27049 * stdio-common/cuserid.c: Likewise.
27050 * stdio-common/remove.c: Likewise.
27051 * stdio-common/rename.c: Likewise.
27052 * stdio-common/renameat.c: Likewise.
27053 * stdio-common/tempname.c: Likewise.
27054 * stdlib/getcontext.c: Likewise.
27055 * stdlib/makecontext.c: Likewise.
27056 * stdlib/setcontext.c: Likewise.
27057 * stdlib/swapcontext.c: Likewise.
27058 * stdlib/system.c: Likewise.
27059 * streams/fattach.c: Likewise.
27060 * streams/fdetach.c: Likewise.
27061 * streams/getmsg.c: Likewise.
27062 * streams/getpmsg.c: Likewise.
27063 * streams/putmsg.c: Likewise.
27064 * streams/putpmsg.c: Likewise.
27065 * sysdeps/unix/bsd/getpt.c: Likewise.
27066 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27067 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27068 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27071 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27072 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27073 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27074 * sysvipc/msgctl.c: Likewise.
27075 * sysvipc/msgget.c: Likewise.
27076 * sysvipc/msgrcv.c: Likewise.
27077 * sysvipc/msgsnd.c: Likewise.
27078 * sysvipc/semctl.c: Likewise.
27079 * sysvipc/semget.c: Likewise.
27080 * sysvipc/semop.c: Likewise.
27081 * sysvipc/semtimedop.c: Likewise.
27082 * sysvipc/shmat.c: Likewise.
27083 * sysvipc/shmctl.c: Likewise.
27084 * sysvipc/shmdt.c: Likewise.
27085 * sysvipc/shmget.c: Likewise.
27086 * termios/tcdrain.c: Likewise.
27087 * termios/tcflow.c: Likewise.
27088 * termios/tcflush.c: Likewise.
27089 * termios/tcgetattr.c: Likewise.
27090 * termios/tcgetpgrp.c: Likewise.
27091 * termios/tcsendbrk.c: Likewise.
27092 * termios/tcsetattr.c: Likewise.
27093 * termios/tcsetpgrp.c: Likewise.
27094 * time/adjtime.c: Likewise.
27095 * time/clock.c: Likewise.
27096 * time/getitimer.c: Likewise.
27097 * time/gettimeofday.c: Likewise.
27098 * time/setitimer.c: Likewise.
27099 * time/settimeofday.c: Likewise.
27100 * time/stime.c: Likewise.
27101 * time/time.c: Likewise.
27103 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27105 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27108 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27110 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27112 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27116 FE_TONEAREST before applying Dekker multiplication and Knuth
27117 addition. Clear inexact exceptions and check for exact zero
27118 results afterwards.
27119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27120 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27121 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27122 * math/libm-test.inc (fma_test): Add more tests.
27123 (fma_test_towardzero): Likewise.
27124 (fma_test_downward): Likewise.
27125 (fma_test_upward): Likewise.
27126 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27128 (libc_fesetround): New macro.
27129 (libc_fesetroundf): Likewise.
27130 (libc_fesetroundl): Likewise.
27131 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27133 (libc_fesetround_387): Likewise.
27134 (libc_fesetroundf): New macro.
27135 (libc_fesetround): Likewise.
27136 (libc_fesetroundl): Likewise.
27137 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27139 (libc_fesetroundf): New macro.
27140 (libc_fesetround): Likewise.
27141 (libc_fesetroundl): Likewise.
27142 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27143 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27144 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27146 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27147 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27149 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27150 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27152 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27156 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27157 integer constant usable in #if and use that to give value to enum
27159 (FE_DIVBYZERO): Likewise.
27160 (FE_UNDERFLOW): Likewise.
27161 (FE_OVERFLOW): Likewise.
27162 (FE_INVALID): Likewise.
27163 (FE_INVALID_SNAN): Likewise.
27164 (FE_INVALID_ISI): Likewise.
27165 (FE_INVALID_IDI): Likewise.
27166 (FE_INVALID_ZDZ): Likewise.
27167 (FE_INVALID_IMZ): Likewise.
27168 (FE_INVALID_COMPARE): Likewise.
27169 (FE_INVALID_SOFTWARE): Likewise.
27170 (FE_INVALID_SQRT): Likewise.
27171 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27172 (FE_TONEAREST): Likewise.
27173 (FE_TOWARDZERO): Likewise.
27174 (FE_UPWARD): Likewise.
27175 (FE_DOWNWARD): Likewise.
27176 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27177 (FE_DIVBYZERO): Likewise.
27178 (FE_OVERFLOW): Likewise.
27179 (FE_UNDERFLOW): Likewise.
27180 (FE_INEXACT): Likewise.
27181 (FE_TONEAREST): Likewise.
27182 (FE_DOWNWARD): Likewise.
27183 (FE_UPWARD): Likewise.
27184 (FE_TOWARDZERO): Likewise.
27185 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27186 (FE_UNDERFLOW): Likewise.
27187 (FE_OVERFLOW): Likewise.
27188 (FE_DIVBYZERO): Likewise.
27189 (FE_INVALID): Likewise.
27190 (FE_TONEAREST): Likewise.
27191 (FE_TOWARDZERO): Likewise.
27192 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27193 (FE_OVERFLOW): Likewise.
27194 (FE_UNDERFLOW): Likewise.
27195 (FE_DIVBYZERO): Likewise.
27196 (FE_INEXACT): Likewise.
27197 (FE_TONEAREST): Likewise.
27198 (FE_TOWARDZERO): Likewise.
27199 (FE_UPWARD): Likewise.
27200 (FE_DOWNWARD): Likewise.
27201 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27202 (FE_DIVBYZERO): Likewise.
27203 (FE_OVERFLOW): Likewise.
27204 (FE_UNDERFLOW): Likewise.
27205 (FE_INEXACT): Likewise.
27206 (FE_TONEAREST): Likewise.
27207 (FE_DOWNWARD): Likewise.
27208 (FE_UPWARD): Likewise.
27209 (FE_TOWARDZERO): Likewise.
27211 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27213 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27215 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27217 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27218 commands. Quote $PWD.
27219 (blacklist_exports): Don't use remove_newlines. Replace "declare
27221 (remove_newlines): Remove.
27223 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27225 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27226 * stdlib/stdlib.h (atof): Moved to ...
27227 * include/bits/stdlib-float.h: Here. New file.
27228 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27229 * stdlib/bits/stdlib-float.h: New file.
27230 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27235 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27237 * conform/conformtest.pl (@headers): Add fenv.h.
27238 * conform/data/fenv.h-data: New file.
27239 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27240 include of <math/fenv.h>.
27242 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27243 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27244 && !UNIX98]. Enables tests for XOPEN2K8.
27245 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27246 POSIX2008]: Likewise.
27248 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27249 (struct rusage): Do not expect type or its members.
27252 * math/math.h (FP_NAN): Define macro to integer constant usable in
27253 #if and use that to give value to enum constant.
27254 (FP_INFINITE): Likewise.
27255 (FP_ZERO): Likewise.
27256 (FP_SUBNORMAL): Likewise.
27257 (FP_NORMAL): Likewise.
27259 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27261 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27262 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27265 2012-11-02 Roland McGrath <roland@hack.frob.com>
27267 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27268 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27269 autoconf-time if not.
27270 * configure.in: Remove AC_PREREQ.
27272 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27274 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27275 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27276 of the internal implementation.
27278 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27280 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27281 except include of <misc/sys/syslog.h>.
27283 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27286 function returns with a NULL context exit with zero.
27288 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27290 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27292 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27294 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27295 (run_program_cmd): This.
27296 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27297 (tst_langinfo): New variable. Use it.
27299 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27301 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27302 floating point opcodes.
27304 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27306 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27309 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27311 * sysdeps/mach/hurd/powerpc: Remove directory.
27312 * sysdeps/mach/powerpc: Likewise.
27314 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27316 * scripts/check-local-headers.sh: Ignore c++ headers.
27318 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27320 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27321 __libc_cleanup_region_start argument.
27323 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27328 x * y using scaling, not as x * y + z.
27329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27331 * math/libm-test.inc (fma_test): Add more tests.
27332 (fma_test_towardzero): Likewise.
27333 (fma_test_downward): Likewise.
27334 (fma_test_upward): Likewise.
27336 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27338 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27340 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27342 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27345 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27347 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27349 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27356 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27359 Fix the order of the list for glibc 2.17.
27360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27363 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27367 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27370 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27371 for low part of x being zero before using __atanl (y).
27372 * math/libm-test.inc (atan2_test): Add another test.
27374 * manual/install.texi (Configuring and compiling): Document
27375 general use of test-wrapper and test-wrapper-env.
27376 * INSTALL: Regenerated.
27378 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27379 (__fma): Do not extract and scale down low bits on after-rounding
27380 systems when result rounded to normal precision would have normal
27382 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27383 (__fmal): Do not extract and scale down low bits on after-rounding
27384 systems when result rounded to normal precision would have normal
27386 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27387 (__fmal): Do not extract and scale down low bits on after-rounding
27388 systems when result rounded to normal precision would have normal
27390 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27392 (fma_test): Add more tests.
27393 (fma_test_towardzero): Likewise.
27394 (fma_test_downward): Likewise.
27395 (fma_test_upward): Likewise.
27397 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27399 * sysdeps/i386/tininess.h: Renamed to ...
27400 * sysdeps/x86/tininess.h: This.
27401 * sysdeps/x86_64/tininess.h: Removed.
27403 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27405 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27406 input. Use $(build-program-cmd).
27407 ($(objpfx)tst-array1-static.out): Likewise.
27408 ($(objpfx)tst-array2.out): Likewise.
27409 ($(objpfx)tst-array3.out): Likewise.
27410 ($(objpfx)tst-array4.out): Likewise.
27411 ($(objpfx)tst-array5.out): Likewise.
27412 ($(objpfx)tst-array5-static.out): Likewise.
27414 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27416 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27419 * nss/nsswitch.h (nss_interface_function): Provide new
27420 macro for use with NSS functions.
27421 * grp/initgroups.c: Use new macro.
27422 * nss/getXXbyYY.c: Likewise.
27423 * nss/getXXbyYY_r.c: Likewise.
27424 * nss/getXXent.c: Likewise.
27425 * nss/getXXent_r.c: Likewise.
27426 * sysdeps/posix/getaddrinfo.c: Likewise.
27428 2012-10-30 Andreas Jaeger <aj@suse.de>
27430 * po/ru.po: Update Russion translation from translation project.
27432 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27437 result and shift together with sticky bit instead of replicating
27438 round-to-nearest rounding.
27439 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27440 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27441 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27442 missing underflow exceptions.
27443 (fma_test_towardzero): Add more tests.
27444 (fma_test_downward): Likewise.
27445 (fma_test_upward): Likewise.
27448 * sysdeps/generic/tininess.h: New file.
27449 * sysdeps/i386/tininess.h: Likewise.
27450 * sysdeps/sh/tininess.h: Likewise.
27451 * sysdeps/x86_64/tininess.h: Likewise.
27452 * stdlib/tst-strtod-underflow.c: Likewise.
27453 * stdlib/tst-tininess.c: Likewise.
27454 * stdlib/strtod_l.c: Include <tininess.h>.
27455 (round_and_return): Do not set errno for exact underflow cases.
27456 Force an underflow exception when setting errno for underflow.
27457 Determine underflow based on rounding to normal precision if
27458 TININESS_AFTER_ROUNDING.
27459 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27460 ERANGE for exact underflow cases.
27461 * stdlib/Makefile (tests): Add tst-tininess and
27462 tst-strtod-underflow.
27463 ($(objpfx)tst-tininess): Use $(link-libm).
27464 ($(objpfx)tst-strtod-underflow): Likewise.
27466 2012-10-30 Andreas Jaeger <aj@suse.de>
27469 * elf/Makefile (tests): Remove conditional for have-initfini-array
27470 since this is now always required and the variable does not exist
27472 (tests-static): Likewise.
27473 (modules-names): Likewise.
27475 * po/eo.po: Add Esperanto translation from translation project.
27477 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27478 merged with constructor/destructor.
27479 (init_array): Likewise.
27480 * elf/tst-array2dep.c (fini_array): Likewise.
27481 (init_array): Likewise.
27483 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27485 * manual/message.texi: Delete @cartouche tags.
27487 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27489 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27491 * sysdeps/mach/hurd/fsync.c: Likewise.
27493 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27494 [_POSIX_REALTIME_SIGNALS]: Change condition to
27495 [_POSIX_REALTIME_SIGNALS > 0].
27497 2012-10-27 Andreas Jaeger <aj@suse.de>
27499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27500 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27502 [__WORDSIZE != 64]: Likewise.
27504 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27506 * iconvdata/tst-table.sh: Remove ${SHELL}.
27507 * iconvdata/tst-tables.sh: Likewise.
27509 2012-10-25 David S. Miller <davem@davemloft.net>
27511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27512 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27515 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27517 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27518 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27519 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27522 2012-10-25 Roland McGrath <roland@hack.frob.com>
27524 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27525 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27528 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27529 Jim Blandy <jimb@codesourcery.com>
27531 * scripts/cross-test-ssh.sh: New file.
27532 * manual/install.texi (Configuring and compiling): Document use of
27534 * INSTALL: Regenerated.
27536 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27538 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27541 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27543 * Makeconfig (run-program-prefix): Fix comment.
27545 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27546 Jim Blandy <jimb@codesourcery.com>
27548 * Makeconfig (test-wrapper): New variable,
27549 (test-wrapper-env): Likewise.
27550 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27551 (run-built-tests): Define to yes.
27552 (run-program-prefix): Use $(test-wrapper).
27553 (built-program-cmd): Likewise.
27554 * Rules (make-test-out): Use $(test-wrapper-env) and
27555 $(host-built-program-cmd).
27556 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27557 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27559 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27560 $(test-wrapper-env) to tst-rtld-load-self.sh.
27561 ($(objpfx)order2.out): Use $(test-wrapper).
27562 ($(objpfx)tst-initorder.out): Likewise.
27563 ($(objpfx)tst-initorder2.out): Likewise.
27564 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27565 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27566 (test_wrapper_env): New variable. Use it to run ld.so.
27567 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27568 Use it to run ld.so.
27569 (test_wrapper_env): Likewise.
27570 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27571 $(test-wrapper) to run-iconv-test.sh.
27572 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27573 (ICONV): Use $test_wrapper.
27574 * posix/Makefile ($(objpfx)globtest.out): Pass
27575 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27576 globtest.sh, not $(run-program-prefix).
27577 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27578 (test_wrapper): Likewise.
27579 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27580 set together with run_via_rtld_prefix.
27581 (run_program_prefix): Define in terms of test_wrapper and
27582 run_via_rtld_prefix.
27584 2012-10-24 Roland McGrath <roland@hack.frob.com>
27586 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27587 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27591 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27592 Declare __clock_getres, __clock_gettime, __clock_settime,
27593 __clock_nanosleep, and __clock_getcpuclockid.
27594 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27595 Remove librt_hidden_def (clock_gettime).
27596 * sysdeps/unix/clock_gettime.c: Likewise.
27597 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27599 * rt/clock_getres.c: Define __clock_getres as an alias.
27600 * sysdeps/posix/clock_getres.c: Likewise.
27601 * rt/clock_settime.c: Define __clock_settime as an alias.
27602 * sysdeps/unix/clock_settime.c: Likewise.
27603 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27604 * sysdeps/unix/clock_nanosleep.c: Likewise.
27605 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27606 * rt/clock-compat.c: New file.
27607 * rt/Makefile (librt-routines): Add clock-compat and move
27608 $(clock-routines) to ...
27609 (routines): ... here, new variable.
27610 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27611 Don't add get_clockfreq here.
27612 * rt/Versions (libc: GLIBC_2.17): New version set.
27613 Add clock_* symbols here.
27614 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27616 (GLIBC_2.17): Add clock_* symbols.
27617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27628 * NEWS: Mention the move.
27630 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27631 Use __open, __read, __close rather than their public counterparts.
27632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27633 (__get_clockfreq_via_cpuinfo): Likewise.
27634 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27635 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27637 * config.h.in (HAVE_IFUNC): New #undef.
27638 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27640 * configure: Regenerated.
27642 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27644 * configure.in: Move READELF check to start of file.
27645 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27646 libc_cv_asm_gnu_indirect_function in the process.
27647 * configure: Regenerated.
27649 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27651 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27652 send the output to /dev/null.
27653 (libc_cv_cc_with_libunwind): Likewise.
27654 (libc_cv_as_noexecstack): Likewise.
27655 * configure: Regenerate.
27657 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27659 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27661 * posix/globtest.sh (TMPDIR): Do not set.
27662 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27663 (testout): Likewise.
27665 2012-10-24 Andreas Jaeger <aj@suse.de>
27667 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27668 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27669 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27670 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27671 posix_fadvise64, posix_fallocate64.
27673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27674 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27675 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27677 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27679 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27682 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27683 <bits/fcntl-linux.h>.
27684 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27686 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27687 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27688 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27689 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27690 [__WORDSIZE != 64]: Likewise.
27692 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27694 * Makeconfig (run-built-tests): New variable.
27695 * Rules [$(cross-compiling) = yes]: Change condition to
27696 [$(run-built-tests) = no].
27697 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27698 to [$(run-built-tests) = yes].
27699 * elf/Makefile [$(cross-compiling) = no]: Likewise
27700 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27701 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27702 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27703 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27704 * io/Makefile [$(cross-compiling) = no]: Likewise.
27705 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27706 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27707 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27708 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27709 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27710 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27711 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27712 * string/Makefile [$(cross-compiling) = no]: Likewise.
27714 * posix/Makefile ($(objpfx)globtest.out): Pass
27715 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27716 $(rtld-installed-name).
27717 * posix/globtest.sh (elf_objpfx): Remove variable.
27718 (rtld_installed_name): Likewise.
27719 (library_path): Likewise.
27720 (run_program_prefix): New variable. Use for running globtest
27723 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27724 Joseph Myers <joseph@codesourcery.com>
27726 * Makeconfig (host-built-program-cmd): New variable.
27727 * elf/Makefile (tst-stackguard1-ARGS): Use
27728 $(host-built-program-cmd).
27729 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27730 (tst-spawn-ARGS): Likewise.
27731 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27733 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27734 Jim Blandy <jimb@codesourcery.com>
27736 * Makeconfig (run-via-rtld-prefix): New variable.
27737 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27738 (built-program-cmd): Likewise.
27740 2012-10-22 Andreas Jaeger <aj@suse.de>
27742 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27743 __O_RSYNC if it exists, otherwise to O_SYNC.
27745 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27746 Joseph Myers <joseph@codesourcery.com>
27748 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27750 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27752 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27755 2012-10-22 Andreas Jaeger <aj@suse.de>
27757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27762 bits/fcntl-linux.h.
27764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27765 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27772 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27773 Joseph Myers <joseph@codesourcery.com>
27775 * config.make.in (NM): New variable.
27777 2012-10-21 Andreas Jaeger <aj@suse.de>
27779 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27780 definitions and declarations that are provided by
27781 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27783 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27786 * elf/Makefile (tests-static): Add tst-leaks1-static.
27787 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27788 ($(objpfx)tst-leaks1-static): New rule.
27789 ($(objpfx)tst-leaks1-static-mem): Likewise.
27790 (tst-leaks1-static-ENV): New macro.
27791 * elf/dl-open.c (dl_open_worker): Check the main application
27792 only if SHARED is defined.
27793 * elf/tst-leaks1-static.c: New file.
27795 2012-10-20 Andreas Jaeger <aj@suse.de>
27797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27798 generic values for Linux.
27799 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27800 and declarations that are provided by <bits/fcntl-linux.h> and
27801 include <bits/fcntl-linux.h>.
27802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27805 2012-10-20 Roland McGrath <roland@hack.frob.com>
27807 * io/fcntl.h: Move include of <bits/types.h> to the top and
27808 include it unconditionally.
27810 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27812 * wcsmbs/Makefile (tests-ifunc): New variable.
27813 (tests): Add $(tests-ifunc).
27814 * wcsmbs/test-wcschr-ifunc.c: New file.
27815 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27816 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27817 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27818 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27819 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27821 * string/Makefile (tests-ifunc): New variable.
27822 (tests): Add $(tests-ifunc).
27823 * string/test-memccpy.c (TEST_NAME): New macro.
27824 * string/test-memchr.c (TEST_NAME): Likewise.
27825 * string/test-memcmp.c (TEST_NAME): Likewise.
27826 * string/test-memcpy.c (TEST_NAME): Likewise.
27827 * string/test-memmem.c (TEST_NAME): Likewise.
27828 * string/test-memmove.c (TEST_NAME): Likewise.
27829 * string/test-memset.c (TEST_NAME): Likewise.
27830 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27831 * string/test-stpcpy.c (TEST_NAME): Likewise.
27832 * string/test-stpncpy.c (TEST_NAME): Likewise.
27833 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27834 * string/test-strcasestr.c (TEST_NAME): Likewise.
27835 * string/test-strcat.c (TEST_NAME): Likewise.
27836 * string/test-strchr.c (TEST_NAME): Likewise.
27837 * string/test-strcmp.c(TEST_NAME): Likewise.
27838 * string/test-strcpy.c (TEST_NAME): Likewise.
27839 * string/test-strcspn.c (TEST_NAME): Likewise.
27840 * string/test-strlen.c (TEST_NAME): Likewise.
27841 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27842 * string/test-strncmp.c (TEST_NAME): Likewise.
27843 * string/test-strncpy.c (TEST_NAME): Likewise.
27844 * string/test-strnlen.c (TEST_NAME): Likewise.
27845 * string/test-strpbrk.c (TEST_NAME): Likewise.
27846 * string/test-strrchr.c (TEST_NAME): Likewise.
27847 * string/test-strspn.c (TEST_NAME): Likewise.
27848 * string/test-strstr.c (TEST_NAME): Likewise.
27849 * string/test-bcopy-ifunc.c: New file.
27850 * string/test-bzero-ifunc.c: Likewise.
27851 * string/test-memccpy-ifunc.c: Likewise.
27852 * string/test-memchr-ifunc.c: Likewise.
27853 * string/test-memcmp-ifunc.c: Likewise.
27854 * string/test-memcpy-ifunc.c: Likewise.
27855 * string/test-memmem-ifunc.c: Likewise.
27856 * string/test-memmove-ifunc.c: Likewise.
27857 * string/test-mempcpy-ifunc.c: Likewise.
27858 * string/test-memset-ifunc.c: Likewise.
27859 * string/test-rawmemchr-ifunc.c: Likewise.
27860 * string/test-stpcpy-ifunc.c: Likewise.
27861 * string/test-stpncpy-ifunc.c: Likewise.
27862 * string/test-strcasecmp-ifunc.c: Likewise.
27863 * string/test-strcasestr-ifunc.c: Likewise.
27864 * string/test-strcat-ifunc.c: Likewise.
27865 * string/test-strchr-ifunc.c: Likewise.
27866 * string/test-strchrnul-ifunc.c: Likewise.
27867 * string/test-strcmp-ifunc.c: Likewise.
27868 * string/test-strcpy-ifunc.c: Likewise.
27869 * string/test-strcspn-ifunc.c: Likewise.
27870 * string/test-strlen-ifunc.c: Likewise.
27871 * string/test-strncasecmp-ifunc.c: Likewise.
27872 * string/test-strncat-ifunc.c: Likewise.
27873 * string/test-strncmp-ifunc.c: Likewise.
27874 * string/test-strncpy-ifunc.c: Likewise.
27875 * string/test-strnlen-ifunc.c: Likewise.
27876 * string/test-strpbrk-ifunc.c: Likewise.
27877 * string/test-strrchr-ifunc.c: Likewise.
27878 * string/test-strspn-ifunc.c: Likewise.
27879 * string/test-strstr-ifunc.c: Likewise.
27881 * debug/Makefile (tests-ifunc): New variable.
27882 (tests): Add $(tests-ifunc).
27883 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27884 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27885 * debug/test-stpcpy_chk-ifunc.c: New file.
27886 * debug/test-strcpy_chk-ifunc.c: Likewise.
27888 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27891 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27892 header is not read in.
27894 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27896 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27897 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27898 directly. Pass built executable to script as
27899 $(built-program-cmd).
27900 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27901 $testprogram without using LD_LIBRARY_PATH and $ldso.
27903 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27904 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27905 $(rtld-installed-name).
27906 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27907 (rtld_installed_name): Likewise.
27908 (library_path): Likewise.
27909 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27910 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27911 $(run-program-prefix) to tst-tables.sh.
27912 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27913 it to run tst-table-from and tst-table-to.
27914 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27915 Pass it to tst-table.sh.
27916 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27917 $(run-program-prefix) to tst-gettext.sh.
27918 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27920 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27922 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27923 to run tst-gettext.
27924 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27925 to run tst-gettext2.
27926 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27927 to run tst-translit.
27928 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27929 $(run-program-prefix) to tst-mtrace.sh.
27930 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27932 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27933 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27934 $(rtld-installed-name).
27935 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27936 (rtld_installed_name): Likewise.
27937 (run_program_prefix): New variable. Use it to run wordexp-test.
27939 * Makeconfig (ARCH): Remove all definitions.
27940 (machine): Likewise.
27941 [ARCH]: Remove conditional code.
27942 [!objdir]: Give error.
27943 [!objdir] (objpfx): Remove.
27944 [!objdir] (common-objpfx): Likewise.
27945 [!objdir] (common-objdir): Likewise.
27946 * configure.in (config_makefile): Remove. Hardcode Makefile in
27947 AC_CONFIG_FILES call.
27948 * configure: Regenerated.
27951 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27953 (testout): Likewise.
27955 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27956 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27957 $(rtld-installed-name).
27958 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27959 (rtld_installed_name): Likwise.
27960 (runit): Remove function.
27961 (run_getconf): New variable, Use it for running getconf binary.
27963 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27966 * string/test-memmem.c (check_result): New function.
27967 (do_one_test): Use it.
27968 (check1): New function.
27969 (test_main): Use it.
27971 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27973 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27975 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27977 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27978 (_G_LSEEK64): Likewise.
27979 (_G_MMAP64): Likewise.
27980 (_G_FSTAT64): Likewise.
27981 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27982 (_G_LSEEK64): Likewise.
27983 (_G_MMAP64): Likewise.
27984 (_G_FSTAT64): Likewise.
27985 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27986 unconditional. Call __mmap64 directly.
27987 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27988 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27989 __lseek64 directly.
27990 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27991 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27993 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27994 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27995 __lseek64 directly.
27996 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27997 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27998 __lseek64 directly.
27999 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28000 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28001 __lseek64 directly.
28002 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28003 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28004 __fxstat64 directly.
28005 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28006 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28008 (freopen64) [!_G_OPEN64]: Remove conditional code.
28009 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28011 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28012 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28014 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28015 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28017 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28018 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28020 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28021 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28023 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28024 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28026 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28027 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28029 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28031 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28034 * manual/memory.texi (Malloc Tunable Parameters): Add note
28035 about free list pointers overwriting some perturb bytes.
28036 Wording suggested by Roland McGrath.
28038 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28040 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28041 (lgamma_test): Likewise.
28042 (tgamma_test): Likewise.
28044 2012-10-16 Florian Weimer <fweimer@redhat.com>
28047 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28048 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28050 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28052 * NEWS: Mention BZ #14716.
28053 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28054 when removing AVAILABLE1_USES_J macro.
28056 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28058 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28059 (__bswap_64): __uint64_t for unsigned 64-bit int.
28061 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28063 * include/string.h (memmem): Declare libc hidden alias.
28064 * string/memmem.c (memmem): Define libc hidden alias.
28065 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28066 __read, __close instead of open, read, close.
28068 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28070 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28071 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28073 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28074 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28075 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28077 (__rawmemchr_sse2): Likewise.
28078 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28079 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28080 (__strchr_sse2): Likewise.
28081 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28082 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28083 (__strcasecmp_sse2): Likewise.
28084 (__strncasecmp_sse2): Likewise.
28085 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28086 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28087 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28088 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28089 (__strrchr_sse2): Likewise.
28090 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28092 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28093 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28094 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28095 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28096 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28098 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28099 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28100 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28101 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28102 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28103 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28104 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28105 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28106 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28107 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28108 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28109 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28110 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28111 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28112 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28113 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28114 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28115 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28116 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28117 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28118 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28119 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28120 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28121 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28125 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28126 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28127 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28128 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28130 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28132 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28133 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28134 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28135 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28137 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28138 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28139 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28140 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28141 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28142 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28143 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28144 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28145 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28146 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28147 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28148 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28149 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28150 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28151 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28153 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28154 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28155 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28156 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28157 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28158 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28159 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28160 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28162 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28163 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28164 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28165 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28166 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28167 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28168 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28169 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28170 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28171 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28172 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28173 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28174 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28175 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28176 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28177 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28179 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28180 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28181 * include/ifunc-impl-list.h: New file.
28182 * misc/ifunc-impl-list.c: Likewise.
28183 * misc/Makefile (routines): Add ifunc-impl-list.
28184 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28185 * string/test-string.h: Include <ifunc-impl-list.h>.
28186 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28187 TEST_NAME]: New variables.
28188 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28190 (test_init): Call __libc_ifunc_impl_list to initialize
28191 func_list if TEST_IFUNC and TEST_NAME are defined.
28193 * string/Makefile (strop-tests): Add bcopy and bzero.
28194 * string/test-bcopy.c: New file.
28195 * string/test-bzero.c: Likewise.
28196 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28198 * string/test-memset.c: Support bzero test if TEST_BZERO is
28200 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28202 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28204 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28207 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28209 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28210 * configure: Regenerated.
28212 * Makeconfig (+link-static-before-libc): Don't include
28213 $(link-static-libc).
28215 * libio/libio.h (_IO_pos_t): Remove.
28217 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28219 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28222 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28224 * crypt/crypt-entry.c: Include fips-private.h.
28225 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28226 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28227 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28228 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28230 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28232 * crypt/crypt-private.h: Include stdbool.h.
28233 (_ufc_setup_salt_r): Return bool.
28234 * crypt/crypt-entry.c: Include errno.h.
28235 (__crypt_r): Return NULL with EINVAL for bad salt.
28236 * crypt/crypt_util.c (bad_for_salt): New.
28237 (_ufc_setup_salt_r): Check that salt is long enough and within
28238 the specified alphabet.
28239 * crypt/badsalttest.c: New file.
28240 * crypt/Makefile (tests): Add it.
28241 ($(objpfx)badsalttest): New.
28243 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28245 * NEWS: Add entry for BZ #14602.
28247 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28249 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28251 * math/libm-test.inc: Update comment listing what functions and
28253 (isgreater_test): New function.
28254 (isgreaterequal_test): Likewise.
28255 (isless_test): Likewise.
28256 (islessequal_test): Likewise.
28257 (islessgreater_test): Likewise.
28258 (isunordered_test): Likewise.
28259 (main): Call the new functions.
28261 2012-10-09 Roland McGrath <roland@hack.frob.com>
28263 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28264 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28265 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28266 * sysdeps/i386/configure: Regenerated.
28267 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28268 * sysdeps/mach/configure: Regenerated.
28269 * sysdeps/mach/hurd/configure: Regenerated.
28270 * sysdeps/powerpc/configure: Regenerated.
28271 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28272 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28273 * sysdeps/s390/s390-32/configure: Regenerated.
28274 * sysdeps/s390/s390-64/configure: Regenerated.
28275 * sysdeps/sh/configure: Regenerated.
28276 * sysdeps/sparc/configure: Regenerated.
28277 * sysdeps/unix/sysv/linux/configure: Regenerated.
28278 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28279 * sysdeps/x86_64/configure: Regenerated.
28281 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28282 defined. Don't check if MAP is NULL.
28284 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28286 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28287 (_G_stat64): Likewise.
28288 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28289 (_G_stat64): Likewise.
28290 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28291 instead of struct _G_stat64.
28292 * libio/fileops.c (mmap_remap_check): Likewise.
28293 (decide_maybe_mmap): Likewise.
28294 (_IO_new_file_seekoff): Likewise.
28295 (_IO_file_stat): Likewise.
28296 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28298 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28299 instead of struct _G_stat64.
28300 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28302 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28305 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28307 (CHECK_EOL): New macro.
28308 (two_way_short_needle): Check beginning of haystack for EOL. Use
28310 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28311 Replace with CHECK_EOL.
28312 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28313 Replace with CHECK_EOL.
28315 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28317 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28319 * math/libm-test.inc: Update comment listing what functions and
28321 (finite_test): New function.
28322 (isinf_test): Likewise.
28323 (isnan_test): Likewise.
28324 (fpclassify_test): Test subnormal input.
28325 (isfinite_test): Likewise.
28326 (isnormal_test): Likewise.
28327 (main): Call the new functions.
28329 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28332 * Makerules (%.dynsym): Force C locale when running
28333 $(OBJDUMP) --dynamic-syms.
28335 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28337 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28340 2012-10-06 David S. Miller <davem@davemloft.net>
28342 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28343 upper 32-bits of the length value in %o2 since we use branch-on-register
28344 tests which consider the entire 64-bit register.
28346 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28348 * string/test-strstr.c (check2): Add a test for page boundary.
28350 2012-10-05 David S. Miller <davem@davemloft.net>
28352 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28353 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28355 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28357 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28358 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28359 and bzero when HWCAP_SPARC_CRYPTO is present.
28361 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28364 * string/test-strstr.c (check2): New function.
28365 (test_main): Call check2.
28367 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28369 * string/bug-strcasestr1.c (do_test): Moved to ...
28370 * string/test-strcasestr.c (check1): Here. New function.
28371 (do_one_test): Break out result checking code into ...
28372 (check_result): This. New function.
28373 (do_one_test): Call check_result.
28374 (test_main): Call check1.
28375 * string/bug-strchr1.c (do_test): Moved to ...
28376 * string/test-strchr.c (check1): Here. New function.
28377 (do_one_test): Break out result checking code into ...
28378 (check_result): This. New function.
28379 (do_one_test): Call check_result.
28380 (test_main): Call check1.
28381 * string/bug-strstr1.c (main): Moved to ...
28382 * string/test-strstr.c (check1): Here. New function.
28383 (do_one_test): Break out result checking code into ...
28384 (check_result): This. New function.
28385 (do_one_test): Call check_result.
28386 (test_main): Call check1.
28387 * string/bug-strcasestr1.c: Removed.
28388 * string/bug-strchr1.c: Likewise.
28389 * string/bug-strstr1.c: Likewise.
28391 * elf/Makefile (dl-routines): Add hwcaps.
28392 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28393 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28394 (_dl_important_hwcaps): Moved to ...
28395 * elf/dl-hwcaps.c: Here. New file.
28396 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28399 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28400 if IS_IN_rtld isn't defined.
28402 * elf/dl-support.c (_dl_sysinfo_map): New.
28403 Include "get-dynamic-info.h" and "setup-vdso.h".
28404 (_dl_non_dynamic_init): Call setup_vdso.
28405 * elf/dynamic-link.h: Don't include <assert.h>.
28406 (elf_get_dynamic_info): Moved to ...
28407 * elf/get-dynamic-info.h: Here. New file.
28408 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28409 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28410 * elf/setup-vdso.h: Here. New file.
28411 * elf/rtld.c: Include "setup-vdso.h".
28412 (dl_main): Call setup_vdso.
28414 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28416 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28417 creal in comment listing functions tested. List finite, isinf,
28418 isnan, isless, islessequal, isgreater, isgreaterequal,
28419 islessgreater, isunordered, lgamma_r and pow10 as functions and
28420 macros not tested. Mention which functions not tested are aliases
28421 for other functions. Fix typo. Note that signs of NaNs are not
28424 * scripts/config.guess: Update from config.git.
28425 * scripts/config.sub: Likewise.
28427 2012-10-04 Roland McGrath <roland@hack.frob.com>
28429 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28430 * misc/madvise.c (madvise): Renamed to __madvise.
28431 Make madvise a weak alias.
28432 * include/sys/mman.h: Declare __madvise.
28433 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28434 * sysdeps/unix/syscalls.list
28435 (madvise): Make __madvise the strong name, and madvise a weak alias.
28436 * sysdeps/unix/sysv/linux/syscalls.list
28437 (madvise, mmap): Remove redundant entries.
28438 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28439 * malloc/malloc.c (mtrim): Likewise.
28440 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28442 2012-10-03 Roland McGrath <roland@hack.frob.com>
28444 * sysdeps/mach/hurd/dl-cache.c: File removed.
28445 * config.h.in (USE_LDCONFIG): New #undef.
28446 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28447 * configure: Regenerated.
28448 * elf/Makefile (dl-routines): Add dl-cache only under
28449 [$(use-ldconfig) = yes].
28450 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28451 cache on [USE_LDCONFIG].
28452 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28454 * elf/rtld.c (dl_main): Likewise.
28456 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28458 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28459 _SC_LEVEL4_CACHE_LINESIZE.
28461 2012-10-03 Roland McGrath <roland@hack.frob.com>
28463 * sysdeps/unix/bsd/confstr.h: File removed.
28465 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28467 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28470 2012-10-02 Roland McGrath <roland@hack.frob.com>
28472 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28473 Make 'mapoff' field ElfW(Off) rather than off_t.
28475 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28477 * nscd/Makefile: Remove nscd-cflags and all its users.
28478 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28479 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28482 * malloc.c (malloc_printerr): Clarify error message.
28484 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28488 Set bit_FMA_Usable if FMA is supported.
28489 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28491 (bit_FMA4_Usable): Updated.
28492 (index_FMA_Usable): New macro.
28493 (CPUID_FMA): Likewise
28494 (HAS_FMA): Defined with bit_FMA_Usable.
28496 2012-10-01 Roland McGrath <roland@hack.frob.com>
28498 * bits/types.h (__swblk_t): Type removed.
28499 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28500 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28502 (__SWBLK_T_TYPE): Likewise.
28503 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28504 (__SWBLK_T_TYPE): Likewise.
28505 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28506 (__SWBLK_T_TYPE): Likewise.
28507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28508 (__SWBLK_T_TYPE): Likewise.
28510 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28511 Honza Horak <hhorak@redhat.com>
28513 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28514 (xdr_mapname): Use YPMAXMAP as maxsize.
28515 (xdr_peername): Use YPMAXPEER as maxsize.
28516 (xdr_keydat): Use YPAXRECORD as maxsize.
28517 (xdr_valdat): Use YPMAXRECORD as maxsize.
28519 2012-10-01 Roland McGrath <roland@hack.frob.com>
28521 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28523 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28524 * csu/init-first.c: ... here.
28525 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28526 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28527 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28528 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28529 * sysdeps/i386/init-first.c: File removed.
28530 * sysdeps/sh/init-first.c: File removed.
28532 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28536 if x * y might underflow to zero and z is zero.
28537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28539 * math/libm-test.inc (min_subnorm_value): New variable.
28540 (fma_test): Add more tests.
28541 (fma_test_towardzero): Likewise.
28542 (fma_test_downward): Likewise
28543 (fma_test_upward): Likewise.
28544 (initialize): Set min_subnorm_value.
28546 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28549 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28552 mode for addition resulting in exact zero.
28553 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28556 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28558 * math/libm-test.inc (fma_test): Add more tests.
28559 (fma_test_towardzero): New function.
28560 (fma_test_downward): Likewise.
28561 (fma_test_upward): Likewise.
28562 (main): Call the new functions.
28564 2012-09-28 David S. Miller <davem@davemloft.net>
28566 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28568 2012-09-28 Roland McGrath <roland@hack.frob.com>
28570 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28571 instead of SIGALRM.
28573 * sysdeps/gnu/_G_config.h: Moved to ...
28574 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28575 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28576 * sysdeps/generic/_G_config.h: ... here.
28578 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28580 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28582 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28583 Conditionalize target on [libnss_test1.so-version].
28585 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28587 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28588 (elfobjdir): Move out of conditionals.
28590 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28591 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28592 (__nss_lookup_function): Conditionalize label remove_from_tree on
28593 [!DO_STATIC_NSS || SHARED], matching its only use.
28595 2012-09-28 David S. Miller <davem@davemloft.net>
28597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28598 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28600 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28602 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28604 when HWCAP_SPARC_CRYPTO is present.
28606 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28608 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28610 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28613 * stdio-common/vfprintf.c (process_string_arg): Revert
28616 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28618 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28620 * stdio-common/tst-sprintf.c: Include <locale.h>
28621 (main): Test sprintf's handling of incomplete multibyte
28624 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28626 * elf/dl-runtime.c (VERSYMIDX): Removed.
28627 * elf/dl-version.c (VERSYMIDX): Likewise.
28628 * elf/do-rel.h (VERSYMIDX): Likewise.
28629 (VALIDX): Likewise.
28630 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28631 * elf/rtld.c (VALIDX): Likewise.
28632 (ADDRIDX): Likewise.
28633 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28634 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28635 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28636 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28637 (VALIDX): Likewise.
28638 (ADDRIDX): Likewise.
28640 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28642 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28644 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28647 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28649 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28650 addresses are in the same scope as 192.0.2/24.
28651 * posix/gai.conf: Document new scope table defaults.
28653 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28656 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28657 for ftell. Compute offsets from write pointers instead.
28658 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28660 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28663 * libio/Makefile (tests): New test case tst-fseek.
28664 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28665 combination works in wide mode.
28666 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28667 state when the external buffer state changes.
28669 2012-09-27 David S. Miller <davem@davemloft.net>
28672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28673 pass reloc->r_addend in as the 'high' argument to
28674 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28678 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28680 * rt/tst-aio2.c: Include <pthread.h>.
28681 * rt/tst-aio3.c: Likewise.
28683 2012-09-27 Steve Ellcey <sellcey@mips.com>
28685 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28687 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28689 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28690 contents on [SHARED].
28692 2012-09-26 Marek Polacek <polacek@redhat.com>
28696 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28697 for C++ and GCC <4.3 as well as for non GCC compilers.
28699 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28703 2012-09-25 Roland McGrath <roland@hack.frob.com>
28705 * Makefile.in (all, install): Declare with .PHONY.
28706 Reported by Michael Hope <michael.hope@linaro.org>.
28708 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28710 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28711 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28713 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28715 (sydep_routines): Add the new and the internal functions.
28716 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28717 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28719 (GLIBC_2.17): Add the new function.
28720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28721 (GLIBC_2.17): Likewise.
28722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28723 (GLIBC_2.17): Likewise.
28724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28725 (GLIBC_2.17): Likewise.
28726 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28728 2012-09-25 Alan Modra <amodra@gmail.com>
28730 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28731 Add release barrier before setting once_control to say
28732 initialisation is done. Add hints on lwarx. Use macro in
28734 (clear_once_control): Add release barrier.
28736 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28739 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28741 * math/s_clog10.c (__clog10): Likewise.
28742 * math/s_clog10f.c (__clog10f): Likewise.
28743 * math/s_clog10l.c (__clog10l): Likewise.
28744 * math/s_clogf.c (__clogf): Likewise.
28745 * math/s_clogl.c (__clogl): Likewise.
28746 * math/Makefile (libm-calls): Add x2y2m1.
28747 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28748 (__x2y2m1): Likewise.
28749 (__x2y2m1l): Likewise.
28750 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28751 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28754 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28755 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28756 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28757 * sysdeps/i386/fpu/libm-test-ulps: Update.
28758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28761 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28762 int as type of variable DEPTH.
28763 (glob): Use size_t instead of int as type of variables NEWCOUNT
28766 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28768 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28769 Add s_sincosf-sse2.
28770 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28771 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28772 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28773 macros for using routine as __sincosf_ia32.
28774 Use macro for function declaration and weak_alias.
28775 * sysdeps/i386/fpu/libm-test-ulps: Update.
28777 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28780 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28781 subnormal argument.
28782 * math/s_cexpf.c (__cexpf): Likewise.
28783 * math/s_csinf.c (__csinf): Likewise.
28784 * math/s_csinhf.c (__csinhf): Likewise.
28785 * math/s_ctanf.c (__ctanf): Likewise.
28786 * math/s_ctanhf.c (__ctanhf): Likewise.
28787 * math/s_ccosh.c (__ccoshf): Likewise.
28788 * math/s_cexp.c (__cexpl): Likewise.
28789 * math/s_csin.c (__csin): Likewise.
28790 * math/s_csinh.c (__csinh): Likewise.
28791 * math/s_ctan.c (__ctan): Likewise.
28792 * math/s_ctanh.c (ctanh): Likewise.
28793 * math/s_ccoshl.c (__ccoshl): Likewise.
28794 * math/s_cexpl.c (__cexpl): Likewise.
28795 * math/s_csinl.c (__csinl): Likewise.
28796 * math/s_csinhl.c (__csinhl): Likewise.
28797 * math/s_ctanl.c (__ctanl): Likewise.
28798 * math/s_ctanhl.c (__ctanhl): Likewise.
28800 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28802 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28803 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28804 (_IO_off_t): Define to __off_t, not _G_off_t.
28805 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28806 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28807 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28808 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28809 type of __dummy and __dummy2 fields.
28810 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28811 (_G_ssize_t): Likewise.
28812 (_G_off_t): Likewise.
28813 (_G_pid_t): Likewise.
28814 (_G_uid_t): Likewise.
28815 (_G_wchar_t): Likewise.
28816 (_G_wint_t): Likewise.
28817 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28818 (_G_ssize_t): Likewise.
28819 (_G_off_t): Likewise.
28820 (_G_pid_t): Likewise.
28821 (_G_uid_t): Likewise.
28822 (_G_wchar_t): Likewise.
28823 (_G_wint_t): Likewise.
28824 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28825 (_G_ssize_t): Likewise.
28826 (_G_off_t): Likewise.
28827 (_G_pid_t): Likewise.
28828 (_G_uid_t): Likewise.
28829 (_G_wchar_t): Likewise.
28830 (_G_wint_t): Likewise.
28832 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28834 * malloc/arena.c: Include malloc-sysdep.h.
28835 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28836 is sufficient to shrink the heap or an unmap is needed.
28837 * sysdeps/generic/malloc-sysdep.h: New file. Define
28838 new function check_may_shrink_heap.
28839 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28840 new function check_may_shrink_heap.
28842 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28844 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28847 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28849 * catgets/test-gencat.sh: Add "set -e".
28850 * elf/tst-pathopt.sh: Likewise.
28851 * grp/tst_fgetgrent.sh: Likewise.
28852 * iconvdata/run-iconv-test.sh: Likewise.
28853 * intl/tst-gettext.sh: Likewise.
28854 * intl/tst-gettext2.sh: Likewise.
28855 * intl/tst-gettext4.sh: Likewise.
28856 * intl/tst-gettext6.sh: Likewise.
28857 * intl/tst-translit.sh: Likewise.
28858 * io/ftwtest-sh: Likewise.
28859 * libio/test-freopen.sh: Likewise.
28860 * malloc/tst-mtrace.sh: Likewise.
28861 * posix/globtest.sh: Likewise.
28862 * posix/tst-getconf.sh: Likewise.
28863 * posix/wordexp-tst.sh: Likewise.
28864 * stdio-common/tst-printf.sh: Likewise.
28865 * stdio-common/tst-unbputc.sh: Likewise.
28866 * stdlib/tst-fmtmsg.sh: Likewise.
28867 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28868 * catgets/Makefile: Do not specify -e option when running
28869 testsuite shell scripts.
28870 * elf/Makefile: Likewise.
28871 * grp/Makefile: Likewise.
28872 * iconvdata/Makefile: Likewise.
28873 * intl/Makefile: Likewise.
28874 * io/Makefile: Likewise.
28875 * libio/Makefile: Likewise.
28876 * malloc/Makefile: Likewise.
28877 * posix/Makefile: Likewise.
28878 * stdio-common/Makefile: Likewise.
28879 * stdlib/Makefile: Likewise.
28880 * sysdeps/x86_64/Makefile: Likewise.
28882 * io/ftwtest-sh: Add copyright header.
28883 * posix/globtest.sh: Likewise.
28884 * posix/tst-getconf.sh: Likewise.
28885 * posix/wordexp-tst.sh: Likewise.
28886 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28888 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28891 * Makeconfig (+link): Defined as $(+link-static) if
28892 $(build-shared) isn't yes.
28893 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28895 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28897 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28900 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28901 new chunk size with MALLOC_ALIGN_MASK.
28903 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28906 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28908 (__printf_fphex): Determine rounding using get_rounding_mode and
28910 * stdio-common/tst-printf-round.c (struct hex_test): New
28912 (hex_tests): New variable.
28913 (test_hex_in_one_mode): New function.
28914 (do_test): Also run tests for hex float output.
28916 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28918 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28919 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28920 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28921 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28922 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28923 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28924 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28925 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28927 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28929 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28930 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28931 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28932 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28934 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28937 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28939 * elf/tst-rtld-load-self.sh: New test.
28940 * elf/Makefile: Run it.
28942 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28944 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28945 (tst-writev-ENV): Remove.
28946 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28948 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28950 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28952 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28954 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28956 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28958 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28959 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28960 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28963 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28966 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28967 * config.make.in (have-cpp-asm-debuginfo): Removed.
28968 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28969 * configure: Regenerated.
28971 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28974 * stdio-common/printf_fp.c: Include <stdbool.h> and
28976 (___printf_fp): Determine rounding using get_rounding_mode and
28978 * stdio-common/tst-printf-round.c: New file.
28979 * stdio-common/Makefile (tests): Add tst-printf-round.
28980 (link-libm): New variable.
28981 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28983 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28986 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28987 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28989 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28992 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28994 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28995 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28996 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28997 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28999 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29002 * include/rounding-mode.h: New file.
29003 * sysdeps/generic/get-rounding-mode.h: Likewise.
29004 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29005 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29006 (MAX_VALUE): New macro.
29007 (MIN_VALUE): Likewise.
29008 (overflow_value): New function.
29009 (underflow_value): Likewise.
29010 (round_and_return): Use overflow_value and underflow_value to
29011 determine return values in overflow and underflow cases. Use
29012 round_away to determine rounding depending on rounding mode.
29013 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29014 determine return values in overflow and underflow cases.
29015 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29016 (struct test_results): New structure.
29017 (struct test): Use struct test_results to store expected results
29018 for all rounding modes.
29019 (TEST): Include expected results for all rounding modes.
29020 (test_in_one_mode): New function.
29021 (do_test): Use test_in_one_mode to compute and check results.
29022 Check results for all rounding modes.
29023 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29026 2012-12-09 Allan McRae <allan@archlinux.org>
29028 * sysdeps/i386/fpu/libm-test-ulps: Update
29030 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29032 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29033 (_G_int32_t): Likewise.
29034 (_G_uint16_t): Likewise.
29035 (_G_uint32_t): Likewise.
29036 (_G_HAVE_BOOL): Likewise.
29037 (_G_HAVE_ATEXIT): Likewise.
29038 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29039 (_G_HAVE_IO_FILE_OPEN): Likewise.
29040 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29041 (_G_int32_t): Likewise.
29042 (_G_uint16_t): Likewise.
29043 (_G_uint32_t): Likewise.
29044 (_G_HAVE_BOOL): Likewise.
29045 (_G_HAVE_ATEXIT): Likewise.
29046 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29047 (_G_HAVE_IO_FILE_OPEN): Likewise.
29048 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29049 (_G_int32_t): Likewise.
29050 (_G_uint16_t): Likewise.
29051 (_G_uint32_t): Likewise.
29052 (_G_HAVE_BOOL): Likewise.
29053 (_G_HAVE_ATEXIT): Likewise.
29054 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29055 (_G_HAVE_IO_FILE_OPEN): Likewise.
29057 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29059 * csu/libc-tls.c: Update copyright years.
29061 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29063 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29064 [!_G_USING_THUNKS]: Remove conditional code.
29065 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29066 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29068 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29069 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29070 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29071 (_G_VTABLE_LABEL_PREFIX): Likewise.
29072 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29073 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29074 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29075 (_G_VTABLE_LABEL_PREFIX): Likewise.
29076 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29077 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29078 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29079 (_G_VTABLE_LABEL_PREFIX): Likewise.
29080 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29082 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29084 * libio/Makefile: Include ../Makeconfig before tests.
29085 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29086 only if $(build-shared) is yes.
29088 * iconv/gconv_db.c: Update copyright years.
29090 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29092 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29093 unwind info if defined PIC. Fix special cases description.
29094 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29096 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29098 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29100 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29102 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29104 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29107 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29108 (LDLIBS-tst-chk4): This.
29109 (LDFLAGS-tst-chk5): Renamed to ...
29110 (LDLIBS-tst-chk5): This.
29111 (LDFLAGS-tst-chk6): Renamed to ...
29112 (LDLIBS-tst-chk6): This.
29113 (LDFLAGS-tst-lfschk4): Renamed to ...
29114 (LDLIBS-tst-lfschk4): This.
29115 (LDFLAGS-tst-lfschk5): Renamed to ...
29116 (LDLIBS-tst-lfschk5): This.
29117 (LDFLAGS-tst-lfschk6): Renamed to ...
29118 (LDLIBS-tst-lfschk6): This.
29120 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29121 on $(common-objpfx)soversions.mk.
29123 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29126 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29129 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29131 * malloc/arena.c (arena_get_retry): New function that gets
29132 another arena for the caller to try its request on.
29133 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29134 current arena cannot fulfill the request.
29135 (__libc_memalign): Likewise.
29136 (__libc_memalign): Likewise.
29137 (__libc_pvalloc): Likewise.
29138 (__libc_calloc): Likewise.
29140 2012-09-05 John Tobey <john.tobey@gmail.com>
29143 * manual/arith.texi (Operations on Complex): Fix description
29144 of carg branch cut.
29146 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29149 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29153 * manual/memory.texi (Memory): Make order of menu items match
29156 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29158 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29159 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29160 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29162 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29164 * csu/libc-tls.c (static_dtv): Renamed to ...
29165 (_dl_static_dtv): This. Make it global.
29166 (_dl_initial_dtv): Removed.
29167 (__libc_setup_tls): Updated.
29168 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29169 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29172 2012-09-06 Petr Machata <pmachata@redhat.com>
29174 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29175 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29176 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29177 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29179 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29182 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29183 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29186 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29189 * Makeconfig (link-static-before-libc): Replace $(+prector)
29191 (link-static-after-libc): Replace $(+postctor) with
29193 (link-bounded): Replace $(+prector)/$(+postctor) with
29194 $(+prectorT)/$(+postctorT).
29195 (+prectorT): New macro.
29196 (+postctorT): Likewise.
29198 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29200 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29201 (round_str): Handle values above the maximum for IBM long double
29203 * stdlib/tst-strtod-round.c (tests): Regenerated.
29205 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29207 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29209 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29210 zarch_nohighgprs around the zarch optimized routines.
29211 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29212 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29213 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29216 2012-09-05 David S. Miller <davem@davemloft.net>
29218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29220 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29221 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29222 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29223 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29226 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29228 * malloc/arena.c: Fold copyright years.
29229 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29231 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29233 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29235 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29237 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29239 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29241 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29242 change internal state upon failure.
29244 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29246 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29247 * malloc/memusage.c (mmap): Likewise.
29248 (mmap64, mremap): Likewise. Adjust name in comment.
29250 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29252 * libio/fileops.c: Fix typos in comments.
29253 * libio/oldfileops.c: Likewise.
29254 * libio/wfileops.c: Likewise.
29256 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29259 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29260 (tst-malloc-usable-ENV): Set environment for test case.
29261 * malloc/hooks.c (malloc_check_get_size): New function to get
29263 * malloc/malloc.c (musable): Use malloc_check_get_size.
29264 * malloc/tst-malloc-usable.c: New test case.
29266 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29268 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29270 2012-09-05 Allan McRae <allan@archlinux.org>
29273 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29274 determine header location.
29275 * configure: Regenerated.
29277 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29279 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29281 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29282 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29284 (test): Regenerate.
29286 2012-09-04 David S. Miller <davem@davemloft.net>
29288 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29289 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29290 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29292 2012-09-04 Florian Weimer <fweimer@redhat.com>
29294 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29297 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29299 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29302 * libio/iogetdelim.c: Include <limits.h>.
29303 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29304 + len + 1 would overflow.
29306 2012-09-03 Andreas Jaeger <aj@suse.de>
29308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29309 * sysdeps/i386/fpu/libm-test-ulps: Update.
29311 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29313 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29314 Add s_sinf-sse2, s_conf-sse2.
29316 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29317 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29318 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29319 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29321 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29322 for using routine as __sinf_ia32.
29323 Use macro for function declaration and weak_alias.
29324 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29325 for using routine as __cosf_ia32.
29326 Use macro for function declaration and weak_alias.
29328 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29329 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29331 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29332 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29335 * math/libm-test.inc (cos_test): Add more test cases.
29336 (sin_test): Likewise.
29337 (sincos_test): Likewise.
29339 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29341 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29342 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29344 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29346 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29349 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29350 first element of the GOT.
29351 (elf_machine_load_address): Return the difference between
29352 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29354 2012-09-01 Allan McRae <allan@archlinux.org>
29357 * configure.in (AWK): Require gawk version 3.0 or later.
29358 * configure: Regenerated.
29360 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29362 * sysdeps/unix/sysv/linux/kernel-features.h
29363 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29364 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29365 [__NR_clock_getres]: Make code unconditional.
29366 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29367 (clock_getcpuclockid): Remove code left unreachable by removal of
29369 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29370 code unconditional.
29371 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29372 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29373 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29374 Make code unconditional.
29375 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29376 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29377 * sysdeps/unix/sysv/linux/clock_settime.c
29378 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29380 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29381 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29383 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29386 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29387 scripts/test-installation.pl.
29389 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29390 and $ld_so_version if it is set.
29392 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29395 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29396 failure if reading from procfs failed.
29397 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29399 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29401 * sysdeps/unix/sysv/linux/kernel-features.h
29402 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29403 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29404 Remove conditional code.
29405 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29406 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29407 Remove conditional code.
29408 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29409 * sysdeps/unix/sysv/linux/i386/fxstat.c
29410 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29412 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29413 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29415 * sysdeps/unix/sysv/linux/i386/lxstat.c
29416 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29418 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29419 Remove conditional code.
29420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29421 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29422 Remove conditional code.
29423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29424 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29425 <kernel-features.h>.
29426 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29428 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29429 Remove conditional code.
29430 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29431 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29432 Remove conditional.
29434 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29437 * NEWS: Add fixed bug number.
29439 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29442 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29443 underflowing exponent in case of negative sign.
29444 * stdlib/tst-strtod-round-data: Add more tests.
29445 * stdlib/tst-strtod-round.c (tests): Regenerated.
29448 * stdlib/strtod_l.c (NDIG): Remove.
29449 (HEXNDIG): Likewise.
29450 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29451 smallest representable value.
29452 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29453 lie within an exact representation of 1/2 ulp of the result.
29454 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29456 (TENS_P9_IDX): Define unconditionally.
29457 (TENS_P9_SIZE): Likewise.
29458 (TENS_P10_IDX): Likewise.
29459 (TENS_P10_SIZE): Likewise.
29460 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29461 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29462 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29463 entries for 10^2^13 and 10^2^14.
29464 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29465 (TENS_P13_IDX): Define.
29466 (TENS_P13_SIZE): Likewise.
29467 (TENS_P14_IDX): Likewise.
29468 (TENS_P14_SIZE): Likewise.
29469 (_fpioconst_pow10): Change array size to
29470 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29472 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29473 1024]: Add entries for 10^2^13 and 10^2^14.
29474 [LAST_POW10 > _LAST_POW10]: Remove #error.
29475 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29476 (_fpioconst_pow10): Change array size to
29477 FPIOCONST_POW10_ARRAY_SIZE.
29478 * stdlib/gen-fpioconst.c: New file.
29479 * stdlib/gen-tst-strtod-round.c: Likewise.
29480 * stdlib/tst-strtod-round-data: Likewise.
29481 * stdlib/tst-strtod-round.c: Likewise.
29482 * stdlib/Makefile (tests): Add tst-strtod-round.
29485 * stdlib/strtod_l.c: Include <stdint.h>.
29486 (NDEBUG): Do not define.
29487 (round_and_return): Change EXPONENT parameter to type intmax_t.
29488 Rearrange calculations to avoid internal overflow possibilities.
29489 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29490 Rearrange calculations to avoid internal overflow possibilities.
29491 Assert that number fits inside MPNSIZE limbs.
29492 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29493 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29494 calculations and add assertions to avoid internal overflow
29495 possibilities. Add casts to avoid signed/unsigned operations.
29496 * stdlib/tst-strtod-overflow.c: New file.
29497 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29499 2012-08-25 Marek Polacek <polacek@redhat.com>
29501 * time/time.h: Fix some typos in comments.
29503 2012-08-23 Roland McGrath <roland@hack.frob.com>
29505 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29506 * posix/tst-rfc3484-2.c: Likewise.
29507 * posix/tst-rfc3484-3.c: Likewise.
29509 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29511 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29512 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29514 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29516 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29517 #include of fxstatat64.c.
29519 2012-08-22 Roland McGrath <roland@hack.frob.com>
29521 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29522 * shadow/getspent_r.c: Likewise.
29523 * shadow/getspnam.c: Likewise.
29524 * shadow/getspnam_r.c: Likewise.
29525 * gshadow/getsgent.c: Likewise.
29526 * gshadow/getsgent_r.c: Likewise.
29527 * gshadow/getsgnam.c: Likewise.
29528 * gshadow/getsgnam_r.c: Likewise.
29529 * inet/getnetbyad.c: Likewise.
29530 * inet/getnetbyad_r.c: Likewise.
29531 * inet/getnetbynm.c: Likewise.
29532 * inet/getnetbynm_r.c: Likewise.
29533 * inet/getnetent.c: Likewise.
29534 * inet/getnetent_r.c: Likewise.
29535 * inet/getproto.c: Likewise.
29536 * inet/getproto_r.c: Likewise.
29537 * inet/getprtent.c: Likewise.
29538 * inet/getprtent_r.c: Likewise.
29539 * inet/getprtname.c: Likewise.
29540 * inet/getprtname_r.c: Likewise.
29541 * inet/getrpcbyname.c: Likewise.
29542 * inet/getrpcbyname_r.c: Likewise.
29543 * inet/getrpcbynumber.c: Likewise.
29544 * inet/getrpcbynumber_r.c: Likewise.
29545 * inet/getrpcent.c: Likewise.
29546 * inet/getrpcent_r.c: Likewise.
29547 * inet/getaliasent.c: Likewise.
29548 * inet/getaliasent_r.c: Likewise.
29549 * inet/getaliasname.c: Likewise.
29550 * inet/getaliasname_r.c: Likewise.
29551 * nscd/getgrgid_r.c: Likewise.
29552 * nscd/getgrnam_r.c: Likewise.
29553 * nscd/gethstbyad_r.c: Likewise.
29554 * nscd/gethstbynm3_r.c: Likewise.
29555 * nscd/getpwnam_r.c: Likewise.
29556 * nscd/getpwuid_r.c: Likewise.
29557 * nscd/getsrvbynm_r.c: Likewise.
29558 * nscd/getsrvbypt_r.c: Likewise.
29559 * nscd/gai.c: Likewise.
29561 * configure.in (build_nscd): New substituted variable, set
29562 by --disable-build-nscd and defaults to $use_nscd.
29563 * configure: Regenerated.
29564 * config.make.in (build-nscd): New substituted variable.
29565 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29566 Change conditional to require [$(build-nscd) = yes] as well.
29567 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29570 * configure.in (use_nscd): New substituted variable, set by
29571 --disable-nscd. If enabled, define USE_NSCD.
29572 * configure: Regenerated.
29573 * config.h.in: Add USE_NSCD.
29574 * config.make.in (use-nscd): New substituted variable.
29575 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29576 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29577 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29578 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29579 (CFLAGS-getgrnam_r.c): Likewise.
29580 (CFLAGS-initgroups.c): Likewise.
29581 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29582 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29584 * inet/getnetgrent_r.c
29585 (nscd_setnetgrent): New function, broken out of ...
29586 (setnetgrent): ... here. Call it.
29587 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29588 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29589 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29590 * nscd/Makefile (routines, aux): Move definitions after include of
29591 Makeconfig. Conditionalize on [$(use-nscd) != no].
29592 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29593 Conditionalize on [USE_NSCD].
29594 (is_nscd, nscd_init_cb): Likewise.
29595 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29596 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29597 * nss/nss_db/db-init.c: Likewise.
29598 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29600 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29601 (make_request): Use it.
29602 (cache_valid_p): New function.
29603 (__check_pf): Use it.
29604 * NEWS: Add item for --disable-nscd.
29606 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29608 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29609 to support sed >= 4.2.1-20-ga9bf076.
29610 * configure: Regenerated.
29612 2012-08-22 Roland McGrath <roland@hack.frob.com>
29614 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29615 Conditionalize whole body on [IREL].
29617 2012-08-22 Jeff Law <law@redhat.com>
29620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29621 if the family is PF_UNSPEC.
29623 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29625 * Makerules (lib-version): Rename from V.
29626 (install-lib-nosubdir): Change V to lib-version.
29628 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29631 * powerpc32/power6/wcschr.c: New file.
29632 * powerpc32/power6/wcscpy.c: New file.
29633 * powerpc32/power6/wcsrchr.c: New file.
29634 * powerpc64/power6/wcschr.c: New file.
29635 * powerpc64/power6/wcscpy.c: New file.
29636 * powerpc64/power6/wcsrchr.c: New file.
29638 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29640 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29641 (two_way_short_needle): Use it.
29642 * string/strstr.c (AVAILABLE1_USES_J): Define.
29643 * string/strcasestr.c: Likewise.
29645 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29647 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29650 * NEWS: Add an entry.
29651 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29652 define their defaults.
29653 (two_way_short_needle): Detect end-of-string on-the-fly.
29654 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29655 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29656 * string/bug-strcasestr1.c: New test.
29657 * string/Makefile: Run it.
29659 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29662 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29663 the first character.
29665 2012-08-21 Roland McGrath <roland@hack.frob.com>
29667 * csu/elf-init.c (__libc_csu_irel): Function removed.
29668 * csu/libc-start.c (apply_irel): New function.
29669 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29671 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29673 * sysdeps/unix/sysv/linux/kernel-features.h
29674 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29675 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29676 <kernel-features.h>.
29677 [__NR_fadvise64_64]: Make code unconditional.
29678 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29679 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29680 !__NR_fadvise64_64)]: Likewise.
29681 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29682 !__NR_fadvise64_64))]: Likewise.
29683 [__NR_fadvise64]: Make code unconditional.
29684 [!__NR_fadvise64]: Remove conditional code.
29685 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29686 <kernel-features.h>.
29687 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29689 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29692 not include <kernel-features.h>.
29693 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29695 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29697 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29698 include <kernel-features.h>.
29699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29704 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29706 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29707 slight instruction rearrangements per scrollpipe analysis.
29708 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29710 2012-08-20 Roland McGrath <roland@hack.frob.com>
29712 * manual/syslog.texi (syslog; vsyslog, closelog):
29713 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29714 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29716 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29717 DSOCAPS to match condition on defining it.
29719 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29721 * sysdeps/unix/sysv/linux/kernel-features.h
29722 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29724 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29725 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29727 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29728 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29730 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29731 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29733 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29734 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29736 * sysdeps/unix/sysv/linux/kernel-features.h
29737 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29738 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29740 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29741 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29742 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29743 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29744 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29745 Make code unconditional.
29746 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29747 (__mmap64) [!__NR_mmap2]: Likewise.
29748 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29749 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29750 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29751 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29752 [__NR_mmap2]: Make code unconditional.
29753 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29754 (__mmap64) [!__NR_mmap2]: Likewise.
29756 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29758 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29760 2012-08-18 Andreas Jaeger <aj@suse.de>
29762 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29764 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29766 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29767 * include/unistd.h (__have_sock_cloexec): Likewise.
29768 (__have_pipe2): Likewise.
29769 (__have_dup3): Likewise.
29771 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29774 * include/unistd.h (__have_pipe2): Change define into an extern int.
29775 (__have_dup3): Likewise.
29776 * socket/have_sock_cloexec.c: Include fcntl.h.
29777 (__have_pipe2): New variable.
29778 (__have_dup3): Likewise.
29780 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29782 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29784 2012-08-17 Marek Polacek <polacek@redhat.com>
29786 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29787 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29789 2012-08-17 Roland McGrath <roland@hack.frob.com>
29791 * configure.in: Add AC_SUBST for sysheaders.
29792 * configure: Regenerated.
29793 * config.make.in (sysheaders): New substituted variable.
29795 * sysdeps/unix/mkfifo.c: Moved ...
29796 * sysdeps/posix/mkfifo.c: ... here.
29797 * sysdeps/unix/mkfifoat.c: Moved ...
29798 * sysdeps/posix/mkfifoat.c: ... here.
29800 * sysdeps/unix/utime.c: Moved ...
29801 * sysdeps/posix/utime.c: ... here.
29803 * sysdeps/unix/time.c: Moved ...
29804 * sysdeps/posix/time.c: ... here.
29805 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29806 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29808 * sysdeps/unix/nice.c: Moved ...
29809 * sysdeps/posix/nice.c: ... here.
29811 * sysdeps/unix/alarm.c: Moved ...
29812 * sysdeps/posix/alarm.c: ... here.
29814 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29816 2012-08-17 Jeff Law <law@redhat.com>
29818 * intl/Makefile (codeset_mo): New variable.
29819 ($(codeset_mo)): New target.
29820 (tst-codeset.out): Depend on that. Remove explicit rule.
29821 (tst-gettext3.out, tst-gettext5.out): Likewise.
29822 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29823 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29824 * intl/tst-codeset.sh: Remove.
29825 * intl/tst-gettext3.sh: Likewise.
29826 * intl/tst-gettext5.sh: Likewise.
29828 2012-08-17 Roland McGrath <roland@hack.frob.com>
29830 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29831 * sysdeps/unix/syscalls.list: ... here.
29833 * sysdeps/posix/getaddrinfo.c
29834 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29835 (gaiconf_init, gaiconf_reload): Use them.
29836 [!_STATBUF_ST_NSEC]
29837 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29838 Define using time_t rather than struct timespec.
29840 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29841 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29843 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29845 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29846 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29849 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29850 __libc_cleanup_push argument.
29852 * bits/param.h: New file.
29853 * misc/sys/param.h: New file.
29854 * include/sys/param.h: New file.
29855 * misc/Makefile (headers): Add bits/param.h.
29856 * sysdeps/generic/sys/param.h: File removed.
29857 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29858 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29859 * sysdeps/mach/hurd/bits/param.h: New file.
29860 * sysdeps/mach/hurd/sys/param.h: File removed.
29862 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29865 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29867 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29868 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29871 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29872 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29873 rather than -D_IO_MTSAFE_IO conditionally.
29874 * stdio-common/Makefile (CPPFLAGS): Likewise.
29875 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29876 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29877 Use $(libio-mtsafe).
29878 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29879 of -D_IO_MTSAFE_IO.
29880 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29881 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29882 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29883 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29884 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29885 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29886 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29887 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29888 (CFLAGS-fread_u_chk.c): Likewise.
29889 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29890 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29891 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29892 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29893 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29894 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29895 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29896 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29897 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29899 * libio/Makefile: Test [$(libc-reentrant) = yes]
29900 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29903 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29904 * sysdeps/pthread/configure: File removed.
29905 * sysdeps/pthread/Makeconfig: New file.
29906 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29907 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29909 2012-08-16 Gary Benson <gbenson@redhat.com>
29911 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29912 unmapping the first object in a namespace.
29914 2012-08-16 Roland McGrath <roland@hack.frob.com>
29916 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29917 (__internal_setnetgrent): ... this. Add internal_function to
29918 definition. Add libc_hidden_def.
29919 (setnetgrent): Update caller.
29920 (internal_endnetgrent): Renamed to ...
29921 (__internal_endnetgrent): ... this. Add internal_function to
29922 definition. Add libc_hidden_def.
29923 (endnetgrent): Update caller.
29924 (internal_getnetgrent_r): Renamed to ...
29925 (__internal_getnetgrent_r): ... this. Add internal_function to
29926 definition. Add libc_hidden_def.
29927 (__getnetgrent_r): Update caller.
29928 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29930 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29932 * stdlib/longlong.h: Update from GCC.
29934 2012-08-16 Roland McGrath <roland@hack.frob.com>
29936 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29937 on _QL, which is set by umul_ppmm but never used.
29938 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29939 variables, which are set by GMP macros but never used.
29940 * stdio-common/_itowa.c (_itowa): Likewise.
29941 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29942 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29944 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29946 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29947 struct La_sh_regs is not constant.
29948 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29949 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29950 and struct La_sparc64_regs are not constant.
29952 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29954 * sysdeps/unix/sysv/linux/kernel-features.h
29955 (__ASSUME_POSIX_TIMERS): Remove.
29956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29957 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29958 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29959 Make code unconditional.
29960 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29961 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29962 Make code unconditional.
29963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29964 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29965 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29967 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29968 Make code unconditional.
29969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29970 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29971 (__libc_missing_posix_timers): Remove.
29973 2012-08-15 Roland McGrath <roland@hack.frob.com>
29975 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29976 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29978 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29980 * elf/dl-sym.c: Include <stdlib.h>.
29982 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29983 constants, which avoids warnings in 32-bit builds.
29985 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29986 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29988 * misc/lseek.c: File moved to ...
29989 * io/lseek.c: ... here.
29991 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29993 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29994 shifting LEN more than 31 bits at once.
29996 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29999 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30000 segmentation fault for a case of two empty input strings.
30001 * string/test-strncasecmp.c (check1): Renamed to...
30002 (bz12205): ...this.
30003 (bz14195): Add new testcase for two empty input strings and N > 0.
30004 (test_main): Call new testcase, adapt for renamed function.
30006 2012-08-15 Andreas Jaeger <aj@suse.de>
30009 * crypt/md5test2.c: New test, based on test supplied by Serge
30010 Belyshev <belyshev@depni.sinp.msu.ru>.
30011 * crypt/Makefile (xtests): Add md5test-giant..
30012 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30014 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30017 * crypt/md5.c (md5_process_block): Don't assume the buffer
30018 length is less than 2**32.
30019 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30020 length is less than 2**64.
30022 2012-08-15 Roland McGrath <roland@hack.frob.com>
30024 * string/str-two-way.h: Include <sys/param.h>.
30025 (MAX): Macro removed.
30027 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30028 Move #define and #undef of memmove to just before and after
30029 including <string.h>.
30031 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30032 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30033 and after including <string.h>. Move declarations of
30034 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30035 to before #include "string/memmove.c".
30037 * include/dirent.h: Declare __getdirentries.
30039 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30040 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30042 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30044 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30045 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30046 * sysdeps/i386/configure: Regenerated.
30047 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30048 STABS_CURRENT_FILE, and STABS_FUN.
30049 (END): Remove call to STABS_FUN_END.
30050 (STABS_CURRENT_FILE1): Delete.
30051 (STABS_CURRENT_FILE): Likewise.
30052 (STABS_FUN): Likewise.
30053 (STABS_FUN_END): Likewise.
30054 (STABS_FUN2): Likewise.
30055 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30056 * sysdeps/x86_64/configure: Regenerated.
30058 2012-08-14 Roland McGrath <roland@hack.frob.com>
30060 * elf/dl-open.c: Include <atomic.h>.
30061 * elf/dl-lookup.c: Likewise.
30063 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30065 * sysdeps/unix/sysv/linux/kernel-features.h
30066 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30067 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30069 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30071 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30072 condition on __ASSUME_CLONE_THREAD_FLAGS.
30074 2012-08-14 Andreas Jaeger <aj@suse.de>
30076 * sysdeps/i386/fpu/libm-test-ulps: Update.
30078 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30080 * include/atomic.h (atomic_exchange_and_add): Split into ...
30081 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30084 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30088 2012-08-13 Jeff Law <law@redhat.com>
30090 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30091 null byte in the output string.
30093 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30095 * sysdeps/unix/sysv/linux/kernel-features.h
30096 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30097 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30098 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30099 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30100 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30101 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30102 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30104 2012-08-09 Jeff Law <law@redhat.com>
30107 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30108 When avoid_arena is set, don't retry in the that arena. Pick the
30109 next one, whatever it might be.
30110 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30111 (arena_lock): Pass in new parameter to arena_get2.
30112 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30114 (__libc_malloc): Unify retrying after main arena failure with
30115 __libc_memalign version.
30116 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30118 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30121 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30122 to __redirect_strstr.
30123 (__strstr_sse42): Use typeof __redirect_strstr.
30124 (__strstr_ia32): Likewise.
30125 (__libc_strstr): New prototype.
30126 (strstr): Renamed to ...
30127 (__libc_strstr): This.
30128 (strstr): New strong alias of __libc_strstr.
30129 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30130 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30133 (__libc_time): New prototype.
30134 (time_ifunc): Replace time with __libc_time.
30135 (time): New strong alias and hidden definition of __libc_time.
30136 (__GI_time): Remove strong alias.
30137 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30138 Include <stddef.h>.
30139 (memmove): Redefined to __redirect_memmove.
30140 (__memmove_sse2): Use typeof __redirect_memmove.
30141 (__memmove_ssse3): Likewise.
30142 (__memmove_ssse3_back): Likewise.
30143 (__libc_memmove): New prototype.
30144 (memmove): Renamed to ...
30145 (__libc_memmove): This.
30146 (memmove): New strong alias of __libc_memmove.
30148 2012-08-08 Mark Salter <msalter@redhat.com>
30151 (R_MN10300_TLS_GD): Define.
30152 (R_MN10300_TLS_LD): Likewise.
30153 (R_MN10300_TLS_LDO): Likewise.
30154 (R_MN10300_TLS_GOTIE): Likewise.
30155 (R_MN10300_TLS_IE): Likewise.
30156 (R_MN10300_TLS_LE): Likewise.
30157 (R_MN10300_TLS_DTPMOD): Likewise.
30158 (R_MN10300_TLS_DTPOFF): Likewise.
30159 (R_MN10300_TLS_TPOFF): Likewise.
30160 (R_MN10300_SYM_DIFF): Likewise.
30161 (R_MN10300_ALIGN): Likewise.
30162 (R_MN10300_NUM): Update.
30164 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30169 2012-08-08 Roland McGrath <roland@hack.frob.com>
30171 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30173 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30174 sysdeps/unix -> sysdeps/posix move.
30175 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30177 2012-08-07 Allan McRae <allan@archlinux.org>
30180 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30181 (SUNOS_CPP): Likewise.
30182 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30184 (open_input): Call CPP using execvp.
30186 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30188 * sysdeps/unix/sysv/linux/kernel-features.h
30189 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30190 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30191 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30192 (__ASSUME_WAITID_SYSCALL): Likewise.
30193 * sysdeps/unix/sysv/linux/dl-execstack.c
30194 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30195 code unconditional.
30196 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30198 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30199 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30200 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30202 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30204 [__ASSUME_WAITID_SYSCALL]: Likewise.
30205 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30207 2012-08-07 Roland McGrath <roland@hack.frob.com>
30209 * sysdeps/unix/closedir.c: Renamed to ...
30210 * sysdeps/posix/closedir.c: ... here.
30211 * sysdeps/unix/dirfd.c: Renamed to ...
30212 * sysdeps/posix/dirfd.c: ... here.
30213 * sysdeps/unix/dirstream.h: Renamed to ...
30214 * sysdeps/posix/dirstream.h: ... here.
30215 * sysdeps/unix/fdopendir.c: Renamed to ...
30216 * sysdeps/posix/fdopendir.c: ... here.
30217 * sysdeps/unix/opendir.c: Renamed to ...
30218 * sysdeps/posix/opendir.c: ... here.
30219 * sysdeps/unix/readdir.c: Renamed to ...
30220 * sysdeps/posix/readdir.c: ... here.
30221 * sysdeps/unix/readdir_r.c: Renamed to ...
30222 * sysdeps/posix/readdir_r.c: ... here.
30223 * sysdeps/unix/rewinddir.c: Renamed to ...
30224 * sysdeps/posix/rewinddir.c: ... here.
30225 * sysdeps/unix/seekdir.c: Renamed to ...
30226 * sysdeps/posix/seekdir.c: ... here.
30227 * sysdeps/unix/telldir.c: Renamed to ...
30228 * sysdeps/posix/telldir.c: ... here.
30229 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30230 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30231 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30232 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30234 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30235 * bits/fcntl.h: ... here.
30237 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30239 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30240 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30241 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30242 (struct flock): Move l_start, l_len to the beginning.
30243 Use __pid_t for l_pid.
30244 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30245 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30246 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30247 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30248 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30249 [__USE_LARGEFILE64] (struct flock64): New type.
30250 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30252 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30253 * bits/dirent.h: ... here.
30255 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30256 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30258 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30260 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30261 Change from 2.6.0 to 2.6.16.
30262 * sysdeps/unix/sysv/linux/configure: Regenerated.
30263 * sysdeps/unix/sysv/linux/kernel-features.h
30264 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30265 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30267 (__ASSUME_UTIMES): Likewise.
30268 (__ASSUME_CLONE_STOPPED): Remove.
30269 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30270 architectures, not kernel version.
30271 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30272 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30273 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30274 (__ASSUME_WAITID_SYSCALL): Likewise.
30275 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30276 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30277 * README: State 2.6.16 as minimum Linux kernel version. Do not
30278 refer to older versions.
30280 2012-08-06 Roland McGrath <roland@hack.frob.com>
30282 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30283 Define alphasort64 as an alias.
30284 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30285 Define versionsort64 as an alias.
30286 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30287 Define scandir64 as an alias.
30288 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30289 Define scandirat64 as an alias.
30290 * dirent/alphasort64.c (alphasort64):
30291 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30292 * dirent/versionsort64.c: Likewise.
30293 * dirent/scandir64.c: Likewise.
30294 * dirent/scandirat64.c: Likewise.
30295 * sysdeps/wordsize-64/alphasort.c: File removed.
30296 * sysdeps/wordsize-64/alphasort64.c: File removed.
30297 * sysdeps/wordsize-64/scandir.c: File removed.
30298 * sysdeps/wordsize-64/scandir64.c: File removed.
30299 * sysdeps/wordsize-64/scandirat.c: File removed.
30300 * sysdeps/wordsize-64/scandirat64.c: File removed.
30301 * sysdeps/wordsize-64/versionsort.c: File removed.
30302 * sysdeps/wordsize-64/versionsort64.c: File removed.
30303 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30304 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30305 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30306 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30307 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30308 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30309 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30310 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30312 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30313 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30314 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30316 [defined __arch64__ || defined __sparcv9]
30317 (__INO_T_MATCHES_INO64_T): New macro.
30318 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30319 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30320 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30321 * sysdeps/unix/sysv/linux/bits/dirent.h
30322 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30323 (_DIRENT_MATCHES_DIRENT64): New macro.
30325 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30326 Define lockf64 as an alias.
30327 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30328 Define fseeko64 as an alias.
30329 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30330 Define ftello64 as an alias.
30331 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30332 Define _IO_fgetpos64 and fgetpos64 as aliases.
30333 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30334 Define _IO_fsetpos64 and fsetpos64 as aliases.
30335 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30336 Conditionalize body on this.
30337 * libio/fseeko64.c: Likewise.
30338 * libio/ftello64.c: Likewise.
30339 * libio/iofgetpos64.c: Likewise.
30340 * libio/iofsetpos64.c: Likewise.
30341 * sysdeps/wordsize-64/lockf.c: File removed.
30342 * sysdeps/wordsize-64/lockf64.c: File removed.
30343 * sysdeps/wordsize-64/fseeko.c: File removed.
30344 * sysdeps/wordsize-64/fseeko64.c: File removed.
30345 * sysdeps/wordsize-64/ftello.c: File removed.
30346 * sysdeps/wordsize-64/ftello64.c: File removed.
30347 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30348 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30349 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30350 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30351 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30352 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30354 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30356 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30357 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30358 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30359 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30360 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30362 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30363 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30364 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30366 [defined __arch64__ || defined __sparcv9]
30367 (__OFF_T_MATCHES_OFF64_T): New macro.
30368 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30369 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30371 (__OFF_T_MATCHES_OFF64_T): New macro.
30373 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30375 * stdlib/secure-getenv.c (__secure_getenv): Replace
30376 GLIBC_2_16 with GLIBC_2_17.
30378 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30383 2012-08-03 David S. Miller <davem@davemloft.net>
30385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30387 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30389 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30391 (__ASSUME_CORRECT_SI_PID): Likewise.
30392 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30393 (__ASSUME_TMPFS_NAME): Likewise.
30394 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30395 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30396 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30397 (HAVE_AUX_SECURE): Make definition unconditional.
30398 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30399 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30401 2012-08-03 Roland McGrath <roland@hack.frob.com>
30403 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30404 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30405 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30406 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30407 __eloop_threshold instead of SYMLOOP_MAX.
30409 * sysdeps/generic/eloop-threshold.h: New file.
30410 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30412 * elf/chroot_canon.c (chroot_canon): Likewise.
30414 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30417 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30418 Change to 2.6.0 everywhere.
30419 * sysdeps/unix/sysv/linux/configure: Regenerated.
30420 * sysdeps/unix/sysv/linux/kernel-features.h
30421 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30422 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30424 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30425 (__ASSUME_FUTEX_REQUEUE): Remove.
30426 (__ASSUME_STATFS64): Define unconditionally.
30427 (__ASSUME_AT_SECURE): Likewise.
30428 (__ASSUME_CORRECT_SI_PID): Likewise.
30429 (__ASSUME_TGKILL): Define without depending on kernel version for
30431 (__ASSUME_UTIMES): Likewise.
30432 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30434 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30435 (__ASSUME_TMPFS_NAME): Likewise.
30436 * README: Update reference to Linux kernel versions.
30438 2012-08-02 Marek Polacek <polacek@redhat.com>
30441 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30442 libc_cv_asm_type_prefix with %.
30443 * configure: Regenerated.
30444 * include/libc-symbols.h: Remove comment about
30445 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30446 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30447 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30448 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30449 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30450 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30451 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30452 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30453 * elf/tst-unique2mod1.c: Likewise.
30454 * elf/tst-unique1mod2.c: Likewise.
30455 * elf/tst-unique1mod1.c: Likewise.
30456 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30457 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30458 Replace ASM_TYPE_DIRECTIVE with .type.
30459 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30460 * sysdeps/i386/sysdep.h: Likewise.
30461 * sysdeps/x86_64/sysdep.h: Likewise.
30462 * sysdeps/sh/sysdep.h: Likewise.
30463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30464 Do not define ASM_TYPE_DIRECTIVE.
30465 * sysdeps/powerpc/sysdep.h: Likewise.
30466 * sysdeps/powerpc/powerpc32/sysdep.h:
30467 Replace ASM_TYPE_DIRECTIVE with .type.
30468 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30469 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30470 * sysdeps/i386/fpu/e_powf.S: Likewise.
30471 * sysdeps/i386/fpu/e_expl.S: Likewise.
30472 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30473 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30474 * sysdeps/i386/fpu/e_pow.S: Likewise.
30475 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30476 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30477 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30478 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30479 * sysdeps/i386/fpu/e_log2.S: Likewise.
30480 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30481 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30482 * sysdeps/i386/fpu/e_powl.S: Likewise.
30483 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30484 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30485 * sysdeps/i386/fpu/e_logl.S: Likewise.
30486 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30487 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30488 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30491 * sysdeps/i386/fpu/e_log.S: Likewise.
30492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30493 * sysdeps/i386/fpu/e_logf.S: Likewise.
30494 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30495 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30496 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30497 * sysdeps/i386/fpu/e_log10.S: Likewise.
30498 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30500 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30501 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30502 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30503 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30504 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30505 * sysdeps/i386/i686/strtok.S: Likewise.
30506 * sysdeps/i386/i386-mcount.S: Likewise.
30507 * sysdeps/i386/strtok.S: Likewise.
30508 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30512 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30513 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30514 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30515 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30516 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30517 * sysdeps/x86_64/_mcount.S: Likewise.
30518 * sysdeps/x86_64/strtok.S: Likewise.
30519 * sysdeps/sh/_mcount.S: Likewise.
30521 2012-08-01 Roland McGrath <roland@hack.frob.com>
30523 * libio/iofopen.c: Include <fcntl.h>.
30524 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30525 (_IO_fopen64, fopen64): Define as aliases.
30526 * libio/iofopen64.c: Include <fcntl.h>.
30527 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30528 Conditionalize body on this.
30529 * sysdeps/wordsize-64/iofopen.c: File removed.
30530 * sysdeps/wordsize-64/iofopen64.c: File removed.
30532 2012-08-01 Marek Polacek <polacek@redhat.com>
30534 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30535 Use dlfcn directly instead of a variable.
30536 (binfmt-subdir): Do not define.
30539 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30541 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30542 Remove all definitions.
30543 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30544 <kernel-features.h>.
30545 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30546 (miss_F_GETOWN_EX): Remove all definitions.
30547 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30549 [!__ASSUME_FCNTL64]: Remove conditional code.
30550 [__ASSUME_FCNTL64]: Make code unconditional.
30551 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30552 <kernel-features.h>.
30553 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30554 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30555 (lockf64) [__NR_fcntl64]: Make code unconditional.
30556 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30558 * sysdeps/unix/sysv/linux/kernel-features.h
30559 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30560 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30561 Make code unconditional.
30562 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30563 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30565 [__NR_vfork]: Make code unconditional.
30566 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30567 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30569 [__NR_vfork]: Make code unconditional.
30570 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30571 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30573 2012-08-01 Roland McGrath <roland@hack.frob.com>
30575 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30576 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30578 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30579 Define mkstemp64 as an alias.
30580 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30581 Define mkstemps64 as an alias.
30582 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30583 Define mkostemp64 as an alias.
30584 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30585 Define mkostemps64 as an alias.
30586 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30587 Conditionalize body on this.
30588 * misc/mkostemp64.c: Likewise.
30589 * misc/mkostemps64.c: Likewise.
30590 * misc/mkstemps64.c: Likewise.
30591 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30592 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30593 * sysdeps/wordsize-64/mkostemp.c: File removed.
30594 * sysdeps/wordsize-64/mkstemp.c: File removed.
30595 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30596 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30597 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30598 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30601 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30602 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30603 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30604 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30606 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30607 compat_symbol macros from <shlib-compat.h> rather than the underlying
30608 default_symbol_version and symbol_version macros, so that DEFAULT
30609 lines in shlib-versions are respected.
30610 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30612 2012-08-01 Florian Weimer <fweimer@redhat.com>
30614 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30615 Declare with warn_unused_result.
30616 (setgid, setregid, setegid, setresgid): Likewise.
30617 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30619 * WUR-REPORT: Remove set*id functions.
30621 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30623 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30625 2012-07-31 Roland McGrath <roland@hack.frob.com>
30628 * include/sys/socket.h (__libc_accept, __libc_accept4):
30629 Add attribute_hidden.
30630 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30632 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30634 * inet/getnetgrent_r.c (setup): Likewise.
30636 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30638 2012-07-31 David S. Miller <davem@davemloft.net>
30640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30642 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30645 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30646 value between 1.0 and 2.0 and smaller part has absolute value less
30648 * math/s_clog10.c (__clog10): Likewise.
30649 * math/s_clog10f.c (__clog10f): Likewise.
30650 * math/s_clog10l.c (__clog10l): Likewise.
30651 * math/s_clogf.c (__clogf): Likewise.
30652 * math/s_clogl.c (__clogl): Likewise.
30653 * math/libm-test.inc (clog_test): Add more tests.
30654 (clog10_test): Likewise.
30655 * sysdeps/i386/fpu/libm-test-ulps: Update.
30656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30658 2012-07-31 Florian Weimer <fweimer@redhat.com>
30660 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30661 Exit with zero in case no suitable GID is found, and write a
30662 message to standard error.
30664 2012-07-30 Roland McGrath <roland@hack.frob.com>
30666 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30668 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30669 (MAXPATHLEN): Removed.
30670 (NOGROUP, NODEV): New macros.
30671 (setbit, clrbit, isset, isclr): New macros.
30672 (howmany, roundup, powerof2): New macros.
30673 (DEV_BSIZE): New macro.
30675 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30676 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30678 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30679 definition on [!__NO_LONG_DOUBLE_MATH].
30681 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30682 PTR_MANGLE and PTR_DEMANGLE.
30684 * socket/accept4.c (accept4): Rename to __libc_accept4.
30685 Define accept4 as a weak alias.
30687 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30688 on [_DIRENT_HAVE_D_TYPE].
30689 * io/ftw.c (ftw_dir): Likewise.
30691 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30693 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30695 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30696 Use the BSD numbers rather than the arbitrary ones we had.
30697 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30698 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30699 (SIGXCPU, SIGXFSZ): New macros.
30702 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30703 initializer on [_LIBC_REENTRANT].
30705 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30706 definitions inside [_POSIX_MAPPED_FILES].
30708 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30710 * dirent/opendir.c: Include <fcntl.h>.
30712 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30713 (__libc_getspecific): Likewise.
30714 (__libc_key_create): Likewise.
30716 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30717 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30718 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30719 (tmpfile64): Define as alias.
30720 * sysdeps/wordsize-64/tmpfile.c: File removed.
30721 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30722 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30723 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30725 * stdio-common/vfscanf.c: Include <stdbool.h>.
30726 * nss/makedb.c: Likewise.
30727 * stdio-common/_i18n_number.h: Likewise.
30728 * argp/argp-help.c: Likewise.
30729 * posix/wordexp.c: Likewise.
30730 * sysdeps/posix/spawni.c: Likewise.
30731 * nss/nss_files/files-initgroups.c: Likewise.
30732 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30733 * nss/nss_files/files-initgroups.c: Likewise.
30734 * nss/nss_db/db-netgrp.c: Likewise.
30735 * nss/nss_db/db-initgroups.c: Likewise.
30736 * io/fchmodat.c: Include <sys/stat.h>.
30738 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30739 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30741 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30744 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30745 Add multiple inclusion protection.
30747 2012-07-27 David S. Miller <davem@davemloft.net>
30749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30751 2012-07-27 Gary Benson <gbenson@redhat.com>
30754 * elf/rtld.c: Include <stap-probe.h>.
30755 (dl_main): Added static probes "init_start" and "init_complete".
30756 * elf/dl-load.c: Include <stap-probe.h>.
30757 (lose): Take new parameter "nsid".
30758 Added static probe "map_failed".
30759 (_dl_map_object_from_fd): Pass namespace id to lose.
30760 Added static probe "map_start".
30761 (open_verify): Pass namespace id to lose.
30762 * elf/dl-open.c: Include <stap-probe.h>.
30763 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30764 and "reloc_complete".
30765 * elf/dl-close.c: Include <stap-probe.h>.
30766 (_dl_close_worker): Added static probes "unmap_start" and
30768 * elf/rtld-debugger-interface.txt: New file documenting the above.
30770 2012-07-26 Roland McGrath <roland@hack.frob.com>
30772 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30773 rather than a string variable.
30774 * sunrpc/rpc_main.c (h_output): Likewise.
30775 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30777 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30779 * inet/check_native.c: New file.
30781 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30784 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30785 if larger part has absolute value 1.0.
30786 * math/s_clog10.c (__clog10): Likewise.
30787 * math/s_clog10f.c (__clog10f): Likewise.
30788 * math/s_clog10l.c (__clog10l): Likewise.
30789 * math/s_clogf.c (__clogf): Likewise.
30790 * math/s_clogl.c (__clogl): Likewise.
30791 * math/libm-test.inc (clog_test): Add more tests.
30792 (clog10_test): Likewise.
30793 * sysdeps/i386/fpu/libm-test-ulps: Update.
30794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30796 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30797 (pltexit): Likewise.
30798 (La_regs): Likewise.
30799 (La_retval): Likewise.
30800 (int_retval): Likewise.
30801 Update #error for removed macros to refer only to definitions in
30803 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30805 (pltexit): Likewise.
30806 (La_regs): Likewise.
30807 (La_retval): Likewise.
30808 (int_retval): Likewise.
30809 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30811 (pltexit): Likewise.
30812 (La_regs): Likewise.
30813 (La_retval): Likewise.
30814 (int_retval): Likewise.
30815 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30817 (pltexit): Likewise.
30818 (La_regs): Likewise.
30819 (La_retval): Likewise.
30820 (int_retval): Likewise.
30821 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30823 (pltexit): Likewise.
30824 (La_regs): Likewise.
30825 (La_retval): Likewise.
30826 (int_retval): Likewise.
30827 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30829 (pltexit): Likewise.
30830 (La_regs): Likewise.
30831 (La_retval): Likewise.
30832 (int_retval): Likewise.
30833 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30835 (pltexit): Likewise.
30836 (La_regs): Likewise.
30837 (La_retval): Likewise.
30838 (int_retval): Likewise.
30839 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30840 macro definitions in tst-audit.h.
30841 * sysdeps/i386/tst-audit.h: New file.
30842 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30843 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30844 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30845 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30846 * sysdeps/sh/tst-audit.h: Likewise.
30847 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30848 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30849 * sysdeps/x86_64/tst-audit.h: Likewise.
30851 2012-07-26 Andreas Jaeger <aj@suse.de>
30853 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30856 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30857 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30858 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30860 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30861 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30862 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30864 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30867 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30869 (si_call_addr, si_syscall, si_arch): Define new macro.
30870 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30872 (si_call_addr, si_syscall, si_arch): Define new marcro.
30873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30875 (si_call_addr, si_syscall, si_arch): Define new macro.
30876 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30878 (si_call_addr, si_syscall, si_arch): Define new macro.
30880 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30883 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30884 Change to 2.4.21 where previously 2.4.1.
30885 * sysdeps/unix/sysv/linux/configure: Regenerated.
30886 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30887 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30888 Linux kernel version.
30889 (__ASSUME_STD_AUXV): Remove.
30890 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30892 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30893 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30894 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30895 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30896 (__ASSUME_NETLINK_SUPPORT): Likewise.
30897 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30898 (__no_netlink_support): Remove conditional definition.
30899 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30901 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30902 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30903 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30904 (if_nameindex_ioctl): Remove.
30905 (if_nameindex_netlink): Do not handle __no_netlink_support.
30906 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30908 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30909 Remove conditional code.
30910 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30912 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30914 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30915 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30916 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30918 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30919 [!__ASSUME_STD_AUXV]: Remove conditional code.
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30921 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30922 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30924 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30925 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30927 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30929 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30930 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30932 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30934 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30937 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30940 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30941 code unconditional.
30942 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30944 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30946 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30949 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30951 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30954 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30955 code unconditional.
30956 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30958 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30960 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30963 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30964 code unconditional.
30965 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30967 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30969 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30972 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30974 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30975 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30976 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30977 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30978 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30979 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30980 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30981 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30982 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30983 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30984 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30985 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30986 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30987 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30988 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30989 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30990 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30991 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30992 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30993 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30994 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30995 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30996 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30998 2012-07-25 Florian Weimer <fweimer@redhat.com>
31000 * Versions.def: Add GLIBC_2.17.
31001 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31002 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31003 Introduce __libc_secure_getenv.
31004 * stdlib/Versions (2.17): Add secure_getenv
31005 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31006 * stdlib/secure-getenv.c: Rename __secure_getenv to
31007 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31008 symbol __secure_getenv for GLIBC_2.0.
31009 * stdlib/tst-secure-getenv.c: New.
31010 * stdlib/Makefile (tests): Add testcase.
31011 * manual/startup.texi (Environment Access): Document
31013 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31014 __libc_secure_getenv.
31015 * inet/ruserpass.c (ruserpass): Likewise.
31016 * malloc/mtrace.c (mtrace): Likewise.
31017 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31018 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31019 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31020 * sysdeps/posix/tempname.c: Likewise. Evaluate
31021 HAVE_SECURE_GETENV.
31022 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31023 __secure_getenv to __libc_secure_getenv.
31024 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31031 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31037 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31039 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31040 (struct La_i86_retval): Likewise.
31041 (struct La_x86_64_regs): Likewise.
31042 (struct La_x86_64_retval): Likewise.
31043 (struct La_x32_regs): Likewise.
31044 (struct La_x32_retval): Likewise.
31045 (struct La_ppc32_regs): Likewise.
31046 (struct La_ppc32_retval): Likewise.
31047 (struct La_ppc64_regs): Likewise.
31048 (struct La_ppc64_retval): Likewise.
31049 (struct La_sh_regs): Likewise.
31050 (struct La_sh_retval): Likewise.
31051 (struct La_s390_32_regs): Likewise.
31052 (struct La_s390_32_retval): Likewise.
31053 (struct La_s390_64_regs): Likewise.
31054 (struct La_s390_64_retval): Likewise.
31055 (struct La_sparc32_regs): Likewise.
31056 (struct La_sparc32_retval): Likewise.
31057 (struct La_sparc64_regs): Likewise.
31058 (struct La_sparc64_retval): Likewise.
31059 (struct audit_ifaces): Remove architecture-specific pltenter and
31061 * sysdeps/i386/ldsodefs.h: New file.
31062 * sysdeps/powerpc/ldsodefs.h: Likewise.
31063 * sysdeps/s390/ldsodefs.h: Likewise.
31064 * sysdeps/sh/ldsodefs.h: Likewise.
31065 * sysdeps/sparc/ldsodefs.h: Likewise.
31066 * sysdeps/x86_64/ldsodefs.h: Likewise.
31068 2012-07-25 Marek Polacek <polacek@redhat.com>
31071 * math/libm-test.inc (yn_test): Add another test.
31072 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31073 to ERANGE when the result is +-Inf.
31074 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31075 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31076 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31077 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31079 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31081 * conform/data/time.h-data (NULL): Use macro-constant. Require
31083 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31085 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31087 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31089 * configure.in <sysdeps resolving>: Correct printing
31091 * configure: Regenerate.
31093 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31095 * math/w_ilogb.c: Include <limits.h>.
31096 * math/w_ilogbl.c: Likewise.
31098 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31100 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31101 va_copy. Document allowing for unavailable va_copy only as
31102 pre-C99 compatibility.
31103 * manual/string.texi (Copying and Concatenation): Use va_copy
31104 instead of __va_copy in concat example.
31106 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31108 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31109 (__sendto): Use create_address_port. Initialize APORT and deallocate
31112 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31113 with O_NOLINK passed to __file_name_lookup.
31115 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31116 with O_NOLINK passed to __file_name_lookup.
31118 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31119 negative N or less than NGIDS.
31121 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31122 type to string_t. Set ERANGE as errno and return it if NAME is not big
31123 enough. Use memcpy instead of strncpy.
31125 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31127 * elf/Makefile (check-data): Remove.
31128 (localplt.data): New vpath directive.
31129 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31130 instead of $(check-data).
31131 * scripts/data/localplt-generic.data: Move to ...
31132 * sysdeps/generic/localplt.data: ... here.
31133 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31134 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31135 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31138 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31141 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31144 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31147 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31150 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31154 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31156 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31157 PPC32 and PPC64 files.
31158 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31159 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31161 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31163 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31164 __makecontext_ret to ...
31165 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31166 ... here and call exit if uc_link is NULL. New file.
31167 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31168 __makecontext_ret.S.
31169 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31170 __makecontext_ret to ...
31171 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31172 ... here and call exit if uc_link is NULL. New file.
31173 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31174 __makecontext_ret.S.
31176 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31178 * elf/elf.h (R_390_IRELATIVE): New definition.
31179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31180 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31181 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31182 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31183 (elf_machine_lazy_rel): Likewise.
31184 * sysdeps/s390/dl-irel.h: New file.
31185 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31186 * sysdeps/s390/s390-64/memset.S: New asm code.
31187 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31188 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31189 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31190 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31191 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31192 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31193 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31194 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31195 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31196 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31197 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31198 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31199 * sysdeps/s390/s390-32/memset.S: New asm code.
31200 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31202 2012-07-17 Marek Polacek <polacek@redhat.com>
31205 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31206 * sysdeps/s390/s390-64/configure.in: Likewise.
31207 * sysdeps/sparc/configure.in: Likewise.
31208 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31209 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31210 * sysdeps/i386/configure.in: Likewise.
31211 * sysdeps/x86_64/configure.in: Likewise.
31212 * sysdeps/sh/configure.in: Likewise.
31213 * sysdeps/s390/s390-32/configure: Regenerated.
31214 * sysdeps/s390/s390-64/configure: Likewise.
31215 * sysdeps/x86_64/configure: Likewise.
31216 * sysdeps/sh/configure: Likewise.
31217 * sysdeps/powerpc/powerpc64/configure: Likewise.
31218 * sysdeps/powerpc/powerpc32/configure: Likewise.
31219 * sysdeps/sparc/configure: Likwise.
31220 * sysdeps/i386/configure: Likewise.
31222 * elf/dl-open.c: Comment fixes.
31224 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31226 * Makefile [CXX] (check-data): Remove.
31227 [CXX] (c++-types.data): New vpath directive.
31228 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31229 vpath. Do not allow for C++ type data being missing.
31230 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31231 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31232 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31233 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31234 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31235 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31236 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31239 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31242 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31245 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31248 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31249 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31251 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31254 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31257 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31260 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31261 definitions to architecture-specific files.
31262 (TLS_IE): Likewise.
31263 (TLS_LD): Likewise.
31264 (TLS_GD): Likewise.
31265 * sysdeps/i386/tls-macros.h: New file.
31266 * sysdeps/powerpc/tls-macros.h: Likewise.
31267 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31268 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31269 * sysdeps/sh/tls-macros.h: Likewise.
31270 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31271 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31272 * sysdeps/x86_64/tls-macros.h: Likewise.
31274 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31276 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31277 zero value for regular exit case.
31279 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31280 (__start_context): Preserve zero value for regular exit case.
31282 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31283 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31285 * manual/setjmp.texi (setcontext): Clarify normal process
31286 termination when uc_link is the null pointer.
31287 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31290 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31292 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31293 preprocessor. Test for each exception mask separately.
31295 2012-07-16 Andreas Jaeger <aj@suse.de>
31297 * po/ru.po: Update from translation team.
31299 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31301 * conform/data/string.h-data (NULL): Use macro-constant. Require
31303 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31304 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31305 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31306 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31309 2012-07-13 Andreas Jaeger <aj@suse.de>
31311 * po/fr.po: Update from translation team.
31313 2012-07-12 Marek Polacek <polacek@redhat.com>
31316 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31317 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31320 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31324 Change to 2.4.1 where previously 2.4.0.
31325 * sysdeps/unix/sysv/linux/configure: Regenerated.
31326 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31327 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31329 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31330 (__ASSUME_AT_CLKTCK): Remove.
31331 (__ASSUME_AT_PAGESIZE): Likewise.
31332 (__ASSUME_AT_XID): Likewise.
31333 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31334 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31335 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31337 (HAVE_AUX_PAGESIZE): Likewise.
31338 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31339 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31340 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31342 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31346 the temporary buffer used to invoke __gethostbyname2_r,
31347 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31348 host_data / struct gaih_addrtuple.
31349 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31350 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31351 header file nss/nsswitch.h.
31352 * nss/nsswitch.h (global scope): Add definition of implementation
31353 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31354 resolv/nss_dns/dns-host.c).
31356 2012-07-11 Andreas Jaeger <aj@suse.de>
31358 * po/fr.po: Update from translation team.
31360 * po/sv.po: Update from translation team
31361 * po/fr.po: Another update from translation team.
31363 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31365 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31366 for subnormals or multiply small sinh result by itself.
31367 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31370 2012-07-11 David S. Miller <davem@davemloft.net>
31372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31374 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31377 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31378 (INTERNAL_MARK): Shift it here.
31380 2012-07-10 Marek Polacek <polacek@redhat.com>
31383 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31384 libc_cv_asm_global_directive with .globl.
31385 * configure: Regenerated.
31386 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31388 * sysdeps/i386/configure: Regenerated.
31389 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31391 * sysdeps/x86_64/configure: Regenerated.
31392 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31393 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31394 * elf/tst-unique2mod2.c: Likewise.
31395 * elf/tst-unique2mod1.c: Likewise.
31396 * elf/tst-unique1mod2.c: Likewise.
31397 * elf/tst-unique1mod1.c: Likewise.
31398 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31399 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31400 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31401 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31402 * sysdeps/mach/sysdep.h: Likewise.
31403 * sysdeps/i386/sysdep.h: Likewise.
31404 * sysdeps/i386/i386-mcount.S: Likewise.
31405 * sysdeps/x86_64/_mcount.S: Likewise.
31406 * sysdeps/x86_64/sysdep.h: Likewise.
31407 * sysdeps/sh/_mcount.S: Likewise.
31408 * sysdeps/sh/sysdep.h: Likewise.
31409 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31410 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31411 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31412 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31413 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31414 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31415 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31416 * locale/localeinfo.h: Likewise.
31417 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31418 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31420 2012-07-09 Roland McGrath <roland@hack.frob.com>
31423 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31425 * manual/message.texi (The Uniforum approach): Likewise.
31426 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31427 (glibc iconv Implementation): Likewise.
31429 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31432 * math/s_clog.c (__clog): Avoid scaling a value down where that
31433 could result in underflow.
31434 * math/s_clog10.c (__clog10): Likewise.
31435 * math/s_clog10f.c (__clog10f): Likewise.
31436 * math/s_clog10l.c (__clog10l): Likewise.
31437 * math/s_clogf.c (__clogf): Likewise.
31438 * math/s_clogl.c (__clogl): Likewise.
31439 * math/libm-test.inc (clog_test): Add more tests.
31440 (clog10_test): Likewise.
31441 * sysdeps/i386/fpu/libm-test-ulps: Update.
31442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31444 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31447 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31448 by 7 not 8 to examine high bit of fractional part.
31451 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31452 for call to __mcount_internal.
31453 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31454 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31455 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31457 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31460 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31461 approximation for values within 0x1p-13f of an odd multiple of
31463 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31464 exception. Add more tests.
31465 * sysdeps/i386/fpu/libm-test-ulps: Update.
31468 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31469 inputs and return -1 for them. Do not check for +Inf in case not
31470 reachable for +Inf.
31471 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31472 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31473 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31474 and return -1 for them. Do not check for +Inf in case not
31475 reachable for +Inf.
31476 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31482 spurious underflow.
31483 * sysdeps/i386/fpu/libm-test-ulps: Update.
31484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31486 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31488 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31490 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31494 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31495 could result in spurious underflow. Scale down values above
31496 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31497 * math/s_csqrtf.c (__csqrtf): Likewise.
31498 * math/s_csqrtl.c (__csqrtl): Likewise.
31499 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31500 spurious underflow.
31501 * sysdeps/i386/fpu/libm-test-ulps: Update.
31502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31504 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31506 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31508 * catgets/xopen-msg.awk: New file.
31509 * catgets/xopen-msg.sed: Removed.
31511 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31513 * intl/po2test.awk: New file.
31514 * intl/po2test.sed: Removed.
31516 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31519 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31520 or multiply small sinh result by itself.
31521 * math/s_ctanf.c (__ctanf): Likewise.
31522 * math/s_ctanh.c (__ctanh): Likewise.
31523 * math/s_ctanhf.c (__ctanhf): Likewise.
31524 * math/s_ctanhl.c (__ctanhl): Likewise.
31525 * math/s_ctanl.c (__ctanl): Likewise.
31526 * math/libm-test.inc (ctan_test_tonearest): New function.
31527 (ctan_test_towardzero): Likewise.
31528 (ctan_test_downward): Likewise.
31529 (ctan_test_upward): Likewise.
31530 (ctanh_test_tonearest): Likewise.
31531 (ctanh_test_towardzero): Likewise.
31532 (ctanh_test_downward): Likewise.
31533 (ctanh_test_upward): Likewise.
31534 (main): Call these new functions.
31535 * sysdeps/i386/fpu/libm-test-ulps: Update.
31536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31538 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31540 * .gitignore: Delete /ports entry.
31542 2012-07-03 Andreas Jaeger <aj@suse.de>
31544 * po/bg.po: Update from translation team.
31545 * po/cs.po: Likewise.
31546 * po/de.po: Likewise.
31547 * po/hr.po: Likewise.
31548 * po/nl.pl: Likewise.
31549 * po/pl.po: Likewise.
31550 * po/vi.po: Likewise.
31552 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31554 * Makeconfig [!+link] (+link-before-libc): New variable.
31555 [!+link] (+link-after-libc): Likewise.
31556 [!+link] (+link-tests): Likewise.
31557 [!+link] (+link): Define in terms of $(+link-before-libc) and
31558 $(+link-after-libc).
31559 [!+link-static] (+link-static-before-libc): New variable.
31560 [!+link-static] (+link-static-after-libc): Likewise.
31561 [!+link-static] (+link-static-tests): Likewise.
31562 [!+link-static] (+link-static): Define in terms of
31563 $(+link-static-before-libc) and $(+link-static-after-libc).
31564 [build-shared] (link-libc-before-gnulib): New variable.
31565 [build-shared] (link-libc-tests): Likewise.
31566 [build-shared] (link-libc): Define in terms of
31567 $(link-libc-before-gnulib).
31568 [!build-shared] (link-libc-tests): New variable.
31569 (link-libc-static-tests): New variable.
31570 [!gnulib] (gnulib-arch): New variable.
31571 [!gnulib] (gnulib-tests): Likewise.
31572 [!gnulib] (static-gnulib-arch): Likewise.
31573 [!gnulib] (static-gnulib-tests): Likewise.
31574 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31575 Define with "=" instead of ":=".
31576 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31577 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31578 * Rules (binaries-all-notests): New variable.
31579 (binaries-all-tests): Likewise.
31580 (binaries-static-notests): Likewise.
31581 (binaries-static-tests): Likewise.
31582 (binaries-all): Define using $(binaries-all-notests) and
31583 $(binaries-all-tests).
31584 (binaries-static): Define using $(binaries-static-notests) and
31585 $(binaries-static-tests).
31586 (binaries-shared-tests): New variable.
31587 (binaries-shared-notests): Likewise.
31588 (binaries-shared): Remove variable.
31589 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31590 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31591 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31592 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31593 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31594 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31595 * elf/Makefile (sln-modules): New variable.
31596 (extra-objs): Add $(sln-modules:=.o).
31597 (ldconfig-modules): Add static-stubs.
31598 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31599 * elf/static-stubs.c: New file.
31602 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31603 by 7 not 8 to examine high bit of fractional part. Use volatile
31604 variables when splitting into final array of floats if
31605 __FLT_EVAL_METHOD__ != 0.
31606 * math/libm-test.inc (cos_test): Add another test.
31607 (sin_test): Likewise.
31608 * sysdeps/i386/fpu/libm-test-ulps: Update.
31611 * math/libm-test.inc (cosh_test): Add more tests.
31613 * version.h (RELEASE): Set to "development".
31614 (VERSION): Set to "2.16.90".
31616 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31618 * NEWS: Update copyright. Remove last-updated date.
31619 Mention math library bug fixes and timezone data changes.
31620 * README: Mention GNU/Hurd, x32, and HPPA support status.
31622 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31624 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31626 2012-06-27 Andreas Jaeger <aj@suse.de>
31628 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31630 2012-06-25 Andreas Jaeger <aj@suse.de>
31632 * sysdeps/s390/fpu/libm-test-ulps: Update.
31634 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31635 Thomas Schwinge <thomas@codesourcery.com>
31637 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31638 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31642 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31644 * sysdeps/mach/start.c: Remove file.
31645 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31646 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31647 * sysdeps/sh/init-first.c: Likewise.
31649 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31650 registers for frame unwinding purposes, add CFI directives.
31651 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31652 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31653 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31656 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31657 __fortify_fail returning.
31658 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31660 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31661 sysdeps/sh/____longjmp_chk.S.
31662 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31663 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31664 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31665 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31667 * sysdeps/sh/abort-instr.h: New file.
31668 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31669 process in case exit returns.
31671 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31672 initialize the GOT register before use.
31674 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31675 calculation of ARGC > 4.
31677 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31678 meaningful names to some local labels.
31680 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31681 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31683 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31684 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31685 (__arch_compare_and_exchange_val_16_acq): Likewise.
31686 (__arch_compare_and_exchange_val_32_acq): Likewise.
31687 (atomic_exchange_and_add): Fix gUSA sequence.
31688 (atomic_add): Likewise.
31689 (atomic_add_negative): Likewise.
31690 (atomic_add_zero): Likewise.
31691 (atomic_bit_test_set): Likewise.
31693 2012-06-22 Andreas Schwab <schwab@redhat.com>
31696 * include/link.h (struct link_map): Add l_free_initfini.
31697 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31699 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31700 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31701 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31704 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31706 * configure.in: Use AC_LANG_SOURCE.
31707 * configure: Regenerate.
31709 2012-06-22 Roland McGrath <roland@hack.frob.com>
31711 * configure.in (libc_cv_localstatedir): New substituted variable.
31712 * configure: Regenerated.
31713 * config.make.in (localstatedir): New variable, substituted from
31714 libc_cv_localstatedir.
31715 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31716 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31717 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31718 * sysdeps/gnu/configure: Regenerated.
31720 2012-06-21 Jeff Law <law@redhat.com>
31723 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31724 free. Simplify list management for _LIBC case.
31726 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31729 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31730 Clear sign bit of 64-bit integer value before comparing against
31733 * sysdeps/mach/configure: Regenerated.
31735 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31738 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31740 2012-06-21 Jeff Law <law@redhat.com>
31743 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31744 uint16_t for elements in the "seen" array to avoid char overflows.
31745 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31746 * elf/dl-open.c (dl_open_worker): Likewise.
31748 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31750 * scripts/list-sources.sh: Scan PORTS for translations.
31751 * po/libc.pot: Regenerated.
31753 2012-06-21 Andreas Jaeger <aj@suse.de>
31756 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31758 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31759 * bits/byteswap-16.h (__bswap_16): Likewise.
31760 * bits/byteswap.h (__bswap_constant_16): Likewise.
31762 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31765 * sysdeps/i386/fpu_control.h: Removed.
31766 * sysdeps/x86_64/fpu_control.h: Moved to ...
31767 * sysdeps/x86/fpu_control.h: Here.
31769 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31770 (_FPU_SETCW): Likewise.
31772 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31775 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31776 * sysdeps/x86/fpu/bits/mathinline.h: This.
31777 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31781 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31782 functions if __x86_64__ is defined.
31784 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31786 * string/endian.h: Add !__ASSEMBLER__ condition for including
31787 conversion interfaces.
31789 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31792 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31793 of ABS(x) in calculating zero to negative powers other than odd
31795 * math/libm-test.inc (pow_test): Add more tests.
31797 2012-06-15 Andreas Jaeger <aj@suse.de>
31799 * manual/contrib.texi (Contributors): Update entry of Liubov
31800 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31803 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31805 * string/string.h: Add __wur to GNU version of strerror_r.
31807 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31810 * string/Makefile (tests): Add tst-strtok_r.
31811 * string/tst-strtok_r.c: New file.
31812 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31813 RAX_LP/RDX_LP on SAVE_PTR.
31815 2012-06-14 Roland McGrath <roland@hack.frob.com>
31817 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31819 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31821 * libm_test.inc (csqrt_test): Allow more spurious underflow
31823 (j0_test): Likewise.
31824 (j1_test): Likewise.
31825 (y0_test): Likewise.
31826 (y1_test): Likewise.
31828 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31830 * po/Makefile (libc.pot): Use UTF-8 charset.
31832 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31835 Suppress sign-conversion warning from FD_SET.
31836 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31837 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31838 not unsigned long int.
31839 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31841 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31845 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31846 __extern_always_inline instead of __extern_inline.
31847 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31848 (__signbit): Likewise.
31849 (__signbitl): Support C++ namespace.
31850 (lrintf): New inline function.
31852 (llrintf): Likewise.
31853 (llrint): Likewise.
31863 (floorf): Likewise.
31864 (nearbyint): Likewise.
31865 (nearbyintf): Likewise.
31867 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31869 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31870 non-default versions.
31872 2012-06-11 Roland McGrath <roland@hack.frob.com>
31875 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31877 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31879 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31880 (FE_UPWARD, FE_DOWNWARD): Don't define.
31881 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31882 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31884 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31886 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31887 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31889 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31891 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31892 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31893 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31894 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31896 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31899 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31900 * sysdeps/i386/fpu/Implies: New file.
31901 * sysdeps/x86_64/fpu/Implies: Likewise.
31902 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31903 * sysdeps/x86/fpu/bits/fenv.h: This.
31905 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31908 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31911 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31912 character 0xffff that matches the last element of the
31915 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31917 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31920 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31922 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31923 values higher than 25.6283.
31925 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31927 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31928 subnormal exponent extraction and add some __builtin_expect.
31929 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31930 Fix for subnormal mantissa calculation.
31932 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31934 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31935 cpu2 is -1 and errno is not ENOSYS.
31937 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31940 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31941 * sysdeps/x86/bits/string.h: This.
31942 * sysdeps/x86_64/bits/string.h: Removed.
31944 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31945 if not compiling for x86-64, but compiling for >= i486.
31947 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31948 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31950 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31951 New macro from Linux kernel 3.4.0.
31952 (FP_XSTATE_MAGIC2): Likewise.
31953 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31954 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31955 (struct _fpx_sw_bytes): New struct.
31956 (struct _xsave_hdr): Likewise.
31957 (struct _ymmh_state): Likewise.
31958 (struct _xstate): Likewise.
31960 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31961 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31962 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31963 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31964 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31965 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31967 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31968 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31969 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31970 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31971 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31972 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31974 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31977 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31978 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31979 (sysdep_headers): Include sys/platform/ppc.h.
31980 * sysdeps/powerpc/test-gettimebase.c: Test for
31981 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31982 * manual/Makefile (appendices): Include platform.texi.
31983 * manual/contrib.texi (Contributors): Update @node pointers.
31984 * manual/maint.texi (Maintenance): Likewise.
31985 (Platform): New node.
31986 * manual/platform.texi: New file. Document the new features.
31988 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31989 Jakub Jelinek <jakub@redhat.com>
31992 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31993 where __builtin_expect is unavailable.
31995 2012-06-03 David S. Miller <davem@davemloft.net>
31997 * stdlib/longlong.h: Updated from GCC.
31999 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32002 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32003 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32006 (GLIBC_2.16): Likewise.
32008 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32010 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32012 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32015 (default-abi): New variable.
32016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32017 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32019 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32021 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32023 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32026 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32027 definition. Document in comment.
32029 2012-06-01 David S. Miller <davem@davemloft.net>
32031 * stdlib/longlong.h: Updated from GCC.
32033 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32036 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32037 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32038 sys/debugreg.h sys/io.h here.
32039 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32040 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32042 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32043 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32044 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32045 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32046 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32047 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32050 Define only if __x86_64__ is defined.
32052 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32055 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32056 Use int64_t for variable i.
32057 * math/libm-test.inc (fmod_test): Add more tests.
32059 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32060 z computation is not scheduled after fetestexcept.
32061 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32062 Use math_force_eval instead of asm to ensure calculation scheduled
32063 before exception test.
32064 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32065 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32067 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32070 computation is not scheduled after fetestexcept.
32072 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32075 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32076 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32078 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32080 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32081 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32083 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32086 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32088 (__WCHAR_MIN): Support __WORDSIZE == 64.
32089 (__WCHAR_MAX): Likewise.
32091 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32092 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32095 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32096 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32099 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32100 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32102 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32103 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32105 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32106 Defined to 1 if __x86_64__ isn't defined.
32107 (_STAT_VER_LINUX_OLD): New.
32108 (st_atime): Remove duplicate.
32109 (st_mtime): Likewise.
32110 (st_ctime): Likewise.
32112 2012-05-31 David S. Miller <davem@davemloft.net>
32114 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32117 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32119 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32123 * elf/dl-reloc.c: Include <_itoa.h>.
32124 (_dl_reloc_bad_type): Remove use of INTUSE.
32125 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32126 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32127 * stdio-common/psiginfo.c (psiginfo): Likewise.
32128 * stdio-common/psignal.c (psignal): Likewise.
32129 * string/strsignal.c (strsignal): Likewise.
32130 * include/signal.h (_sys_siglist): Declare hidden proto.
32131 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32132 INTVARDEF with libc_hidden_data_def.
32133 * stdio-common/itoa-udigits.c: Likewise.
32134 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32135 (_itoa_lower_digits_internal): Remove declaration.
32136 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32137 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32138 (_sys_sigabbrev_internal): Remove aliases.
32139 (_sys_siglist): Define hidden alias.
32141 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32143 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32146 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32150 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32152 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32153 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32154 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32155 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32156 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32157 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32159 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32160 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32161 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32163 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32171 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32172 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32173 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32175 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32176 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32178 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32179 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32180 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32182 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32183 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32185 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32186 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32192 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32193 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32195 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32197 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32198 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32199 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32201 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32203 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32205 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32207 * math/math.h (M_El): Use two more decimal places.
32208 (M_LOG2El): Likewise.
32209 (M_LOG10El): Likewise.
32210 (M_LN2l): Likewise.
32211 (M_LN10l): Likewise.
32213 (M_PI_2l): Likewise.
32214 (M_PI_4l): Likewise.
32215 (M_1_PIl): Likewise.
32216 (M_2_PIl): Likewise.
32217 (M_2_SQRTPIl): Likewise.
32218 (M_SQRT2l): Likewise.
32219 (M_SQRT1_2l): Likewise.
32221 2012-05-31 David S. Miller <davem@davemloft.net>
32223 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32224 values between float registers.
32225 * sysdeps/sparc/sparc64/memset.S: Likewise.
32226 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32228 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32230 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32231 -D_FORTIFY_SOURCE=1.
32232 (CPPFLAGS-tst-longjmp_chk.c): Define.
32233 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32234 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32235 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32236 CFLAGS-tst-wchar-h.c.
32238 2012-05-31 Marek Polacek <polacek@redhat.com>
32241 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32242 __endmntent_internal): Remove declaration.
32243 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32244 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32245 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32247 2012-05-30 David S. Miller <davem@davemloft.net>
32249 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32250 (___Q_simulate_exceptions): Use real FP ops rather than writing
32252 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32255 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32258 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32259 * sysdeps/x86/bits/xtitypes.h: This.
32261 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32262 * sysdeps/x86/bits/wordsize.h: This.
32264 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32265 * sysdeps/x86/bits/huge_vall.h: This.
32267 * sysdeps/i386/bits/select.h: Removed.
32268 * sysdeps/x86_64/bits/select.h: Renamed to ...
32269 * sysdeps/x86/bits/select.h: This.
32271 * sysdeps/i386/bits/setjmp.h: Removed.
32272 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32273 * sysdeps/x86/bits/setjmp.h: This.
32275 * sysdeps/i386/bits/mathdef.h: Removed.
32276 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32277 * sysdeps/x86/bits/mathdef.h: This.
32279 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32282 * include/sys/socket.h (__connect_internal)
32283 (__libc_sa_len_internal): Remove declaration.
32284 (__connect, __libc_sa_len): Declare hidden_proto.
32285 (SA_LEN): Remove use of INTUSE.
32286 * socket/connect.c: Add libc_hidden_def.
32287 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32288 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32289 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32291 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32292 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32293 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32294 of adding _internal alias.
32296 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32299 * sysdeps/i386/bits/link.h: Removed.
32300 * sysdeps/i386/bits/linkmap.h: Likewise.
32301 * sysdeps/x86_64/bits/link.h: Renamed to ...
32302 * sysdeps/x86/bits/link.h: This.
32303 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32304 * sysdeps/x86/bits/linkmap.h: This.
32306 * sysdeps/i386/bits/endian.h: Removed.
32307 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32308 * sysdeps/x86/bits/endian.h: This.
32310 * sysdeps/i386/bits/byteswap.h: Removed.
32311 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32312 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32313 * sysdeps/x86/bits/byteswap.h: This.
32314 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32315 * sysdeps/x86/bits/byteswap-16.h: This.
32316 * sysdeps/i386/Implies: Add x86.
32317 * sysdeps/x86_64/Implies: Likewise.
32319 2012-05-30 David S. Miller <davem@davemloft.net>
32321 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32322 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32323 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32324 (FP_TRAPPING_EXCEPTIONS): Define.
32325 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32326 (FP_TRAPPING_EXCEPTIONS): Define.
32327 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32328 subnormals only when inexact has been signalled or underflow
32329 exceptions are enabled.
32330 (_FP_PACK_CANONICAL): Likewise.
32332 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32335 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32336 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32338 2012-05-30 Richard Henderson <rth@twiddle.net>
32340 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32341 with #ifndef NOT_IN_libc.
32343 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32344 marked to avoid plt entry.
32346 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32349 * Makeconfig (default-abi): New macro.
32350 (abi-includes): Likewise.
32351 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32352 $(abi-$(default-abi)-lib-soname) for soname if defined.
32353 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32355 * Makefile (installed-stubs): Likewise.
32356 * include/stubs-biarch.h: Removed.
32357 * scripts/lib-names.awk: Only handle one library at a time.
32358 * scripts/soversions.awk: Remove WORDSIZE support.
32359 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32361 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32363 (syscall-list-default-condition): Likewise.
32364 (syscall-list-default-condition): Likewise.
32365 (syscall-list-includes): Likewise.
32366 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32367 syscall-list-* with abi-*. Handle undefined abi-variants.
32368 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32369 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32370 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32371 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32372 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32373 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32375 (syscall-list-32-options): Likewise.
32376 (syscall-list-32-condition): Likewise.
32377 (syscall-list-64-options): Likewise.
32378 (syscall-list-64-condition): Likewise.
32379 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32381 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32384 (abi-64-ld-soname): New macro.
32385 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32386 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32389 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32390 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32392 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32394 * sysdeps/unix/sysv/linux/kernel-features.h
32395 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32396 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32397 include <kernel-features.h>.
32398 [!__NR_ftruncate64]: Remove conditional code.
32399 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32400 [__NR_ftruncate64]: Make code unconditional.
32401 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32402 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32403 include <kernel-features.h>.
32404 [!__NR_ftruncate64]: Remove conditional code.
32405 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32406 [__NR_ftruncate64]: Make code unconditional.
32407 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32409 include <kernel-features.h>.
32410 [!__NR_ftruncate64]: Remove conditional code.
32411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32412 [__NR_ftruncate64]: Make code unconditional.
32413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32415 include <kernel-features.h>.
32416 [!__NR_ftruncate64]: Remove conditional code.
32417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32418 [__NR_ftruncate64]: Make code unconditional.
32419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32421 * configure.in (libc_cv_fpie): Weaken to a compile test using
32422 LIBC_TRY_CC_OPTION.
32423 * configure: Regenerated.
32425 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32434 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32440 2012-05-27 David S. Miller <davem@davemloft.net>
32442 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32444 (__Q_simulate_exceptions): Return void. Change to simulate
32445 exceptions by writing into the %fsr.
32446 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32447 (__Qp_handle_exceptions): Likewise.
32449 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32450 __Qp_handle_exceptions.
32451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32452 __Qp_handle_exceptions.
32453 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32454 as unused and give dummy FP_RND_NEAREST initializer.
32455 (FP_INHIBIT_RESULTS): Define.
32456 (___Q_simulate_exceptions): Update declaration.
32457 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32459 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32460 as unused and give dummy FP_RND_NEAREST initializer.
32461 (__Qp_handle_exceptions): Update declaration.
32462 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32465 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32467 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32468 the temporary FPU control word.
32469 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32470 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32471 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32472 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32473 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32475 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32476 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32477 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32478 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32479 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32481 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32483 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32486 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32488 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32489 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32490 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32491 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32493 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32494 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32497 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32499 * po/h.po: Update from translation team.
32501 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32503 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32505 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32506 handling of denormals.
32507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32508 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32509 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32510 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32511 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32513 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32516 2012-05-26 Marek Polacek <polacek@redhat.com>
32519 * math/libm-test.inc (fma_test): Don't always expect underflow
32522 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32525 * elf/tst-execstack.c: Include stackinfo.h.
32526 (do_test): Adjust test case to ensure that pthread_getattr_np
32527 behaviour remains the same after marking stack executable.
32529 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32531 * sysdeps/unix/sysv/linux/kernel-features.h
32532 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32533 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32535 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32536 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32537 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32539 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32540 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32542 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32544 * configure.in: Define the default includes to being none.
32545 * configure: Regenerated.
32547 2012-05-25 Roland McGrath <roland@hack.frob.com>
32549 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32550 * sysdeps/x86_64/setjmp.S: Likewise.
32551 * sysdeps/i386/bsd-setjmp.S: Likewise.
32552 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32553 * sysdeps/i386/setjmp.S: Likewise.
32554 * sysdeps/i386/__longjmp.S: Likewise.
32555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32556 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32558 * include/stap-probe.h: New file.
32559 * configure.in: Handle --enable-systemtap.
32560 * configure: Regenerated.
32561 * config.h.in (USE_STAP_PROBE): New #undef.
32562 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32563 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32564 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32566 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32569 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32570 to 2.4.0 where earlier.
32571 * sysdeps/unix/sysv/linux/configure: Regenerated.
32572 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32573 <kernel-features.h>.
32574 [__ASSUME_32BITUIDS]: Make code unconditional.
32575 [!__ASSUME_32BITUIDS]: Remove conditional code.
32576 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32577 <kernel-features.h>.
32578 [__ASSUME_32BITUIDS]: Make code unconditional.
32579 [!__ASSUME_32BITUIDS]: Remove conditional code.
32580 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32581 [__ASSUME_32BITUIDS]: Make code unconditional.
32582 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32583 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32584 <kernel-features.h>.
32585 [__ASSUME_32BITUIDS]: Make code unconditional.
32586 [!__ASSUME_32BITUIDS]: Remove conditional code.
32587 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32588 <kernel-features.h>.
32589 [__ASSUME_32BITUIDS]: Make code unconditional.
32590 [!__ASSUME_32BITUIDS]: Remove conditional code.
32591 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32592 <kernel-features.h>.
32593 [__ASSUME_32BITUIDS]: Make code unconditional.
32594 [!__ASSUME_32BITUIDS]: Remove conditional code.
32595 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32596 <kernel-features.h>.
32597 [__ASSUME_32BITUIDS]: Make code unconditional.
32598 [!__ASSUME_32BITUIDS]: Remove conditional code.
32599 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32600 <kernel-features.h>.
32601 [__ASSUME_32BITUIDS]: Make code unconditional.
32602 [!__ASSUME_32BITUIDS]: Remove conditional code.
32603 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32604 <kernel-features.h>.
32605 [__ASSUME_32BITUIDS]: Make code unconditional.
32606 [!__ASSUME_32BITUIDS]: Remove conditional code.
32607 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32608 <kernel-features.h>.
32609 [__ASSUME_32BITUIDS]: Make code unconditional.
32610 [!__ASSUME_32BITUIDS]: Remove conditional code.
32611 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32612 <kernel-features.h>.
32613 [__ASSUME_32BITUIDS]: Make code unconditional.
32614 [!__ASSUME_32BITUIDS]: Remove conditional code.
32615 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32616 <kernel-features.h>.
32617 [__ASSUME_32BITUIDS]: Make code unconditional.
32618 [!__ASSUME_32BITUIDS]: Remove conditional code.
32619 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32620 <kernel-features.h>.
32621 [__ASSUME_32BITUIDS]: Make code unconditional.
32622 [!__ASSUME_32BITUIDS]: Remove conditional code.
32623 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32624 <kernel-features.h>.
32625 [__NR_setresgid] (__setresgid): Do not declare.
32626 [__ASSUME_32BITUIDS]: Make code unconditional.
32627 [!__ASSUME_32BITUIDS]: Remove conditional code.
32628 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32629 <kernel-features.h>.
32630 [__NR_setresuid] (__setresuid): Do not declare.
32631 [__ASSUME_32BITUIDS]: Make code unconditional.
32632 [!__ASSUME_32BITUIDS]: Remove conditional code.
32633 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32634 <kernel-features.h>.
32635 [__ASSUME_32BITUIDS]: Make code unconditional.
32636 [!__ASSUME_32BITUIDS]: Remove conditional code.
32637 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32638 <kernel-features.h>.
32639 [__ASSUME_32BITUIDS]: Make code unconditional.
32640 [!__ASSUME_32BITUIDS]: Remove conditional code.
32641 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32642 <kernel-features.h>.
32643 [__ASSUME_32BITUIDS]: Make code unconditional.
32644 [!__ASSUME_32BITUIDS]: Remove conditional code.
32645 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32646 <kernel-features.h>.
32647 [__ASSUME_32BITUIDS]: Make code unconditional.
32648 [!__ASSUME_32BITUIDS]: Remove conditional code.
32649 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32650 <kernel-features.h>.
32651 [__ASSUME_32BITUIDS]: Make code unconditional.
32652 [!__ASSUME_32BITUIDS]: Remove conditional code.
32653 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32654 <kernel-features.h>.
32655 [__ASSUME_32BITUIDS]: Make code unconditional.
32656 [!__ASSUME_32BITUIDS]: Remove conditional code.
32657 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32658 <kernel-features.h>.
32659 [__ASSUME_32BITUIDS]: Make code unconditional.
32660 [!__ASSUME_32BITUIDS]: Remove conditional code.
32661 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32662 <kernel-features.h>.
32663 [__ASSUME_32BITUIDS]: Make code unconditional.
32664 [!__ASSUME_32BITUIDS]: Remove conditional code.
32665 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32666 <kernel-features.h>.
32667 [__ASSUME_32BITUIDS]: Make code unconditional.
32668 [!__ASSUME_32BITUIDS]: Remove conditional code.
32669 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32670 <kernel-features.h>.
32671 [__ASSUME_32BITUIDS]: Make code unconditional.
32672 [!__ASSUME_32BITUIDS]: Remove conditional code.
32673 * sysdeps/unix/sysv/linux/kernel-features.h
32674 (__ASSUME_SETRESUID_SYSCALL): Remove.
32675 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32676 (__ASSUME_32BITUIDS): Likewise.
32677 (__ASSUME_LDT_WORKS): Likewise.
32678 (__ASSUME_O_DIRECTORY): Likewise.
32679 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32680 architecture but not kernel version.
32681 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32682 (__ASSUME_MMAP2_SYSCALL): Likewise.
32683 (__ASSUME_STAT64_SYSCALL): Likewise.
32684 (__ASSUME_IPC64): Likewise.
32685 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32686 <kernel-features.h>.
32687 [__ASSUME_32BITUIDS]: Make code unconditional.
32688 [!__ASSUME_32BITUIDS]: Remove conditional code.
32689 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32690 <kernel-features.h>.
32691 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32692 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32693 132096]: Remove conditional code.
32694 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32695 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32696 <kernel-features.h>.
32697 [__ASSUME_32BITUIDS]: Make code unconditional.
32698 [!__ASSUME_32BITUIDS]: Remove conditional code.
32699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32700 <kernel-features.h>.
32701 [__ASSUME_32BITUIDS]: Make code unconditional.
32702 [!__ASSUME_32BITUIDS]: Remove conditional code.
32703 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32704 <kernel-features.h>.
32705 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32707 (__setresgid): Do not declare.
32708 [__ASSUME_32BITUIDS]: Make code unconditional.
32709 [!__ASSUME_32BITUIDS]: Remove conditional code.
32710 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32711 <kernel-features.h>.
32712 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32714 (__setresuid): Do not declare.
32715 [__ASSUME_32BITUIDS]: Make code unconditional.
32716 [!__ASSUME_32BITUIDS]: Remove conditional code.
32717 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32718 <kernel-features.h>.
32719 [__ASSUME_32BITUIDS]: Make code unconditional.
32720 [!__ASSUME_32BITUIDS]: Remove conditional code.
32721 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32722 <kernel-features.h>.
32723 [__ASSUME_32BITUIDS]: Make code unconditional.
32724 [!__ASSUME_32BITUIDS]: Remove conditional code.
32726 2012-05-25 Richard Henderson <rth@twiddle.net>
32728 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32729 dl_hwcap to ifunc resolver.
32730 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32732 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32733 dl_hwcap to ifunc resolver.
32734 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32736 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32739 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32740 for |x| <= 2**-26, not 2**-57.
32741 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32744 2012-05-24 Jeff Law <law@redhat.com>
32746 * stdio-common/Makefile (tests): Add bug25.
32747 * stdio-common/bug25.c: New test.
32749 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32752 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32753 multiple of MALLOC_ALIGNMENT in size.
32754 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32756 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32758 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32760 (FILENAME_MAX): Use macro-int-constant.
32761 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32762 (_IOFBF): Use macro-int-constant.
32763 (_IOLBF): Likewise.
32764 (_IONBF): Likewise.
32765 (SEEK_CUR): Likewise.
32766 (SEEK_END): Likewise.
32767 (SEEK_SET): Likewise.
32768 (TMP_MAX): Likewise.
32769 (EOF): Use macro-int-constant. Require < 0.
32770 (NULL): Use macro-constant. Require == 0.
32771 (stdin): Require type to be FILE *.
32772 (stdout): Likewise.
32773 (stderr): Likewise.
32774 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32775 macro-int-constant.
32776 (EXIT_SUCCESS): Likewise.
32777 (NULL): Use macro-constant. Require == 0.
32778 (RAND_MAX): Use macro-int-constant.
32779 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32780 [C99-based standards] (strtof): Require function.
32781 [C99-based standards] (strtold): Likewise.
32782 [C99-based standards] (strtoll): Likewise.
32783 [C99-based standards] (strtoull): Likewise.
32784 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32785 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32786 [ISO || ISO99 || ISO11] (math.h): Likewise.
32787 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32788 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32791 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32794 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32795 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32796 * intl/dgettext.c (DCGETTEXT): Likewise.
32797 * intl/gettext.c (DCGETTEXT): Likewise.
32798 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32799 * posix/regex_internal.h (gettext): Likewise.
32800 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32801 Remove declaration.
32802 * include/argz.h (__argz_count_internal)
32803 (__argz_stringify_internal): Remove declaration.
32804 (__argz_count, __argz_stringify): Declare hidden proto.
32805 * intl/dcgettext.c: Remove use of INTDEF.
32806 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32807 * string/argz-stringify.c: Likewise.
32808 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32809 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32810 Declare hidden proto.
32811 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32812 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32813 Declare hidden proto.
32814 * include/stdio.h (__asprintf_internal): Don't declare.
32815 (__asprintf): Don't define as macro. Declare hidden proto.
32816 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32817 (__fsetlocking): Declare hidden proto.
32818 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32819 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32821 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32822 (_IO_setlinebuf): Remove use of INTUSE.
32823 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32824 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32825 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32826 Remove declaration.
32827 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32828 (_IO_do_flush): Remove use of INTUSE.
32829 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32830 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32831 (_IO_adjust_column, _IO_least_wmarker)
32832 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32833 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32834 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32835 (_IO_default_doallocate, _IO_wdefault_doallocate)
32836 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32837 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32838 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32839 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32840 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32841 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32842 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32843 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32844 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32845 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32846 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32847 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32848 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32850 (_IO_flush_all_internal, _IO_adjust_column_internal)
32851 (_IO_default_uflow_internal, _IO_default_finish_internal)
32852 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32853 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32854 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32855 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32856 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32857 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32858 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32859 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32860 (_IO_file_close_internal, _IO_file_close_it_internal)
32861 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32862 (_IO_file_init_internal, _IO_file_attach_internal)
32863 (_IO_file_fopen_internal, _IO_file_read_internal)
32864 (_IO_file_sync_internal, _IO_file_seek_internal)
32865 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32866 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32867 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32868 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32869 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32870 (_IO_list_all_internal, _IO_link_in_internal)
32871 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32872 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32873 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32874 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32875 (_IO_do_write_internal, _IO_padn_internal)
32876 (_IO_getline_info_internal, _IO_getline_internal)
32877 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32878 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32879 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32880 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32881 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32882 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32883 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32884 with libc_hidden_ver, remove use of INTUSE.
32885 * libio/genops.c: Likewise.
32886 * libio/freopen.c: Likewise.
32887 * libio/freopen64.c: Likewise.
32888 * libio/iofclose.c: Likewise.
32889 * libio/iofdopen.c: Likewise.
32890 * libio/iofflush.c: Likewise.
32891 * libio/iofflush_u.c: Likewise.
32892 * libio/iofgets.c: Likewise.
32893 * libio/iofgets_u.c: Likewise.
32894 * libio/iofopen.c: Likewise.
32895 * libio/iofopncook.c: Likewise.
32896 * libio/iofread.c: Likewise.
32897 * libio/iofread_u.c: Likewise.
32898 * libio/ioftell.c: Likewise.
32899 * libio/iofwrite.c: Likewise.
32900 * libio/iogetline.c: Likewise.
32901 * libio/iogets.c: Likewise.
32902 * libio/iogetwline.c: Likewise.
32903 * libio/iopadn.c: Likewise.
32904 * libio/iopopen.c: Likewise.
32905 * libio/ioseekoff.c: Likewise.
32906 * libio/ioseekpos.c: Likewise.
32907 * libio/iosetbuffer.c: Likewise.
32908 * libio/iosetvbuf.c: Likewise.
32909 * libio/ioungetc.c: Likewise.
32910 * libio/ioungetwc.c: Likewise.
32911 * libio/iovdprintf.c: Likewise.
32912 * libio/iovsprintf.c: Likewise.
32913 * libio/iovsscanf.c: Likewise.
32914 * libio/memstream.c: Likewise.
32915 * libio/obprintf.c: Likewise.
32916 * libio/oldfileops.c: Likewise.
32917 * libio/oldiofclose.c: Likewise.
32918 * libio/oldiofdopen.c: Likewise.
32919 * libio/oldiofopen.c: Likewise.
32920 * libio/oldiopopen.c: Likewise.
32921 * libio/oldstdfiles.c: Likewise.
32922 * libio/putc.c: Likewise.
32923 * libio/setbuf.c: Likewise.
32924 * libio/setlinebuf.c: Likewise.
32925 * libio/stdfiles.c: Likewise.
32926 * libio/strops.c: Likewise.
32927 * libio/vasprintf.c: Likewise.
32928 * libio/vscanf.c: Likewise.
32929 * libio/vsnprintf.c: Likewise.
32930 * libio/vswprintf.c: Likewise.
32931 * libio/wfiledoalloc.c: Likewise.
32932 * libio/wfileops.c: Likewise.
32933 * libio/wgenops.c: Likewise.
32934 * libio/wmemstream.c: Likewise.
32935 * libio/wstrops.c: Likewise.
32936 * libio/__fpurge.c: Likewise.
32937 * libio/__fsetlocking.c: Likewise.
32938 * assert/assert.c: Likewise.
32939 * debug/fgets_chk.c: Likewise.
32940 * debug/fgets_u_chk.c: Likewise.
32941 * debug/fread_chk.c: Likewise.
32942 * debug/fread_u_chk.c: Likewise.
32943 * debug/gets_chk.c: Likewise.
32944 * debug/obprintf_chk.c: Likewise.
32945 * debug/vasprintf_chk.c: Likewise.
32946 * debug/vdprintf_chk.c: Likewise.
32947 * debug/vsnprintf_chk.c: Likewise.
32948 * debug/vsprintf_chk.c: Likewise.
32949 * malloc/mtrace.c: Likewise.
32950 * misc/error.c: Likewise.
32951 * misc/syslog.c: Likewise.
32952 * stdio-common/asprintf.c: Likewise.
32953 * stdio-common/fxprintf.c: Likewise.
32954 * stdio-common/getw.c: Likewise.
32955 * stdio-common/isoc99_fscanf.c: Likewise.
32956 * stdio-common/isoc99_scanf.c: Likewise.
32957 * stdio-common/isoc99_vfscanf.c: Likewise.
32958 * stdio-common/isoc99_vscanf.c: Likewise.
32959 * stdio-common/isoc99_vsscanf.c: Likewise.
32960 * stdio-common/printf-prs.c: Likewise.
32961 * stdio-common/printf_fp.c: Likewise.
32962 * stdio-common/printf_fphex.c: Likewise.
32963 * stdio-common/printf_size.c: Likewise.
32964 * stdio-common/putw.c: Likewise.
32965 * stdio-common/scanf.c: Likewise.
32966 * stdio-common/sprintf.c: Likewise.
32967 * stdio-common/tmpfile.c: Likewise.
32968 * stdio-common/vfprintf.c: Likewise.
32969 * stdio-common/vfscanf.c: Likewise.
32970 * stdlib/strfmon_l.c: Likewise.
32971 * sunrpc/openchild.c: Likewise.
32972 * sunrpc/xdr_stdio.c: Likewise.
32973 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32974 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32976 2012-05-24 Roland McGrath <roland@hack.frob.com>
32978 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32980 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32981 in the third column, to generate for the shared library an IFUNC
32982 that uses _dl_vdso_vsym.
32983 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32984 * Makeconfig (object-suffixes-noshared): New variable.
32986 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32987 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32988 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32989 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32992 * include/sys/time.h (__gettimeofday): Remove macro.
32993 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32994 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32996 (__gettimeofday): Add libc_hidden_def.
32997 (gettimeofday): Add libc_hidden_weak.
32998 * sysdeps/mach/gettimeofday.c: Likewise.
32999 * sysdeps/posix/gettimeofday.c: Likewise.
33000 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33001 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33003 (__gettimeofday_internal): Remove strong_alias.
33004 (__gettimeofday): Add libc_hidden_def.
33005 (gettimeofday): Add libc_hidden_weak.
33006 * sysdeps/unix/syscalls.list (gettimeofday):
33007 Remove __gettimeofday_internal alias.
33009 2012-05-24 Daniel Jacobowitz <drow@false.org>
33010 H.J. Lu <hongjiu.lu@intel.com>
33013 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33014 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33015 (largebin_index_32_big): New.
33016 (largebin_index): Use it for 16-byte alignment.
33017 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33018 correction with front_misalign.
33020 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33048 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33049 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33051 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33055 * math/libm-test.inc (exp_test): Add test from bug 14036.
33056 (pow_test): Add test from bug 10846.
33058 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33060 (special_function): Do not include flags in test name.
33061 (parse_args): Likewise.
33062 * sysdeps/i386/fpu/libm-test-ulps: Update.
33063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33064 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33065 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33068 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33070 * math/libm-test.inc ("Philosophy"): Update comment about
33072 (UNDERFLOW_EXCEPTION): New macro.
33073 (UNDERFLOW_EXCEPTION_OK): Likewise.
33074 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33075 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33076 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33077 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33078 (INVALID_EXCEPTION_OK): Update value.
33079 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33080 (OVERFLOW_EXCEPTION_OK): Likewise.
33081 (IGNORE_ZERO_INF_SIGN): Likewise.
33082 (test_exceptions): Handle underflow exceptions.
33083 (acos_test): Update for underflow exception expectations.
33084 (cexp_test): Likewise.
33085 (clog_test): Likewise.
33086 (clog10_test): Likewise.
33087 (csqrt_test): Likewise.
33088 (ctan_test): Likewise.
33089 (ctanh_test): Likewise.
33090 (exp_test): Likewise.
33091 (exp10_test): Likewise.
33092 (exp2_test): Likewise.
33093 (expm1_test): Likewise.
33094 (fma_test): Likewise.
33095 (j0_test): Likewise.
33096 (jn_test): Likewise.
33097 (nexttoward_test): Likewise.
33098 (pow_test): Likewise.
33099 (scalbn_test): Likewise.
33100 (scalbln_test): Likewise.
33101 (tan_test): Likewise.
33102 (y1_test): Likewise.
33103 * sysdeps/i386/fpu/libm-test-ulps: Update.
33104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33106 2012-05-23 David S. Miller <davem@davemloft.net>
33108 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33109 (__libc_sigaction): Remove unused local variables.
33111 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33113 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33115 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33117 mktime: avoid signed integer overflow
33118 * time/mktime.c (__mktime_internal): Do not mishandle the case
33119 where diff == INT_MIN.
33121 mktime: simplify computation of average
33122 * time/mktime.c (ranged_convert): Use new time_t_avg function
33123 instead of rolling our own (probably-slower) code.
33125 mktime: do not assume signed right shift propagates sign bit
33126 * time/mktime.c (isdst_differ): New static function.
33127 (__mktime_internal): No need to normalize tm_isdst now.
33128 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33131 mktime: merge another wrapv change from gnulib
33132 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33133 from some compilers.
33135 mktime: remove incorrect attempt at unusual arithmetics
33136 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33137 The code didn't really work on such machines anyway.
33138 (TYPE_MINIMUM): Assume two's complement.
33139 (twos_complement_arithmetic): Verify that long_int and time_t
33140 are two's complement (or unsigned, in the latter case).
33142 mktime: check signed shifts on long_int and time_t, too
33143 * time/mktime.c (SHR): Check that shifts work as desired
33144 on the types long_int and time_t too, as SHR is used on
33147 mktime: do not assume 'long' is wide enough
33148 * time/mktime.c (verify): Move decl up.
33149 (long_int): New type.
33150 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33151 to remove assumption in the code that 'long' is wide enough to
33152 store year values. This assumption is not true on x32 and on
33153 some non-glibc platforms.
33155 mktime: merge wrapv change from gnulib
33156 * time/mktime.c (WRAPV): New macro.
33157 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33158 (guess_time_tm, __mktime_internal): Do not assume that signed
33159 integer overflow wraps around; modern compilers generate code
33160 where this assumption is no longer valid.
33162 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33164 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33165 Replace "jmp L(pseudo_end)" with "ret".
33166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33169 2012-05-23 Andreas Jaeger <aj@suse.de>
33171 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33172 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33174 2012-05-23 Andreas Jaeger <aj@suse.de>
33175 Maximilian Attems <max@stro.at>
33177 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33180 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33183 code so that pseudo_end is just ret and the stack pointer is
33184 correct also for static library in error case.
33186 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33188 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33189 move to syscalls.list.
33190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33195 * manual/install.texi (Running make install): Do not mention Linux
33196 kernel version for which pt_chown is not needed.
33197 (Linux): Do not mention problems with nscd with 2.0 kernels.
33198 * INSTALL: Regenerated.
33200 2012-05-23 Andreas Jaeger <aj@suse.de>
33202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33203 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33205 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33206 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33207 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33208 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33209 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33210 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33211 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33213 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33215 * sysdeps/unix/sysv/linux/bits/in.h
33216 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33218 2012-05-22 Roland McGrath <roland@hack.frob.com>
33220 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33221 (PREPARE_VERSION): Just use assert instead, it will be elided
33222 under [NDEBUG] anyway.
33224 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33226 * sysdeps/unix/sysv/linux/Makefile: Include
33227 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33228 (sysdep_routines): Remove sysctl.
33229 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33230 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33231 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33232 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33233 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33235 2012-05-22 Andreas Jaeger <aj@suse.de>
33237 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33238 that pseudo_end is just ret and the stack pointer is correct also
33239 for static library in error case.
33241 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33244 * nss/nsswitch.c (defconfig_entries): New variable.
33245 (__nss_database_lookup): Don't leak defconfig entries.
33246 (nss_parse_service_list): Don't leak on error paths.
33247 (free_database_entries): New function.
33248 (free_defconfig): New function.
33249 (free_mem): Move common code to free_database_entries.
33251 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33255 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33257 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33258 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33261 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33262 (INTERNAL_SYSCALL_TYPES): Likewise.
33263 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33264 (LOAD_REGS_TYPES_[1-6]): Likewise.
33265 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33266 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33268 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33270 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33271 copysignl for GLIBC_2_0.
33272 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33273 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33275 logbl for GLIBC_2_0.
33276 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33277 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33279 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33284 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33287 * time/mktime.c: Update copyright years.
33289 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33291 mktime: merge comment-quoting-style change from gnulib
33292 * time/mktime.c: Quote 'like this' in comments.
33293 The GNU coding standards suggest that we no longer quote `like this',
33294 as "`" and "'" are typically rendered asymmetrically nowadays.
33295 The typical gnulib style is to quote 'like this' when quoting
33296 code, and "like this" when quoting English.
33298 * time/mktime.c (compile-command): Add "-I.".
33300 mktime: merge mktime-internal.h change from gnulib
33301 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33303 mktime: merge time_r change from gnulib
33304 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33306 mktime: merge DEBUG change from gnulib
33307 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33308 case system <time.h> has a #define.
33310 mktime: merge <sys/types.h> change from gnulib
33311 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33312 since <time.t> is now guaranteed to define time_t.
33314 mktime: merge HAVE_CONFIG_H change from gnulib
33315 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33317 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33319 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33322 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33324 (struct rusage): Use anonymous union to pad each field to
33327 2012-05-21 David S. Miller <davem@davemloft.net>
33329 * Makefules (o-iterator): Remove .s cases.
33330 (compile-command.s): Delete.
33331 (COMPILE.s): Delete.
33332 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33334 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33336 * configure.in (libc_cv_predef_stack_protector): Only consider
33337 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33338 * configure: Regenerated.
33340 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33342 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33343 New macro. Use R*LP on int and pointer.
33344 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33345 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33346 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33347 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33349 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33350 [__WORDSIZE_TIME64_COMPAT32] instead of
33351 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33352 (struct utmp): Likewise.
33353 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33354 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33356 (__WORDSIZE_TIME64_COMPAT32): This.
33357 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33358 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33359 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33360 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33361 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33362 (__WORDSIZE_TIME64_COMPAT32): New macro.
33364 2012-05-21 Andreas Jaeger <aj@suse.de>
33366 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33367 only if [SHARED]. Add prototype for __wcschr_ia32.
33369 2012-05-21 Roland McGrath <roland@hack.frob.com>
33371 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33372 of %rbp unmolested in the jmp_buf while mangling the low bits.
33373 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33374 unmolested high bits of %rbp while demangling the low bits.
33375 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33377 2012-05-21 Andreas Jaeger <aj@suse.de>
33379 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33380 * sunrpc/svc_simple.c: Use it for registerrpc.
33381 * sunrpc/xcrypt.c: Use it for passwd2des.
33383 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33385 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33387 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33388 Don't define if [__SYSCALL_WORDSIZE != 32].
33389 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33392 2012-05-21 Bruno Haible <bruno@clisp.org>
33393 Andreas Jaeger <aj@suse.de>
33395 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33396 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33397 inptr and inend for must_buffer_ch.
33398 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33399 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33400 * stdio-common/Makefile (tests): Remove bug15.
33401 (bug15-ENV): Remove macro.
33402 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33405 2012-05-19 Andreas Jaeger <aj@suse.de>
33406 Roland McGrath <roland@hack.frob.com>
33408 * manual/contrib.texi: Completely rewritten. It contains now an
33409 alphabetical list of contributors and their contributions.
33411 2012-05-21 Richard Henderson <rth@twiddle.net>
33413 * misc/getauxval.c (__getauxval): Use unsigned long int.
33414 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33415 (getauxval): Use unsigned long int.
33417 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33419 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33421 2012-05-21 Roland McGrath <roland@hack.frob.com>
33423 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33424 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33425 __alignof__ (long double).
33427 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33431 2012-05-20 Richard Henderson <rth@twiddle.net>
33433 * misc/getauxval.c: New file.
33434 * misc/sys/auxv.h: New file.
33435 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33436 (routines): Add getauxval.
33437 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33438 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33439 * elf/dl-sysdep.c (_dl_auxv): Remove.
33440 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33441 * elf/dl-support.c (_dl_auxv): New variable.
33442 (_dl_aux_init): Initialize it.
33443 * manual/startup.texi (Auxiliary Vector): New node.
33444 * sysdeps/generic/bits/hwcap.h: New file.
33445 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33446 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33447 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33448 * sysdeps/sparc/sysdep.h: ... here. Include it.
33449 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33456 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33462 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33466 2012-05-19 David S. Miller <davem@davemloft.net>
33468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33470 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33473 * math/s_ccosh.c: Include <float.h>
33474 (__ccosh): Avoid internal overflow calculating sinh and cosh
33475 values before multiplying by sin and cos values.
33476 * math/s_ccoshf.c: Likewise.
33477 * math/s_ccoshl.c: Likewise.
33478 * math/s_csin.c: Likewise.
33479 * math/s_csinf.c: Likewise.
33480 * math/s_csinl.c: Likewise.
33481 * math/s_csinh.c: Likewise.
33482 * math/s_csinhf.c: Likewise.
33483 * math/s_csinhl.c: Likewise.
33484 * math/libm-test.inc (ccos_test): Add more tests.
33485 (ccosh_test): Likewise.
33486 (csin_test): Likewise.
33487 (csinh_test): Likewise.
33488 * sysdeps/i386/fpu/libm-test-ulps: Update.
33489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33491 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33493 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33494 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33496 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33498 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33500 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33501 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33502 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33503 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33504 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33505 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33506 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33507 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33508 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33509 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33510 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33511 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33512 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33513 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33514 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33515 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33516 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33517 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33518 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33519 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33520 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33521 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33522 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33523 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33524 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33525 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33526 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33527 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33528 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33529 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33530 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33532 2012-05-18 Andreas Jaeger <aj@suse.de>
33534 * csu/.gitignore: Delete.
33536 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33538 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33539 (timex): Use __syscall_slong_t.
33541 2012-05-18 Andreas Jaeger <aj@suse.de>
33542 Carlos O'Donell <carlos_odonell@mentor.com>
33544 * manual/install.texi (Configuring and compiling): Update
33545 description about files modified in the source directory.
33546 * INSTALL: Regenerated.
33548 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33550 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33551 value. Use "or" to set return value to -1.
33552 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33553 negate return value.
33555 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33557 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33558 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33559 failure if the compiler has Graphite support disabled.
33560 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33562 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33563 (CFLAGS-memmove.c): Likewise.
33564 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33567 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33569 * sysdeps/x86_64/x32/_itoa.h: New file.
33571 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33572 getdents system call only if kernel and user dirents have the
33573 same d_ino and d_off.
33575 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33576 LLONG_MAX != LONG_MAX.
33577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33578 (_fitoa_word): Likewise.
33580 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33582 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33583 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33584 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33586 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33587 include <bits/wordsize.h>. Check __x86_64__ instead of
33589 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33590 if __x86_64__ is defined. Use anonymous union on fpstate.
33592 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33595 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33597 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33598 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33599 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33600 Refer to _rtld_local_ro instead of _rtld_global_ro.
33601 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33603 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33605 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33607 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33608 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33609 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33611 * sysdeps/powerpc/powerpc32/dl-machine.c
33612 (__elf_machine_runtime_setup) [PROF]: Don't reference
33615 2012-05-18 Andreas Jaeger <aj@suse.de>
33617 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33618 function only available for GCCs before 3.4 since GCC 3.4
33619 introduced a builtin.
33621 (llrintf): Likewise.
33622 (llrint): Likewise.
33629 (nearbyint): Likewise.
33630 (nearbyintf): Likewise.
33634 (floorf): Likewise.
33636 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33638 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33639 on both fields and cast pointer to __syscall_ulong_t.
33641 * bits/types.h (__fsword_t): New type.
33642 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33643 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33645 (__FSWORD_T_TYPE): Likewise.
33646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33647 (__FSWORD_T_TYPE): Likewise.
33648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33649 (__FSWORD_T_TYPE): Likewise.
33650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33651 (__FSWORD_T_TYPE): Likewise.
33652 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33653 __SWORD_TYPE with __fsword_t.
33654 (statfs64): Likewise.
33656 2012-05-17 David S. Miller <davem@davemloft.net>
33658 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33660 2012-05-17 Andreas Jaeger <aj@suse.de>
33662 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33665 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33667 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33669 2012-05-17 Andreas Jaeger <aj@suse.de>
33671 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33674 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33676 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33678 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33680 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33681 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33683 2012-05-17 Andreas Jaeger <aj@suse.de>
33684 Carlos O'Donell <carlos_odonell@mentor.com>
33687 * sysdeps/x86_64/multiarch/init-arch.h
33688 (bit_YMM_Usable): Rename to...
33689 (bit_AVX_Usable): ... this.
33690 (bit_FMA4_Usable): New macro.
33691 (bit_XMM_state): New macro.
33692 (bit_YMM_state): New macro.
33693 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33694 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33695 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33696 (CPUID_OSXSAVE): New macro.
33697 (CPUID_AVX): New macro.
33698 (CPUID_FMA4): New macro.
33699 (index_YMM_Usable): Rename to...
33700 (index_AVX_Usable): ... this.
33701 (HAS_AVX): Use HAS_ARCH_FEATURE.
33702 (HAS_FMA4): Likewise.
33703 (HAS_YMM_USABLE): Remove.
33704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33705 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33707 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33708 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33709 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33710 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33711 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33713 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33715 * math/libm-test.c: Support platforms without multiple rounding modes.
33716 * math/bug-nextafter.c: Support platforms without FP exceptions.
33717 * math/bug-nexttoward.c: Likewise.
33718 * math/test-fenv.c: Likewise.
33719 * math/test-misc.c: Likewise.
33720 * stdlib/bug-getcontext.c: Likewise.
33722 2012-05-17 Andreas Jaeger <aj@suse.de>
33724 * manual/examples/search.c (critter_cmp): Change signature to
33726 * manual/string.texi (Collation Functions): Likewise.
33728 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33730 * bits/types.h: Fold copyright years.
33731 * bits/typesizes.h: Likewise.
33732 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33733 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33734 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33736 * time/time.h: Likewise.
33738 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33741 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33742 in instead of returning them. Return void.
33743 (__libc_mallinfo): Accumulate over all arenas.
33744 (__malloc_stats): Adjust for change in int_mallinfo interface.
33746 2012-05-16 Roland McGrath <roland@hack.frob.com>
33749 * configure.in (NM): Add AC_CHECK_TOOL for it.
33750 (libc_extra_cflags): New substituted variable.
33751 Check for -fstack-protector being used implicitly.
33752 * configure: Regenerated.
33753 * config.make.in (config-extra-cflags): New variable,
33754 gets @libc_extra_cflags@.
33755 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33758 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33759 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33760 * configure: Regenerated.
33761 * config.make.in (CPPUNDEFS): New substituted variable.
33762 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33763 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33764 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33766 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33768 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33769 (mq_attr): Use __syscall_slong_t.
33771 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33773 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33774 Check __x86_64__ instead of __WORDSIZE.
33775 (_STAT_VER_LINUX): Likewise.
33776 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33777 __syscall_ulong_t and __syscall_slong_t.
33778 (stat64): Likewise.
33780 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33782 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33784 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33786 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33788 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33790 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33793 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33794 include <bits/wordsize.h>. Check __x86_64__ instead of
33796 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33798 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33800 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33801 include <bits/wordsize.h>. Check __x86_64__ instead of
33803 (user_regs_struct): Use "__extension__ unsigned long long"
33804 instead of "unsigned long" if __x86_64__ is defined.
33805 (user): Likewise. Pad after pointer field if __ILP32__ is
33808 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33810 * configure.in (makeinfo): Require version 4.5 or later. Allow
33812 * configure: Regenerated.
33813 * manual/install.texi (texinfo): Increase version requirement to
33815 * INSTALL: Regenerated.
33817 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33819 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33821 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33823 * sysdeps/x86_64/x32/ffs.c: New file.
33825 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33827 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33828 defined. Use __syscall_ulong_t.
33829 (shminfo): Use __syscall_ulong_t.
33830 (shm_info): Likewise.
33832 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33835 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33837 (msgqnum_t): Use __syscall_ulong_t.
33838 (msglen_t): Likewise.
33839 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33842 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33843 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33845 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33847 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33848 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33850 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33853 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33854 include <bits/wordsize.h>. Check __x86_64__ instead of
33857 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33858 "unsigned long long int" if __x86_64__ is defined.
33859 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33861 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33862 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33863 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33865 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33867 (GET_PC): Cast to uintptr_t first.
33868 (GET_FRAME): Likewise.
33869 (GET_STACK): Likewise.
33871 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33872 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33873 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33874 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33875 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33876 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33877 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33878 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33879 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33880 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33881 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33883 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33884 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33885 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33886 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33888 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33889 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33890 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33891 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33892 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33893 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33894 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33897 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33898 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33899 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33901 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33903 * Makerules (+depfiles): Also collect depfiles from .oS in
33905 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33906 .oS, $(libnldbl-routines)).
33908 * Makerules (native-compile-mkdep-flags): Define.
33909 * sunrpc/Makefile (extra-objs): Add $(addprefix
33910 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33911 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33912 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33913 calling $(make-target-directory).
33915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33917 * bits/types.h (__snseconds_t): Removed.
33918 * time/time.h (struct timespec): Replace __snseconds_t with
33920 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33921 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33923 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33924 (__SNSECONDS_T_TYPE): Likewise.
33925 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33926 (__SNSECONDS_T_TYPE): Likewise.
33927 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33928 (__SNSECONDS_T_TYPE): Likewise.
33930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33932 * sysdeps/mach/hurd/bits/typesizes.h
33933 (__SYSCALL_SLONG_TYPE): New macro.
33934 (__SYSCALL_ULONG_TYPE): Likewise.
33936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33938 * bits/types.h (__syscall_slong_t): New type.
33939 (__syscall_ulong_t): Likewise.
33941 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33942 (__SYSCALL_ULONG_TYPE): Likewise.
33943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33944 (__SYSCALL_SLONG_TYPE): Likewise.
33945 (__SYSCALL_ULONG_TYPE): Likewise.
33946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33947 (__SYSCALL_SLONG_TYPE): Likewise.
33948 (__SYSCALL_ULONG_TYPE): Likewise.
33949 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33950 (__SYSCALL_SLONG_TYPE): Likewise.
33951 (__SYSCALL_ULONG_TYPE): Likewise.
33953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33955 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33956 Add sigaltstack-offsets.sym.
33957 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33958 <sigaltstack-offsets.h>.
33959 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33960 longjmp_msg pointer.
33961 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33962 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33964 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33966 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33968 * elf/stackguard-macros.h: Remove file.
33969 * sysdeps/generic/stackguard-macros.h: New file.
33970 * sysdeps/i386/stackguard-macros.h: Likewise.
33971 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33972 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33973 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33974 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33975 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33976 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33977 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33978 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33979 <elf/stackguard-macros.h>.
33982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33983 __aligned__ in attribute.
33984 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33985 (gregset_t): Likewise.
33987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33989 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33990 * sysdeps/x86_64/64/Implies-after: Here. New file.
33991 * sysdeps/x86_64/x32/Implies-after: New file.
33993 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33995 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33996 and access return value for _dl_profile_fixup. Use R10_LP to
33999 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34001 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34003 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34005 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34006 * sysdeps/x86_64/x32/sysdep.h: New file.
34008 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34011 * sysdeps/x86_64/setjmp.S: Likewise.
34013 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34015 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34016 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34017 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34018 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34019 remove unused global constant.
34021 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34023 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34024 include of <not-cancel.h>.
34026 2012-05-15 Roland McGrath <roland@hack.frob.com>
34028 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34030 2012-05-15 Jeff Law <law@redhat.com>
34031 Andreas Jaeger <aj@suse.de>
34034 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34036 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34037 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34038 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34039 code changing __hst_map_handle.map.
34041 2012-05-15 Roland McGrath <roland@hack.frob.com>
34043 * configure.in (sysnames): Look for Implies-before and Implies-after
34045 * configure: Regenerated.
34047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34050 8-byte data alignment with LP_SIZE alignment.
34052 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34054 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34061 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34063 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34064 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34065 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34067 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34069 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34071 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34072 (stackinfo_sub_sp): Likewise.
34074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34076 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34084 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34091 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34093 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34095 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34096 into R11_LP and load __x86_64_shared_cache_size_half into
34099 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34101 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34104 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34106 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34112 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34113 powerpc32/power7/fpu/s_logb.c via #include.
34114 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34115 powerpc32/power7/fpu/s_logbf.c via #include.
34116 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34117 powerpc32/power7/fpu/s_logbl.c via #include.
34119 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34121 * README.libm: Remove file.
34123 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34125 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34126 count for x32. Use R*_LP and omit operand-size suffix.
34128 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34130 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34131 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34132 * sysdeps/x86_64/x32/shlib-versions: New file.
34134 2012-05-14 Roland McGrath <roland@hack.frob.com>
34136 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34137 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34138 Use _dl_fatal_printf instead.
34140 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34142 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34143 set if not set by the user. Do not allow for being unset.
34144 * sysdeps/unix/sysv/linux/configure: Regenerated.
34146 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34148 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34149 the `q' suffix from lea and replace .quad with ASM_ADDR.
34151 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34153 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34154 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34156 (PTR_DEMANGLE): Likewise.
34158 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34160 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34162 (ASM_ADDR): Likewise.
34163 (RAX_LP): Likewise.
34164 (RBP_LP): Likewise.
34165 (RBX_LP): Likewise.
34166 (RCX_LP): Likewise.
34167 (RDI_LP): Likewise.
34168 (RSI_LP): Likewise.
34169 (RSP_LP): Likewise.
34172 (R10_LP): Likewise.
34173 (R10_LP): Likewise.
34174 (R11_LP): Likewise.
34175 (R12_LP): Likewise.
34176 (R13_LP): Likewise.
34177 (R14_LP): Likewise.
34178 (R15_LP): Likewise.
34180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34182 * sysdeps/x86_64/x32/dl-machine.h: New file.
34184 2012-05-14 Andreas Jaeger <aj@suse.de>
34186 * manual/Makefile (subdir): Remove export of subdir.
34187 (all): Remove target.
34188 (.PHONY): Remove all from list.
34189 (mkinstalldirs): Remove.
34190 (.PHONY): Remove installdirs from list.
34191 ($(inst_infodir)/libc.info): Use make-target-directory.
34192 (installdirs): Remove.
34193 (subdir_%): Remove.
34194 (glibc-targets): Remove.
34197 ($(objpfx)stubs ../po/manual.pot): Remove.
34198 ($(objpfx)stamp%): Remove.
34199 (make-target-directory): Remove.
34200 (subdir_install): Remove.
34201 (routines): Remove.
34208 * manual/.gitignore: Remove, it's not needed anymore.
34209 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34211 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34213 (texis): Renamed to $(objpfx)texis.
34214 (texis-path): New, contains path to generated files.
34215 (chapters.%): Use texis-path for complete path, add extra argument
34217 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34218 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34219 (summary,texi, stamp-summary): Use complete path of
34220 files. Generate files in build dir.
34221 (dir-add.texi): Build in build dir.
34222 (libm-err.texi,stamp-libm-err): Likewise.
34223 (version.texi, stamp-version): Likewise.
34224 (.%c.texi): Likewise.
34225 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34226 (mostlyclean): Remove target.
34227 (realclean): Remove target.
34228 (generated): Add new variable with contents from mostlyclean and
34229 realclean, remove entries duplicated in common-mostlyclean, add
34230 stamp-libm-err and stamp-version.
34231 (generated-dirs): Add libc directory.
34232 ($(inst_infodir)/libc.info): Install files from build dir.
34234 * manual/install.texi (Configuring and compiling): Adjust since
34235 the info files are not part of the tar ball anymore.
34237 2012-05-14 Andreas Jaeger <aj@suse.de>
34239 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34242 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34245 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34246 to 2.2.0 where earlier.
34247 * sysdeps/unix/sysv/linux/configure: Regenerated.
34248 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34249 Remove conditional code.
34250 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34251 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34252 Remove conditional code.
34253 [!__NR_lchown]: Likewise.
34254 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34255 [__NR_lchown]: Likewise.
34256 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34257 comment referencing __ASSUME_LCHOWN_SYSCALL.
34258 * sysdeps/unix/sysv/linux/i386/sigaction.c
34259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34261 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34262 Remove conditional code.
34263 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34264 (__protocol_available): Remove #if 0 code.
34265 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34267 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34268 * sysdeps/unix/sysv/linux/kernel-features.h
34269 (__ASSUME_GETCWD_SYSCALL): Don't define.
34270 (__ASSUME_REALTIME_SIGNALS): Likewise.
34271 (__ASSUME_PREAD_SYSCALL): Likewise.
34272 (__ASSUME_PWRITE_SYSCALL): Likewise.
34273 (__ASSUME_POLL_SYSCALL): Likewise.
34274 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34275 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34277 (__ASSUME_SIOCGIFNAME): Don't define.
34278 (__ASSUME_MSG_NOSIGNAL): Likewise.
34279 (__ASSUME_SENDFILE): Define unconditionally.
34280 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34281 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34283 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34284 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34285 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34286 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34287 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34288 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34289 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34291 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34292 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34294 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34295 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34297 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34298 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34300 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34301 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34303 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34304 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34306 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34307 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34309 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34310 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34312 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34313 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34314 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34315 Remove conditional code.
34316 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34317 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34318 Remove conditional code.
34319 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34320 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34321 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34322 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34323 Remove conditional code.
34324 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34325 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34326 Remove conditional code.
34327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34328 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34329 Remove conditional code.
34330 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34331 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34332 Remove conditional code.
34333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34334 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34335 Remove conditional code.
34336 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34337 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34338 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34340 * sysdeps/unix/sysv/linux/sigaction.c
34341 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34342 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34343 * sysdeps/unix/sysv/linux/sigpending.c
34344 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34345 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34346 * sysdeps/unix/sysv/linux/sigprocmask.c
34347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34349 * sysdeps/unix/sysv/linux/sigsuspend.c
34350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34352 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34353 (__libc_missing_rt_sigs): Remove.
34354 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34355 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34356 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34357 Remove conditional code.
34358 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34359 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34361 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34362 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34363 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34364 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34366 2012-05-14 Andreas Jaeger <aj@suse.de>
34368 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34369 it's not used in glibc.
34370 (__coshm1): Likewise.
34371 (__acosh1p): Likewise.
34374 * manual/string.texi (Copying and Concatenation): Add missing
34375 variable in concat example.
34376 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34378 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34382 __builtin_clzl with __builtin_clzll.
34384 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34387 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34390 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34392 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34393 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34394 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34395 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34397 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34399 * NEWS: Update ia64 info.
34401 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34403 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34406 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34408 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34409 * sysdeps/unix/syscalls.list (dup3): Likewise.
34410 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34411 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34413 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34415 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34416 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34418 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34420 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34422 (TLS_IE): Use mov/add instead of movq/addq to load thread
34424 (TLS_GD_PREFIX): New.
34427 2012-05-11 David S. Miller <davem@davemloft.net>
34429 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34430 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34431 (_FPU_SETCW): Likewise.
34433 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34435 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34436 is 32-byte aligned.
34438 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34441 * iconvdata/gb18030.c: Update tables.
34442 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34443 characters specially.
34444 (BODY for TO_LOOP): Add encoding of missing ranges.
34446 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34449 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34450 * sysdeps/mach/hurd/dup3.c: Likewise.
34451 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34452 * sysdeps/powerpc/memmove.c:: Likewise.
34454 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34456 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34457 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34459 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34461 * elf/elf.h (R_X86_64_RELATIVE64): New.
34462 (R_X86_64_NUM): Updated.
34463 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34464 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34465 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34466 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34467 tst-quad1pie tst-quad2pie
34468 (modules-names): Add tst-quadmod1 tst-quadmod2.
34469 ($(objpfx)tst-quad1): New dependency.
34470 ($(objpfx)tst-quad2): Likewise.
34471 ($(objpfx)tst-quad1pie): Likewise.
34472 ($(objpfx)tst-quad2pie): Likewise.
34473 * sysdeps/x86_64/tst-quad1.c: New file.
34474 * sysdeps/x86_64/tst-quad1pie.c: New file.
34475 * sysdeps/x86_64/tst-quad2.c: Likewise.
34476 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34477 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34478 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34479 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34480 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34482 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34484 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34485 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34486 * streams/stropts.h (t_scalar_t): Define type.
34488 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34489 (_PATH_PRESERVE): Set to "/var/lib".
34490 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34492 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34495 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34496 if __dir_mkfile succeeded.
34498 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34499 checking for _hurd_dtablesize. Unlock it right after having
34500 finished _hurd_dtable allocation.
34502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34504 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34505 * sysdeps/mach/hurd/configure: Regenerated.
34506 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34507 special-casing to...
34508 * sysdeps/gnu/configure.in: ... this new file.
34509 * sysdeps/unix/sysv/linux/configure: Regenerated.
34510 * sysdeps/gnu/configure: New generated file.
34512 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34513 for Linux: use nsec instead of usec, as well as:
34514 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34515 members of type struct timespec.
34516 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34518 (struct stat64): Likewise.
34519 (_STATBUF_ST_NSEC): New macro.
34520 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34522 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34523 __strtoul_internal rather than strtoul.
34525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34527 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34532 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34533 which preserves existing values.
34534 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34536 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34538 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34539 TIMEOUT values. Return EINVAL for NFDS values either negative or
34540 greater than FD_SETSIZE.
34542 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34544 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34545 allocated, call __vm_protect to finish enabling the existing space, and
34546 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34547 allocate the remainder.
34549 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34551 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34552 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34554 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34556 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34557 sysdeps/mach/hurd/readlink.c.
34559 * posix/tst-sysconf.c (posix_options): Only use
34560 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34561 _POSIX_SYNCHRONIZED_IO when they are defined
34562 * sysdeps/mach/hurd/bits/posix_opt.h:
34563 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34564 (_XOPEN_REALTIME): Undefine macro.
34565 (_XOPEN_REALTIME_THREADS): Undefine macro.
34566 (_XOPEN_SHM): Undefine macro.
34567 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34569 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34571 (_POSIX_ASYNC_IO): Undefine macro.
34572 (_POSIX_PRIORITIZED_IO): Undefine macro.
34573 (_POSIX_SPIN_LOCKS): Define macro to -1.
34575 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34576 SA_NODEFER, SA_RESETHAND.
34577 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34578 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34583 * elf/Makefile (pldd-modules): Define unconditionally.
34585 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34587 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34591 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34592 Return ENOENT when name is empty.
34593 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34597 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34599 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34603 Fix mlock in all cases except non-readable pages.
34604 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34605 instead of VM_PROT_ALL as parameter to __vm_wire function.
34607 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34608 (__mkdir): When path is `/', just fail with EEXIST.
34609 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34613 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34614 <sys/uio.h> (for writev).
34615 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34616 and <sys/param.h> (for MIN).
34618 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34620 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34621 REQUESTED_TIME. Properly set the remaining time and return EINTR
34624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34626 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34627 Depend on against $(link-rpcuserlibs).
34629 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34631 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34632 (__libc_stack_end): Do not use attribute_relro.
34633 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34634 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34635 to libthread-provided value.
34636 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34639 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34642 * bits/libc-lock.h (__libc_once_get): New macro.
34643 * sysdeps/mach/bits/libc-lock.h: Likewise.
34644 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34646 instead of using implementation details.
34648 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34649 * libio/freopen.c: Likewise.
34650 * libio/freopen64.c: Likewise.
34651 * misc/syslog.c: Likewise.
34652 * nscd/connections.c: Likewise.
34653 * nscd/netgroupcache.c: Likewise.
34654 * sysdeps/posix/getcwd.c: Likewise.
34656 2012-05-10 Roland McGrath <roland@hack.frob.com>
34658 * math/w_ilogbf.c: Add #include <limits.h>.
34660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34662 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34663 path instead of returning without unlocking.
34665 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34666 immediate-write ioctls.
34667 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34669 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34671 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34672 __builtin_frame_address instead of making assumptions about the
34673 location of the return address relative to DATA. Force early load of
34674 the return address.
34675 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34676 __builtin_frame_address.
34679 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34680 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34681 implement dup3 and do some further code clean-ups.
34682 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34683 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34687 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34689 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34690 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34691 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34692 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34693 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34696 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34697 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34698 when handler == SIG_ERR, not when handler != SIG_ERR.
34700 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34702 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34703 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34706 accept4 for GNU Hurd.
34707 * include/sys/socket.h (__libc_accept4): New prototype.
34708 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34709 to implement __libc_accept4.
34710 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34712 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34714 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34715 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34716 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34717 signal-defines.sym.
34719 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34721 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34723 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34725 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34726 assertion on O_CLOEXEC flag.
34727 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34728 * hurd/intern-fd.c: Likewise.
34729 * hurd/port2fd.c: Likewise.
34731 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34734 * bits/in.h (IPV6_PKTINFO): Define new macro.
34735 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34737 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34742 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34743 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34744 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34745 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34747 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34748 * math/libm-test.inc (logb_test) : Additional logb tests.
34750 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34751 Andreas Jaeger <aj@suse.de>
34753 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34754 * configure: Regenerated.
34755 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34756 * config.make.in (link-obsolete-rpc): New substituted variable.
34757 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34758 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34759 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34760 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34761 so that libc.a contains the symbols.
34762 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34763 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34764 * sunrpc/auth_none.c: Likewise.
34765 * sunrpc/auth_unix.c: Likewise.
34766 * sunrpc/authdes_prot.c: Likewise.
34767 * sunrpc/authuxprot.c: Likewise.
34768 * sunrpc/clnt_gen.c: Likewise.
34769 * sunrpc/clnt_perr.c: Likewise.
34770 * sunrpc/clnt_raw.c: Likewise.
34771 * sunrpc/clnt_simp.c: Likewise.
34772 * sunrpc/clnt_tcp.c: Likewise.
34773 * sunrpc/clnt_udp.c: Likewise.
34774 * sunrpc/clnt_unix.c: Likewise.
34775 * sunrpc/des_crypt.c: Likewise.
34776 * sunrpc/des_soft.c: Likewise.
34777 * sunrpc/get_myaddr.c: Likewise.
34778 * sunrpc/key_call.c: Likewise.
34779 * sunrpc/key_prot.c: Likewise.
34780 * sunrpc/netname.c: Likewise.
34781 * sunrpc/pm_getmaps.c: Likewise.
34782 * sunrpc/pm_getport.c: Likewise.
34783 * sunrpc/pmap_clnt.c: Likewise.
34784 * sunrpc/pmap_prot.c: Likewise.
34785 * sunrpc/pmap_prot2.c: Likewise.
34786 * sunrpc/pmap_rmt.c: Likewise.
34787 * sunrpc/publickey.c: Likewise.
34788 * sunrpc/rpc_cmsg.c: Likewise.
34789 * sunrpc/rpc_common.c: Likewise.
34790 * sunrpc/rpc_dtable.c: Likewise.
34791 * sunrpc/rpc_prot.c: Likewise.
34792 * sunrpc/rpc_thread.c: Likewise.
34793 * sunrpc/rtime.c: Likewise.
34794 * sunrpc/svc.c: Likewise.
34795 * sunrpc/svc_auth.c: Likewise.
34796 * sunrpc/svc_raw.c: Likewise.
34797 * sunrpc/svc_run.c: Likewise.
34798 * sunrpc/svc_tcp.c: Likewise.
34799 * sunrpc/svc_udp.c: Likewise.
34800 * sunrpc/svc_unix.c: Likewise.
34801 * sunrpc/svcauth_des.c: Likewise.
34802 * sunrpc/xcrypt.c: Likewise.
34803 * sunrpc/xdr.c: Likewise.
34804 * sunrpc/xdr_array.c: Likewise.
34805 * sunrpc/xdr_float.c: Likewise.
34806 * sunrpc/xdr_intXX_t.c: Likewise.
34807 * sunrpc/xdr_mem.c: Likewise.
34808 * sunrpc/xdr_rec.c: Likewise.
34809 * sunrpc/xdr_ref.c: Likewise.
34810 * sunrpc/xdr_sizeof.c: Likewise.
34811 * sunrpc/xdr_stdio.c: Likewise.
34813 2012-05-10 Roland McGrath <roland@hack.frob.com>
34815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34816 change. Update copyright years.
34818 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34820 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34822 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34823 Joseph Myers <joseph@codesourcery.com>
34824 Paul Pluzhnikov <ppluzhnikov@google.com>
34827 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34829 [cross-compiling] (extra-libs): Likewise.
34830 [cross-compiling] (extra-libs-others): Likewise.
34831 [cross-compiling] (librpcsvc-routines): Likewise.
34832 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34833 [cross-compiling] (omit-deps): Likewise.
34834 (sunrpc-CPPFLAGS): New variable.
34835 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34836 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34837 (cross-rpcgen-objs): New variable.
34838 (extra-objs): Append $(cross-rpcgen-objs).
34839 ($(cross-rpcgen-objs)): New rule.
34840 ($(objpfx)cross-rpcgen): Likewise.
34841 (rpcgen-cmd): Define to use $(built-program-file). Expand
34843 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34844 ($(objpfx)x%.stmp): Likewise.
34845 * sunrpc/proto.h [IS_IN_build] (_): Define.
34846 [IS_IN_build] (_libc_intl_domainname): Likewise.
34848 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34851 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34852 and R_X86_64_TPOFF64.
34854 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34856 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34857 sysdeps/unix/sysv/syscalls.list.
34860 * sysdeps/unix/sysv/syscalls.list: Remove file.
34862 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34865 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34866 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34867 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34868 (__LC_IDENTIFICATION): Make these macros useful in #if
34869 expressions, as required by C99.
34871 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34873 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34874 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34877 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34879 * stdlib/longlong.h: Updated from GCC.
34881 2012-05-09 Andreas Jaeger <aj@suse.de>
34883 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34884 default is first entry.
34885 (run_mode): Set type.
34886 (main): Remove informal message about syslog.
34887 (options): Fix typo.
34890 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34893 (llrintf): Likewise.
34894 (llrint): Likewise.
34897 (nearbyint): Likewise.
34898 (nearbyintf): Likewise.
34900 2012-05-09 Andreas Jaeger <aj@suse.de>
34901 Pedro Alves <palves@redhat.com>
34903 * nscd/nscd.c (run_mode): Use enum.
34904 (main): Cleanup coding style issue.
34906 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34907 Andreas Jaeger <aj@suse.de>
34909 * nscd/nscd.c (go_background): Replaced with...
34910 (run_mode): ... this.
34911 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34912 (options): Add -F --foreground.
34913 (main): Implement it.
34914 (parse_opt): Parse it.
34916 2012-05-09 Andreas Jaeger <aj@suse.de>
34919 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34920 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34921 -Wconversion warning.
34922 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34925 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34927 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34929 (LC_ALL): Use macro-int-constant.
34930 (LC_COLLATE): Likewise.
34931 (LC_CTYPE): Likewise.
34932 (LC_MESSAGES): Likewise.
34933 (LC_MONETARY): Likewise.
34934 (LC_NUMERIC): Likewise.
34935 (LC_TIME): Likewise.
34936 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34937 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34938 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34939 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34941 [C99-based standards] (float_t): Expect type.
34942 [C99-based standards] (double_t): Expect type.
34943 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34945 [C99-based standards] (HUGE_VALL): Likewise.
34946 [C99-based standards] (INFINITY): Likewise.
34947 [C99-based standards] (NAN): Likewise.
34948 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34949 [C99-based standards] (FP_NAN): Likewise.
34950 [C99-based standards] (FP_NORMAL): Likewise.
34951 [C99-based standards] (FP_SUBNORMAL): Likewise.
34952 [C99-based standards] (FP_ZERO): Likewise.
34953 [C99-based standards] (FP_FAST_FMA): Use
34954 optional-macro-int-constant. Specify type. Require == 1.
34955 [C99-based standards] (FP_FAST_FMAF): Likewise.
34956 [C99-based standards] (FP_FAST_FMAL): Likewise.
34957 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34958 [C99-based standards] (FP_ILOGBNAN): Likewise.
34959 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34961 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34962 [C99-based standards] (math_errhandling): Specify type.
34963 [ISO99 || ISO11] (signgam): Do not allow.
34964 [non-C99-based standards] (copysignf): Do not allow.
34965 [non-C99-based standards] (exp2f): Likewise.
34966 [non-C99-based standards] (log2f): Likewise.
34967 [non-C99-based standards] (modff): Allow.
34968 [non-C99-based standards] (erff): Do not allow.
34969 [non-C99-based standards] (erfcf): Likewise.
34970 [non-C99-based standards] (gammaf): Likewise.
34971 [non-C99-based standards] (hypotf): Likewise.
34972 [non-C99-based standards] (j0f): Likewise.
34973 [non-C99-based standards] (j1f): Likewise.
34974 [non-C99-based standards] (jnf): Likewise.
34975 [non-C99-based standards] (lgammaf): Likewise.
34976 [non-C99-based standards] (tgammaf): Likewise.
34977 [non-C99-based standards] (y0f): Likewise.
34978 [non-C99-based standards] (y1f): Likewise.
34979 [non-C99-based standards] (ynf): Likewise.
34980 [non-C99-based standards] (isnanf): Likewise.
34981 [non-C99-based standards] (acoshf): Likewise.
34982 [non-C99-based standards] (asinhf): Likewise.
34983 [non-C99-based standards] (atanhf): Likewise.
34984 [non-C99-based standards] (cbrtf): Likewise.
34985 [non-C99-based standards] (expm1f): Likewise.
34986 [non-C99-based standards] (ilogbf): Likewise.
34987 [non-C99-based standards] (log1pf): Likewise.
34988 [non-C99-based standards] (logbf): Likewise.
34989 [non-C99-based standards] (nextafterf): Likewise.
34990 [non-C99-based standards] (remainderf): Likewise.
34991 [non-C99-based standards] (rintf): Likewise.
34992 [non-C99-based standards] (scalbf): Likewise.
34993 [non-C99-based standards] (copysignl): Likewise.
34994 [non-C99-based standards] (exp2l): Likewise.
34995 [non-C99-based standards] (log2l): Likewise.
34996 [non-C99-based standards] (modfl): Allow.
34997 [non-C99-based standards] (erfl): Do not allow.
34998 [non-C99-based standards] (erfcl): Likewise.
34999 [non-C99-based standards] (gammal): Likewise.
35000 [non-C99-based standards] (hypotl): Likewise.
35001 [non-C99-based standards] (j0l): Likewise.
35002 [non-C99-based standards] (j1l): Likewise.
35003 [non-C99-based standards] (jnl): Likewise.
35004 [non-C99-based standards] (lgammal): Likewise.
35005 [non-C99-based standards] (tgammal): Likewise.
35006 [non-C99-based standards] (y0l): Likewise.
35007 [non-C99-based standards] (y1l): Likewise.
35008 [non-C99-based standards] (ynl): Likewise.
35009 [non-C99-based standards] (isnanl): Likewise.
35010 [non-C99-based standards] (acoshl): Likewise.
35011 [non-C99-based standards] (asinhl): Likewise.
35012 [non-C99-based standards] (atanhl): Likewise.
35013 [non-C99-based standards] (cbrtl): Likewise.
35014 [non-C99-based standards] (expm1l): Likewise.
35015 [non-C99-based standards] (ilogbl): Likewise.
35016 [non-C99-based standards] (log1pl): Likewise.
35017 [non-C99-based standards] (logbl): Likewise.
35018 [non-C99-based standards] (nextafterl): Likewise.
35019 [non-C99-based standards] (remainderl): Likewise.
35020 [non-C99-based standards] (rintl): Likewise.
35021 [non-C99-based standards] (scalbl): Likewise.
35022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35023 [non-C99-based standards] (FP_*): Do not allow.
35024 [C99-based standards] (FP_*): Change to
35025 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35026 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35028 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35029 (SIG_ERR): Likewise.
35030 [X/Open-based standards] (SIG_HOLD): Likewise.
35031 (SIG_IGN): Likewise.
35032 (SIGABRT): Use macro-int-constant. Specify type. Require
35034 (SIGFPE): Likewise.
35035 (SIGILL): Likewise.
35036 (SIGINT): Likewise.
35037 (SIGSEGV): Likewise.
35038 (SIGTER): Likewise.
35039 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35040 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35041 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35042 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35043 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35044 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35045 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35046 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35047 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35048 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35049 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35050 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35051 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35052 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35053 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35054 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35055 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35056 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35057 [X/Open-based standards] (SIGTRAP): Likewise.
35058 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35059 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35060 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35061 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35062 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35065 2012-05-08 Ian Wienand <ianw@vmware.com>
35068 * time/tzset.c (__tzset_parse_tz): Update default rules for
35069 daylight time changes in the Energy Policy Act of 2005.
35071 2012-05-09 Andreas Jaeger <aj@suse.de>
35074 * elf/ldconfig.c (parse_conf): Change string to make clear that
35075 ldconfig only issued a warning if ld.so.conf does not exist.
35077 2012-05-08 David S. Miller <davem@davemloft.net>
35079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35080 movxtod instead of popping the value on the stack.
35082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35084 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35086 * config.h.in: Add HAVE_ARM_PCS_VFP.
35088 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35091 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35092 checking but the checks are disabled for any reason.
35094 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35096 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35097 and ELF64_R_TYPE with ELFW(R_TYPE).
35099 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35101 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35102 (ulimit): Likewise.
35104 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35105 (settimeofday): Likewise.
35107 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35109 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35110 a struct th_u2 inside the union, and move tu_block/tu_code into
35111 a new th_u3 union of tu_block/tu_code inside of that. Move
35112 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35113 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35114 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35115 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35116 (th_stuff): Change to th_u1.tu_stuff.
35118 (th_msg): Change to th_u1.th_u2.tu_data.
35120 2012-05-07 David S. Miller <davem@davemloft.net>
35122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35125 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35126 (SETUP_PIC_REG): Use it.
35127 (SETUP_PIC_REG_LEAF): Use it.
35129 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35133 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35135 (EXPL_FINITE): Likewise.
35136 (FLDLOG): Likewise.
35137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35138 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35140 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35142 (EXPL_FINITE): Likewise.
35143 (FLDLOG): Likewise.
35144 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35145 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35147 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35148 test of -max_value argument for long double.
35149 * sysdeps/i386/fpu/libm-test-ulps: Update.
35150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35152 2012-05-06 David S. Miller <davem@davemloft.net>
35154 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35155 quad soft-float symbols whose references which are compiler
35157 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35159 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35165 (EXPL_FINITE): Likewise.
35166 (FLDLOG): Likewise.
35169 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35170 Adjust comments for base varying.
35171 (__expl_finite): Change alias to EXPL_FINITE.
35172 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35174 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35175 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35176 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35177 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35178 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35180 (EXPL_FINITE): Likewise.
35181 (FLDLOG): Likewise.
35184 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35185 Adjust comments for base varying.
35186 (__expl_finite): Change alias to EXPL_FINITE.
35187 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35192 * math/libm-test.inc (check_float_internal): Correct ulp
35193 calculation for subnormal expected results.
35195 2012-05-06 Andreas Jaeger <aj@suse.de>
35197 * Makeconfig (+math-flags): New, set to -frounding-math.
35198 (+cflags): Add +math-flags so that all of glibc gets compiled with
35201 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35203 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35205 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35211 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35212 (__ieee754_expl): Allow for and saturate large arguments.
35213 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35214 (u_threshold): Likewise.
35215 (__exp): Call __ieee754_exp before checking for overflow and
35217 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35218 (u_threshold): Likewise.
35219 (__expf): Call __ieee754_expf before checking for overflow and
35221 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35222 (u_threshold): Likewise.
35223 (__expl): Call __ieee754_expl before checking for overflow and
35225 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35226 (__ieee754_expl): Allow for and saturate large arguments.
35227 * math/libm-test.inc (exp_test): Add another test. Do not allow
35228 missing overflow exception on overflow.
35229 (expm1_test): Do not allow missing overflow exception on overflow.
35231 * sysdeps/i386/fpu/e_expl.c: Move to ...
35232 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35233 rather than using inline asm.
35234 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35235 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35236 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35238 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35241 (signal): Likewise.
35245 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35247 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35248 sysdeps/unix/common/syscalls.list.
35249 (fchmod): Likewise.
35250 (fchown): Likewise.
35251 (ftruncate): Likewise.
35252 (getrusage): Likewise.
35253 (gettimeofday): Likewise.
35254 (setpgid): Likewise.
35255 (setregid): Likewise.
35256 (setreuid): Likewise.
35257 (sigaction): Likewise.
35258 (truncate): Likewise.
35259 (vhangup): Likewise.
35260 * sysdeps/unix/common/syscalls.list: Remove file.
35261 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35262 * sysdeps/unix/sysv/linux/Implies: Likewise.
35264 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35266 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35268 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35272 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35275 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35278 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35281 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35284 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35287 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35290 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35294 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35298 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35301 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35305 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35309 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35311 * sysdeps/unix/common/bits/dirent.h: Remove file.
35312 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35314 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35315 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35316 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35317 * sysdeps/unix/bsd/isatty.c: Likewise.
35318 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35319 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35320 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35322 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35325 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35326 long double comparison inaccuracies.
35327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35330 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35332 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35335 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35338 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35339 nonzero digits before rounding a hex value.
35340 * stdlib/tst-strtod.c (tests): Add another test.
35342 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35344 * sysdeps/s390/fpu/libm-test-ulps: Update.
35346 2012-05-03 Andreas Jaeger <aj@suse.de>
35348 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35349 does not get optimized out.
35350 (malloc_opt_barrier): New.
35352 2012-05-03 Andreas Jaeger <aj@suse.de>
35353 Roland McGrath <roland@hack.frob.com>
35355 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35356 intermediate file deletion.
35357 (generated): Add .symlist files.
35359 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35362 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35363 Redirect under this condition.
35364 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35365 [__USE_GNU] (__dprintf_chk): Not under this condition.
35366 [__USE_GNU] (__vdprintf_chk): Likewise.
35367 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35368 under this condition.
35369 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35370 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35371 [__USE_XOPEN2K8] (vdprintf): Likewise.
35372 [__USE_GNU] (__dprintf_chk): Not under this condition.
35373 [__USE_GNU] (__vdprintf_chk): Likewise.
35374 [__USE_GNU] (dprintf): Likewise.
35375 [__USE_GNU] (vdprintf): Likewise.
35377 2012-05-03 Roland McGrath <roland@hack.frob.com>
35379 * elf/Makefile (common-generated): Set this instead of generated for
35380 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35381 $(all-built-dso)-derived lists.
35383 2012-05-03 Andreas Jaeger <aj@suse.de>
35385 * sysdeps/i386/fpu/libm-test-ulps: Update.
35388 * FAQ.in: Likewise.
35389 * scripts/gen-FAQ.pl: Likewise.
35390 * manual/install.texi (Installation): Point to online location of
35392 * Makefile (files-for-dist): Remove FAQ.
35395 2012-05-02 Allan McRae <allan@archlinux.org>
35397 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35398 (LDFLAGS-reldepmod5.so): Likewise.
35399 (LDFLAGS-reldep6mod1.so): Likewise.
35400 (LDFLAGS-reldep6mod4.so): Likewise.
35401 (LDFLAGS-reldep8mod3.so): Likewise.
35402 (LDFLAGS-unload4mod1.so): Likewise.
35403 (LDFLAGS-unload4mod2.so): Likewise.
35404 (LDFLAGS-tst-initorder): Likewise.
35405 (LDFLAGS-tst-initordera2.so): Likewise.
35406 (LDFLAGS-tst-initordera3.so): Likewise.
35407 (LDFLAGS-tst-initordera4.so): Likewise.
35408 (LDFLAGS-tst-initorderb2.so): Likewise.
35409 (LDFLAGS-noload): Likewise.
35410 (LDFLAGS-next): Likewise.
35411 (LDFLAGS-order2mod1.so): Likewise.
35412 (LDFLAGS-order2mod2.so): Likewise.
35413 (LDFLAGS-tst-initorder2): Likewise.
35414 (LDFLAGS-tst-initorder2a.so): Likewise.
35415 (LDFLAGS-tst-initorder2b.so): Likewise.
35416 (LDFLAGS-tst-initorder2c.so): Likewise.
35417 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35419 2012-05-02 David S. Miller <davem@davemloft.net>
35421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35423 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35426 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35428 2012-05-02 Andreas Jaeger <aj@suse.de>
35430 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35431 since we manipulate rounding mode.
35432 (CPPFLAGS-test-idouble.c): Likewise.
35433 (CPPFLAGS-test-ifloat.c): Likewise.
35434 (CFLAGS-test-ldouble.c): Likewise.
35435 (CFLAGS-test-double.c): Likewise.
35436 (CFLAGS-test-float.c): Likewise.
35437 (CFLAGS-test-misc.c): Likewise.
35438 (CFLAGS-test-test-fenv.c): Likewise.
35440 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35444 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35445 comparisons to determine direction to adjust input.
35447 2012-05-01 Roland McGrath <roland@hack.frob.com>
35449 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35450 output to the target.
35452 * scripts/localplt.awk: New file.
35453 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35454 (check-localplt-CFLAGS): Variable removed.
35455 ($(all-built-dso:=.jmprel)): New static pattern rule.
35456 (generated): Add those targets.
35457 (localplt-built-dso): New variable.
35458 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35460 * elf/check-localplt.c: File removed.
35462 * scripts/check-execstack.awk: New file.
35463 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35464 (check-execstack-CFLAGS): Variable removed.
35465 ($(objpfx)check-execstack.h): Target removed.
35466 ($(objpfx)execstack-default): New target.
35467 (generated): Add that instead of check-execstack.h.
35468 ($(all-built-dso:=.phdr)): New static pattern rule.
35469 (generated): Add those targets.
35470 * elf/check-execstack.c: File removed.
35472 * scripts/check-textrel.awk: New file.
35473 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35474 (check-textrel-CFLAGS): Variable removed.
35475 (all-built-dso): Use := to define.o
35476 ($(all-built-dso:=.dyn)): New static pattern rule.
35477 (generated): Add those targets.
35478 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35479 * config.make.in (READELF): New substituted variable.
35480 * elf/check-textrel.c: File removed.
35482 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35484 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35486 * conform/data/ctype.h-data [C99-based standards] (isblank):
35488 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35489 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35491 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35492 Specify type. Require positive value.
35493 (EILSEQ): Likewise.
35494 (ERANGE): Likewise.
35495 [ISO || POSIX] (EILSEQ): Do not expect.
35496 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35497 Specify type. Require positive value.
35498 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35499 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35500 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35501 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35502 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35503 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35504 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35505 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35506 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35507 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35508 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35509 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35510 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35511 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35512 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35513 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35514 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35518 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35519 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35520 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35521 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35524 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35525 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35526 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35527 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35528 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35529 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35530 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35531 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35532 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35533 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35534 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35535 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35536 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35537 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35538 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35539 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35540 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35541 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35542 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35543 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35544 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35545 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35546 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35547 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35548 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35549 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35550 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35551 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35552 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35553 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35554 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35555 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35556 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35557 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35558 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35559 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35560 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35561 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35562 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35563 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35564 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35565 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35566 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35567 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35568 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35569 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35570 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35571 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35572 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35573 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35574 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35576 (FLT_ROUNDS): Expect as macro, not constant.
35577 (FLT_MANT_DIG): Use macro-int-constant.
35578 (DBL_MANT_DIG): Likewise.
35579 (LDBL_MANT_DIG): Likewise.
35580 (FLT_DIG): Likewise.
35581 (DBL_DIG): Likewise.
35582 (LDBL_DIG): Likewise.
35583 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35584 (DBL_MIN_EXP): Likewise.
35585 (LDBL_MIN_EXP): Likewise.
35586 (FLT_MAX_EXP): Use macro-int-constant.
35587 (DBL_MAX_EXP): Likewise.
35588 (LDBL_MAX_EXP): Likewise.
35589 (FLT_MAX_10_EXP): Likewise.
35590 (DBL_MAX_10_EXP): Likewise.
35591 (LDBL_MAX_10_EXP): Likewise.
35592 (FLT_MAX): Use macro-constant.
35593 (DBL_MAX): Likewise.
35594 (LDBL_MAX): Likewise.
35595 (FLT_EPSILON): Use macro-constant. Give upper bound.
35596 (DBL_EPSILON): Likewise.
35597 (LDBL_EPSILON): Likewise.
35598 (FLT_MIN): Likewise.
35599 (DBL_MIN): Likewise.
35600 (LDBL_MIN): Likewise.
35601 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35602 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35603 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35604 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35605 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35606 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35607 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35608 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35609 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35610 [ISO11] (FLT_TRUE_MIN): Likewise.
35611 [ISO11] (LDBL_TRUE_MIN): Likewise.
35612 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35613 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35614 (SCHAR_MIN): Use macro-int-constant. Specify type.
35615 (SCHAR_MAX): Likewise.
35616 (UCHAR_MAX): Likewise.
35617 (CHAR_MIN): Likewise.
35618 (CHAR_MAX): Likewise.
35619 (MB_LEN_MAX): Use macro-int-constant.
35620 (SHRT_MIN): Use macro-int-constant. Specify type.
35621 (SHRT_MAX): Likewise.
35622 (USHRT_MAX): Likewise.
35623 (INT_MAX): Likewise.
35624 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35626 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35628 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35630 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35631 bound negative. Suffix upper bound with "L".
35632 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35634 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35636 [C99-based standards] (LLONG_MAX): Likewise.
35637 [C99-based standards] (ULLONG_MAX): Likewise.
35638 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35640 [ISO11] (max_align_t): Require type.
35641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35643 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35644 from $CFLAGS, without defining away __attribute__ calls.
35645 (checknamespace): Use $CFLAGS_namespace.
35647 * conform/conformtest.pl (@keywords): Only include C99 keywords
35648 for standards based on C99 or C11.
35650 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35652 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35655 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35656 usability of symbols in #if.
35658 * conform/conformtest.pl: If macro or constant types start
35659 "promoted:", expect the symbol to be of the following type
35660 promoted by the integer promotions.
35662 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35663 in one place. Also handle "macro-constant".
35665 * conform/conformtest.pl: Only accept expected macro values with
35666 "==". Parse all "macro" lines in one place.
35667 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35669 * conform/conformtest.pl: Handle braced types on "constant" lines
35670 instead of handling "typed-constant".
35671 * conform/data/signal.h-data: Use "constant" instead of
35674 * conform/conformtest.pl: Handle "optional-" at start of lines in
35675 one place rather than duplicating several cases. Handle each
35676 format of "macro" line with initial "optional-".
35678 * conform/conformtest.pl: Only accept expected constant or
35679 optional-constant values with "==". Parse all "constant" lines in
35680 one place. Parse all "optional-constant" lines in one place.
35681 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35682 * conform/data/fmtmsg.h-data: Likewise.
35683 * conform/data/netinet/in.h-data: Likewise.
35684 * conform/data/tar.h-data: Likewise.
35685 * conform/data/limits.h-data: Use "==" form on "constant" and
35686 "optional-constant" lines.
35688 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35689 Use -std=c99 for XOPEN2K.
35690 (@knownproblems): Remove.
35691 (newtoken): Don't check %isknown.
35693 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35694 Do not expect macro.
35695 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35696 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35697 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35698 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35699 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35700 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35701 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35702 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35703 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35704 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35705 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35706 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35707 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35708 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35709 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35710 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35711 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35712 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35713 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35714 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35715 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35716 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35717 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35718 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35719 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35720 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35721 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35723 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35725 [XPG3] (acosh): Likewise.
35726 [XPG3] (asinh): Likewise.
35727 [XPG3] (atanh): Likewise.
35728 [XPG3] (cbrt): Likewise.
35729 [XPG3] (expm1): Likewise.
35730 [XPG3] (ilogb): Likewise.
35731 [XPG3] (log1p): Likewise.
35732 [XPG3] (logb): Likewise.
35733 [XPG3] (nextafter): Likewise.
35734 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35735 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35736 [XPG3] (remainder): Likewise.
35737 [XPG3] (rint): Likewise.
35738 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35741 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35742 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35745 [UNIX98 || XOPEN2K] (scalb): Expect.
35746 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35747 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35750 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35751 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35752 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35753 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35754 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35755 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35756 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35757 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35758 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35759 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35761 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35764 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35765 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35770 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35772 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35849 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35850 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35884 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35885 _XOPEN_SOURCE_EXTENDED for XPG4.
35887 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35889 * Makeconfig (localtime): Remove variable.
35890 (inst_localtime-file): Likewise.
35892 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35913 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35917 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35918 comparisons to determine direction to adjust input.
35919 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35920 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35921 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35923 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35927 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35928 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35930 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35932 * math/libm-test.inc (nexttoward_test): Add more tests.
35934 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35937 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35938 in version GLIBC_2.1, not GLIBC_2.0.
35939 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35942 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35945 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35947 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35948 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35949 * math/libm-test.inc (acos_test): Add more tests.
35950 (asin_test): Likewise.
35951 * sysdeps/i386/fpu/libm-test-ulps: Update.
35952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35955 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35957 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35958 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35959 * math/libm-test.inc (acos_test_tonearest): New function.
35960 (acos_test_towardzero): Likewise.
35961 (acos_test_downward): Likewise.
35962 (acos_test_upward): Likewise.
35963 (asin_test_tonearest): Likewise.
35964 (asin_test_towardzero): Likewise.
35965 (asin_test_downward): Likewise.
35966 (asin_test_upward): Likewise.
35967 (main): Call the new functions.
35968 * sysdeps/i386/fpu/libm-test-ulps: Update.
35969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35973 * math/e_exp10.c: Include <float.h>.
35974 (__ieee754_exp10): Handle underflow here rather than multiplying
35975 large negative argument by M_LN10.
35976 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35978 * math/e_exp10l.c: Include <float.h>.
35979 (__ieee754_exp10l): Handle underflow here rather than multiplying
35980 large negative argument by M_LN10l.
35981 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35982 spurious overflow exception on underflow.
35984 2012-04-29 Marek Polacek <polacek@redhat.com>
35986 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35987 (__fortify_function): New macro.
35988 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35989 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35990 __extern_always_inline.
35991 * libio/bits/stdio2.h: Likewise.
35992 * libio/bits/stdio.h: Likewise.
35993 * string/string.h: Likewise.
35994 * string/bits/string3.h: Likewise.
35995 * include/stdio.h: Likewise.
35996 * stdlib/bits/stdlib.h: Likewise.
35997 * stdlib/stdlib.h: Likewise.
35998 * rt/bits/mqueue2.h: Likewise.
35999 * rt/mqueue.h: Likewise.
36000 * posix/bits/unistd.h: Likewise.
36001 * posix/unistd.h: Likewise.
36002 * io/bits/poll2.h: Likewise.
36003 * io/bits/fcntl2.h: Likewise.
36004 * io/fcntl.h: Likewise.
36005 * io/sys/poll.h: Likewise.
36006 * misc/bits/syslog.h: Likewise.
36007 * misc/bits/syslog-ldbl.h: Likewise.
36008 * misc/sys/syslog.h: Likewise.
36009 * socket/bits/socket2.h: Likewise.
36010 * socket/sys/socket.h: Likewise.
36011 * debug/tst-chk1.c: Likewise.
36012 * wcsmbs/bits/wchar2.h: Likewise.
36013 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36014 * wcsmbs/wchar.h: Likewise.
36016 2012-04-29 Andreas Jaeger <aj@suse.de>
36018 * Makerules (tests): Remove enable-check-abi protection.
36019 (check-abi-warn): Remove.
36020 (check-abi-%): Remove check-abi-warn usage.
36022 * configure.in: Remove check-abi configure option.
36023 * configure: Regenerated.
36024 * config.make.in (enable-check-abi): Remove.
36026 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36029 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36030 double functions to double *_finite functions.
36033 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36034 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36036 * stdio-common/Makefile (tests): Add tst-sprintf3.
36037 * stdio-common/tst-sprintf3.c: New file.
36039 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36040 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36042 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36044 * conform/conformtest.pl: Remove duplicate typed-constant
36047 2012-04-28 David S. Miller <davem@davemloft.net>
36049 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36050 (check-abi-%): Remove AWK script prerequisite and explicit
36052 (check-abi): Rewrite to just diff the symlist with the abilist.
36053 (config-tls, config-abi-config): Delete, no longer used.
36054 (update-abi-%): Remove AWK script and explicit abilist directory.
36055 (update-abi): Rewrite to simply compare and conditionally copy the
36056 symlist and the sysdep abilist file. Remove update-abi-config
36058 * abilist/ld.abilist: Remove.
36059 * abilist/libBrokenLocale.abilist: Remove.
36060 * abilist/libanl.abilist: Remove.
36061 * abilist/libcrypt.abilist: Remove.
36062 * abilist/libdl.abilist: Remove.
36063 * abilist/librt.abilist: Remove.
36064 * abilist/libthread_db.abilist: Remove.
36065 * abilist/libutil.abilist: Remove.
36066 * scripts/extract-abilist.awk: Remove.
36067 * scripts/merge-abilist.awk: Remove.
36068 * sysdeps/generic/libcidn.abilist: New file.
36069 * sysdeps/generic/libnss_compat.abilist: New file.
36070 * sysdeps/generic/libnss_db.abilist: New file.
36071 * sysdeps/generic/libnss_dns.abilist: New file.
36072 * sysdeps/generic/libnss_files.abilist: New file.
36073 * sysdeps/generic/libnss_hesiod.abilist: New file.
36074 * sysdeps/generic/libnss_nis.abilist: New file.
36075 * sysdeps/generic/libnss_nisplus.abilist: New file.
36076 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36077 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36078 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36080 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36081 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36082 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36083 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36084 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36085 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36086 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36087 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36088 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36090 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36091 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36092 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36093 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36095 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36096 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36097 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36098 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36099 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36100 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36102 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36103 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36104 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36106 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36209 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36210 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36211 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36213 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36214 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36215 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36216 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36217 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36218 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36219 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36220 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36221 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36222 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36274 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36276 * conform/conformtest.pl: Fix typo in handling typed-constant from
36279 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36281 * README: Cut down references to pre-2.6 Linux kernels and
36282 Linuxthreads. Update lists of configurations in libc and ports
36283 and sort alphabetically. Say "or newer" with Linux kernel version
36286 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36288 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36291 * math/libm-test.inc (logb_test_downward): New test to expose
36292 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36295 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36298 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36300 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36301 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36303 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36305 * sysdeps/unix/i386/brk.S: Remove file.
36306 * sysdeps/unix/i386/dl-brk.S: Likewise.
36307 * sysdeps/unix/i386/pipe.S: Likewise.
36308 * sysdeps/unix/i386/sigreturn.S: Likewise.
36309 * sysdeps/unix/i386/syscall.S: Likewise.
36310 * sysdeps/unix/i386/vfork.S: Likewise.
36311 * sysdeps/unix/i386/wait.S: Likewise.
36313 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36314 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36316 * configure.in (arm*-none*): Do not allow without
36317 --enable-hacker-mode.
36318 (netbsd*): Remove case setting base_os.
36319 (386bsd*): Likewise.
36320 (freebsd*): Likewise.
36323 (sunos*): Likewise.
36324 (ultrix*): Likewise.
36325 (newsos*): Likewise.
36326 (dynix*): Likewise.
36332 (minix*): Likewise.
36333 (irix4*): Likewise.
36334 (irix6*): Likewise.
36335 (solaris[2-9]*): Likewise.
36337 * configure: Regenerated.
36339 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36342 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36343 overflow or cancellation in calculating denominator.
36344 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36345 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36346 down expression to avoid unexpected rounding in newer GCCs.
36347 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36349 2012-04-26 David S. Miller <davem@davemloft.net>
36351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36352 long-double compat symbols.
36353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36367 2012-04-25 David S. Miller <davem@davemloft.net>
36369 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36370 HWCAP_* values only after the memory barriers have been defined.
36371 (atomic_full_barrier): Define.
36372 (atomic_read_barrier): Define.
36373 (atomic_write_barrier): Define.
36375 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36377 * shlib-versions: Add libgcc_s version information.
36378 * sysdeps/generic/libgcc_s.h: Remove.
36379 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36381 * sysdeps/gnu/unwind-resume.c: Likewise.
36382 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36384 2012-04-25 David S. Miller <davem@davemloft.net>
36386 * sysdeps/unix/sparc/brk.S: Delete.
36387 * sysdeps/unix/sparc/dl-brk.S: Delete.
36388 * sysdeps/unix/sparc/pipe.S: Delete.
36389 * sysdeps/unix/sparc/sysdep.S: Delete.
36390 * sysdeps/unix/sparc/sysdep.h: Delete.
36391 * sysdeps/unix/sparc/vfork.S: Delete.
36392 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36393 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36394 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36395 (ret_ERRVAL, r0, r1, MOVE): Define.
36396 (JUMPTARGET): Remove.
36397 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36398 sysdeps/unix/sparc/sysdep.h
36399 (ENTRY, END): Remove.
36400 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36402 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36404 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36405 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36408 * timezone/README: Update upstream location and email address for
36410 * timezone/zdump.c: Update from tzcode 2012b.
36411 * timezone/zic.c: Likewise.
36413 * configure.in (libc_cv_as_needed): Remove test.
36414 * configure: Regenerated.
36415 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36416 conditional definition.
36417 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36418 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36419 * config.make.in (have-as-needed): Remove variable.
36421 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36422 Paul Pluzhnikov <ppluzhnikov@google.com>
36424 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36427 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36429 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36430 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36431 * sysdeps/sh/strlen.S: Likewise.
36433 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36435 * sysdeps/unix/fork.S: Remove file.
36436 * sysdeps/unix/i386/fork.S: Likewise.
36437 * sysdeps/unix/sparc/fork.S: Likewise.
36439 * sysdeps/unix/system.c: Remove file.
36440 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36442 * sysdeps/unix/getegid.S: Remove file.
36443 * sysdeps/unix/geteuid.S: Likewise.
36445 2012-04-24 Roland McGrath <roland@hack.frob.com>
36447 * scripts/check-localplt.awk: New file.
36448 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36450 * scripts/data/localplt-generic.data: Add a comment.
36452 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36453 NODE when __dir_mkfile failed.
36454 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36455 Reported by Ludovic Courtès <ludo@gnu.org>.
36457 2012-04-24 Andreas Jaeger <aj@suse.de>
36459 * Makerules (common-clean): Also remove gen-as-const-headers
36462 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36464 * Makerules (native-compile): Do not change working directory for
36465 build. Use $(OUTPUT_OPTION) in command.
36466 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36468 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36471 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36472 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36473 * math/libm-test.inc (floor_test): Add more tests.
36474 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36476 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36478 * sysdeps/unix/getdents.c: Remove file.
36479 * sysdeps/unix/sysv/getdents.c: Likewise.
36480 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36482 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36483 sysdeps/unix/mman/syscalls.list.
36485 (mprotect): Likewise.
36487 (munmap): Likewise.
36488 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36489 * sysdeps/unix/mman/syscalls.list: Remove.
36490 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36492 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36493 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36494 * configure: Regenerated.
36495 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36496 $(libgcc_s_suffix).
36497 * config.make.in (libgcc_s_suffix): Remove variable.
36499 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36501 * sysdeps/unix/sysv/gethostname.c: Move to ...
36502 * sysdeps/posix/gethostname.c: ... here.
36504 * sysdeps/unix/execve.S: Remove file.
36506 * sysdeps/unix/_exit.S: Remove file.
36508 2012-04-23 Andreas Jaeger <aj@suse.de>
36511 * manual/Makefile: Remove make dist support, there's no
36512 need for a stand-alone documentation tar ball.
36513 (TEXI2DVI): Define always, it's not in Makeconfig.
36516 (edition): Removed.
36517 (glibc-doc-$(edition).tar): Removed
36521 (ETAGS): Remove, it's in Makeconfig.
36522 (move-if-change): Remove, it's in Makeconfig.
36524 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36527 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36528 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36529 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36530 (strtod_l, strtof_l, strtold_l): Remove __wur.
36531 It is not necessarily an error to ignore strtol's return value.
36532 One can reliably look at the stored endptr to decide whether
36533 the number had valid syntax.
36535 2012-04-21 Andreas Jaeger <aj@suse.de>
36538 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36540 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36542 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36543 * sysdeps/unix/sysv/Versions: Remove file.
36545 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36550 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36553 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36554 version from __vm86.
36556 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36558 * sysdeps/unix/common/lxstat.c: Remove file.
36559 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36561 * sysdeps/unix/sysv/Makefile: Remove file.
36563 * sysdeps/unix/sysv/direct.h: Remove file.
36565 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36566 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36567 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36568 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36569 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36570 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36571 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36573 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36575 * sysdeps/unix/xmknod.c: Remove file.
36576 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36578 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36580 * sysdeps/unix/sysv/i386/time.S: Remove file.
36582 * sysdeps/unix/fxstat.c: Remove file.
36583 * sysdeps/unix/xstat.c: Likewise.
36584 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36586 * sysdeps/unix/sysv/sigaction.c: Remove file.
36588 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36589 (sysdep_headers): Remove variable.
36590 [termio.h not in sysdep_headers] (generated): Likewise.
36591 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36592 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36593 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36594 * sysdeps/unix/sysv/tcflow.c: Likewise.
36595 * sysdeps/unix/sysv/tcflush.c: Likewise.
36596 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36597 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36598 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36599 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36600 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36602 * sysdeps/unix/siglist.c: Remove file.
36604 * sysdeps/unix/getppid.S: Remove file.
36606 * sysdeps/unix/mkdir.c: Remove file.
36607 * sysdeps/unix/rmdir.c: Likewise.
36609 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36611 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36613 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36614 errlist-compat value.
36616 2012-04-18 David S. Miller <davem@davemloft.net>
36618 * sysdeps/generic/memcopy.h (reg_char): Delete.
36619 * debug/strcat_chk.c: Use char, not reg_char.
36620 * debug/strcpy_chk.c: Likewise.
36621 * debug/strncat_chk.c: Likewise.
36622 * debug/strncpy_chk.c: Likewise.
36623 * string/memchr.c: Likewise.
36624 * string/memrchr.c: Likewise.
36625 * string/rawmemchr.c: Likewise.
36626 * string/strcat.c: Likewise.
36627 * string/strchr.c: Likewise.
36628 * string/strchrnul.c: Likewise.
36629 * string/strcmp.c: Likewise.
36630 * string/strcpy.c: Likewise.
36631 * string/strncat.c: Likewise.
36632 * string/strncmp.c: Likewise.
36633 * string/strncpy.c: Likewise.
36635 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36637 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36638 __builtin_memcopy is called when src and dest ranges are known to not
36641 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36643 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36644 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36645 fwd_align_merge macro call.
36646 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36647 bwd_align_merge macro call.
36648 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36650 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36652 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36653 bwd_align_merge macros.
36654 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36655 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36656 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36658 2012-04-18 David S. Miller <davem@davemloft.net>
36660 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36662 2012-04-18 Andreas Jaeger <aj@suse.de>
36665 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36666 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36667 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36670 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36671 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36673 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36674 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36675 Adjust for changed ldbl-128 files.
36677 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36678 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36679 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36681 2012-04-17 David S. Miller <davem@davemloft.net>
36683 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36685 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36687 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36688 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36689 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36690 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36691 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36692 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36694 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36697 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36698 * math/libm-test.inc: Add ilogb errno and exception tests.
36699 * math/w_ilogb.c: New file: ilogb wrapper.
36700 * math/w_ilogbf.c: New file: ilogbf wrapper.
36701 * math/w_ilogbl.c: New file: ilogbl wrapper.
36702 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36703 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36704 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36705 exception being thrown with 0.0 as argument.
36706 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36707 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36708 exception being thrown with 0.0 as argument.
36709 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36710 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36711 exception being thrown with 0.0 as argument.
36712 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36713 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36714 exception being thrown with 0.0 as argument.
36715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36716 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36718 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36719 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36720 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36721 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36722 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36723 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36725 2012-04-17 Petr Baudis <pasky@ucw.cz>
36727 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36730 2012-04-16 Marek Polacek <polacek@redhat.com>
36732 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36734 2012-04-16 Marek Polacek <polacek@redhat.com>
36736 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36737 operands of fdivp instruction.
36739 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36741 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36742 * elf/tst-auditmod3b.c: Likewise.
36743 * elf/tst-auditmod4b.c: Likewise.
36744 * elf/tst-auditmod5b.c: Likewise.
36745 * elf/tst-auditmod6b.c: Likewise.
36746 * elf/tst-auditmod6c.c: Likewise.
36747 * elf/tst-auditmod7b.c: Likewise.
36748 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36749 * sysdeps/x86_64/preconfigure.in: Likewise.
36750 * sysdeps/x86_64/preconfigure: Regenerated.
36752 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36754 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36757 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36759 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36760 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36762 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36765 * locale/iso-639.def: Fix gl language name. Spotted by
36768 2012-04-12 Roland McGrath <roland@hack.frob.com>
36771 * libio/libio.h (__io_write_fn): Update comment.
36773 2012-04-12 Petr Baudis <pasky@ucw.cz>
36776 * stdio.texi (Hook Functions): The user provided writer function
36777 is not allowed to return -1.
36779 2012-04-11 David S. Miller <davem@davemloft.net>
36781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36783 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36785 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36786 Add a leading slash to rtkaio.
36788 2012-04-11 Jim Meyering <meyering@redhat.com>
36791 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36792 It is not necessarily an error to ignore fwrite's return
36793 value. One can reliably use ferror to test for errors after
36796 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36798 * bits/types.h (__snseconds_t): New type.
36799 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36801 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36803 (__SNSECONDS_T_TYPE): Likewise.
36804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36805 (__SNSECONDS_T_TYPE): Likewise.
36806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36807 (__SNSECONDS_T_TYPE): Likewise.
36809 2012-04-10 Andreas Jaeger <aj@suse.de>
36812 * manual/time.texi (Processor Time): Return type of times is
36813 elapsed real time since an arbitrary point in the past.
36814 (CPU Time): Move CLK_TCK from here...
36815 (Processor Time): ...to here. Correct description.
36816 * manual/conf.texi (Constants for Sysconf): Correct description of
36819 2012-04-10 David S. Miller <davem@davemloft.net>
36822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36823 where the is a gap between DT_REL(A) and DT_JMPREL.
36825 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36827 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36828 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36829 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36831 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36833 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36834 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36835 (dl_main): Handle --inhibit-cache.
36836 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36838 * elf/dl-load.c (_dl_map_object): Use it.
36839 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36841 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36844 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36845 (__ieee754_powl): Saturate large exponents rather than testing for
36846 overflow of y*log2(x).
36847 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36848 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36852 * math/s_ctan.c: Include <float.h>.
36853 (__ctan): Avoid internal overflow or cancellation in calculating
36855 * math/s_ctanf.c: Likewise.
36856 * math/s_ctanl.c: Likewise.
36857 * math/s_ctanh.c: Likewise.
36858 * math/s_ctanhf.c: Likewise.
36859 * math/s_ctanhl.c: Likewise.
36860 * math/libm-test.inc (ctan_test): Add more tests.
36861 (ctanh_test): Likewise.
36862 * sysdeps/i386/fpu/libm-test-ulps: Update.
36863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36865 2012-04-09 Andreas Jaeger <aj@suse.de>
36868 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36869 is an optional BSD extension.
36872 * manual/stdio.texi (Opening Streams): Document additional fopen
36875 2012-04-09 Roland McGrath <roland@hack.frob.com>
36877 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36878 %eax without telling the compiler.
36880 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36883 * manual/install.texi: Use sourceware.org.
36885 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36888 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36889 (__ieee754_pow): Generate overflow and underflow using huge*huge
36890 and tiny*tiny rather than just returning constant infinity or zero
36891 for large exponents.
36892 * math/libm-test.inc (pow_test): Require overflow exceptions for
36893 applicable cases of large exponents.
36896 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36897 (__ieee754_pow): Use iterative multiplication algorithm only for
36898 integer exponents with absolute value below 1024. Check for odd
36899 integer exponents when using algorithm for real exponents.
36900 * math/libm-test.inc (pow_test): Add more tests.
36901 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36903 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36906 * math/libm-test.inc (exp_test): Do not allow overflow exception
36909 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36912 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36913 instead of __kernel_standard_f.
36915 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36917 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36918 * sysdeps/x86_64/memset_chk.S: Likewise.
36920 2012-04-08 Andreas Jaeger <aj@suse.de>
36923 * manual/startup.texi (Environment Access): Describe return value
36924 for putenv and setenv.
36927 * manual/filesys.texi (Directory Entries): Add description for
36931 * manual/filesys.texi (Directory Entries): Clarify that it's file
36932 system not operating system in the description of DT_UNKNOWN.
36935 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36937 2012-04-08 Stephen Compall <s11@member.fsf.org>
36940 * manual/llio.texi (Opening and Closing Files): Add cross
36941 reference to explain mode argument.
36943 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36945 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36946 * sysdeps/x86_64/memset_chk.S: Likewise.
36948 2012-04-07 David S. Miller <davem@davemloft.net>
36950 * elf/elf.h (R_SPARC_WDISP10): Define.
36951 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36953 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36954 R_SPARC_SIZE64 and R_SPARC_H34.
36956 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36958 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36959 conditions and remove no longer applicable assertion.
36961 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36963 * bits/byteswap.h: Include <features.h>.
36964 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36965 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36967 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36969 * bits/byteswap.h (__bswap_16): Removed.
36970 Include <bits/byteswap-16.h> to get __bswap_16.
36971 * sysdeps/i386/bits/byteswap.h: Likewise.
36972 * sysdeps/s390/bits/byteswap.h: Likewise.
36973 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36974 * bits/byteswap-16.h: New file.
36975 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36976 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36977 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36978 * string/Makefile (headers): Add bits/byteswap-16.h.
36980 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36983 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36985 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36986 * nss/tst-nss-static.c: New.
36988 2012-04-06 Robert Millan <rmh@gnu.org>
36991 * manual/llio.texi (File Position Primitive): lseek
36992 refers to WHENCE when it really means OFFSET.
36994 2012-04-06 Andreas Jaeger <aj@suse.de>
36996 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36997 strncmp declarations.
36999 * abilist/libc.abilist: Add __poll and __ppoll.
37001 2012-04-05 David S. Miller <davem@davemloft.net>
37003 * scripts/check-local-headers.sh: Accept a host triplet in the
37004 path matched by the exclude regexp.
37006 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37008 * sysdeps/powerpc/powerpc32/dl-machine.h
37009 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37010 * sysdeps/s390/s390-32/dl-machine.h
37011 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37012 * sysdeps/sparc/sparc32/dl-machine.h
37013 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37014 * sysdeps/sparc/sparc64/dl-machine.h
37015 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37017 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37019 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37020 undefined symbol errors.
37022 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37025 2012-04-05 Michael Matz <matz@suse.de>
37028 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37030 2012-04-05 Andreas Jaeger <aj@suse.de>
37033 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37036 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37038 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37039 which ROUND is no valid rounding mode.
37041 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37043 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37045 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37047 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37049 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37050 an exception using FPU order intentionally.
37052 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37054 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37055 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37056 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37057 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37059 2012-04-05 Simon Josefsson <simon@josefsson.org>
37062 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37063 EINVAL when BUFLEN is too smal.
37065 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37068 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37069 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37071 2012-04-03 Andreas Jaeger <aj@suse.de>
37074 * manual/setjmp.texi (System V contexts): Fix sentence.
37077 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37078 New macro for this case.
37079 [!__GNUC__] (__bswap_64): New inline function for this case.
37080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37081 * bits/byteswap.h: Likewise.
37082 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37083 ull, guard with __GLIBC_HAVE_LONG_LONG.
37085 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37086 __GLIBC_HAVE_LONG_LONG.
37088 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37089 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37091 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37094 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37095 inptr and inend, rather than using last_ch.
37097 2012-04-02 David S. Miller <davem@davemloft.net>
37099 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37100 * stdio-common/printf-parse.h (read_int): Change return type to
37101 'int', return -1 on INT_MAX overflow.
37102 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37103 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37104 overflows INT_MAX. Check for overflow of in-format-string precision
37105 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37106 SIZE_MAX not INT_MAX for integer overflow test.
37107 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37108 skip the construct in the format string but do not record anything.
37109 * stdio-common/bug22.c: Adjust to test both width/prevision
37110 INT_MAX overflow as well as total length INT_MAX overflow. Check
37111 explicitly for proper errno values.
37113 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37115 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37117 * string/test-strcmp.c [! WIDE]: Likewise.
37118 * time/tst-mktime2.c: Likewise for INT_MAX.
37119 * string/test-string.h: #include <sys/param.h> for MIN.
37121 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37122 * sysdeps/i386/init-first.c (init): Likewise.
37123 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37124 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37125 * sysdeps/sh/init-first.c (init): Likewise.
37127 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37129 * po/ru.po: Update from translation team.
37130 * po/vi.po: Likewise.
37132 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37134 * resolv/nss_dns/dns-host.c: Merge copyright years.
37136 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37138 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37139 Optimize memcpy with prefetch if
37140 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37141 src, dst pointers have unequal 16 byte alignments.
37143 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37146 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37147 from a CNAME entry and return the minimum ttl for the query.
37148 (gaih_getanswer_slice): Likewise.
37150 2012-03-30 Jeff Law <law@redhat.com>
37152 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37154 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37155 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37157 * resolv/nss_dns/dns-host.c: Update copyright year.
37159 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37161 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37162 requests to save a system call. Fix check that all bytes are sent.
37164 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37165 comments for sendmmsg.
37167 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37170 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37171 with only 1 character between 0x0041 and 0x01b0.
37172 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37173 * wcsmbs/tst-mbsnrtowcs.c: New file.
37175 2012-03-29 David S. Miller <davem@davemloft.net>
37177 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37178 small copies by hand.
37180 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37183 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37184 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37187 2012-03-28 David S. Miller <davem@davemloft.net>
37189 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37190 that branches into memcpy.
37191 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37194 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37197 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37198 implementation too.
37199 * sysdeps/sparc/mempcpy.S: New file.
37201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37202 the IFUNC routine in the libc case.
37203 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37205 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37206 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37207 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37208 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37209 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37210 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37211 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37212 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37214 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37215 loop to 256 bytes instead of 64 bytes and fix test signedness.
37217 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37218 * sysdeps/sparc/sparc32/Makefile: rather than here...
37219 * sysdeps/sparc/sparc64/Makefile: and here.
37221 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37223 * malloc/mallocbug.c: Avoid warnings about unused variables.
37225 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37228 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37229 in the right place. Discard and retry query if response is
37230 larger than input buffer size.
37232 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37237 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37238 x for large integer exponent.
37239 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37240 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37241 sign of result as needed afterwards.
37242 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37244 result for underflowing pow the same as for overflow.
37245 (__kernel_standard_l): Handle powl overflow and underflow here
37246 rather than calling __kernel_standard.
37247 * math/libm-test.inc (pow_test): Add more tests.
37262 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37263 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37264 (__kernel_standard_l): New function.
37265 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37267 * math/w_acosl.c (__acosl): Likewise.
37268 * math/w_asinl.c (__asinl): Likewise.
37269 * math/w_atan2l.c (__atan2l): Likewise.
37270 * math/w_atanhl.c (__atanhl): Likewise.
37271 * math/w_coshl.c (__coshl): Likewise.
37272 * math/w_exp10l.c (__exp10l): Likewise.
37273 * math/w_exp2l.c (__exp2l): Likewise.
37274 * math/w_fmodl.c (__fmodl): Likewise.
37275 * math/w_hypotl.c (__hypotl): Likewise.
37276 * math/w_j0l.c (__j0l, __y0l): Likewise.
37277 * math/w_j1l.c (__j1l, __y1l): Likewise.
37278 * math/w_jnl.c (__jnl, __ynl): Likewise.
37279 * math/w_lgammal.c (__lgammal): Likewise.
37280 * math/w_log10l.c (__log10l): Likewise.
37281 * math/w_log2l.c (__log2l): Likewise.
37282 * math/w_logl.c (__logl): Likewise.
37283 * math/w_powl.c (__powl): Likewise.
37284 * math/w_remainderl.c (__remainderl): Likewise.
37285 * math/w_scalbl.c (sysv_scalbl): Likewise.
37286 * math/w_sinhl.c (__sinhl): Likewise.
37287 * math/w_sqrtl.c (__sqrtl): Likewise.
37288 * math/w_tgammal.c (__tgammal): Likewise.
37289 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37290 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37291 * math/libm-test.inc (acos_test): Add more tests.
37292 (acosh_test): Likewise.
37293 (asin_test): Likewise.
37294 (atanh_test): Likewise.
37295 (exp_test): Likewise.
37296 (exp10_test): Likewise.
37297 (exp2_test): Likewise.
37298 (expm1_test): Likewise.
37299 (lgamma_test): Likewise.
37300 (log_test): Likewise.
37301 (log10_test): Likewise.
37302 (log1p_test): Likewise.
37303 (log2_test): Likewise.
37304 (pow_test): Do not allow some spurious overflow exceptions.
37305 (sqrt_test): Add more tests.
37306 (tgamma_test): Likewise.
37307 (y0_test): Likewise.
37308 (y1_test): Likewise.
37309 (yn_test): Likewise.
37311 2012-03-27 Anton Blanchard <anton@samba.org>
37313 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37319 2012-03-27 David S. Miller <davem@davemloft.net>
37321 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37323 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37324 have-as-vis3 check.
37326 2012-03-27 Andreas Jaeger <aj@suse.de>
37328 * sysdeps/x86_64/elf/configure.in: Moved to ...
37329 * sysdeps/x86_64/configure.in: ... here.
37330 * sysdeps/x86_64/elf/start.S: Moved to ...
37331 * sysdeps/x86_64/start.S: ... here.
37332 * sysdeps/x86_64/elf/configure: Delete.
37334 * sysdeps/x86_64/configure.in: Merge contents from
37335 sysdeps/i386/configure.in (without i686 check).
37337 * sysdeps/i386/elf/Versions: Merge into ...
37338 * sysdeps/i386/Versions: ... this.
37339 * sysdeps/i386/elf/Versions: Delete file.
37340 * sysdeps/i386/elf/start.S: Moved to ...
37341 * sysdeps/i386/start.S: ...here.
37342 * sysdeps/i386/elf/configure.in: Merge into...
37343 * sysdeps/i386/configure.in: ...here.
37344 * sysdeps/i386/elf/configure.in: Delete file.
37345 * sysdeps/i386/elf/configure: Delete file.
37347 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37348 * debug/backtracesyms.c: ... here.
37349 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37350 * debug/backtracesymsfd.c: ... here.
37351 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37352 * sysdeps/generic/ifunc-sel.h: ... here.
37354 * sysdeps/unix/i386/start.c: Delete file.
37355 * sysdeps/unix/sparc/start.c: Delete file.
37356 * sysdeps/unix/start.c: Delete file.
37358 * sysdeps/sh/elf/configure.in: Moved to ...
37359 * sysdeps/sh/configure.in: ... here.
37360 * sysdeps/sh/elf/start.S: Moved to ...
37361 * sysdeps/sh/start.S: ... here.
37362 * sysdeps/sh/elf/configure: Delete file.
37364 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37365 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37366 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37367 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37368 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37369 * sysdeps/powerpc/powerpc64/start.S: here.
37370 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37371 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37372 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37373 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37374 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37376 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37377 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37378 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37379 * sysdeps/powerpc/powerpc32/start.S: ... here.
37380 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37381 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37382 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37384 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37385 * sysdeps/powerpc/ifunc-sel.h: ... here.
37386 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37387 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37389 * sysdeps/sparc/elf/configure.in: Moved to ...
37390 * sysdeps/sparc/configure.in: ... here.
37391 * sysdeps/sparc/elf/configure: Delete file.
37392 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37393 * sysdeps/sparc/sparc32/start.S: ... here.
37394 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37395 * sysdeps/sparc/sparc64/start.S: ... here.
37396 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37397 * sysdeps/sparc/sparc32/Makefile: ... this.
37398 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37399 * sysdeps/sparc/sparc64/Makefile: ... this.
37401 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37402 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37403 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37404 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37405 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37406 * sysdeps/s390/s390-32/setjmp.S: ... here.
37407 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37408 * sysdeps/s390/s390-32/configure.in: ... here.
37409 * sysdeps/s390/s390-32/elf/configure: Delete file.
37410 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37411 * sysdeps/s390/s390-32/start.S: ... here.
37413 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37414 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37415 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37416 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37417 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37418 * sysdeps/s390/s390-64/setjmp.S: ... here.
37419 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37420 * sysdeps/s390/s390-64/configure.in: ... here
37421 * sysdeps/s390/s390-64/elf/configure: Delete file.
37422 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37423 * sysdeps/s390/s390-64/start.S: ... here.
37424 * sysdeps/s390/s390-64/elf/configure: Delete.
37426 * configure.in: Remove support for elf directories in sysdeps.
37428 * configure: Regenerated.
37429 * sysdeps/i386/configure: Regenerated.
37430 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37431 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37432 * sysdeps/s390/s390-32/configure: Regenerated.
37433 * sysdeps/s390/s390-64/configure: Regenerated.
37434 * sysdeps/sh/configure: Regenerated.
37435 * sysdeps/sparc/configure: Regenerated.
37436 * sysdeps/x86_64/configure: Regenerated.
37438 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37442 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37443 denormal result into account.
37445 2012-03-25 Roland McGrath <roland@hack.frob.com>
37447 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37448 Reported by Allan McRae <allan@archlinux.org>.
37450 2012-03-23 Jeff Law <law@redhat.com>
37452 * nss/getnssent.c (__nss_getent): Fix typo.
37454 2012-03-23 David S. Miller <davem@davemloft.net>
37456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37458 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37460 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37461 to pad to uint64_t for each field.
37462 (dl_tls_index): Replace unsigned long with uint64_t.
37464 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37465 Paul Pluzhnikov <ppluzhnikov@google.com>
37468 * grp/Makefile (otherlibs): Don't set it.
37469 * inet/Makefile (otherlibs): Likewise.
37470 * login/Makefile (otherlibs): Likewise.
37471 * nscd/Makefile (otherlibs): Likewise.
37472 * posix/Makefile (otherlibs): Likewise.
37473 * pwd/Makefile (otherlibs): Likewise.
37474 * rt/Makefile (otherlibs): Likewise.
37475 * sunrpc/Makefile (otherlibs): Likewise.
37476 * nss/Makefile (otherlibs): Likewise.
37477 Add libnss_files to routines and static-only-routines.
37478 ($(objpfx)getent): Remove rule.
37479 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37480 static-only-routines.
37482 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37485 * math/s_cexp.c: Include <float.h>.
37486 (__cexp): Handle exp result overflowing not necessarily
37487 overflowing both real and imaginary parts of result.
37488 * math/s_cexpf.c: Likewise.
37489 * math/s_cexpl.c: Likewise.
37490 * math/libm-test.inc (cexp_test): Add more tests.
37491 * sysdeps/i386/fpu/libm-test-ulps: Update.
37492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37494 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37496 * include/link.h (ELFW): New macro.
37497 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37498 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37500 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37502 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37505 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37507 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37509 (struct La_x32_retval): Likewise.
37511 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37513 * sysdeps/x86_64/preconfigure.in: New file.
37514 * sysdeps/x86_64/preconfigure: New generated file.
37516 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37519 * math/e_exp2l.c: Include <float.h>.
37520 (__ieee754_exp2l): Handle overflow and underflow cases
37521 separately. Only pass fractional part of argument to
37523 * math/libm-test.inc (exp2_test): Add more tests.
37525 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37526 negating x to take absolute value.
37527 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37529 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37530 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37532 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37533 computing low part if x was negated.
37534 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37536 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37538 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37539 la_x32_gnu_pltexit.
37540 (pltexit): Cast int_retval to ptrdiff_t.
37541 * elf/tst-auditmod3b.c: Likewise.
37542 * elf/tst-auditmod4b.c: Likewise.
37543 * elf/tst-auditmod5b.c: Likewise.
37544 * elf/tst-auditmod6b.c: Likewise.
37545 * elf/tst-auditmod6c.c: Likewise.
37546 * elf/tst-auditmod7b.c: Likewise.
37548 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37549 and x32_gnu_pltexit.
37551 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37552 __ELF_NATIVE_CLASS.
37553 (La_x32_regs): New macro.
37554 (La_x32_retval): Likewise.
37555 (la_x32_gnu_pltenter): New function prototype.
37556 (la_x32_gnu_pltexit): Likewise.
37558 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37560 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37565 * configure.in (libc_cv_cc_nofma): Check for option to disable
37566 generation of FMA instructions.
37567 * configure: Regenerate.
37568 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37569 * sysdeps/ieee754/dbl-64/Makefile: New file.
37570 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37571 Remove brandred-fma4.
37572 (CFLAGS-brandred-fma4.c): Remove.
37573 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37574 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37576 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37579 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37581 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37582 LLONG_MAX != LONG_MAX.
37583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37584 (_fitoa_word): Likewise.
37585 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37586 LLONG_MAX != LONG_MAX.
37587 * stdio-common/_itowa.h: Include <_itoa.h>.
37588 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37589 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37590 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37591 only if not defined.
37592 (_ITOA_WORD_TYPE): Likewise.
37593 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37594 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37596 2012-03-21 David S. Miller <davem@davemloft.net>
37598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37600 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37602 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37603 of x86_64 when setting libc_cv_slibdir, libdir and
37605 * sysdeps/unix/sysv/linux/configure: Regenerated.
37607 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37609 * manual/lang.texi (Old Varargs): Remove section.
37610 (How Variadic): Update menu.
37611 (va_start): Do not mention varargs.h.
37613 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37614 Joseph Myers <joseph@codesourcery.com>
37616 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37618 * configure: Regenerated.
37620 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37622 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37623 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37626 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37629 * Makefile (files-for-dist): Remove NOTES.
37630 (NOTES): Remove rule.
37631 * README: Don't refer to NOTES.
37632 * manual/creature.texi: Don't include macros.texi.
37633 * manual/intro.texi (creature.texi): Remove comment referring to
37636 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37637 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37638 * configure: Regenerated.
37639 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37640 LIBC_TRY_CC_OPTION.
37641 (libc_cv_as_i686): Likewise.
37642 (libc_cv_cc_avx): Likewise.
37643 (libc_cv_cc_sse2avx): Likewise.
37644 (libc_cv_cc_fma4): Likewise.
37645 (libc_cv_cc_novzeroupper): Likewise.
37646 * sysdeps/i386/configure: Regenerated.
37649 * sysdeps/i386/fpu/s_cexp.S: Remove.
37650 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37651 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37652 * math/libm-test.inc (cexp_test): Add more tests.
37653 * sysdeps/i386/fpu/libm-test-ulps: Update.
37654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37656 2012-03-21 Allan McRae <allan@archlinux.org>
37658 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37660 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37663 * math/w_exp2.c: Do not include <float.h>.
37664 (o_threshold, u_threshold): Remove.
37665 (__exp2): Calculate result before checking finiteness and calling
37667 * math/w_exp2f.c: Likewise.
37668 * math/w_exp2l.c: Likewise.
37669 * math/libm-test.inc (exp2_test): Require overflow exception for
37673 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37674 range of signed 64-bit integers before using fistpll. Remove
37675 checks for whether integers fit in mantissa bits.
37676 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37677 the range of signed 32-bit integers before using fistpl. Remove
37678 checks for whether integers fit in mantissa bits.
37679 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37680 (__ieee754_powl): Test for y outside the range of signed 64-bit
37681 integers before using fistpll. Reduce 64-bit values to 63-bit
37683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37684 divide-by-zero is raised for zero to large negative powers.
37685 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37686 (__ieee754_powl): Test for y outside the range of signed 64-bit
37687 integers before using fistpll. Reduce 64-bit values to 63-bit
37689 * math/libm-test.inc (pow_test): Add more tests.
37691 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37693 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37694 <stdio-common/_itoa.h>.
37695 * debug/segfault.c: Likewise.
37696 * elf/dl-cache.c: Likewise.
37697 * elf/dl-minimal.c: Likewise.
37698 * elf/dl-misc.c: Likewise.
37699 * elf/dl-sysdep.c: Likewise.
37700 * elf/dl-version.c: Likewise.
37701 * elf/rtld.c: Likewise.
37702 * hurd/hurdsock.c: Likewise.
37703 * hurd/lookup-retry.c: Likewise.
37704 * malloc/malloc.c: Likewise.
37705 * malloc/mtrace.c: Likewise.
37706 * nscd/nscd_getgr_r.c: Likewise.
37707 * nscd/nscd_getpw_r.c: Likewise.
37708 * nscd/nscd_getserv_r.c: Likewise.
37709 * posix/getopt_init.c: Likewise.
37710 * posix/wordexp.c: Likewise.
37711 * stdio-common/_itoa.c: Likewise.
37712 * stdio-common/printf_fphex.c: Likewise.
37713 * stdio-common/vfprintf.c: Likewise.
37714 * string/_strerror.c: Likewise.
37715 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37716 * sysdeps/i386/i686/hp-timing.h: Likewise.
37717 * sysdeps/mach/_strerror.c: Likewise.
37718 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37719 * sysdeps/mach/hurd/sethostid.c: Likewise.
37720 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37721 * sysdeps/mach/xpg-strerror.c: Likewise.
37722 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37723 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37724 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37725 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37726 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37727 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37728 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37729 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37730 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37731 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37732 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37733 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37734 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37735 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37736 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37737 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37738 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37739 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37740 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37741 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37742 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37744 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37746 * stdio-common/_itoa.h: Moved to ...
37747 * sysdeps/generic/_itoa.h: Here.
37749 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37751 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37752 instead of "_itoa.h" and "_itowa.h".
37753 * stdio-common/vfprintf.: Likewise.
37755 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37759 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37760 (__signbit): Likwise.
37761 (llrintf): Likwise.
37764 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37766 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37769 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37771 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37772 OVERFLOW_EXCEPTION_OK.
37773 * math/libm-test.inc ("Philosophy"): Update comment about
37775 (OVERFLOW_EXCEPTION): Define.
37776 (OVERFLOW_EXCEPTION_OK): Likewise.
37777 (INVALID_EXCEPTION_OK): Renumber.
37778 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37779 (IGNORE_ZERO_INF_SIGN): Likewise.
37780 (test_exceptions): Handle FE_OVERFLOW.
37781 (exp10_test): Expect overflow exceptions.
37782 (exp2_test): Likewise.
37783 (expm1_test): Likewise.
37784 (nextafter_test): Likewise.
37785 (pow_test): Likewise.
37786 (scalbn_test): Likewise.
37787 (scalbln_test): Likewise.
37789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37791 * sysdeps/x86_64/bits/atomic.h
37792 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37794 (atomic_exchange_acq): Likewise.
37795 (__arch_exchange_and_add_body): Likewise.
37796 (__arch_add_body): Likewise.
37797 (atomic_add_negative): Likewise.
37798 (atomic_add_zero): Likewise.
37800 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37802 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37803 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37807 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37808 Check __x86_64__ instead of __WORDSIZE.
37810 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37812 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37814 2012-03-19 David S. Miller <davem@davemloft.net>
37816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37818 * sysdeps/sparc/fpu/fenv_private.h: New file.
37819 * sysdeps/sparc/fpu/math_private.h: Use it.
37820 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37823 (libc_feholdexcept_setroundl): Remove.
37824 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37831 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37832 int64_t instead of long int.
37833 (INSERT_WORDS64): Likwise.
37835 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37837 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37838 _Unwind_GetCFA return to _Unwind_Ptr first.
37840 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37843 * math/s_clog.c: Include <float.h>.
37844 (__clog): Scale large or subnormal inputs.
37845 * math/s_clogf.c: Likewise.
37846 * math/s_clogl.c: Likewise.
37847 * math/s_clog10.c: Include <float.h>.
37848 (M_LOG10_2): Define.
37849 (__clog10): Scale large or subnormal inputs.
37850 * math/s_clog10f.c: Likewise.
37851 * math/s_clog10l.c: Likewise.
37852 * math/libm-test.inc (clog_test): Add more tests.
37853 (clog10_test): Likewise.
37854 * sysdeps/i386/fpu/libm-test-ulps: Update.
37855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37858 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37860 * math/libm-test.inc (atan2_test): Add another test.
37862 * Makerules (common-objdir-compile): Remove.
37863 * sysdeps/unix/Makefile (config-generated): Do not add
37864 $(unix-generated) to variable.
37865 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37866 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37868 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37870 [generic bits/local_lim.h] (before-compile): Do not append to
37872 [generic bits/local_lim.h] (common-generated): Likewise.
37873 [generic sys/param.h] (before-compile): Do not append to variable.
37874 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37875 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37876 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37877 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37879 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37880 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37881 [generic sys/param.h] ($(addprefix
37882 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37883 [generic sys/param.h] (common-generated): Do not append to
37885 [generic sys/param.h] (sysdep_headers): Likewise.
37886 [generic bits/errno.h] (before-compile): Do not append to
37888 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37890 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37891 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37892 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37893 [generic bits/errno.h] (common-generated): Do not append to
37895 [generic bits/ioctls.h] (before-compile): Do not append to
37897 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37899 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37900 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37901 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37903 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37904 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37905 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37906 [generic bits/ioctls.h] (common-generated): Do not append to
37908 [generic sys/syscall.h] (syscall.h): Remove variable.
37909 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37911 [generic sys/syscall.h] (before-compile): Do not append to
37913 [generic sys/syscall.h] (common-generated): Likewise.
37914 * sysdeps/unix/errnos-tmpl.c: Remove file.
37915 * sysdeps/unix/errnos.awk: Likewise.
37916 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37917 * sysdeps/unix/ioctls.awk: Likewise.
37918 * sysdeps/unix/mk-local_lim.c: Likewise.
37919 * sysdeps/unix/snarf-ioctls: Likewise.
37921 2012-03-19 Richard Henderson <rth@twiddle.net>
37923 * sysdeps/i386/fpu/fenv_private.h: New file.
37924 * sysdeps/i386/fpu/math_private.h: Use it.
37925 (math_opt_barrier, math_force_eval): Remove.
37926 (libc_feholdexcept_setround_53bit): Remove.
37927 (libc_feupdateenv_53bit): Remove.
37928 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37929 (math_opt_barrier, math_force_eval): Remove.
37930 (libc_feholdexcept): Remove.
37931 (libc_feholdexcept_setround): Remove.
37932 (libc_fetestexcept, libc_fesetenv): Remove.
37933 (libc_feupdateenv_test): Remove.
37934 (libc_feupdateenv, libc_feholdsetround): Remove.
37935 (libc_feresetround): Remove.
37937 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37938 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37940 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37941 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37942 (libc_feupdateenv_testl): New.
37943 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37944 (libc_feupdateenv_testf): New.
37945 (libc_feupdateenv): Use libc_feupdateenv_test.
37946 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37947 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37949 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37950 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37951 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37952 (libc_feresetround_noex): New.
37953 (libc_feresetround_noexf): New.
37954 (libc_feresetround_noexl): New.
37955 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37956 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37957 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37958 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37961 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37963 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37964 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37965 SET_RESTORE_ROUND_NOEX.
37966 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37967 SET_RESTORE_ROUND_NOEXF.
37968 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37969 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37970 (libc_feholdsetroundf): New.
37971 (libc_feresetround, libc_feresetroundf): New.
37973 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37974 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37975 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37977 * sysdeps/generic/math_private.h: Include <fenv.h>.
37978 (default_libc_feholdexcept): New.
37979 (default_libc_feholdexcept_setround): New.
37980 (default_libc_fesetenv, default_libc_feupdateenv): New.
37981 (libc_feholdexcept): Only define if undefined.
37982 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37983 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37984 (libc_feholdexcept_setroundl): Likewise.
37985 (libc_feholdexcept_setround_53bit): Likewise.
37986 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37987 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37988 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37989 (libc_feupdateenv_53bit): Likewise.
37990 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37991 (libc_feholdexcept): Convert from macro to inline function.
37992 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37993 (libc_fesetenv, libc_feupdateenv): Likewise.
37995 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37996 not previously defined.
37997 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37998 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37999 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38000 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38001 * sysdeps/ieee754/flt-32/math_private.h: New file.
38002 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38003 math_private.h below SET_FLOAT_WORD.
38004 (__isnan, __isinf_ns, __finite): Remove.
38005 (__isnanf, __isinf_nsf, __finitef): Remove.
38007 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38011 2012-03-17 David S. Miller <davem@davemloft.net>
38014 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38017 2012-03-16 David S. Miller <davem@davemloft.net>
38019 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38025 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38026 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38027 sysdep_routines when subdir is sysvipc.
38028 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38029 __getshmlba helper.
38031 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38035 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38038 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38040 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38041 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38042 (__lround): Renamed to ...
38043 (__llround): This. Replace long int with long long int.
38044 Define lround functions as aliases of llround functions.
38045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38047 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38049 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38050 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38051 adresses to uintptr_t. Replace "long int" and "unsigned long
38052 int" with "greg_t" on va_arg.
38054 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38056 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38057 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38059 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38060 Move e_machine check before EI_CLASS check. Handle x32
38061 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38062 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38063 SKIP_EM_IA_64 and include
38064 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38066 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38067 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38068 (add_system_dir): New macro.
38070 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38071 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38073 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38084 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38086 * math/w_j0f.c (j0f): Likewise.
38088 * math/w_j0l.c (__j0l): Likewise.
38090 * math/w_j1.c (j1): Likewise.
38092 * math/w_j1f.c (j1f): Likewise.
38094 * math/w_j1l.c (__j1l): Likewise.
38096 * math/w_jn.c (jn): Likewise.
38098 * math/w_jnf.c (jnf): Likewise.
38100 * math/w_jnl.c (__jnl): Likewise.
38102 * math/libm-test.inc (j0_test): Add more tests.
38103 (j1_test): Likewise.
38104 (jn_test): Likewise. Add trailing semicolon to existing test.
38105 (y0_test): Likewise.
38106 (y1_test): Likewise.
38107 * sysdeps/i386/fpu/libm-test-ulps: Update.
38108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38112 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38113 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38114 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38115 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38116 (__tanl): Set errno for infinite argument.
38117 * sysdeps/i386/fpu/mptan.c: Remove.
38118 * sysdeps/i386/fpu/s_tan.S: Likewise.
38119 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38120 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38121 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38122 * math/libm-test.inc (tan_test): Add more tests and enable more
38123 tests for double and long double.
38124 * sysdeps/i386/fpu/libm-test-ulps: Update.
38125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38127 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38129 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38130 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38132 2012-03-16 Roland McGrath <roland@hack.frob.com>
38134 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38135 * configure.in: Use it for both main tree and add-ons.
38136 * configure: Regenerated.
38138 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38140 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38142 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38144 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38148 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38149 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38154 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38155 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38156 != 0 for prec == 2.
38157 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38158 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38159 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38160 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38161 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38162 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38163 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38164 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38165 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38166 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38167 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38168 * math/libm-test.inc (cos_test): Add more tests and enable more
38169 tests for long double.
38170 (sin_test): Likewise.
38171 (sincos_test): Likewise.
38172 * sysdeps/i386/fpu/libm-test-ulps: Update.
38173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38175 2012-03-16 David S. Miller <davem@davemloft.net>
38177 * sysdeps/sparc/fpu/math_private.h: New file.
38179 2012-03-15 David S. Miller <davem@davemloft.net>
38181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38191 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38195 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38196 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38198 * sysdeps/sparc/sparc-ifunc.h: New file.
38199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38225 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38227 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38241 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38242 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38244 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38246 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38250 2012-03-15 Andreas Jaeger <aj@suse.de>
38253 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38254 ieee754/flt-32 implementation for sin, cos and sincos.
38255 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38256 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38257 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38258 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38259 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38260 ieee754/flt-32 implementation for tan.
38262 * math/libm-test.inc (cos_test): Enable some large input tests for
38264 (sin_test): Likewise.
38265 (sincos_test): Likewise.
38266 (tan_test): Add tests for large input.
38268 * sysdeps/i386/fpu/libm-test-ulps: Update.
38270 2012-03-15 Andreas Jaeger <aj@suse.de>
38273 * math/libm-test.inc (cos_test): Add more test cases.
38274 (sin_test): Likewise.
38275 (sincos_test): Likewise.
38277 2012-03-15 Andreas Jaeger <aj@suse.de>
38280 * math/libm-test.inc (cos_test): Add a test case for large input
38282 (sin_test): Likewise.
38283 (sincos_test): Likewise.
38285 2012-03-15 Andreas Jaeger <aj@suse.de>
38286 Joseph Myers <joseph@codesourcery.com>
38289 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38290 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38291 * sysdeps/i386/fpu/branred.c: Likewise.
38292 * sysdeps/i386/fpu/dosincos.c: Likewise.
38293 * sysdeps/i386/fpu/mpa.c: Likewise.
38294 * sysdeps/i386/fpu/s_cos.S: Likewise.
38295 * sysdeps/i386/fpu/s_sin.S: Likewise.
38296 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38297 * sysdeps/i386/fpu/sincos32.c: Likewise.
38299 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38301 (libc_feupdateenv_53bit): Define.
38302 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38304 (libc_feupdateenv_53bit): Define.
38306 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38307 53 bit (without extend i386 double precision).
38309 * math/libm-test.inc (sincos_test): Add tests for large input.
38313 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38315 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38319 2012-03-15 David S. Miller <davem@davemloft.net>
38321 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38322 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38323 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38324 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38348 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38349 fmin/fmax sysdep routines.
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38352 2012-03-14 David S. Miller <davem@davemloft.net>
38354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38359 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38360 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38361 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38374 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38375 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38376 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38377 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38378 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38379 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38380 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38382 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38431 * sysdeps/sparc/configure.in: New file.
38432 * sysdeps/sparc/configure: Generate.
38433 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38434 * configure: Regenerate.
38435 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38436 * config.make.in (have-as-vis3): New.
38437 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38438 available use -Av9d instead of -Av9a.
38439 * sysdeps/sparc/sparc64/Makefile: Likewise.
38440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38449 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38450 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38451 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38452 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38455 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38456 fzeros/fnegs to load 0x80000000 into a float register instead of
38458 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38460 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38464 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38465 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38466 ($(inst_includedir)/bits/syscall.h): Remove rule.
38467 ($(objpfx)bits/syscall.d): Include instead of
38468 $(objpfx)syscall-list.d.
38469 (generated): Change syscall-list.h and syscall-list.d to
38470 bits/syscall.h and bits/syscall.d.
38472 2012-03-14 Roland McGrath <roland@hack.frob.com>
38475 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38477 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38480 * math/s_csqrt.c: Include <float.h>.
38481 (__csqrt): Scale large or subnormal inputs.
38482 * math/s_csqrtf.c: Likewise.
38483 * math/s_csqrtl.c: Likewise.
38484 * math/libm-test.inc (csqrt_test): Add more tests.
38485 * sysdeps/i386/fpu/libm-test-ulps: Update.
38486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38489 * math/libm-test.inc (hypot_test): Add more tests.
38491 2012-03-13 David S. Miller <davem@davemloft.net>
38494 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38495 double-precision for the calculation instead of scaling.
38497 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38499 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38500 manipulate bits before adding and subtracting TWO52[sx].
38501 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38502 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38504 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38506 2012-03-13 David S. Miller <davem@davemloft.net>
38508 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38509 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38511 rtld-global-offsets.h
38512 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38514 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38517 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38519 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38520 'err' in the ifdef scope in which it is actually used.
38522 * nss/nss_db/db-init.c: Include string.h
38524 2012-03-12 David S. Miller <davem@davemloft.net>
38526 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38527 masking out of the most significant byte of random value used.
38528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38529 Fix coding style in previous change.
38531 * sysdeps/unix/sysv/linux/kernel-features.h
38532 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38533 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38535 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38538 2012-03-11 David S. Miller <davem@davemloft.net>
38540 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38541 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38542 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38543 for 'resultvar' otherwise things get truncated on 64-bit.
38545 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38546 Fix masking out of the most significant byte of random value used.
38548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38550 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38554 2012-03-09 David S. Miller <davem@davemloft.net>
38556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38557 variables with appropriate CPP guards.
38558 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38559 from the frame pointer, not the stack pointer. Correct layout
38560 comments. Fix test on resulting framesize and the management of
38561 the outregs buffer for pltexit. Preserve floating point return
38562 values across _dl_call_pltexit call.
38563 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38564 framesize and the management of the outregs buffer for pltexit.
38565 Preserve floating point return values across _dl_call_pltexit
38567 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38568 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38569 (la_sparc64_gnu_pltexit): New functions.
38570 (print_exit): Fix format string for return register value.
38572 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38574 * sunrpc/Makefile (others): Add rpcgen.
38575 ($(objpfx)rpcgen): Remove special build rule and dependency on
38577 * sunrpc/rpcgen.c: New file.
38579 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38582 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38583 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38584 * sysdeps/i386/crti.S: Likewise.
38585 * sysdeps/i386/crtn.S: Likewise.
38586 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38587 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38588 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38589 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38590 * sysdeps/sh/crti.S: Likewise.
38591 * sysdeps/sh/crtn.S: Likewise.
38592 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38595 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38597 * locale/programs/locfile-kw.gperf: Likewise.
38598 * locale/programs/charmap-kw.h: Regenerated.
38599 * locale/programs/locfile-kw.h: Likewise.
38602 * intl/plural.y: Replace FSF snail mail address with URL.
38603 * intl/plural.c: Regenerated.
38605 2012-03-09 Richard Henderson <rth@twiddle.net>
38607 * include/math_private.h: Remove file.
38608 * math/math_private.h: Move file ...
38609 * sysdeps/generic/math_private.h: ... here.
38611 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38612 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38613 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38615 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38616 and <math_private.h>.
38617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38622 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38623 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38625 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38626 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38636 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38637 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38638 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38641 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38643 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38647 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38648 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38649 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38675 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38676 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38677 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38678 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38680 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38681 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38682 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38683 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38684 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38685 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38686 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38687 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38688 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38690 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38691 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38692 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38693 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38694 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38695 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38696 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38697 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38700 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38701 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38704 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38705 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38706 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38707 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38708 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38710 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38711 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38712 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38714 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38715 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38716 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38717 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38718 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38719 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38720 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38721 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38722 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38723 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38724 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38725 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38726 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38727 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38728 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38729 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38731 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38732 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38733 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38736 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38745 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38747 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38748 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38749 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38750 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38751 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38752 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38753 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38754 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38755 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38758 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38759 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38760 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38761 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38762 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38763 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38764 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38765 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38766 * sysdeps/ieee754/k_standard.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38836 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38841 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38843 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38844 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38846 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38848 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38853 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38860 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38865 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38870 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38882 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38883 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38884 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38886 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38887 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38888 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38889 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38894 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38898 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38899 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38917 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38927 * sysdeps/ieee754/s_lib_version.c: Likewise.
38928 * sysdeps/ieee754/s_matherr.c: Likewise.
38929 * sysdeps/ieee754/s_signgam.c: Likewise.
38930 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38931 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38932 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38933 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38934 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38935 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38936 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38937 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38938 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38939 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38940 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38941 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38942 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38943 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38944 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38945 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38946 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38947 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38948 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38949 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38950 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38952 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38954 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38955 * sunrpc/rpc_main.c: Likewise.
38956 * sunrpc/rpc_svcout.c: Likewise.
38958 2012-03-09 David S. Miller <davem@davemloft.net>
38960 * include/math_private.h: New file.
38962 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38964 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38965 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38966 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38967 from <bits/socket_type.h>.
38968 (enum __socket_type): Don't define here.
38969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38971 bits/socket_type.h.
38974 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38975 checking __USE_GNU.
38977 * Makerules ($(inst_includedir)/%.h): New rule.
38978 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38979 (install-others): Remove variable setting.
38980 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38982 2012-03-08 Richard Henderson <rth@twiddle.net>
38984 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38985 from macro to inline function; merge with the
38986 !__LIBC_INTERNAL_MATH_INLINES version.
38987 (__ieee754_sqrtf): Likewise.
38989 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38990 to inline function.
38991 (__rintf, __floor, __floorf): Likewise.
38993 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38994 macro to inline function.
38995 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38998 not <math/math_private.h>.
39000 2012-03-08 David S. Miller <davem@davemloft.net>
39002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39004 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39006 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39008 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39010 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39011 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39013 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39015 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39016 be defined individually, they must be defined as a block. Define
39017 S for printing a string instead of hidint the different by using a
39018 macro for adding the 'l'.
39019 * stdio-common/tst-fphex-wide.c: Adjust.
39021 2012-03-07 Marek Polacek <polacek@redhat.com>
39023 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39025 2012-03-08 Marek Polacek <polacek@redhat.com>
39028 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39029 * stdio-common/tst-fphex.c: Define a few macros to make the
39030 test reusable. Use them.
39031 * stdio-common/tst-fphex-wide.c: New file.
39033 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39036 * manual/macros.texi (gnusystems): New macro.
39037 (nongnusystems): Likewise.
39038 (gnulinuxhurdsystems): Likewise.
39039 (gnuhurdsystems): Likewise..
39040 (gnulinuxsystems): Likewise.
39041 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39042 variants of the GNU system, not "GNU system".
39043 * manual/conf.texi: Likewise.
39044 * manual/errno.texi: Likewise. Update example of errno macro
39046 * manual/filesys.texi: Likewise.
39047 (getumask): Document as specific to GNU/Hurd.
39048 * manual/install.texi: Likewise. Reword some references to
39050 * manual/intro.texi: Likewise.
39051 * manual/io.texi: Likewise.
39052 (File Name Portability): Detail which constraints are inapplicable
39053 to all GNU systems and which are only inapplicable to GNU/Hurd.
39054 * manual/job.texi: Likewise.
39055 * manual/llio.texi: Likewise.
39056 (O_NOCTTY): Document as present on GNU/Linux.
39057 * manual/maint.texi: Likewise.
39058 * manual/memory.texi: Likewise.
39059 * manual/pattern.texi: Likewise.
39060 * manual/pipe.texi: Likewise.
39061 * manual/process.texi: Likewise.
39062 * manual/resource.texi: Likewise.
39063 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39065 * manual/setjmp.texi: Likewise.
39066 * manual/signal.texi: Likewise.
39067 * manual/startup.texi: Likewise.
39068 * manual/stdio.texi: Likewise.
39069 * manual/terminal.texi: Likewise.
39070 (ONLCR): Document as POSIX.
39071 (OXTABS): Document availability on GNU/Linux as XTABS.
39072 (ONOEOT): Document availability separately from other bits.
39073 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39074 * manual/time.texi: Likewise.
39075 * manual/users.texi: Likewise.
39076 * INSTALL: Regenerated.
39077 * sysdeps/gnu/errlist.c: Regenerated.
39079 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39080 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39081 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39083 * configure: Regenerated.
39085 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39087 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39088 default includes instead of AC_HEADER_CHECK.
39089 * sysdeps/i386/configure: Regenerated.
39092 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39093 * math/s_cacoshf.c (__cacoshf): Likewise.
39094 * math/s_cacoshl.c (__cacoshl): Likewise.
39095 * math/s_casinh.c (__casinh): Set signs of result from argument.
39096 * math/s_casinhf.c (__casinhf): Likewise.
39097 * math/s_casinhl.c (__casinhl): Likewise.
39098 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39099 (casinh_test): Add more tests.
39100 * sysdeps/i386/fpu/libm-test-ulps: Update.
39101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39103 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39105 * po/zh_TW.po: Update from translation team.
39107 * login/Makefile (distribute): Remove variable.
39108 * catgets/Makefile: Likewise.
39109 * mach/Makefile: Likewise.
39110 * malloc/Makefile: Likewise.
39111 * misc/Makefile: Likewise.
39112 * iconv/Makefile: Likewise.
39113 * nscd/Makefile: Likewise.
39114 * hurd/Makefile: Likewise.
39115 * manual/Makefile: Likewise.
39116 * locale/Makefile: Likewise.
39117 * intl/Makefile: Likewise.
39118 * conform/Makefile: Likewise.
39119 * nss/Makefile: Likewise.
39120 * time/Makefile: Likewise.
39121 * soft-fp/Makefile: Likewise.
39122 * dirent/Makefile: Likewise.
39123 * gmon/Makefile: Likewise.
39124 * po/Makefile: Likewise.
39125 * rt/Makefile: Likewise.
39126 * socket/Makefile: Likewise.
39127 * math/Makefile: Likewise.
39128 * signal/Makefile: Likewise.
39129 * debug/Makefile: Likewise.
39130 * elf/Makefile: Likewise.
39131 * timezone/Makefile: Likewise.
39132 * stdlib/Makefile: Likewise.
39133 * iconvdata/Makefile: Likewise.
39134 * sunrpc/Makefile: Likewise.
39135 * io/Makefile: Likewise.
39136 * argp/Makefile: Likewise.
39137 * inet/Makefile: Likewise.
39138 * hesiod/Makefile: Likewise.
39139 * grp/Makefile: Likewise.
39140 * csu/Makefile: Likewise.
39141 * wctype/Makefile: Likewise.
39142 * crypt/Makefile: Likewise.
39143 * libio/Makefile: Likewise.
39144 * string/Makefile: Likewise.
39145 * nis/Makefile: Likewise.
39146 * resolv/Makefile: Likewise.
39147 * stdio-common/Makefile: Likewise.
39148 * wcsmbs/Makefile: Likewise.
39149 * dlfcn/Makefile: Likewise.
39150 * posix/Makefile: Likewise.
39153 * timezone/Makefile: Don't install timezone files, just the programs
39156 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39158 * nss/databases.def: Add missing gshadow entry.
39160 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39162 2012-03-06 Marek Polacek <polacek@redhat.com>
39165 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39166 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39167 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39168 * stdio-common/tst-long-dbl-fphex.c: New file.
39170 2012-03-06 David S. Miller <davem@davemloft.net>
39172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39173 (set_obp_int): New function.
39174 (get_obp_int): New function.
39175 (__get_clockfreq_via_dev_openprom): Likewise.
39176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39177 Avoid unused variable warnings on 'val' and use builtin_expect.
39178 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39180 (INLINE_CLONE_SYSCALL): Likewise.
39182 2012-03-05 David S. Miller <davem@davemloft.net>
39184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39186 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39191 only for |x| >= 40.
39192 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39194 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39196 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39197 Replace gettimeofday with __vdso_gettimeofday.
39199 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39200 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39201 __vdso_clock_gettime and __vdso_getcpu.
39203 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39204 time with __vdso_time.
39206 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39208 * manual/lang.texi (size_t): Note types to which size_t may be
39209 equivalent with the GNU C Library, but do not describe when
39210 differences between them are significant.
39212 2012-03-05 Andreas Jaeger <aj@suse.de>
39214 * sysdeps/i386/fpu/libm-test-ulps: Update.
39216 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39219 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39220 (__ieee754_pow): Save and restore rounding mode and use
39221 round-to-nearest for main computations.
39222 * math/libm-test.inc (pow_test_tonearest): New function.
39223 (pow_test_towardzero): Likewise.
39224 (pow_test_downward): Likewise.
39225 (pow_test_upward): Likewise.
39226 (main): Call the new functions.
39227 * sysdeps/i386/fpu/libm-test-ulps: Update.
39228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39231 * math/libm-test.inc (cosh_test_tonearest): New function.
39232 (cosh_test_towardzero): Likewise.
39233 (cosh_test_downward): Likewise.
39234 (cosh_test_upward): Likewise.
39235 (sinh_test_tonearest): Likewise.
39236 (sinh_test_towardzero): Likewise.
39237 (sinh_test_downward): Likewise.
39238 (sinh_test_upward): Likewise.
39239 (main): Call the new functions.
39240 * sysdeps/i386/fpu/libm-test-ulps: Update.
39241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39243 2012-03-05 Tom de Vries <tom@codesourcery.com>
39245 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39246 default stack guard is set in last bytes.
39247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39249 2012-03-05 Kees Cook <keescook@chromium.org>
39251 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39254 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39255 possibly allocate from heap instead of stack.
39256 * stdio-common/bug-vfprintf-nargs.c: New file.
39257 * stdio-common/Makefile (tests): Add nargs overflow test.
39259 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39263 2012-03-03 Marek Polacek <polacek@redhat.com>
39265 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39266 * math/math_private.h: Likewise.
39267 * stdlib/tst-strtod.c: Likewise.
39268 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39269 * sysdeps/x86_64/bits/atomic.h: Likewise.
39271 2012-03-02 David S. Miller <davem@davemloft.net>
39273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39277 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39278 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39279 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39280 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39282 2012-03-02 Roland McGrath <roland@hack.frob.com>
39285 * manual/examples/README: New file, says the example source files
39286 can be used under GPL>=2.
39287 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39288 line containing just "*/".
39289 * manual/examples/add.c: Add copyright header (GPL>=2).
39290 * manual/examples/argp-ex1.c: Likewise.
39291 * manual/examples/argp-ex2.c: Likewise.
39292 * manual/examples/argp-ex3.c: Likewise.
39293 * manual/examples/argp-ex4.c: Likewise.
39294 * manual/examples/atexit.c: Likewise.
39295 * manual/examples/db.c: Likewise.
39296 * manual/examples/dir.c: Likewise.
39297 * manual/examples/dir2.c: Likewise.
39298 * manual/examples/execinfo.c: Likewise.
39299 * manual/examples/filecli.c: Likewise.
39300 * manual/examples/filesrv.c: Likewise.
39301 * manual/examples/fmtmsgexpl.c: Likewise.
39302 * manual/examples/genpass.c: Likewise.
39303 * manual/examples/inetcli.c: Likewise.
39304 * manual/examples/inetsrv.c: Likewise.
39305 * manual/examples/isockad.c: Likewise.
39306 * manual/examples/longopt.c: Likewise.
39307 * manual/examples/memopen.c: Likewise.
39308 * manual/examples/memstrm.c: Likewise.
39309 * manual/examples/mkfsock.c: Likewise.
39310 * manual/examples/mkisock.c: Likewise.
39311 * manual/examples/mygetpass.c: Likewise.
39312 * manual/examples/pipe.c: Likewise.
39313 * manual/examples/popen.c: Likewise.
39314 * manual/examples/rprintf.c: Likewise.
39315 * manual/examples/search.c: Likewise.
39316 * manual/examples/select.c: Likewise.
39317 * manual/examples/setjmp.c: Likewise.
39318 * manual/examples/sigh1.c: Likewise.
39319 * manual/examples/sigusr.c: Likewise.
39320 * manual/examples/stpcpy.c: Likewise.
39321 * manual/examples/strdupa.c: Likewise.
39322 * manual/examples/strftim.c: Likewise.
39323 * manual/examples/strncat.c: Likewise.
39324 * manual/examples/subopt.c: Likewise.
39325 * manual/examples/swapcontext.c: Likewise.
39326 * manual/examples/termios.c: Likewise.
39327 * manual/examples/testopt.c: Likewise.
39328 * manual/examples/testpass.c: Likewise.
39329 * manual/examples/timeval_subtract.c: Likewise.
39332 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39334 * manual/timeval_subtract.c.texi: ... here, new file.
39336 2012-03-02 David S. Miller <davem@davemloft.net>
39338 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39340 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39343 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39344 (__sin): Save and restore rounding mode and use round-to-nearest
39345 for all computations.
39346 (__cos): Save and restore rounding mode and use round-to-nearest
39347 for all computations.
39348 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39350 (tan): Save and restore rounding mode and use round-to-nearest for
39352 * math/libm-test.inc (cos_test_tonearest): New function.
39353 (cos_test_towardzero): Likewise.
39354 (cos_test_downward): Likewise.
39355 (cos_test_upward): Likewise.
39356 (sin_test_tonearest): Likewise.
39357 (sin_test_towardzero): Likewise.
39358 (sin_test_downward): Likewise.
39359 (sin_test_upward): Likewise.
39360 (tan_test_tonearest): Likewise.
39361 (tan_test_towardzero): Likewise.
39362 (tan_test_downward): Likewise.
39363 (tan_test_upward): Likewise.
39364 (main): Call the new functions.
39365 * sysdeps/i386/fpu/libm-test-ulps: Update.
39366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39369 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39370 small n, then large n, before computing and testing k+n.
39371 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39372 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39374 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39376 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39377 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39380 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39381 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39382 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39383 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39384 * math/libm-test.inc (scalbn_test): Add more tests.
39385 (scalbln_test): Likewise.
39387 * manual/filesys.texi (mode_t): Describe constraints on size and
39388 signedness, not exact equivalence to a particular type.
39390 (ino64_t): Likewise.
39392 (nlink_t): Likewise.
39393 (blkcnt_t): Likewise.
39394 (blkcnt64_t): Likewise.
39395 * manual/llio.texi (off_t): Likewise.
39398 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39399 (__ieee754_exp): Save and restore rounding mode and use
39400 round-to-nearest for all computations.
39401 * math/libm-test.inc (exp_test_tonearest): New function.
39402 (exp_test_towardzero): Likewise.
39403 (exp_test_downward): Likewise.
39404 (exp_test_upward): Likewise.
39405 (main): Call the new functions.
39406 * sysdeps/i386/fpu/libm-test-ulps: Update.
39407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39409 2012-03-01 Chris Demetriou <cgd@google.com>
39411 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39412 have predictable order.
39414 2012-03-01 David S. Miller <davem@davemloft.net>
39416 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39418 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39419 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39420 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39421 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39423 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39424 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39425 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39427 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39428 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39429 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39430 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39431 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39436 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39437 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39439 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39440 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39441 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39446 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39447 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39448 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39449 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39451 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39452 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39453 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39454 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39455 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39456 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39457 * sysdeps/sparc/elf/configure: Regenerated.
39459 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39461 * configure.in (AS, LD): Require binutils 2.20 or later.
39462 * configure: Regenerated.
39463 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39464 as required minimum version.
39465 * INSTALL: Regenerated.
39469 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39470 before squaring exponent.
39471 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39472 bottom long double and 27 bits of top long double before squaring
39474 * math/libm-test.inc (erfc_test): Add more tests.
39475 * sysdeps/i386/fpu/libm-test-ulps: Update.
39476 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39479 2012-03-01 Kai Tietz <ktietz@redhat.com>
39481 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39482 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39483 containing bit-fields.
39484 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39485 * soft-fp/single.h (_FP_UNION_S): Likewise.
39486 * soft-fp/double.h (_FP_UNION_D): Likewise.
39488 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39491 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39492 not include ../strcmp.S.
39493 [USE_AS_STRNCASECMP_L]: Likewise.
39494 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39495 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39496 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39497 (__strncasecmp_l_ia32): Define as alias to
39498 __strncasecmp_l_nonascii.
39501 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39502 * sysdeps/i386/fpu/libm-test-ulps: Update.
39503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39505 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39508 2012-02-29 Jeff Law <law@redhat.com>
39510 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39511 out of bounds read.
39513 2012-02-29 Marek Polacek <polacek@redhat.com>
39516 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39517 * elf/Makefile: Add rules to run tst-unused-dep.out.
39519 2012-02-28 David S. Miller <davem@davemloft.net>
39521 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39522 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39523 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39524 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39528 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39530 * math/libm-test.inc (llround_test): Move one test from
39531 lround_test. Use TEST_f_L in moved test.
39532 (lround_test): Move misplaced test to llround_test. Add testcase
39535 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39537 * sysdeps/x86_64/fpu/e_expf.S: New file.
39538 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39540 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39543 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39544 of remain_len that may cause incomplete multi-byte character and
39546 * posix/bug-regex33.c: New file.
39547 * posix/Makefile (tests): Add bug-regex33.
39549 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39551 * manual/macros.texi: New file.
39552 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39553 * manual/libc.texinfo: Include macros.texi.
39554 * manual/creatute.texi: Likewise.
39555 * manual/install.texi: Likewise.
39556 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39557 @glibcadj{} in references to the GNU C Library.
39558 * manual/charset.texi: Likewise.
39559 * manual/conf.texi: Likewise.
39560 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39561 when not using those macros.
39562 * manual/creature.texi: Likewise.
39563 * manual/crypt.texi: Likewise.
39564 * manual/errno.texi: Likewise.
39565 * manual/filesys.texi: Likewise.
39566 * manual/header.texi: Likewise.
39567 * manual/install.texi: Likewise.
39568 * manual/intro.texi: Likewise.
39569 * manual/io.texi: Likewise.
39570 * manual/job.texi: Likewise.
39571 * manual/lang.texi: Likewise.
39572 * manual/libc.texiinfo: Likewise.
39573 * manual/llio.texi: Likewise.
39574 * manual/locale.texi: Likewise.
39575 * manual/maint.texi: Likewise.
39576 * manual/math.texi: Likewise.
39577 * manual/memory.texi: Likewise.
39578 * manual/message.texi: Likewise.
39579 * manual/nss.texi: Likewise.
39580 * manual/pattern.texi: Likewise.
39581 * manual/process.texi: Likewise.
39582 * manual/resource.texi: Likewise.
39583 * manual/search.texi: Likewise.
39584 * manual/setjmp.texi: Likewise.
39585 * manual/signal.texi: Likewise.
39586 * manual/socket.texi: Likewise.
39587 * manual/startup.texi: Likewise.
39588 * manual/stdio.texi: Likewise.
39589 * manual/string.texi: Likewise.
39590 * manual/sysinfo.texi: Likewise.
39591 * manual/syslog.texi: Likewise.
39592 * manual/terminal.texi: Likewise.
39593 * manual/time.texi: Likewise.
39594 * manual/users.texi: Likewise.
39595 * INSTALL: Regenerated.
39596 * NOTES: Regenerated.
39597 * sysdeps/gnu/errlist.c: Regenerated.
39599 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39601 * include/dirent.h: Include <dirstream.h> before
39604 2012-02-28 David S. Miller <davem@davemloft.net>
39606 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39607 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39608 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39611 2012-02-27 David S. Miller <davem@davemloft.net>
39613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39615 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39616 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39619 frame pointer instead of stack pointer relative arg slot.
39620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39624 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39627 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39629 2012-02-27 David S. Miller <davem@davemloft.net>
39631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39637 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39638 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39640 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39642 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39643 later. Allow versions 5-9.
39644 * configure: Regenerated.
39645 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39646 required minimum version and 4.6 as recommended version. Do not
39647 mention bugs in GCC 2.7 and 2.8.
39648 * INSTALL: Regenerated.
39650 2012-02-27 David S. Miller <davem@davemloft.net>
39652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39656 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39657 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39658 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39659 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39662 manipulate bits before adding and subtracting TWO112[sx].
39663 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39665 2012-02-27 Roland McGrath <roland@hack.frob.com>
39668 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39669 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39670 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39671 being in POSIX, because they are in 1003.1-2008.
39673 * rt/tst-aio.c: Include <fcntl.h>.
39674 * rt/tst-aio7.c: Likewise.
39675 * rt/tst-aio64.c: Likewise.
39677 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39679 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39681 * manual/install.texi (--with-headers): Describe headers as
39682 interface headers, not private headers.
39683 (Specific advice for GNU/Linux systems): Describe use of headers
39684 from "make headers_install", not private headers from older
39686 * INSTALL: Regenerated.
39687 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39689 * sysdeps/unix/sysv/linux/configure: Regenerated.
39691 * manual/llio.texi (fclean): Remove documentation.
39693 * manual/Makefile (libc-texi-generated): New variable. Include
39695 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39696 $(libc-texi-generated), not duplicated list of files.
39697 (version.texi, stamp-version): New rules.
39698 (realclean): Remove $(libc-texi-generated), not individual files
39699 from that list. Do not remove dir-add.texinfo.
39700 * manual/libc.texinfo: Comment out uses of edition numbers and
39701 references to printed manual. Remove last-updated dates.
39702 (EDITION): Comment out.
39704 (VERSION, UPDATED): Remove.
39705 (version.texi): Include.
39707 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39709 * sysdeps/posix/spawni.c: Include <signal.h>.
39710 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39711 * sysdeps/pthread/aio_fsync.c: Likewise.
39713 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39715 * conform/Makefile (tests): Run only when not cross-compiling and
39716 when fast-check is not defined.
39718 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39719 * conform/data/limits.h-data: Fixes for POSIX2008.
39720 * conform/run-conformtest.sh: Run all tests.
39721 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39723 * include/bits/dlfcn.h: Likewise.
39724 * include/langinfo.h: Likewise.
39725 * include/monetary.h: Likewise.
39726 * include/sys/poll.h: Likewise.
39728 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39730 * posix/spawn.h: Define __need_sigset_t.
39731 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39732 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39733 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39734 to get sigevent_t only.
39735 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39736 only for __USE_GNU.
39737 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39738 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39739 process_vm_writev only for __USE_GNU.
39740 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39742 * conform/Makefile: For now ignore errors from run-conformtest.
39743 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39744 POSIX to avoid namespace pollution. Don't prepend headers.
39745 * conform/data/aio.h-data: Fixes for POSIX testing.
39746 * conform/data/fcntl.h-data: Likewise.
39747 * conform/data/glob.h-data: Likewise.
39748 * conform/data/grp.h-data: Likewise.
39749 * conform/data/pthread.h-data: Likewise.
39750 * conform/data/pwd.h-data: Likewise.
39751 * conform/data/signal.h-data: Likewise.
39752 * conform/data/spawn.h-data: Likewise.
39753 * conform/data/stdio.h-data: Likewise.
39754 * conform/data/stdlib.h-data: Likewise.
39755 * conform/data/stropts.h-data: Likewise.
39756 * conform/data/sys/mman.h-data: Likewise.
39757 * conform/data/sys/stat.h-data: Likewise.
39758 * conform/data/sys/types.h-data: Likewise.
39759 * conform/data/sys/wait.h-data: Likewise.
39760 * conform/data/time.h-data: Likewise.
39761 * conform/data/unistd.h-data: Likewise.
39762 * conform/data/utime.h-data: Likewise.
39764 * io/sys/stat.h: fchmod was always in POSIX.
39765 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39766 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39767 * rt/aio.h: Define __need_timespec before including <time.h>.
39768 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39769 struct. Add forward declaration of pthread_attr_t and use it in
39771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39773 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39774 always remove CLK_TCK definition.
39776 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39778 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39780 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39782 * conform/run-conformtest.sh: New file.
39783 * conform/Makefile: Run run-conformtest for tests.
39784 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39787 * conform/data/uchar.h-data: New file.
39788 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39789 * conform/data/arpa/inet.h-data: Likewise.
39790 * conform/data/assert.h-data: Likewise.
39791 * conform/data/complex.h-data: Likewise.
39792 * conform/data/cpio.h-data: Likewise.
39793 * conform/data/ctype.h-data: Likewise.
39794 * conform/data/dirent.h-data: Likewise.
39795 * conform/data/dlfcn.h-data: Likewise.
39796 * conform/data/errno.h-data: Likewise.
39797 * conform/data/fcntl.h-data: Likewise.
39798 * conform/data/float.h-data: Likewise.
39799 * conform/data/fmtmsg.h-data: Likewise.
39800 * conform/data/fnmatch.h-data: Likewise.
39801 * conform/data/ftw.h-data: Likewise.
39802 * conform/data/glob.h-data: Likewise.
39803 * conform/data/grp.h-data: Likewise.
39804 * conform/data/iconv.h-data: Likewise.
39805 * conform/data/inttypes.h-data: Likewise.
39806 * conform/data/langinfo.h-data: Likewise.
39807 * conform/data/libgen.h-data: Likewise.
39808 * conform/data/limits.h-data: Likewise.
39809 * conform/data/locale.h-data: Likewise.
39810 * conform/data/math.h-data: Likewise.
39811 * conform/data/monetary.h-data: Likewise.
39812 * conform/data/mqueue.h-data: Likewise.
39813 * conform/data/ndbm.h-data: Likewise.
39814 * conform/data/net/if.h-data: Likewise.
39815 * conform/data/netdb.h-data: Likewise.
39816 * conform/data/netinet/in.h-data: Likewise.
39817 * conform/data/nl_types.h-data: Likewise.
39818 * conform/data/poll.h-data: Likewise.
39819 * conform/data/pthread.h-data: Likewise.
39820 * conform/data/pwd.h-data: Likewise.
39821 * conform/data/regex.h-data: Likewise.
39822 * conform/data/sched.h-data: Likewise.
39823 * conform/data/search.h-data: Likewise.
39824 * conform/data/semaphore.h-data: Likewise.
39825 * conform/data/setjmp.h-data: Likewise.
39826 * conform/data/signal.h-data: Likewise.
39827 * conform/data/spawn.h-data: Likewise.
39828 * conform/data/stdarg.h-data: Likewise.
39829 * conform/data/stdio.h-data: Likewise.
39830 * conform/data/stdlib.h-data: Likewise.
39831 * conform/data/string.h-data: Likewise.
39832 * conform/data/strings.h-data: Likewise.
39833 * conform/data/stropts.h-data: Likewise.
39834 * conform/data/sys/ipc.h-data: Likewise.
39835 * conform/data/sys/mman.h-data: Likewise.
39836 * conform/data/sys/msg.h-data: Likewise.
39837 * conform/data/sys/resource.h-data: Likewise.
39838 * conform/data/sys/select.h-data: Likewise.
39839 * conform/data/sys/sem.h-data: Likewise.
39840 * conform/data/sys/shm.h-data: Likewise.
39841 * conform/data/sys/socket.h-data: Likewise.
39842 * conform/data/sys/stat.h-data: Likewise.
39843 * conform/data/sys/statvfs.h-data: Likewise.
39844 * conform/data/sys/time.h-data: Likewise.
39845 * conform/data/sys/timeb.h-data: Likewise.
39846 * conform/data/sys/times.h-data: Likewise.
39847 * conform/data/sys/types.h-data: Likewise.
39848 * conform/data/sys/uio.h-data: Likewise.
39849 * conform/data/sys/un.h-data: Likewise.
39850 * conform/data/sys/utsname.h-data: Likewise.
39851 * conform/data/sys/wait.h-data: Likewise.
39852 * conform/data/syslog.h-data: Likewise.
39853 * conform/data/tar.h-data: Likewise.
39854 * conform/data/termios.h-data: Likewise.
39855 * conform/data/utime.h-data: Likewise.
39856 * conform/data/utmpx.h-data: Likewise.
39857 * conform/data/varargs.h-data: Likewise.
39858 * conform/data/wchar.h-data: Likewise.
39859 * conform/data/wctype.h-data: Likewise.
39860 * conform/data/wordexp.h-data: Likewise.
39862 * include/stropts.h: New file.
39863 * include/uchar.h: New file.
39864 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39865 * include/assert.h: Likewise.
39866 * include/ctype.h: Likewise.
39867 * include/dirent.h: Likewise.
39868 * include/dlfcn.h: Likewise.
39869 * include/fcntl.h: Likewise.
39870 * include/fnmatch.h: Likewise.
39871 * include/glob.h: Likewise.
39872 * include/grp.h: Likewise.
39873 * include/libio.h: Likewise.
39874 * include/locale.h: Likewise.
39875 * include/math.h: Likewise.
39876 * include/net/if.h: Likewise.
39877 * include/netdb.h: Likewise.
39878 * include/netinet/in.h: Likewise.
39879 * include/pthread.h: Likewise.
39880 * include/pwd.h: Likewise.
39881 * include/regex.h: Likewise.
39882 * include/sched.h: Likewise.
39883 * include/search.h: Likewise.
39884 * include/setjmp.h: Likewise.
39885 * include/signal.h: Likewise.
39886 * include/stdio.h: Likewise.
39887 * include/stdlib.h: Likewise.
39888 * include/string.h: Likewise.
39889 * include/sys/cdefs.h: Likewise.
39890 * include/sys/mman.h: Likewise.
39891 * include/sys/msg.h: Likewise.
39892 * include/sys/resource.h: Likewise.
39893 * include/sys/select.h: Likewise.
39894 * include/sys/socket.h: Likewise.
39895 * include/sys/stat.h: Likewise.
39896 * include/sys/statvfs.h: Likewise.
39897 * include/sys/time.h: Likewise.
39898 * include/sys/times.h: Likewise.
39899 * include/sys/uio.h: Likewise.
39900 * include/sys/utsname.h: Likewise.
39901 * include/sys/wait.h: Likewise.
39902 * include/termios.h: Likewise.
39903 * include/time.h: Likewise.
39904 * include/ulimit.h: Likewise.
39905 * include/unistd.h: Likewise.
39906 * include/utime.h: Likewise.
39907 * include/wchar.h: Likewise.
39908 * include/wctype.h: Likewise.
39909 * include/wordexp.h: Likewise.
39911 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39913 * time/time.h: TIME_UTC must be a macro.
39914 Make timespec_get available for ISO C11 only as well.
39916 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39918 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39919 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39921 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39923 * configure.in: Use -o not -a in test for unsupported multi-arch.
39925 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39927 * manual/texinfo.tex: Update to version 2012-01-19.16.
39929 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39931 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39933 2012-02-24 Roland McGrath <roland@hack.frob.com>
39936 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39937 * manual/fdl-1.3.texi: New file.
39938 * manual/fdl-1.1.texi: File removed.
39941 * manual/libc.texinfo (FDL_VERSION): New @set.
39942 Use it for mention of FDL in cover text.
39943 (Documentation License): Use it in @include file name.
39945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39946 Roland McGrath <roland@hack.frob.com>
39949 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39950 (not LONG_LONG_MAX and LONG_LONG_MIN.
39951 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39952 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39954 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39956 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39960 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39961 manipulate bits before adding and subtracting TWO23[sx].
39962 * math/libm-test.inc (nearbyint_test): Add more tests.
39964 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39967 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39968 bits before adding and subtracting TWO23[sx].
39969 * math/libm-test.inc (rint_test): Add more tests.
39970 (rint_test_tonearest): Likewise.
39971 (rint_test_towardzero): Likewise.
39972 (rint_test_downward): Likewise.
39973 (rint_test_upward: Likewise.
39975 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39978 * include/stdc-predef.h: New file. Extracted from features.h.
39979 * include/features.h: Include stdc-predef.h.
39980 * Makefile (headers): Add stdc-predef.h.
39981 * CONFORMANCE (Compiler limitations): Update.
39983 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39985 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39987 2012-02-21 David S. Miller <davem@davemloft.net>
39989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39992 2012-02-20 David S. Miller <davem@davemloft.net>
39994 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39995 using a normal save/restore sequence, rather than allocating a
39996 dummy stack frame just to store a frame pointer and restore.
39997 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39999 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40001 * manual/install.texi: Fix stray word in line-wrapped comment.
40003 2012-02-20 David S. Miller <davem@davemloft.net>
40005 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40006 both binutils and gcc support GOTDATA.
40008 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40009 "rd %pc" in the PIC register setup sequences.
40011 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40012 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40013 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40014 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40015 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40018 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40019 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40020 (SYSCALL_ERROR_HANDLER): Likewise.
40021 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40022 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40023 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40024 (SYSCALL_ERROR_HANDLER): Likewise.
40026 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40027 (HAVE_GCC_GOTDATA): New.
40028 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40029 relocation support in both binutils and gcc.
40030 * sysdeps/sparc/elf/configure: Regenerate.
40032 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40033 * sysdeps/sparc/sparc32/elf/configure: Delete.
40034 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40035 * sysdeps/sparc/sparc64/elf/configure: Delete.
40036 * sysdeps/sparc/elf/configure.in: New file.
40037 * sysdeps/sparc/elf/configure: Generate.
40039 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40040 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40041 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40042 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40043 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40045 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40047 * manual/install.texi: Do not mention specific glibc version
40049 * manual/libc.texinfo (VERSION, UPDATED): Update.
40050 (@copying): Use @copyright{} and range of years.
40052 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40055 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40056 [crti.S not in sysdirs] (generated): Do not append.
40057 [crti.S not in sysdirs] (omit-deps): Likewise.
40058 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40059 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40060 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40061 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40062 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40064 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40065 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40066 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40067 * csu/defs.awk: Remove file.
40068 * sysdeps/generic/initfini.c: Likewise.
40069 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40071 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40074 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40076 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40077 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40078 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40079 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40081 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40083 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40084 (__EPOLL_PACKED): Define to empty if not defined by
40086 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40090 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40092 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40093 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40094 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40095 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40097 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40101 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40103 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40105 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40106 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40107 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40110 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40112 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40113 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40115 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40117 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40118 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40120 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40122 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40125 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40127 * math/w_acos.c: Use non-signaling floating-point comparisons.
40128 * math/w_acosf.c: Likewise.
40129 * math/w_acosh.c: Likewise.
40130 * math/w_acoshf.c: Likewise.
40131 * math/w_acoshl.c: Likewise.
40132 * math/w_acosl.c: Likewise.
40133 * math/w_asin.c: Likewise.
40134 * math/w_asinf.c: Likewise.
40135 * math/w_asinl.c: Likewise.
40136 * math/w_atanh.c: Likewise.
40137 * math/w_atanhf.c: Likewise.
40138 * math/w_atanhl.c: Likewise.
40139 * math/w_exp2.c: Likewise.
40140 * math/w_exp2f.c: Likewise.
40141 * math/w_exp2l.c: Likewise.
40142 * math/w_j0.c: Likewise.
40143 * math/w_j0f.c: Likewise.
40144 * math/w_j0l.c: Likewise.
40145 * math/w_j1.c: Likewise.
40146 * math/w_j1f.c: Likewise.
40147 * math/w_j1l.c: Likewise.
40148 * math/w_jn.c: Likewise.
40149 * math/w_jnf.c: Likewise.
40150 * math/w_log.c: Likewise.
40151 * math/w_log10.c: Likewise.
40152 * math/w_log10f.c: Likewise.
40153 * math/w_log10l.c: Likewise.
40154 * math/w_log2.c: Likewise.
40155 * math/w_log2f.c: Likewise.
40156 * math/w_log2l.c: Likewise.
40157 * math/w_logf.c: Likewise.
40158 * math/w_logl.c: Likewise.
40159 * math/w_sqrt.c: Likewise.
40160 * math/w_sqrtf.c: Likewise.
40161 * math/w_sqrtl.c: Likewise.
40162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40163 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40165 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40166 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40168 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40171 * manual/string.texi (strnlen): Use correct parameter name in
40172 equivalent expression.
40174 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40177 * manual/users.texi (seteuid): Consistently use neweuid for
40180 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40183 * manual/nss.texi (Services in the NSS configuration): Correct
40184 list of services in example configuration file.
40186 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40189 * manual/arith.texi: Remove statements about negative zero
40190 behaving identically to zero.
40192 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40195 * manual/install.texi: Do not document upgrading from libc5.
40197 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40200 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40202 2012-02-18 David S. Miller <davem@davemloft.net>
40204 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40205 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40206 %o7 across the call.
40207 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40210 SETUP_PIC_REG_LEAF.
40211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40212 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40213 * sysdeps/sparc/crtn.S: Likewise.
40215 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40217 * aout/Makefile: Remove.
40219 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40222 * manual/examples/argp-ex1.c (main): Format definition in GNU
40224 * manual/examples/argp-ex2.c (main): Likewise.
40225 * manual/examples/argp-ex3.c (main): Likewise.
40226 * manual/examples/argp-ex4.c (main): Likewise.
40227 * manual/examples/longopt.c (main): Use new-style prototype
40229 * manual/examples/strncat.c (main): Specify return type and use
40230 (void) for arguments.
40231 * manual/examples/subopt.c (main): Use char **argv argument.
40233 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40236 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40239 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40242 * manual/string.texi (strchr): Change when strchrnul is
40245 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40248 * manual/locale.texi (setlocale): Document LOCPATH.
40250 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40253 * manual/process.texi (execle): Move @dots{} before last argument.
40255 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40258 * manual/charset.texi (Generic Charset Conversion): Fix typo
40259 (LC_TYPE -> LC_CTYPE).
40261 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40264 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40265 (scalbnf): Likewise.
40266 (scalbnl): Likewise.
40267 (scalbln): Likewise.
40268 (scalblnf): Likewise.
40269 (scalblnl): Likewise.
40270 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40271 (vwarnx): Likewise.
40274 * manual/filesys.texi (telldir): Use braces around return type.
40275 * manual/llio.texi (mmap): Add space after comma.
40276 (mmap64): Likewise.
40277 * manual/math.texi (jn): Use @var{} on parameter names.
40283 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40285 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40287 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40288 (sched_get_priority_max): Likewise.
40289 * manual/signal.texi (sigvec): Add space after comma.
40290 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40292 (if_indextoname): Likewise.
40293 (if_freenameindex): Likewise.
40294 (sendto): Use ',' instead of '.' in prototype.
40295 * manual/startup.texi (syscall): Use @dots{} instead of literal
40297 * manual/stdio.texi (__fpending): Separate initial words of
40298 paragraph from @deftypefun line.
40299 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40301 (vsyslog): Use @var{} on parameter names.
40302 * manual/terminal.texi (stty): Use @var{} on parameter names.
40303 * manual/users.texi (getutmp): Use @var{} on parameter names.
40304 (getutmpx): Likewise.
40306 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40309 * manual/stdio.texi (fopen): Fix typos in description of
40312 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40315 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40316 get clock_id definition.
40318 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40321 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40322 (madvise): Cast every argument to void on its own.
40324 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40327 * manual/startup.texi (Exit Status): Fix typo.
40329 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40332 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40333 * manual/examples/argp-ex2.c: Likewise.
40334 * manual/examples/argp-ex3.c: Likewise.
40336 2012-02-16 Richard Henderson <rth@redhat.com>
40338 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40339 * sysdeps/s390/s390-32/initfini.c: Remove.
40340 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40341 * sysdeps/s390/s390-64/initfini.c: Remove.
40343 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40345 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40346 compiler output for sysdeps/generic/initfini.c.
40347 * sysdeps/sh/elf/initfini.c: Remove file.
40349 2012-02-16 David S. Miller <davem@davemloft.net>
40352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40354 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40355 * sysdeps/sparc/crti.S: New file.
40356 * sysdeps/sparc/crtn.S: New file.
40357 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40358 * sysdeps/sparc/sparc64/Makefile: Likewise.
40360 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40363 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40365 2012-02-15 Roland McGrath <roland@hack.frob.com>
40368 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40370 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40371 (write, read, close): Likewise.
40372 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40374 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40376 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40377 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40378 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40379 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40381 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40385 2012-02-14 Marek Polacek <polacek@redhat.com>
40387 * sysdeps/x86_64/crti.S: New file.
40388 * sysdeps/x86_64/crtn.S: New file.
40389 * sysdeps/x86_64/elf/initfini.c: Remove file.
40391 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40393 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40394 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40395 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40396 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40398 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40402 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40404 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40405 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40406 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40407 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40409 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40413 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40415 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40416 __feraiseexcept instead of feraiseexcept.
40418 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40419 nanosleep invocations.
40420 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40421 strings, and add error checking for a nanosleep invocations.
40423 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40425 Replace FSF snail mail address with URLs, as per GNU coding standards.
40426 Most of the snail mail addresses were wrong anyway, and omitting
40427 them makes the source code easier to maintain. Almost all of the
40428 changes are to license notices and to locale LC_IDENTIFICATION
40429 addresses, except for this one:
40430 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40431 not its snail mail address.
40433 2012-02-09 Richard Henderson <rth@twiddle.net>
40435 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40436 of kernel-features.h.
40438 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40440 2012-02-08 Marek Polacek <polacek@redhat.com>
40442 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40443 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40444 * sysdeps/gnu/_G_config.h: Likewise.
40445 * sysdeps/generic/_G_config.h: Likewise.
40447 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40449 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40453 * sysdeps/powerpc/powerpc32/crti.S: New file.
40454 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40455 * sysdeps/powerpc/powerpc64/crti.S: New file.
40456 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40458 * Makeconfig (have-initfini): Don't set.
40459 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40460 * configure.in (nopic_initfini): Don't substitute.
40461 * config.h.in (HAVE_INITFINI): Don't #undef.
40462 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40463 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40465 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40467 Support crti.S and crtn.S provided directly by architectures.
40468 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40469 [crti.S in sysdirs] (omit-deps): Likewise.
40470 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40471 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40472 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40473 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40474 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40475 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40476 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40477 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40478 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40479 compiler output for sysdeps/generic/initfini.c.
40480 * sysdeps/i386/elf/Makefile: Remove file.
40481 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40483 2012-02-07 Marek Polacek <polacek@redhat.com>
40485 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40486 * sysdeps/gnu/_G_config.h: Likewise.
40487 * sysdeps/mach/hurd/_G_config.h: Likewise.
40489 2012-02-07 Marek Polacek <polacek@redhat.com>
40491 * math/Makefile (tests): Add tst-CMPLX2.
40492 * math/tst-CMPLX2.c: New file.
40494 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40496 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40498 * math/libm-test.inc (jn_test): Add missing L suffix.
40500 2012-02-06 Marek Polacek <polacek@redhat.com>
40502 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40503 * sysdeps/i386/fpu/e_powf.S: Likewise.
40504 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40505 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40506 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40507 * sysdeps/i386/fpu/e_pow.S: Likewise.
40508 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40509 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40510 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40511 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40512 * sysdeps/i386/fpu/e_log2.S: Likewise.
40513 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40514 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40515 * sysdeps/i386/fpu/e_powl.S: Likewise.
40516 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40517 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40518 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40519 * sysdeps/i386/fpu/e_logl.S: Likewise.
40520 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40521 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40522 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40523 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40524 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40526 * sysdeps/i386/fpu/e_log.S: Likewise.
40527 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40528 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40529 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40530 * sysdeps/i386/fpu/e_logf.S: Likewise.
40531 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40532 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40533 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40534 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40535 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40536 * sysdeps/i386/fpu/e_log10.S: Likewise.
40537 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40538 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40539 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40540 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40541 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40542 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40543 * sysdeps/i386/asm-syntax.h: Likewise.
40544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40546 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40547 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40548 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40549 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40550 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40551 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40552 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40553 * sysdeps/powerpc/sysdep.h: Likewise.
40554 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40555 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40557 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40560 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40562 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40564 * sysdeps/i386/sysdep.h: Include <features.h>.
40565 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40568 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40570 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40572 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40575 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40577 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40578 (SETUP_PIC_REG): Use GET_PC_THUNK.
40579 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40582 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40584 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40585 for non-PIC compilation.
40586 (SETUP_PIC_REG): Add .p2align directive.
40587 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40588 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40589 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40590 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40592 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40593 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40595 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40596 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40597 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40598 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40599 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40600 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40601 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40602 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40603 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40604 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40605 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40606 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40607 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40611 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40613 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40615 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40616 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40617 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40618 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40619 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40620 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40621 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40622 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40623 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40624 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40625 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40626 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40627 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40629 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40631 * math/tst-CMPLX.c: Include <stdio.h>.
40633 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40635 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40637 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40638 * sysdeps/sparc/bits/mathdef.h: Likewise.
40640 2012-01-31 Marek Polacek <polacek@redhat.com>
40642 * libio/libio.h: Don't define _PARAMS.
40643 * locale/programs/config.h: Don't define PARAMS.
40644 * stdlib/strtol_l.c: Likewise.
40645 (__strtol_l): Remove PARAMS from the prototype.
40647 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40649 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40650 names. Just use the correct names. Remove unnecessary wrapper
40652 * malloc/arena.c: Likewise.
40653 * malloc/hooks.c: Likewise.
40655 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40656 ARENA_TEST says not to. Simplify test for creation of a new arena.
40657 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40659 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40661 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40663 (update_get_addr): New function.
40664 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40665 GET_ADDR_MODULE parameter.
40667 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40669 * crypt/cert.c: Remove __STDC__ conditionals.
40670 * crypt/crypt-entry.c: Likewise.
40671 * crypt/crypt_util.c: Likewise.
40672 * libio/filedoalloc.c: Likewise.
40673 * libio/fileops.c: Likewise.
40674 * libio/genops.c: Likewise.
40675 * libio/iofclose.c: Likewise.
40676 * libio/iofdopen.c: Likewise.
40677 * libio/iofopen.c: Likewise.
40678 * libio/iofopen64.c: Likewise.
40679 * libio/iogetdelim.c: Likewise.
40680 * libio/iopopen.c: Likewise.
40681 * libio/obprintf.c: Likewise.
40682 * libio/oldfileops.c: Likewise.
40683 * libio/oldiofclose.c: Likewise.
40684 * libio/oldiofdopen.c: Likewise.
40685 * libio/oldiofopen.c: Likewise.
40686 * libio/oldiopopen.c: Likewise.
40687 * libio/wfiledoalloc.c: Likewise.
40688 * libio/wgenops.c: Likewise.
40689 * locale/programs/xmalloc.c: Likewise.
40690 * misc/syslog.c: Likewise.
40691 * stdio-common/xbug.c: Likewise.
40692 * string/memchr.c: Likewise.
40693 * string/memcmp.c: Likewise.
40694 * string/memrchr.c: Likewise.
40695 * string/rawmemchr.c: Likewise.
40696 * sysdeps/posix/getcwd.c: Likewise.
40697 * time/strftime_l.c: Likewise.
40699 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40701 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40702 * config.make.in (config-cflags-sse2avx): Define.
40703 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40706 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40708 * scripts/config.guess: Update from upstream config git repository.
40709 * scripts/config.sub: Likewise.
40711 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40713 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40715 (R_TILEPRO_*, R_TILEGX_*): New macros.
40717 * scripts/firstversions.awk: Fix bug in version range handling.
40719 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40721 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40723 * include/sys/epoll.h: New file.
40724 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40727 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40729 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40730 Avoid unnecessary __WORDSIZE == 64 test.
40731 (fmaxf): Use VEX format if possible.
40736 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40737 * math/math_private.h: Remove libc_fegetround* and
40739 * sysdeps/i386/configure.in: Check for -msse2avx.
40740 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40741 also if SSE2AVX is defined.
40742 Remove libc_fegetround* and libc_fesetround*.
40743 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40744 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40745 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40747 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40748 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40749 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40750 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40753 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40755 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40757 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40759 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40761 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40764 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40766 * Makeconfig (libm): Define.
40767 * elf/Makefile: Add rules to build and run tst-relsort1.
40768 * elf/tst-relsort1.c: New file.
40769 * elf/tst-relsort1mod1.c: New file.
40770 * elf/tst-relsort1mod2.c: New file.
40772 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40774 * math/s_ldexp.c: Remove __STDC__ conditionals.
40775 * math/s_ldexpf.c: Likewise.
40776 * math/s_ldexpl.c: Likewise.
40777 * math/s_nextafter.c: Likewise.
40778 * math/s_nexttowardf.c: Likewise.
40779 * math/s_significand.c: Likewise.
40780 * math/s_significandf.c: Likewise.
40781 * math/s_significandl.c: Likewise.
40782 * math/w_jnl.c: Likewise.
40783 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40784 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40785 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40786 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40787 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40789 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40790 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40791 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40792 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40793 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40794 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40795 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40796 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40797 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40802 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40803 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40804 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40805 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40806 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40807 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40808 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40809 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40810 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40811 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40812 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40813 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40814 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40815 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40816 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40817 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40819 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40820 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40821 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40822 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40823 * sysdeps/ieee754/k_standard.c: Likewise.
40824 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40826 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40827 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40828 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40833 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40835 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40842 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40843 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40844 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40847 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40848 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40850 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40858 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40859 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40862 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40863 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40864 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40866 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40867 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40868 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40869 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40872 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40873 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40874 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40875 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40876 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40877 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40878 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40879 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40880 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40881 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40882 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40883 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40885 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40886 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40891 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40892 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40893 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40894 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40895 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40896 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40897 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40898 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40899 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40900 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40901 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40902 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40903 * sysdeps/ieee754/s_matherr.c: Likewise.
40904 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40905 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40906 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40907 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40909 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40911 * crypt/md5.h: Remove __STDC__ conditionals.
40912 * libio/libioP.h: Likewise.
40913 * locale/programs/config.h: Likewise.
40914 * sysdeps/generic/sysdep.h: Likewise.
40915 * sysdeps/i386/asm-syntax.h: Likewise.
40916 * sysdeps/s390/asm-syntax.h: Likewise.
40917 * sysdeps/unix/sysdep.h: Likewise.
40918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40921 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40923 * libio/libio.h: Remove __STDC__ conditionals.
40924 * malloc/obstack.h: Likewise.
40925 * math/complex.h: Likewise.
40926 * math/math.h: Likewise.
40927 * sysdeps/generic/_G_config.h: Likewise.
40928 * sysdeps/gnu/_G_config.h: Likewise.
40929 * sysdeps/mach/hurd/_G_config.h: Likewise.
40930 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40931 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40932 * sysdeps/sparc/bits/mathdef.h: Likewise.
40934 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40937 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40938 Clean up HAS_* macros.
40939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40940 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40942 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40944 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40945 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40946 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40948 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40950 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40952 * elf/tst-unique3.cc (gets): Remove declaration.
40953 * elf/tst-unique3lib.cc (gets): Likewise.
40954 * elf/tst-unique3lib2.cc (gets): Likewise.
40955 * elf/tst-unique4.cc (gets): Likewise.
40957 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40959 * include/stdio.h: Add C++ protection. Add gets declarations and
40961 * debug/tst-chk1.c: Don't declare gets here.
40962 * stdio-common/tst-gets.c: Likewise.
40964 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40966 * posix/glob: Remove directory.
40968 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40970 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40972 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40974 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40975 of the non-standard EPFNOSUPPORT.
40977 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40979 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40980 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40981 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40983 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40985 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40987 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40989 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40991 * nscd/grpcache.c (cache_addgr): Likewise.
40992 * nscd/hstcache.c (cache_addhst): Likewise.
40993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40994 * nscd/pwdcache.c (cache_addpw): Likewise.
40995 * nscd/servicescache.c (cache_addserv): Likewise.
40997 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40999 * malloc/malloc.c: Various cleanups.
41000 * malloc/hooks.c: Likewise.
41002 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41003 * stdlib/bug-fmtmsg1.c: New file.
41005 * stdlib/fmtmsg.c (init): Add missing unlock.
41006 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41008 2012-01-12 Marek Polacek <polacek@redhat.com>
41010 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41013 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41015 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41016 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41017 macro to ensure uniqueness of label name.
41018 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41019 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41021 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41023 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41025 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41027 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41028 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41030 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41032 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41034 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41035 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41036 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41038 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41040 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41041 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41043 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41045 * math/bits/math-finite.h: Add ldexp support.
41047 2012-01-10 Marek Polacek <polacek@redhat.com>
41049 * locale/programs/localedef.h (show_archive_content): Add noreturn
41052 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41054 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41056 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41058 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41060 * io/Makefile (headers): Add bits/poll2.h.
41062 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41065 typo #include statement.
41067 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41069 * include/sys/cdefs.h: Define __attribute_alloc_size.
41070 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41071 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41072 * elf/pldd.c: Likewise.
41073 * iconv/iconv_charmap.c: Likewise.
41074 * iconv/iconvconfig.c: Likewise.
41075 * iconv/strtab.c: Likewise.
41076 * locale/programs/locale.c: Likewise.
41077 * locale/programs/localedef.h: Likewise.
41078 * locale/programs/simple-hash.c: Likewise.
41079 * nscd/nscd.h: Likewise.
41080 * nss/makedb.c: Likewise.
41081 * sysdeps/generic/ldconfig.h: Likewise.
41082 * locale/programs/localedef.c: Remove xmalloc prototype.
41083 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41085 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41087 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41090 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41092 * math/Makefile (tests): Add tst-CMPLX.
41093 * math/tst-CMPLX.c: New file.
41095 * math/complex.h (CMPLXL): Fix typo.
41097 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41098 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41100 * debug/tst-chk1.c: Add poll and ppoll tests.
41101 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41102 * include/sys/poll.h: Add hidden proto for ppoll.
41103 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41104 * sysdeps/mach/hurd/ppoll.c: Likewise.
41105 * io/ppoll.c: Likewise.
41106 * debug/poll_chk.c: New file.
41107 * debug/ppoll_chk.c: New file.
41108 * include/bits/poll2.h: New file.
41109 * io/bits/poll2.h: New file.
41112 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41114 * configure.in: static is always set to yes. Remove.
41115 * config.make.in: Don't set build-static.
41116 * Makeconfig: Remove use of build-static.
41117 * dlfcn/Makefile: Likewise.
41118 * elf/Makefile: Likewise.
41119 * math/Makefile: Likewise.
41120 * misc/Makefile: Likewise.
41121 * nptl/Makefile: Likewise.
41122 * sysdeps/mach/hurd/Makefile: Likewise.
41124 * configure.in: PWD_P is not used anymore.
41125 * config.make.in: Remove PWD_P entry.
41127 * configure.in: Remove last remnants of RANLIB.
41128 No need to check for signed size_t anymore.
41129 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41131 Remove __builtin_expect test because we require at least gcc 3.4.
41132 * aclocal.m4: Likewise.
41134 * wcsmbs/mbrtoc16.c: Implement using towc function.
41135 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41136 * wcsmbs/wcsmbsload.c: Likewise.
41137 * iconv/gconv_simple.c: Likewise.
41138 * iconv/gconv_int.h: Likewise.
41139 * iconv/gconv_builtin.h: Likewise.
41140 * iconv/iconv_prog.c: Remove CHAR16 handling.
41142 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41144 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41146 * configure.in: Remove --with-elf and --enable-bounded options.
41147 Dont set base_machine for ia64. More non-ELF conditions removed.
41148 Remove testing and setting of leading underscore information.
41149 * config.make.in (build-bounded): Set to no.
41150 * config.h.in: Remove NO_UNDERSCORES entry.
41151 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41153 * csu/start.c: Remove !NO_UNDERSCORE code.
41154 * locale/localeinfo.h: Likewise.
41155 * sysdeps/generic/machine-gmon.h: Likewise.
41156 * sysdeps/generic/sysdep.h: Likewise.
41157 * sysdeps/i386/sysdep.h: Likewise.
41158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41159 * sysdeps/mach/sysdep.h: Likewise.
41160 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41162 * sysdeps/sh/sysdep.h: Likewise.
41163 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41164 * sysdeps/unix/i386/sysdep.S: Likewise.
41165 * sysdeps/unix/sparc/start.c: Likewise.
41166 * sysdeps/unix/sparc/sysdep.S: Likewise.
41167 * sysdeps/unix/sparc/sysdep.h: Likewise.
41168 * sysdeps/unix/start.c: Likewise.
41169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41170 * sysdeps/x86_64/sysdep.h: Likewise.
41172 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41175 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41177 * argp/argp-fmtstream.h: Use const instead __const.
41178 * argp/argp.h: Likewise.
41179 * assert/assert.h: Likewise.
41180 * bits/fenv.h: Likewise.
41181 * bits/sched.h: Likewise.
41182 * bits/sigset.h: Likewise.
41183 * bits/sigthread.h: Likewise.
41184 * catgets/nl_types.h: Likewise.
41185 * conform/data/pthread.h-data: Likewise.
41186 * crypt/crypt-private.h: Likewise.
41187 * crypt/crypt.h: Likewise.
41188 * crypt/crypt_util.c: Likewise.
41189 * ctype/ctype.h: Likewise.
41190 * debug/execinfo.h: Likewise.
41191 * debug/mbsnrtowcs_chk.c: Likewise.
41192 * debug/mbsrtowcs_chk.c: Likewise.
41193 * debug/wcsnrtombs_chk.c: Likewise.
41194 * debug/wcsrtombs_chk.c: Likewise.
41195 * debug/wcstombs_chk.c: Likewise.
41196 * dirent/dirent.h: Likewise.
41197 * dlfcn/dlfcn.h: Likewise.
41198 * elf/neededtest4.c: Likewise.
41199 * grp/grp.h: Likewise.
41200 * gshadow/gshadow.h: Likewise.
41201 * iconv/gconv.h: Likewise.
41202 * iconv/gconv_int.h: Likewise.
41203 * iconv/gconv_simple.c: Likewise.
41204 * iconv/iconv.h: Likewise.
41205 * iconv/loop.c: Likewise.
41206 * iconv/skeleton.c: Likewise.
41207 * include/aio.h: Likewise.
41208 * include/aliases.h: Likewise.
41209 * include/argz.h: Likewise.
41210 * include/arpa/inet.h: Likewise.
41211 * include/assert.h: Likewise.
41212 * include/dirent.h: Likewise.
41213 * include/dlfcn.h: Likewise.
41214 * include/execinfo.h: Likewise.
41215 * include/fcntl.h: Likewise.
41216 * include/fenv.h: Likewise.
41217 * include/glob.h: Likewise.
41218 * include/grp.h: Likewise.
41219 * include/libintl.h: Likewise.
41220 * include/mntent.h: Likewise.
41221 * include/netdb.h: Likewise.
41222 * include/pwd.h: Likewise.
41223 * include/rpc/netdb.h: Likewise.
41224 * include/sched.h: Likewise.
41225 * include/search.h: Likewise.
41226 * include/shadow.h: Likewise.
41227 * include/signal.h: Likewise.
41228 * include/stdio.h: Likewise.
41229 * include/stdlib.h: Likewise.
41230 * include/string.h: Likewise.
41231 * include/sys/socket.h: Likewise.
41232 * include/sys/stat.h: Likewise.
41233 * include/sys/statfs.h: Likewise.
41234 * include/sys/statvfs.h: Likewise.
41235 * include/sys/syslog.h: Likewise.
41236 * include/sys/time.h: Likewise.
41237 * include/sys/uio.h: Likewise.
41238 * include/time.h: Likewise.
41239 * include/unistd.h: Likewise.
41240 * include/utmp.h: Likewise.
41241 * include/wchar.h: Likewise.
41242 * include/wctype.h: Likewise.
41243 * inet/aliases.h: Likewise.
41244 * inet/arpa/inet.h: Likewise.
41245 * inet/netinet/ether.h: Likewise.
41246 * inet/netinet/in.h: Likewise.
41247 * intl/libintl.h: Likewise.
41248 * io/bits/fcntl2.h: Likewise.
41249 * io/fcntl.h: Likewise.
41250 * io/ftw.h: Likewise.
41251 * io/sys/poll.h: Likewise.
41252 * io/sys/stat.h: Likewise.
41253 * io/sys/statfs.h: Likewise.
41254 * io/sys/statvfs.h: Likewise.
41255 * io/utime.h: Likewise.
41256 * libio/bits/stdio.h: Likewise.
41257 * libio/bits/stdio2.h: Likewise.
41258 * libio/libio.h: Likewise.
41259 * libio/libioP.h: Likewise.
41260 * libio/stdio.h: Likewise.
41261 * locale/lc-ctype.c: Likewise.
41262 * locale/locale.h: Likewise.
41263 * login/utmp.h: Likewise.
41264 * malloc/arena.c: Likewise.
41265 * malloc/malloc.c: Likewise.
41266 * malloc/malloc.h: Likewise.
41267 * malloc/mcheck.c: Likewise.
41268 * malloc/mtrace.c: Likewise.
41269 * math/bits/mathcalls.h: Likewise.
41270 * math/fenv.h: Likewise.
41271 * math/math_private.h: Likewise.
41272 * misc/bits/error.h: Likewise.
41273 * misc/bits/syslog.h: Likewise.
41274 * misc/err.h: Likewise.
41275 * misc/error.h: Likewise.
41276 * misc/fstab.h: Likewise.
41277 * misc/mntent.h: Likewise.
41278 * misc/regexp.h: Likewise.
41279 * misc/search.h: Likewise.
41280 * misc/sgtty.h: Likewise.
41281 * misc/sys/mman.h: Likewise.
41282 * misc/sys/syslog.h: Likewise.
41283 * misc/sys/uio.h: Likewise.
41284 * misc/sys/xattr.h: Likewise.
41285 * misc/ttyent.h: Likewise.
41286 * nis/rpcsvc/ypclnt.h: Likewise.
41287 * nss/nss.h: Likewise.
41288 * posix/bits/unistd.h: Likewise.
41289 * posix/fnmatch.h: Likewise.
41290 * posix/glob.h: Likewise.
41291 * posix/sched.h: Likewise.
41292 * posix/spawn.h: Likewise.
41293 * posix/sys/wait.h: Likewise.
41294 * posix/unistd.h: Likewise.
41295 * posix/wordexp.h: Likewise.
41296 * pwd/pwd.h: Likewise.
41297 * resolv/netdb.h: Likewise.
41298 * resource/sys/resource.h: Likewise.
41299 * rt/aio.h: Likewise.
41300 * rt/bits/mqueue2.h: Likewise.
41301 * rt/mqueue.h: Likewise.
41302 * shadow/shadow.h: Likewise.
41303 * signal/signal.h: Likewise.
41304 * socket/send.c: Likewise.
41305 * socket/sendto.c: Likewise.
41306 * socket/sys/socket.h: Likewise.
41307 * stdio-common/printf.h: Likewise.
41308 * stdlib/bits/stdlib.h: Likewise.
41309 * stdlib/fmtmsg.h: Likewise.
41310 * stdlib/monetary.h: Likewise.
41311 * stdlib/stdlib.h: Likewise.
41312 * stdlib/ucontext.h: Likewise.
41313 * streams/stropts.h: Likewise.
41314 * string/argz.h: Likewise.
41315 * string/bits/string2.h: Likewise.
41316 * string/string.h: Likewise.
41317 * string/strings.h: Likewise.
41318 * sunrpc/rpc/auth.h: Likewise.
41319 * sunrpc/rpc/auth_des.h: Likewise.
41320 * sunrpc/rpc/clnt.h: Likewise.
41321 * sunrpc/rpc/netdb.h: Likewise.
41322 * sunrpc/rpc/pmap_clnt.h: Likewise.
41323 * sunrpc/rpc/xdr.h: Likewise.
41324 * sysdeps/generic/inttypes.h: Likewise.
41325 * sysdeps/generic/net/if.h: Likewise.
41326 * sysdeps/generic/sys/swap.h: Likewise.
41327 * sysdeps/gnu/net/if.h: Likewise.
41328 * sysdeps/gnu/utmpx.h: Likewise.
41329 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41330 * sysdeps/i386/i486/bits/string.h: Likewise.
41331 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41332 * sysdeps/s390/bits/string.h: Likewise.
41333 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41334 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41335 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41336 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41337 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41338 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41339 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41340 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41341 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41342 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41343 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41344 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41345 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41346 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41347 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41348 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41349 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41350 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41351 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41353 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41354 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41355 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41356 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41357 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41358 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41359 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41360 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41361 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41362 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41363 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41364 * sysvipc/sys/ipc.h: Likewise.
41365 * sysvipc/sys/msg.h: Likewise.
41366 * sysvipc/sys/sem.h: Likewise.
41367 * sysvipc/sys/shm.h: Likewise.
41368 * termios/termios.h: Likewise.
41369 * time/sys/time.h: Likewise.
41370 * time/time.h: Likewise.
41371 * wcsmbs/bits/wchar2.h: Likewise.
41372 * wcsmbs/uchar.h: Likewise.
41373 * wcsmbs/wchar.h: Likewise.
41374 * wctype/wctype.h: Likewise.
41377 * Makeconfig: Remove all but ELF support including AIX support.
41378 * Makerules: Likewise.
41379 * config.h.in: Likewise.
41380 * config.make.in: Likewise.
41381 * configure: Likewise.
41382 * configure.in: Likewise.
41383 * csu/Makefile: Likewise.
41384 * csu/version.c: Likewise.
41385 * debug/Makefile: Likewise.
41386 * dlfcn/Makefile: Likewise.
41387 * elf/Makefile: Likewise.
41388 * extra-lib.mk: Likewise.
41389 * iconv/Makefile: Likewise.
41390 * include/libc-symbols.h: Likewise.
41391 * include/shlib-compat.h: Likewise.
41392 * resolv/Makefile: Likewise.
41393 * resolv/res_libc.c: Likewise.
41394 * rt/Makefile: Likewise.
41395 * sysdeps/i386/asm-syntax.h: Likewise.
41396 * sysdeps/i386/sysdep.h: Likewise.
41397 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41398 * sysdeps/mach/sysdep.h: Likewise.
41399 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41400 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41401 * sysdeps/s390/asm-syntax.h: Likewise.
41402 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41403 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41404 * sysdeps/sh/sysdep.h: Likewise.
41405 * sysdeps/unix/sparc/sysdep.h: Likewise.
41406 * sysdeps/wordsize-32/divdi3.c: Likewise.
41407 * sysdeps/x86_64/sysdep.h: Likewise.
41409 * argp/Versions: Remove _argp_unlock_xxx.
41412 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41413 * abilist/libBrokenLocale.abilist: Likewise.
41414 * abilist/libanl.abilist: Likewise.
41415 * abilist/libc.abilist: Likewise.
41416 * abilist/libcrypt.abilist: Likewise.
41417 * abilist/libdl.abilist: Likewise.
41418 * abilist/libm.abilist: Likewise.
41419 * abilist/libnsl.abilist: Likewise.
41420 * abilist/libpthread.abilist: Likewise.
41421 * abilist/libresolv.abilist: Likewise.
41422 * abilist/librt.abilist: Likewise.
41423 * abilist/libthread_db.abilist: Likewise.
41424 * abilist/libutil.abilist: Likewise.
41425 * abilist/libnss_db.abilist: New file.
41427 * scripts/abilist.awk: Add support for indirect functions.
41429 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41431 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41433 * shlib-versions: Remove entries for ports architectures.
41435 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41437 * elf/stackguard-macros.h: Remove support for IA-64.
41438 * elf/tst-auditmod1.c: Likewise.
41439 * sysdeps/generic/ldsodefs.h: Likewise.
41441 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41442 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41446 * configure.in: Remove --enable-omitfp support.
41448 * config.make.in: Likewise.
41449 * Makeconfig: Likewise.
41450 * manual/install.texi: Likewise.
41452 In case anyone cares, the IA-64 architecture could move to ports.
41453 * sysdeps/ia64/*: Removed.
41454 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41455 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41458 * configure.in: Remove entries for unsupported architectures.
41461 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41462 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41464 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41465 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41466 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41467 fall back to using wcrtomb.
41468 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41469 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41471 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41472 * wcsmbs/tst-c16c32-1.c: New file.
41474 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41477 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41479 * elf/tst-unique3.cc: Add explicit declaration of gets.
41480 * elf/tst-unique3lib.cc: Likewise.
41481 * elf/tst-unique3lib2.cc: Likewise.
41482 * elf/tst-unique4.cc: Likewise.
41484 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41486 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41489 * assert/assert.h (static_assert): Don't define for C++.
41490 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41491 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41493 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41495 * iconv/loop.c (single loop): Fix assertion in storing of
41498 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41500 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41502 * posix/getconf.c: Update copyright year.
41503 * nss/getent.c: Likewise.
41504 * nss/makedb.c: Likewise.
41505 * iconv/iconvconfig.c: Likewise.
41506 * iconv/iconv_prog.c: Likewise.
41507 * elf/ldconfig.c: Likewise.
41508 * elf/pldd.c: Likewise.
41509 * elf/sotruss.ksh: Likewise.
41510 * catgets/gencat.c: Likewise.
41511 * csu/version.c: Likewise.
41512 * elf/ldd.bash.in: Likewise.
41513 * elf/sprof.c (print_version): Likewise.
41514 * locale/programs/locale.c: Likewise.
41515 * locale/programs/localedef.c: Likewise.
41516 * login/programs/pt_chown.c: Likewise.
41517 * nscd/nscd.c (print_version): Likewise.
41518 * debug/xtrace.sh: Likewise.
41519 * malloc/memusage.sh: Likewise.
41520 * malloc/mtrace.pl: Likewise.
41521 * debug/catchsegv.sh: Likewise.
41523 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41525 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41528 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41531 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41532 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41534 * iconv/gconv_int.h: Likewise.
41535 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41536 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41537 from libc for GLIBC_2.16.
41538 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41539 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41540 * wcsmbs/uchar.h: Really define mbstate_t.
41541 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41542 * wcsmbs/c16rtomb.c: New file.
41543 * wcsmbs/mbrtoc16.c: New file.
41544 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41545 for C/POSIX locale.
41546 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41547 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41549 * wcsmbs/wchar.h: Add missing __restrict.
41551 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41554 * time/Makefile (routines): Add timespec_get.
41555 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41556 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41557 timespec for ISO C11.
41558 * time/timespec_get.c: New file.
41559 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41560 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41563 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41564 * stdlib/stdlib.h: Declare aligned_alloc.
41565 * Versions.def: Add GLIBC_2.16 for libc.
41566 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41569 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41572 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41576 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41579 * assert/assert.h (static_assert): Define.
41581 * version.h: Update for 2.16 development version.
41584 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41587 * version.h (RELEASE): Bump for 2.15 release.
41588 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41590 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41591 Patch by Marek Polacek <mpolacek@redhat.com>.
41593 * bits/byteswap.h: Protect long long constants with __extension__.
41594 * sysdeps/i386/bits/byteswap.h: Likewise.
41595 * sysdeps/ia64/bits/byteswap.h: Likewise.
41596 * sysdeps/s390/bits/byteswap.h: Likewise.
41597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41599 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41603 destination buffer.
41604 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41606 2011-12-23 Marek Polacek <polacek@redhat.com>
41608 * elf/dl-addr.c (determine_info): Add inline keyword.
41609 * elf/tst-auditmod4b.c (check_avx): Likewise.
41610 * elf/tst-auditmod6b.c (check_avx): Likewise.
41611 * elf/tst-auditmod6c.c (check_avx): Likewise.
41612 * elf/tst-auditmod7b.c (check_avx): Likewise.
41614 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41616 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41619 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41622 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41623 processing for last bytes.
41625 2011-08-06 Bruno Haible <bruno@clisp.org>
41628 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41629 U+0385, not to U+1FEE.
41632 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41633 entry for U+00A5 U+0301.
41635 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41638 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41639 buffer for the output is too small.
41641 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41645 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41646 SSE flags if possible.
41648 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41651 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41652 processing for last bytes.
41654 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41656 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41657 (syscall-list-default-options, syscall-list-default-condition)
41658 (syscall-list-includes): Define.
41659 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41660 list of ABIs and options and #if conditions for each ABI. Do not
41661 handle common syscalls between ABIs specially.
41662 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41664 (syscall-list-variants, syscall-list-32bit-options)
41665 (syscall-list-32bit-condition, syscall-list-64bit-options)
41666 (syscall-list-64bit-condition): Define.
41667 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41668 (syscall-list-variants, syscall-list-32bit-options)
41669 (syscall-list-32bit-condition, syscall-list-64bit-options)
41670 (syscall-list-64bit-condition): Define.
41671 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
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/x86_64/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.
41682 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41684 * locale/iso-639.def: Add brx entry.
41687 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41688 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41690 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41691 __feraiseexcept_renamed.
41693 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41696 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41697 EPOLLET with unsigned values.
41698 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41701 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41702 to large cancellation.
41703 * math/s_cacoshf.c: Likewise.
41704 * math/s_cacoshl.c: Likewise.
41706 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41710 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41711 * math/s_cacoshf.c: Likewise.
41712 * math/s_cacoshl.c: Likewise.
41714 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41717 * iconv/gconv.h: Define __GCONV_SWAP.
41718 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41719 * iconvdata/utf-16.c: Likewise.
41720 * iconvdata/utf-32.c: Likewise.
41722 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41725 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41726 numerator after shifting it by one limb.
41728 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41730 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41731 under [__USE_EXTERN_INLINES].
41733 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41736 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41738 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41740 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41741 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41743 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41744 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41745 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41746 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41747 for strncasecmp/strncasecmp_l compilation.
41748 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41749 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41751 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41754 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41757 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41760 * time/tzfile.c (__tzfile_read): Check values from file header.
41762 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41764 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41765 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41766 * powerpc/powerpc32/dl-start.S: Likewise.
41767 * powerpc/powerpc32/elf/start.S: Likewise.
41768 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41769 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41770 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41771 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41772 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41773 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41774 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41775 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41776 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41777 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41778 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41779 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41780 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41781 * powerpc/powerpc32/memset.S: Likewise.
41782 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41783 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41784 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41785 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41786 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41787 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41788 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41789 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41790 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41791 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41792 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41793 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41794 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41796 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41798 * math/libm-test.inc: Added more nearbyint tests.
41799 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41800 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41801 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41804 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41806 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41809 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41811 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41812 Add wcscpy-ssse3 wcscpy-c.
41813 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41814 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41815 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41816 * sysdeps/x86_64/wcschr.S: New file.
41817 * sysdeps/x86_64/wcsrchr.S: New file.
41818 * string/test-strcmp.c: Remove checking of wcscmp function for
41820 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41821 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41822 wcsrchr-sse2 wcsrchr-c.
41823 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41824 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41825 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41826 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41827 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41828 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41829 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41830 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41831 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41832 * wcsmbc/wcschr.c (WCSCHR): New macro.
41834 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41836 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41837 * wcsmbs/test-wcsrchr.c: New file.
41838 * string/test-strrchr.c: Add wcsrchr support.
41840 * wcsmbs/test-wcscpy.c: New file.
41841 * string/test-strcpy.c: Add wcscpy support.
41844 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41846 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41849 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41852 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41854 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41857 Minor optimizations.
41859 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41860 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41861 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41863 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41865 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41866 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41867 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41868 for gcc to avoid warnings.
41869 * inet/Makefile (tests): Add tst-checks.
41870 * inet/tst-checks.c: New file.
41872 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41875 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41878 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41879 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41881 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41883 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41885 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41888 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41890 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41892 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41893 conditional on GCC version.
41894 (__arch_compare_and_exchange_val_8_acq)
41895 (__arch_compare_and_exchange_val_16_acq)
41896 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41897 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41898 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41900 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41902 * sysdeps/sh/backtrace.c: New file.
41904 2011-12-02 Andreas Schwab <schwab@redhat.com>
41906 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41909 2011-12-01 Andreas Schwab <schwab@redhat.com>
41911 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41912 falling back to utime.
41914 2011-11-30 Andreas Schwab <schwab@redhat.com>
41916 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41917 expectations for float.
41919 2011-11-29 Andreas Schwab <schwab@redhat.com>
41921 * locale/weight.h (findidx): Add parameter len.
41922 * locale/weightwc.h (findidx): Likewise.
41923 * posix/fnmatch_loop.c (FCT): Adjust caller.
41924 * posix/regcomp.c (build_equiv_class): Likewise.
41925 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41926 * posix/regexec.c (check_node_accept_bytes): Likewise.
41927 * string/strcoll_l.c (STRCOLL): Likewise.
41928 * string/strxfrm_l.c (STRXFRM): Likewise.
41930 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41932 * Makefile.in: Remove CVSOPT handling.
41933 * configure.in: Remove use of AC_REVISION.
41934 * iconvdata/Makefile (distribute): No need to filter out CVS.
41935 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41938 2011-11-16 Andreas Schwab <schwab@redhat.com>
41940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41941 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41942 [USE_AS_STRNCASECMP_L]: Likewise.
41943 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41944 NO_TLS_DIRECT_SEG_REFS.
41945 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41946 Fix argument offsets for non-PIC.
41947 [USE_AS_STRNCASECMP_L]: Likewise.
41948 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41949 NO_TLS_DIRECT_SEG_REFS.
41951 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41953 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41955 * locale/loadlocale.c (_nl_load_locale): Likewise.
41957 2011-11-15 Andreas Schwab <schwab@redhat.com>
41959 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41960 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41961 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41962 (SYSCALL_GETTIME): Set errno on error.
41964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41965 count references to noai6ai_cached.
41967 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41969 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41971 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41972 FD_CLOEXEC for /proc/self/maps.
41974 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41975 FD_CLOEXEC for /proc/meminfo.
41977 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41980 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41981 FD_CLOEXEC for given file.
41983 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41985 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41986 FD_CLOEXEC for /etc/hosts.
41987 (_gethtent): Likewise.
41989 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41991 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41992 cancellation and set FD_CLOEXEC for /etc/netgroup.
41994 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41995 reading /etc/publickey.
41997 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41998 allow cancellation when reading /etc/group.
42000 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42002 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42004 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42005 when using data file.
42007 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42009 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42010 (write_nis_obj): Use "c" and "e" in fopen.
42012 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42014 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42016 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42018 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42020 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42023 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42025 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42027 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42029 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42030 file parsing and set FD_CLOEXEC.
42032 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42034 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42036 2011-11-14 Andreas Schwab <schwab@redhat.com>
42038 * malloc/arena.c (arena_get2): Don't call reused_arena when
42039 _int_new_arena failed.
42041 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42043 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42044 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42045 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42049 to compile strcasecmp and strncasecmp.
42050 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42051 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42055 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42057 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42058 locale-defines.sym to gen-as-const-headers.
42059 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42060 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42061 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42062 to compile strcasecmp and strncasecmp.
42063 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42064 strcasecmp_l and strncasecmp_l.
42065 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42066 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42067 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42069 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42071 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42072 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42073 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42074 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42075 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42077 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42079 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42080 result of SYSDEP_GETTIME_CPU to retval.
42081 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42082 parameter list to macro. Remove trailing semicolon. Adjust users.
42084 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42087 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42089 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42092 from unused variable.
42094 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42096 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42099 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42102 * sunrpc/rpc_prot.c (rejected): Fix case value.
42104 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42105 unsigned long long int to avoid warnings in shift.
42107 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42109 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42112 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42113 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42116 * nis/nis_table.c (nis_list): Use variable of correct type for
42117 result of __follow_path call.
42119 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42121 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42122 of math functions ceil, trunc, floor, round, and sqrt, when
42123 avaliable on the platform.
42124 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42126 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42127 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42128 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42130 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42132 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42133 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42135 2011-11-11 Roland McGrath <roland@hack.frob.com>
42137 * include/unistd.h: Fix __readlink return type.
42138 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42140 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42142 * stdlib/ucontext.h: Undo last change for makecontext.
42144 2011-11-11 Andreas Schwab <schwab@redhat.com>
42146 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42148 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42149 * setjmp/setjmp.h: Mark functions as non-leaf.
42150 * setjmp/bits/setjmp2.h: Likewise.
42151 * stdlib/ucontext.h: Likewise.
42153 2011-11-10 Andreas Schwab <schwab@redhat.com>
42155 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42156 (reused_arena): Don't check arena limit.
42157 (arena_get2): Atomically check arena limit.
42159 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42161 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42162 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42164 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42167 2011-11-07 Andreas Schwab <schwab@redhat.com>
42169 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42170 handler when locking.
42172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42173 Fix size of allocated buffer.
42175 2011-11-04 Andreas Schwab <schwab@redhat.com>
42178 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42179 declarations for long double functions.
42180 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42182 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42184 2011-11-03 Andreas Schwab <schwab@redhat.com>
42186 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42189 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42192 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42194 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42196 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42198 * include/alloca.h (stackinfo_alloca_round): Define.
42199 (extend_alloca): Use it.
42200 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42201 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42204 * scripts/check-local-headers.sh: Ignore libaudit.h.
42206 * nscd/Makefile (extra-objs): Make recursively expanded.
42208 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42210 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42211 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42213 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42214 * posix/tst-rfc3484-2.c: Likewise.
42215 * posix/tst-rfc3484-3.c: Likewise.
42217 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42219 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42221 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42222 process_vm_writev from libc using GLIBC_2.15 version.
42224 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42226 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42228 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42231 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42234 * nss/getent.c (initgroups_keys): Show error message in case no group
42237 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42238 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42239 __bump_nl_timestamp.
42240 * nscd/connections (nscd_init): When host database is served open
42241 netlink socket and request notification about configuration changes.
42242 (main_loop_poll): Track netlink file descriptor and bump timestamp
42243 in case data becomes available.
42244 (main_loop_epoll): Likewise.
42245 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42246 (database_pers_head): Add extra_data fileds.
42247 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42248 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42249 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42251 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42252 in6ai data, call __free_in6ai.
42253 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42254 Add -DHAVE_NETLINK.
42255 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42256 interface information. Reuse previous data if netlink timestamp
42258 (__bump_nl_timestamp): New function.
42259 (__free_in6ai): New function.
42261 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42264 close_not_cancel_no_status here.
42265 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42267 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42270 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42273 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42274 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42275 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42277 2011-07-03 Andreas Jaeger <aj@suse.de>
42280 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42281 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42282 * math/libm-test.inc (sin_test): Add test case.
42284 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42287 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42288 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42290 * elf/chroot_canon.c (chroot_canon): Cleanups.
42292 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42295 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42296 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42298 * string/test-strchr.c: Make usable for strchrnul testing.
42299 * string/test-strchrnul.c: New file.
42300 * string/Makefile (strop-tests): Add strchrnul.
42302 * po/it.po: Update from translation team.
42303 * po/es.po: Likewise.
42305 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42308 the three constants needed as parameters. Drop the others.
42309 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42310 __m128i_strloadu_tolower.
42311 Create and initialize variable zero and use it in all the places
42312 where _mm_setzero_si128 was used.
42314 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42315 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42316 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42317 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42319 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42322 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42323 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42324 __mpranred, __mptan.
42325 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42326 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42327 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42328 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42329 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42330 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42331 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42332 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42333 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42335 2011-10-28 Andreas Schwab <schwab@redhat.com>
42337 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42338 redefine if SHARED.
42339 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42341 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42342 wide char related routines to wcsmbs subdir.
42344 2011-10-27 Andreas Schwab <schwab@redhat.com>
42347 * misc/sys/cdefs.h (__THROWNL): Define.
42348 * posix/unistd.h: Use __THREADNL instead of __THREAD
42349 for memory synchronization functions.
42351 2011-10-26 Roland McGrath <roland@hack.frob.com>
42354 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42356 * manual/stdio.texi (Obstack Streams): Node removed.
42358 2011-10-26 Andreas Schwab <schwab@redhat.com>
42360 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42361 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42362 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42364 * math/math_private.h (math_force_eval): Allow non-addressable
42366 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42368 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42370 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42371 file is not needed.
42373 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42374 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42375 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42376 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42377 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42379 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42380 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42382 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42383 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42384 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42385 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42386 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42387 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42388 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42389 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42390 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42391 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42392 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42393 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42394 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42395 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42396 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42397 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42398 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42399 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42400 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42402 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42403 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42405 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42406 place. Use VEX encoding when compiling for AVX.
42408 2011-10-25 Andreas Schwab <schwab@redhat.com>
42410 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42411 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42413 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42415 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42417 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42418 useless if() expression.
42419 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42420 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42421 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42422 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42423 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42427 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42428 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42431 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42434 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42437 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42439 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42441 2011-10-25 Andreas Schwab <schwab@redhat.com>
42443 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42447 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42449 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42450 .text section. Avoid duplicate constants.
42451 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42455 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42456 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42459 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42460 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42461 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42462 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42463 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42464 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42465 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42468 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42469 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42470 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42471 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42472 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42473 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42474 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42475 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42476 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42477 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42478 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42479 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42480 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42481 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42482 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42483 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42484 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42485 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42486 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42487 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42488 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42489 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42490 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42492 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42497 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42499 * sysdeps/x86_64/dla.h: Move to ...
42500 * sysdeps/x86_64/fpu/dla.h: ...here.
42501 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42502 situations. Use __builtin_fma only for gcc 4.6 and up.
42504 * config.make.in: Add have-mfma4 entry.
42505 * configure.in: Substitute libc_cv_cc_fma4.
42506 * math/Makefile (dbl-only-routines): Add sincostab.
42507 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42508 Use __sincostab not sincos.
42509 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42511 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42516 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42517 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42518 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42519 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42522 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42524 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42525 define aliases when function name is a macro.
42526 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42527 sysdeps/ieee754/dbl-64/sincos.tbl.
42528 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42529 fma4-enabled routines.
42530 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42531 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42532 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42533 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42534 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42535 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42536 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42537 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42538 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42539 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42540 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42542 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42543 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42545 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42546 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42547 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42548 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42549 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42550 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42551 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42552 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42553 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42554 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42555 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42556 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42557 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42558 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42559 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42561 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42563 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42572 2011-10-24 Andreas Schwab <schwab@redhat.com>
42574 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42576 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42578 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42580 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42584 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42585 Remove unused variable magic_bits.
42586 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42588 * string/strnlen.c: Define and use STRNLEN macro.
42589 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42590 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42592 * wcsmbs/wcslen.c: Define and use WCSLEN.
42593 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42594 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42595 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42596 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42597 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42598 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42599 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42601 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42604 strnlen-sse2-no-bsf.
42605 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42606 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42608 Add strnlen support.
42609 (USE_AS_STRNLEN): New macro.
42610 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42611 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42612 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42613 * sysdeps/x86_64/wcslen.S: New file.
42615 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42618 XMM-moves are used for copying on small sizes.
42620 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42622 * wcsmbs/Makefile (strop-tests): Add wcschr.
42623 * wcsmbs/test-wcschr.c: New file.
42624 * string/test-strchr.c: Update.
42625 Add wcschr support.
42628 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42630 * wcsmbs/Makefile (strop-tests): Add wcslen.
42631 * wcsmbs/test-wcslen.c: New file.
42632 * string/test-strlen.c: Update.
42633 Add wcslen support.
42636 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42638 * po/it.po: Update from translation team.
42640 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42642 * sysdeps/x86_64/wcscmp.S: Update.
42643 Fix wrong comparison semantics.
42644 wcscmp shall use signed comparison not unsigned.
42645 Don't use substraction to avoid overflow bug.
42646 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42647 * wcsmbc/wcscmp.c: Likewise.
42648 * string/test-strcmp.c: Likewise.
42649 Add new tests to check cases with negative values.
42651 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42653 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42654 * sysdeps/x86_64/dla.h: ...here. New file.
42655 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42657 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42665 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42668 __ynl_finite aliases.
42670 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42674 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42676 [DLA_FMA] (EMULV): Use DLA_FMA.
42677 [DLA_FMA] (MUL12): Use EMULV.
42678 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42679 that are not needed.
42680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42683 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42688 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42690 * math/s_nan.c: Undef __nan.
42691 * math/s_nanf.c: Undef __nanf.
42692 * math/s_nanl.c: Undef __nanl.
42693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42696 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42698 * math/s_catan.c: Add branch predictions.
42699 * math/s_catanf.c: Likewise.
42700 * math/s_catanh.c: Likewise.
42701 * math/s_catanhf.c: Likewise.
42702 * math/s_catanhl.c: Likewise.
42703 * math/s_catanl.c: Likewise.
42704 * math/s_cexp.c: Likewise.
42705 * math/s_cexpf.c: Likewise.
42706 * math/s_cexpl.c: Likewise.
42707 * math/s_clog.c: Likewise.
42708 * math/s_clog10.c: Likewise.
42709 * math/s_clog10f.c: Likewise.
42710 * math/s_clog10l.c: Likewise.
42711 * math/s_clogf.c: Likewise.
42712 * math/s_clogl.c: Likewise.
42713 * math/s_csqrt.c: Likewise.
42714 * math/s_csqrtf.c: Likewise.
42715 * math/s_csqrtl.c: Likewise.
42716 * math/s_ctanf.c: Likewise.
42717 * math/s_ctanh.c: Likewise.
42718 * math/s_ctanhf.c: Likewise.
42719 * math/s_ctanhl.c: Likewise.
42720 * math/s_ctanl.c: Likewise.
42722 * math/math_private.h: Define __nan, __nanf, __nanl.
42723 * math/s_cacosh.c: Include <math_private.h>.
42724 * math/s_cacoshl.c: Likewise.
42725 * math/s_casinh.c: Likewise.
42726 * math/s_casinhf.c: Likewise.
42727 * math/s_casinhl.c: Likewise.
42728 * math/s_ccos.c: Rely entire on ccosh.
42729 * math/s_ccosf.c: Rely entire on ccoshf.
42730 * math/s_ccosl.c: Rely entirely on ccoshl.
42731 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42732 Remove tests for FE_INVALID.
42733 * math/s_ccoshf.c: Likewise.
42734 * math/s_ccoshl.c: Likewise.
42735 * math/s_csin.c: Likewise.
42736 * math/s_csinf.c: Likewise.
42737 * math/s_csinh.c Likewise.
42738 * math/s_csinhf.c: Likewise.
42739 * math/s_csinhl.c: Likewise.
42740 * math/s_csinl.c: Likewise.
42741 * math/s_ctan.c: Likewise.
42742 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42743 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42744 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42746 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42749 compilation problems.
42751 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42754 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42756 * sysdeps/i386/configure.in: Test for -mfma4 option.
42757 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42758 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42759 COMMON_CPUID_INDEX_80000001.
42760 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42761 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42762 use it if FMA3 is not supported.
42763 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42765 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42768 2011-10-20 Andreas Schwab <schwab@redhat.com>
42771 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42772 it would create a cycle with a link time dependency.
42774 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42776 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42778 * string/Makefile (strop-tests): Add rawmemchr.
42779 * string/test-rawmemchr.c: New file.
42781 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42782 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42783 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42784 when compiling str{,n}casecmp and when AVX is available. Hook up
42785 new optimized code in initializers.
42787 2011-10-19 Andreas Schwab <schwab@redhat.com>
42789 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42790 __feraiseexcept instead of feraiseexcept.
42792 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42794 * math/math_private.h: Define defaults for libc_fetestexcept and
42796 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42797 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42798 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42799 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42800 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42801 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42802 libc_fetestexcept and libc_feupdateenv.
42804 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42805 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42806 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42807 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42808 libc_feholdexcept_setround.
42810 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42811 Add s_nearbyint-c and s_nearbyintf-c.
42812 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42813 nearbyintf inlines.
42814 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42815 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42816 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42817 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42819 * math/math_private.h: Define defaults for libc_fegetround,
42820 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42821 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42822 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42823 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42824 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42825 standard functions.
42826 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42827 Remove comments and hacks for old compiler versions.
42828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42829 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42830 libc_feholdexceptl.
42832 2011-10-18 Andreas Schwab <schwab@redhat.com>
42834 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42835 (__feraiseexcept_renamed): Add __NTH.
42836 (feraiseexcept): Add __NTH. Rename local variables to fix
42837 namespace violations.
42839 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42841 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42843 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42845 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42846 recently added interfaces.
42847 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42849 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42850 about macro parameter expansion.
42852 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42853 __NO_MATH_INLINES is defined. Cleanups.
42855 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42856 and __floorf is target has SSE4.1.
42857 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42858 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42860 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42862 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42864 (floorf): Likewise.
42866 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42868 2011-10-17 Andreas Schwab <schwab@redhat.com>
42870 * misc/sys/cdefs.h: Fix last change.
42872 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42875 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42877 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42879 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42885 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42887 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42888 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42889 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42890 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42891 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42892 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42893 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42894 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42895 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42896 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42897 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42898 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42899 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42900 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42902 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42903 ceil, ceilf, floor, floorf.
42905 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42906 Perform IRELATIVE relocations last.
42908 * elf/do-rel.h: Add another parameter nrelative, replacing the
42909 local variable with the same name. Change name of the function
42910 to end in Rel or Rela (uppercase).
42911 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42912 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42913 elf_dynamic_do_##reloc function.
42915 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42917 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42918 is sufficient, at least on modern CPUs.
42920 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42922 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42923 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42925 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42927 * math/bits/math-finite.h: Add entries for exp.
42928 * math/e_expl.c: Add __*_finite alias.
42929 * sysdeps/i386/fpu/e_exp.S: Likewise.
42930 * sysdeps/i386/fpu/e_expf.S: Likewise.
42931 * sysdeps/i386/fpu/e_expl.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42933 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42934 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42935 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42937 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42938 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42940 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42941 is sufficient, at least on modern CPUs.
42943 * ctype/ctype-info.c (__ctype_init): Define.
42944 * include/ctype.h (__ctype_init): Declare.
42945 (__ctype_b_loc): The variable is always initialized.
42946 (__ctype_toupper_loc): Likewise.
42947 (__ctype_tolower_loc): Likewise.
42948 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42949 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42951 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42953 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42955 * configure.in: Also look in $cxxmachine/include for C++ system
42958 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42960 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42961 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42962 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42963 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42964 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42965 (USE_AS_WMEMCMP): New macro.
42967 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42968 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42969 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42970 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42972 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42973 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42974 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42975 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42976 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42977 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42978 (USE_AS_WMEMCMP): New macro.
42979 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42980 * sysdeps/string/test-memcmp.c: Update.
42981 Fix simple_wmemcmp.
42983 * wcsmbs/wmemcmp.c: Update.
42984 (WMEMCMP): New macro.
42987 2011-10-12 Andreas Jaeger <aj@suse.de>
42990 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42992 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42994 * libio/iofwide.c (do_length): Avoid warning.
42996 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42998 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43000 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43002 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43003 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43004 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43005 * sysdeps/i386/i686/fpu/e_log.S: New file.
43006 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43007 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43009 * ctype/ctype.h: Add support for inlined isXXX functions when
43010 compiling C++ code.
43012 2011-10-14 Andreas Schwab <schwab@redhat.com>
43014 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43018 2011-10-13 Roland McGrath <roland@hack.frob.com>
43021 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43023 2011-10-13 Andreas Schwab <schwab@redhat.com>
43025 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43026 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43029 * sysdeps/x86_64/memrchr.S: Check for zero size.
43031 * string/stratcliff.c: Add memrchr tests.
43033 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43035 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43036 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43037 rawmemchr-sse2 rawmemchr-sse2-bsf.
43038 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43039 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43040 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43041 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43042 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43043 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43044 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43045 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43046 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43047 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43048 * string/memrchr.c (MEMRCHR): New macro.
43050 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43052 Add integration with gcc's -ffinite-math-only and optimize wrapper
43054 * Versions.def: Define GLIBC_2.15 version for libm.
43055 * math/Makefile (headers): Add bits/math-finite.h.
43056 * math/bits/math-finite.h: New file.
43057 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43058 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43059 * math/e_acoshl.c: Add __*_finite alias.
43060 * math/e_acosl.c: Likewise.
43061 * math/e_asinl.c: Likewise.
43062 * math/e_atan2l.c: Likewise.
43063 * math/e_atanhl.c: Likewise.
43064 * math/e_coshl.c: Likewise.
43065 * math/e_exp10.c: Likewise.
43066 * math/e_exp10f.c: Likewise.
43067 * math/e_exp10l.c: Likewise.
43068 * math/e_exp2l.c: Likewise.
43069 * math/e_fmodl.c: Likewise.
43070 * math/e_gammal_r.c: Likewise.
43071 * math/e_hypotl.c: Likewise.
43072 * math/e_j0l.c: Likewise.
43073 * math/e_j1l.c: Likewise.
43074 * math/e_jnl.c: Likewise.
43075 * math/e_lgammal_r.c: Likewise.
43076 * math/e_log10l.c: Likewise.
43077 * math/e_log2l.c: Likewise.
43078 * math/e_logl.c: Likewise.
43079 * math/e_powl.c: Likewise.
43080 * math/e_sinhl.c: Likewise.
43081 * math/e_sqrtl.c: Likewise.
43082 * math/e_scalb.c: Completely rewritten and optimized.
43083 * math/e_scalbf.c: Likewise.
43084 * math/e_scalbl.c: Likewise.
43085 * math/w_acos.c: Likewise.
43086 * math/w_acosf.c: Likewise.
43087 * math/w_acosl.c: Likewise.
43088 * math/w_acosh.c: Likewise.
43089 * math/w_acoshf.c: Likewise.
43090 * math/w_acoshl.c: Likewise.
43091 * math/w_asin.c: Likewise.
43092 * math/w_asinf.c: Likewise.
43093 * math/w_asinl.c: Likewise.
43094 * math/w_atan2.c: Likewise.
43095 * math/w_atan2f.c: Likewise.
43096 * math/w_atan2l.c: Likewise.
43097 * math/w_atanh.c: Likewise.
43098 * math/w_atanhf.c: Likewise.
43099 * math/w_atanhl.c: Likewise.
43100 * math/w_exp10.c: Likewise.
43101 * math/w_exp10f.c: Likewise.
43102 * math/w_exp10l.c: Likewise.
43103 * math/w_fmod.c: Likewise.
43104 * math/w_fmodf.c: Likewise.
43105 * math/w_fmodl.c: Likewise.
43106 * math/w_j0.c: Likewise.
43107 * math/w_j0f.c: Likewise.
43108 * math/w_j0l.c: Likewise.
43109 * math/w_j1.c: Likewise.
43110 * math/w_j1f.c: Likewise.
43111 * math/w_j1l.c: Likewise.
43112 * math/w_jn.c: Likewise.
43113 * math/w_jnf.c: Likewise.
43114 * math/w_log.c: Likewise.
43115 * math/w_logf.c: Likewise.
43116 * math/w_logl.c: Likewise.
43117 * math/w_log10.c: Likewise.
43118 * math/w_log10f.c: Likewise.
43119 * math/w_log10l.c: Likewise.
43120 * math/w_log2.c: Likewise.
43121 * math/w_log2f.c: Likewise.
43122 * math/w_log2l.c: Likewise.
43123 * math/w_pow.c: Likewise.
43124 * math/w_powf.c: Likewise.
43125 * math/w_powl.c: Likewise.
43126 * math/w_remainder.c: Likewise.
43127 * math/w_remainderf.c: Likewise.
43128 * math/w_remainderl.c: Likewise.
43129 * math/w_scalb.c: Likewise.
43130 * math/w_scalbf.c: Likewise.
43131 * math/w_scalbl.c: Likewise.
43132 * math/w_sqrt.c: Likewise.
43133 * math/w_sqrtf.c: Likewise.
43134 * math/w_sqrtl.c: Likewise.
43135 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43136 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43138 * math/math_private.h: Declare __kernel_standard_f.
43139 * math/w_cosh.c: Remove cruft and optimize a bit.
43140 * math/w_coshf.c: Likewise.
43141 * math/w_coshl.c: Likewise.
43142 * math/w_exp2.c: Likewise.
43143 * math/w_exp2f.c: Likewise.
43144 * math/w_exp2l.c: Likewise.
43145 * math/w_hypot.c: Likewise.
43146 * math/w_hypotf.c: Likewise.
43147 * math/w_hypotl.c: Likewise.
43148 * math/w_lgamma.c: Likewise.
43149 * math/w_lgamma_r.c: Likewise.
43150 * math/w_lgammaf.c: Likewise.
43151 * math/w_lgammaf_r.c: Likewise.
43152 * math/w_lgammal.c: Likewise.
43153 * math/w_lgammal_r.c: Likewise.
43154 * math/w_sinh.c: Likewise.
43155 * math/w_sinhf.c: Likewise.
43156 * math/w_sinhl.c: Likewise.
43157 * math/w_tgamma.c: Likewise.
43158 * math/w_tgammaf.c: Likewise.
43159 * math/w_tgammal.c: Likewise.
43160 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43161 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43162 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43163 Minor optimizations. Pretty printing. Remove cruft.
43164 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43166 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43167 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43168 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43169 * sysdeps/i386/fpu/e_asin.S: Likewise.
43170 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43171 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43172 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43173 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43174 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43175 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43176 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43177 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43178 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43179 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43180 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43181 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43182 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43183 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43184 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43185 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43186 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43187 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43188 * sysdeps/i386/fpu/e_log.S: Likewise.
43189 * sysdeps/i386/fpu/e_log10.S: Likewise.
43190 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43192 * sysdeps/i386/fpu/e_log2.S: Likewise.
43193 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43194 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43195 * sysdeps/i386/fpu/e_logf.S: Likewise.
43196 * sysdeps/i386/fpu/e_logl.S: Likewise.
43197 * sysdeps/i386/fpu/e_pow.S: Likewise.
43198 * sysdeps/i386/fpu/e_powf.S: Likewise.
43199 * sysdeps/i386/fpu/e_powl.S: Likewise.
43200 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43201 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43202 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43204 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43205 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43206 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43207 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43208 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43209 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43212 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43213 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43214 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43215 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43216 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43217 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43218 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43219 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43220 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43222 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43223 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43224 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43225 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43226 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43227 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43229 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43230 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43231 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43232 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43233 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43234 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43236 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43237 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43238 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43239 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43240 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43241 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43242 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43243 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43244 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43245 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43246 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43247 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43248 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43249 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43250 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43274 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43289 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43294 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43295 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43300 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43301 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43302 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43303 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43304 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43305 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43306 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43307 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43308 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43309 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43310 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43311 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43312 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43313 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43314 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43315 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43316 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43317 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43318 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43319 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43320 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43321 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43322 (__isnanf): Likewise.
43323 (__isinf_ns): Likewise.
43324 (__isinf_nsf): Likewise.
43325 (__finite): Likewise.
43326 (__finitef): Likewise.
43327 (__ieee754_sqrt): Define as macro.
43328 (__ieee754_sqrtf): Define as macro.
43329 (__ieee754_sqrtl): Define as macro.
43330 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43332 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43333 __FINITE_MATH_ONLY__ consistent.
43334 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43336 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43338 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43343 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43345 * po/ja.po: Update from translation team.
43347 2011-10-08 Roland McGrath <roland@hack.frob.com>
43349 * locale/programs/locarchive.c (prepare_address_space): New function.
43350 (create_archive, enlarge_archive, open_archive): Use it.
43352 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43353 inside [SHARED], where it is used.
43355 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43357 * nss/getent.c (netgroup_keys): Remove unused variable.
43358 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43360 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43362 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43363 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43364 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43365 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43366 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43367 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43368 * math/Makefile (libm-calls): Add s_isinf_ns.
43369 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43370 * math/multc3.c: Likewise.
43371 * math/s_casin.c: Likewise.
43372 * math/s_casinf.c: Likewise.
43373 * math/s_casinl.c: Likewise.
43374 * math/s_ccos.c: Likewise.
43375 * math/s_ccosf.c: Likewise.
43376 * math/s_ccosl.c: Likewise.
43377 * math/s_ctan.c: Likewise.
43378 * math/s_ctanf.c: Likewise.
43379 * math/s_ctanh.c: Likewise.
43380 * math/s_ctanhf.c: Likewise.
43381 * math/s_ctanhl.c: Likewise.
43382 * math/s_ctanl.c: Likewise.
43383 * math/w_fmod.c: Likewise.
43384 * math/w_fmodf.c: Likewise.
43385 * math/w_fmodl.c: Likewise.
43386 * math/w_remainder.c: Likewise.
43387 * math/w_remainderf.c: Likewise.
43388 * math/w_remainderl.c: Likewise.
43389 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43390 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43391 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43393 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43394 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43395 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43396 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43398 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43400 * stdio-common/printf_fphex.c: Likewise.
43401 * stdio-common/printf_size.c: Likewise.
43403 * math/e_exp10.c: Include math_private.h using <...> not "...".
43404 * math/e_exp10f.c: Likewise.
43405 * math/e_exp10l.c: Likewise.
43406 * math/e_exp2l.c: Likewise.
43407 * math/e_j0l.c: Likewise.
43408 * math/e_j1l.c: Likewise.
43409 * math/e_jnl.c: Likewise.
43410 * math/e_lgammal_r.c: Likewise.
43411 * math/e_rem_pio2l.c: Likewise.
43412 * math/e_scalb.c: Likewise.
43413 * math/e_scalbf.c: Likewise.
43414 * math/e_scalbl.c: Likewise.
43415 * math/k_cosl.c: Likewise.
43416 * math/k_sinl.c: Likewise.
43417 * math/k_tanl.c: Likewise.
43418 * math/s_cacoshf.c: Likewise.
43419 * math/s_catan.c: Likewise.
43420 * math/s_catanf.c: Likewise.
43421 * math/s_catanh.c: Likewise.
43422 * math/s_catanhf.c: Likewise.
43423 * math/s_catanhl.c: Likewise.
43424 * math/s_catanl.c: Likewise.
43425 * math/s_ccosh.c: Likewise.
43426 * math/s_ccoshf.c: Likewise.
43427 * math/s_ccoshl.c: Likewise.
43428 * math/s_cexp.c: Likewise.
43429 * math/s_cexpf.c: Likewise.
43430 * math/s_cexpl.c: Likewise.
43431 * math/s_clog.c: Likewise.
43432 * math/s_clog10.c: Likewise.
43433 * math/s_clog10f.c: Likewise.
43434 * math/s_clog10l.c: Likewise.
43435 * math/s_clogf.c: Likewise.
43436 * math/s_clogl.c: Likewise.
43437 * math/s_csin.c: Likewise.
43438 * math/s_csinf.c: Likewise.
43439 * math/s_csinh.c: Likewise.
43440 * math/s_csinhf.c: Likewise.
43441 * math/s_csinhl.c: Likewise.
43442 * math/s_csinl.c: Likewise.
43443 * math/s_csqrt.c: Likewise.
43444 * math/s_csqrtf.c: Likewise.
43445 * math/s_csqrtl.c: Likewise.
43446 * math/s_ctan.c: Likewise.
43447 * math/s_ctanf.c: Likewise.
43448 * math/s_ctanh.c: Likewise.
43449 * math/s_ctanhf.c: Likewise.
43450 * math/s_ctanhl.c: Likewise.
43451 * math/s_ctanl.c: Likewise.
43452 * math/s_ldexp.c: Likewise.
43453 * math/s_ldexpf.c: Likewise.
43454 * math/s_ldexpl.c: Likewise.
43455 * math/s_significand.c: Likewise.
43456 * math/s_significandf.c: Likewise.
43457 * math/s_significandl.c: Likewise.
43458 * math/w_acos.c: Likewise.
43459 * math/w_acosf.c: Likewise.
43460 * math/w_acosh.c: Likewise.
43461 * math/w_acoshf.c: Likewise.
43462 * math/w_acoshl.c: Likewise.
43463 * math/w_acosl.c: Likewise.
43464 * math/w_asin.c: Likewise.
43465 * math/w_asinf.c: Likewise.
43466 * math/w_asinl.c: Likewise.
43467 * math/w_atan2.c: Likewise.
43468 * math/w_atan2f.c: Likewise.
43469 * math/w_atan2l.c: Likewise.
43470 * math/w_atanh.c: Likewise.
43471 * math/w_atanhf.c: Likewise.
43472 * math/w_atanhl.c: Likewise.
43473 * math/w_cosh.c: Likewise.
43474 * math/w_coshf.c: Likewise.
43475 * math/w_coshl.c: Likewise.
43476 * math/w_dremf.c: Likewise.
43477 * math/w_exp10.c: Likewise.
43478 * math/w_exp10f.c: Likewise.
43479 * math/w_exp10l.c: Likewise.
43480 * math/w_exp2.c: Likewise.
43481 * math/w_exp2f.c: Likewise.
43482 * math/w_fmod.c: Likewise.
43483 * math/w_fmodf.c: Likewise.
43484 * math/w_fmodl.c: Likewise.
43485 * math/w_hypot.c: Likewise.
43486 * math/w_hypotf.c: Likewise.
43487 * math/w_hypotl.c: Likewise.
43488 * math/w_j0.c: Likewise.
43489 * math/w_j0f.c: Likewise.
43490 * math/w_j0l.c: Likewise.
43491 * math/w_j1.c: Likewise.
43492 * math/w_j1f.c: Likewise.
43493 * math/w_j1l.c: Likewise.
43494 * math/w_jn.c: Likewise.
43495 * math/w_jnf.c: Likewise.
43496 * math/w_jnl.c: Likewise.
43497 * math/w_lgamma.c: Likewise.
43498 * math/w_lgamma_r.c: Likewise.
43499 * math/w_lgammaf.c: Likewise.
43500 * math/w_lgammaf_r.c: Likewise.
43501 * math/w_lgammal.c: Likewise.
43502 * math/w_lgammal_r.c: Likewise.
43503 * math/w_log.c: Likewise.
43504 * math/w_log10.c: Likewise.
43505 * math/w_log10f.c: Likewise.
43506 * math/w_log10l.c: Likewise.
43507 * math/w_log2.c: Likewise.
43508 * math/w_log2f.c: Likewise.
43509 * math/w_log2l.c: Likewise.
43510 * math/w_logf.c: Likewise.
43511 * math/w_logl.c: Likewise.
43512 * math/w_pow.c: Likewise.
43513 * math/w_powf.c: Likewise.
43514 * math/w_powl.c: Likewise.
43515 * math/w_remainder.c: Likewise.
43516 * math/w_remainderf.c: Likewise.
43517 * math/w_remainderl.c: Likewise.
43518 * math/w_scalb.c: Likewise.
43519 * math/w_scalbf.c: Likewise.
43520 * math/w_scalbl.c: Likewise.
43521 * math/w_sinh.c: Likewise.
43522 * math/w_sinhf.c: Likewise.
43523 * math/w_sinhl.c: Likewise.
43524 * math/w_sqrt.c: Likewise.
43525 * math/w_sqrtf.c: Likewise.
43526 * math/w_sqrtl.c: Likewise.
43527 * math/w_tgamma.c: Likewise.
43528 * math/w_tgammaf.c: Likewise.
43529 * math/w_tgammal.c: Likewise.
43531 * po/ja.po: Update from translation team.
43533 2011-09-29 Andreas Jaeger <aj@suse.de>
43536 * sunrpc/netname.c (netname2host): Fix logic.
43540 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43542 * math/w_remainder.c (__remainder): Likewise.
43543 * math/w_remainderf.c (__remainderf): Likewise.
43544 * math/libm-test.inc (remainder_test): Add test cases.
43546 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43548 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43551 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43553 * string/test-memcmp.c: Avoid unncessary #defines.
43554 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43556 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43558 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43559 Use new sse2 version for core i3 - i7 as it's faster
43560 than sse42 version.
43561 (bit_Prefer_PMINUB_for_stringop): New.
43562 * sysdeps/x86_64/rawmemchr.S: Update.
43563 Replace with faster SSE2 version.
43564 * sysdeps/x86_64/memrchr.S: New file.
43565 * sysdeps/x86_64/memchr.S: Update.
43566 Replace with faster SSE2 version.
43568 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43570 * elf/dl-load.c (lose): Add cast to avoid warning.
43572 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43574 * po/ca.po: Update from translation team.
43576 * inet/getnetgrent_r.c: Hook up nscd.
43577 * nscd/Makefile (routines): Add nscd_netgroup.
43578 (nscd-modules): Add netgroupcache.
43579 (CFLAGS-netgroupcache.c): Define.
43580 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43581 (cache_search): Add const to second parameter.
43582 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43584 (dbs): Add netgrdb entry.
43585 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43586 (verify_persistent_db): Handle netgrdb.
43587 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43588 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43590 (netgroup_response_header): Define.
43591 (innetgroup_response_header): Define.
43592 (datahead): Add netgroup_response_header and innetgroup_response_header
43594 * nscd/nscd.conf: Add entries for netgroup cache.
43595 * nscd/nscd.h (dbtype): Add netgrdb.
43596 (_PATH_NSCD_NETGROUP_DB): Define.
43597 (netgroup_iov_disabled): Declare.
43598 (xmalloc, xcalloc, xrealloc): Move declarations here.
43599 (cache_search): Adjust prototype.
43600 Add netgroup-related prototypes.
43601 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43602 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43603 (__nscd_innetgr): Declare.
43604 * nscd/selinux.c (perms): Use access_vector_t as element type and
43605 add netgroup-related initializers.
43606 * nscd/netgroupcache.c: New file.
43607 * nscd/nscd_netgroup.c: New file.
43608 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43609 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43610 For four parameters use innetgr.
43611 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43612 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43613 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43614 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43616 * nscd/connections.c (register_traced_file): Don't register file
43617 for disabled databases.
43619 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43621 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43623 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43624 from tree and freeing node.
43626 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43628 * nss/nsswitch.c (__nss_database_lookup): Handle
43629 nss_parse_service_list out of memory case.
43631 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43633 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43634 out of memory case.
43636 2011-10-04 Andreas Schwab <schwab@redhat.com>
43638 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43639 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43641 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43642 elf_machine_rela, elf_machine_lazy_rel.
43643 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43644 (ELF_DYNAMIC_DO_REL): Likewise.
43645 (ELF_DYNAMIC_DO_RELA): Likewise.
43646 (ELF_DYNAMIC_RELOCATE): Likewise.
43647 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43648 to ELF_DYNAMIC_DO_REL.
43649 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43650 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43651 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43654 skip_ifunc, don't call ifunc function if non-zero.
43655 (elf_machine_rela): Likewise.
43656 (elf_machine_lazy_rel): Likewise.
43657 (elf_machine_lazy_rela): Likewise.
43658 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43659 (elf_machine_lazy_rel): Likewise.
43660 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43662 (elf_machine_lazy_rel): Likewise.
43663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43665 (elf_machine_lazy_rel): Likewise.
43666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43667 (elf_machine_lazy_rel): Likewise.
43668 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43669 (elf_machine_lazy_rel): Likewise.
43670 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43671 (elf_machine_lazy_rel): Likewise.
43672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43673 (elf_machine_lazy_rel): Likewise.
43674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43675 (elf_machine_lazy_rel): Likewise.
43676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43677 (elf_machine_lazy_rel): Likewise.
43679 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43681 * nss/nss_files/files-init.c (_nss_files_init): Use static
43682 initialization for all the *_traced_file variables.
43684 2011-09-28 Andreas Schwab <schwab@redhat.com>
43686 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43688 2011-09-27 Roland McGrath <roland@hack.frob.com>
43691 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43693 2011-09-27 Andreas Schwab <schwab@redhat.com>
43695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43696 Reread the line before reparsing it.
43698 2011-09-26 Andreas Schwab <schwab@redhat.com>
43700 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43702 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43703 Maxim Kuvyrkov <maxim@codesourcery.com>
43704 Joseph Myers <joseph@codesourcery.com>
43706 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43707 if needed for __stack_chk_guard.
43709 2011-09-19 Roland McGrath <roland@hack.frob.com>
43711 * sysdeps/posix/spawni.c (script_execute): Always define it.
43712 It will be optimized away if unused.
43713 (maybe_script_execute): New function.
43714 (__spawni): Call it.
43716 * Makerules: Don't include tls.make.
43717 (config-tls): Always set to thread.
43718 * tls.make.c: File removed.
43720 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43722 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43723 * config.make.in (CPPFLAGS-config): New substituted variable.
43725 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43727 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43730 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43731 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43733 2011-09-15 Roland McGrath <roland@hack.frob.com>
43735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43736 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43738 (CALL_FAIL): Likewise.
43739 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43740 (CALL_FAIL): Macro removed.
43741 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43743 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43745 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43746 for __FINITE_MATH_ONLY__ == 1.
43748 2011-09-15 Andreas Schwab <schwab@redhat.com>
43750 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43751 __ieee754_sqrt instead of sqrt.
43752 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43753 __ieee754_sqrtf instead of sqrtf.
43754 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43755 __floorf instead of floorf.
43756 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43757 __floorf, __truncf instead of floorf, truncf.
43759 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43761 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43763 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43764 __extern_always_inline.
43765 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43768 2011-09-14 Andreas Schwab <schwab@redhat.com>
43770 * elf/rtld.c (dl_main): Also relocate in dependency order when
43771 doing symbol dependency testing.
43773 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43776 Always define `refsym'.
43778 2011-09-13 Andreas Schwab <schwab@redhat.com>
43780 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43781 (__FD_ELT): Renamed from __FDELT.
43782 * misc/bits/select2.h (__FD_ELT): Likewise.
43783 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43784 __FD_MASK instead of __FDELT, __FDMASK.
43785 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43787 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43790 * elf/Makefile (gen-ldd): Fix pattern.
43792 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43793 (init_tls): Likewise.
43795 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43799 2011-09-12 Andreas Schwab <schwab@redhat.com>
43801 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43802 `struct cmsghdr *' instead of `void *'.
43803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43806 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43808 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43810 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43811 ldd_rewrite_script.
43813 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43815 * configure.in: Remove --with-tls option.
43816 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43817 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43818 out in case it is missing.
43819 * sysdeps/ia64/elf/configure.in: Likewise.
43820 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43821 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43822 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43823 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43824 * sysdeps/sh/elf/configure.in: Likewise.
43825 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43826 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43827 * sysdeps/x86_64/elf/configure.in: Likewise.
43828 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43829 * sysdeps/mach/hurd/tls.h: Likewise.
43832 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43835 * configure.in: Fix use of AC_INIT.
43837 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43839 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43841 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43843 * malloc/hooks.c: Likewise.
43846 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43847 variables statically.
43848 (narenas): Initialize.
43849 (list_lock): Initialize.
43850 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43851 initializtion of main_arena and list_lock. Small cleanups.
43852 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43853 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43854 Add initializers to main_arena and mp_.
43855 (malloc_state): Remove pagesize member. Change all users to use
43858 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43859 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43860 is always initialized.
43862 * malloc/malloc.c: Removed unused configurations and dead code.
43863 * malloc/arena.c: Likewise.
43864 * malloc/hooks.c: Likewise.
43865 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43867 * include/tls.h: Removed. USE___THREAD must always be defined.
43868 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43869 * elf/dl-libc.c: Likewise.
43870 * elf/dl-tsd.c: Likewise.
43871 * include/errno.h: Likewise.
43872 * include/netdb.h: Likewise.
43873 * include/resolv.h: Likewise.
43874 * inet/herrno-loc.c: Likewise.
43875 * inet/herrno.c: Likewise.
43876 * malloc/arena.c: Likewise.
43877 * malloc/hooks.c: Likewise.
43878 * malloc/malloc.c: Likewise.
43879 * resolv/res-state.c: Likewise.
43880 * resolv/res_libc.c: Likewise.
43881 * sysdeps/i386/dl-machine.h: Likewise.
43882 * sysdeps/ia64/dl-machine.h: Likewise.
43883 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43884 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43885 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43886 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43887 * sysdeps/sh/dl-machine.h: Likewise.
43888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43889 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43890 * sysdeps/unix/i386/sysdep.S: Likewise.
43891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43892 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43893 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43894 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43895 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43896 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43897 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43898 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43899 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43901 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43902 * sysdeps/x86_64/dl-machine.h: Likewise.
43903 * tls.make.c: Likewise.
43905 * configure.in: Remove --with-__thread option. Make tests for
43906 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43907 tls_model attribute fail if no support is available. Remove
43909 * Makeconfig: Adjust for dropped configure option. All features are
43911 * Makerules: Likewise.
43912 * Versions.def: Likewise.
43913 * argp/argp-fmtstream.c: Likewise.
43914 * argp/argp-fmtstream.h: Likewise.
43915 * argp/argp-help.c: Likewise.
43916 * assert/assert.c: Likewise.
43917 * config.h.in: Likewise.
43918 * config.make.in: Likewise.
43919 * configure: Likewise.
43920 * configure.in: Likewise.
43921 * csu/Versions: Likewise.
43922 * csu/init.c: Likewise.
43923 * elf/tst-audit2.c: Likewise.
43924 * elf/tst-tls10.c: Likewise.
43925 * elf/tst-tls10.h: Likewise.
43926 * elf/tst-tls11.c: Likewise.
43927 * elf/tst-tls12.c: Likewise.
43928 * elf/tst-tls14.c: Likewise.
43929 * elf/tst-tlsmod11.c: Likewise.
43930 * elf/tst-tlsmod12.c: Likewise.
43931 * elf/tst-tlsmod13.c: Likewise.
43932 * elf/tst-tlsmod13a.c: Likewise.
43933 * elf/tst-tlsmod14a.c: Likewise.
43934 * elf/tst-tlsmod15b.c: Likewise.
43935 * elf/tst-tlsmod16a.c: Likewise.
43936 * elf/tst-tlsmod16b.c: Likewise.
43937 * elf/tst-tlsmod7.c: Likewise.
43938 * elf/tst-tlsmod8.c: Likewise.
43939 * elf/tst-tlsmod9.c: Likewise.
43940 * gmon/gmon.c: Likewise.
43941 * grp/fgetgrent_r.c: Likewise.
43942 * grp/putgrent.c: Likewise.
43943 * hurd/fopenport.c: Likewise.
43944 * include/libc-symbols.h: Likewise.
43945 * include/tls.h: Likewise.
43946 * intl/gettextP.h: Likewise.
43947 * intl/loadinfo.h: Likewise.
43948 * locale/global-locale.c: Likewise.
43949 * locale/localeinfo.h: Likewise.
43950 * mach/devstream.c: Likewise.
43951 * malloc/arena.c: Likewise.
43952 * malloc/set-freeres.c: Likewise.
43953 * misc/err.c: Likewise.
43954 * misc/getttyent.c: Likewise.
43955 * misc/mntent_r.c: Likewise.
43956 * posix/getopt.c: Likewise.
43957 * posix/wordexp.c: Likewise.
43958 * pwd/fgetpwent_r.c: Likewise.
43959 * resolv/Versions: Likewise.
43960 * resolv/res_hconf.c: Likewise.
43961 * shadow/fgetspent_r.c: Likewise.
43962 * shadow/putspent.c: Likewise.
43963 * stdio-common/printf_fphex.c: Likewise.
43964 * stdio-common/tmpfile.c: Likewise.
43965 * stdlib/abort.c: Likewise.
43966 * stdlib/fmtmsg.c: Likewise.
43967 * sunrpc/auth_unix.c: Likewise.
43968 * sunrpc/clnt_perr.c: Likewise.
43969 * sunrpc/clnt_tcp.c: Likewise.
43970 * sunrpc/clnt_udp.c: Likewise.
43971 * sunrpc/clnt_unix.c: Likewise.
43972 * sunrpc/openchild.c: Likewise.
43973 * sunrpc/svc_simple.c: Likewise.
43974 * sunrpc/svc_tcp.c: Likewise.
43975 * sunrpc/svc_udp.c: Likewise.
43976 * sunrpc/svc_unix.c: Likewise.
43977 * sunrpc/xdr.c: Likewise.
43978 * sunrpc/xdr_array.c: Likewise.
43979 * sunrpc/xdr_rec.c: Likewise.
43980 * sunrpc/xdr_ref.c: Likewise.
43981 * sunrpc/xdr_stdio.c: Likewise.
43983 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43985 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43987 2011-07-03 Andreas Jaeger <aj@suse.de>
43989 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43990 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43991 regenerate with gen-libm-tests.pl.
43993 2010-05-12 Petr Baudis <pasky@suse.cz>
43996 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43997 around j0() zero points by switching to j1().
43998 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44000 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44001 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44003 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44005 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44010 Patch in part by Pavel Roskin <proski@gnu.org>.
44013 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44015 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44016 Free memory block if necessary.
44019 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44020 be NULL. Don't lock in this case.
44022 2011-09-09 Roland McGrath <roland@hack.frob.com>
44024 * elf/elf.h (ELFOSABI_GNU): New macro.
44025 (ELFOSABI_LINUX): Define to that.
44027 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44029 * string/strncat.c (strncat): Undef the symbol in case it has been
44030 defined in bits/string.h.
44032 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44034 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44036 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44039 2011-08-17 Andreas Jaeger <aj@suse.de>
44041 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44043 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44044 Ian Lance Taylor <iant@google.com>
44046 * math/libm-test.inc (lround_test): New testcase.
44047 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44049 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44051 * Makefile: Remove support for automatic cvs check-ins.
44052 * Makerules: Likewise.
44053 * config.make.in: Likewise.
44054 * configure.in: Likewise.
44055 * intl/Makefile: Likewise.
44056 * locale/Makefile: Likewise.
44057 * po/Makefile: Likewise.
44058 * posix/Makefile: Likewise.
44059 * sysdeps/gnu/Makefile: Likewise.
44060 * sysdeps/mach/hurd/Makefile: Likewise.
44061 * sysdeps/sparc/sparc32/Makefile: Likewise.
44064 * posix/Makefile (bug-regex32-ENV): Define.
44065 Patch by John Stanley <jpsinthemix@verizon.net>.
44067 * misc/Makefile (headers): Add bits/select2.h.
44068 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44069 * misc/bits/select2.h: New file.
44070 * include/bits/select2.h: New file.
44071 * debug/Makefile (routines): Add fdelt_chk.
44072 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44073 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44075 * debug/fdelt_chk.c: New file.
44077 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44078 * wcsmbs/test-wmemcmp.c: Likewise.
44079 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44080 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44082 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44084 * string/Makefile (strop-tests): Add memcmp.
44085 * string/test-wmemcmp.c: New file.
44086 * string/test-memcmp.c: Add wmemcmp support.
44088 2011-09-08 Roland McGrath <roland@hack.frob.com>
44091 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44094 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44095 garbage value in a __mach_port_mod_refs call in the cases of the
44096 task-self and thread-self ports.
44098 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44100 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44102 2011-09-08 Andreas Schwab <schwab@redhat.com>
44104 * elf/dl-load.c (lose): Check for non-null L.
44106 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44108 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44110 * elf/dl-libc.c (dlerror_run): Pass back error code from
44114 * elf/dl-load.c (lose): Free l_origin if it is valid.
44116 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44118 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44120 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44121 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44122 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44123 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44125 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44127 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44128 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44129 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44130 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44131 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44132 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44133 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44134 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44135 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44136 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44138 2011-08-15 Alan Modra <amodra@gmail.com>
44141 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44142 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44143 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44144 ppc_mcount to static-only-routines.
44145 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44147 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44148 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44150 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44152 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44153 for finite and infinity parameters.
44155 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44157 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44158 and add nop instructions for throughput optimization.
44159 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44161 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44163 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44164 aligned copy for power7 with vector-scalar instructions.
44165 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44167 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44172 2011-09-07 Andreas Schwab <schwab@redhat.com>
44175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44178 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44180 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44181 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44182 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44186 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44188 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44189 Forgot to demangle the pointer.
44191 * sysdeps/i386/sysdep.h: Define atom_text_section.
44192 * sysdeps/x86_64/sysdep.h: Likewise.
44193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44194 section with atom_text_section.
44195 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44196 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44198 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44199 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44201 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44202 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44203 already be defined. Change to take two parameters and don't assign
44204 result to variable. Adjust all users.
44205 Define INTERNAL_GETTIME if not already defined.
44206 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44209 HAVE_CLOCK_GETTIME_VSYSCALL.
44210 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44212 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44213 gettimeofday vsyscall, just use time.
44215 2011-09-06 Andreas Schwab <schwab@redhat.com>
44217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44220 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44222 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44226 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44227 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44228 syscall if possible.
44230 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44232 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44233 e_ident. Don't pass to find_mapsXX.
44234 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44236 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44239 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44240 * sysdeps/x86_64/multiarch/strchr.S: Update.
44241 Check bit_slow_BSF bit.
44242 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44243 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44244 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44246 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44249 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44251 (tryshell): Define.
44252 (__spawni): Change last parameter to be flag. Test
44253 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44254 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44255 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44256 * posix/spawni.c: Likewise.
44257 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44258 * posix/spawnp.c: Likewise. Change normal version to use
44259 SPAWN_XFLAGS_USE_PATH.
44260 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44261 SPAWN_XFLAGS_TRY_SHELL.
44264 * posix/glob.h: Remove gcc 1.x support.
44267 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44269 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44271 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44272 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44274 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44275 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44276 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44277 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44278 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44279 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44281 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44283 * sysdeps/x86_64/wcscmp.S: New file.
44285 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44286 wcscmp-c wcscmp-sse2
44287 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44288 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44289 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44290 * wcsmbs/wcscmp.c: Allow renaming.
44292 2011-09-05 David S. Miller <davem@davemloft.net>
44294 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44295 stack slot, rather than the struct return pointer slot.
44296 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44297 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44299 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44301 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44303 * po/ja.po: Update from translation team.
44306 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44307 kernel in 64-bit binaries.
44309 2011-09-01 David S. Miller <davem@davemloft.net>
44311 * elf/elf.h (HWCAP_SPARC_*): Move to..
44312 * sysdeps/sparc/sysdep.h: this new file and add new values.
44313 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44314 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44315 _DL_HWCAP_COUNT to 24.
44316 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44318 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44319 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44320 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44322 instead of magic constants.
44323 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44325 2011-08-31 David S. Miller <davem@davemloft.net>
44327 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44329 Reimplement to do errno handling inline.
44330 (SYSCALL_ERROR_HANDLER): New macro.
44331 (__SYSCALL_STRING): Do not do errno handling in asm.
44332 (__CLONE_SYSCALL_STRING): Delete.
44333 (__INTERNAL_SYSCALL_STRING): Delete.
44334 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44335 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44336 (PSEUDO): Reimplement to do errno handling inline.
44337 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44338 (SYSCALL_ERROR_HANDLER): New macro.
44339 (__SYSCALL_STRING): Do not do errno handling in asm.
44340 (__CLONE_SYSCALL_STRING): Delete.
44341 (__INTERNAL_SYSCALL_STRING): Delete.
44342 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44343 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44345 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44346 (inline_syscall*): Add 'err' argument.
44347 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44348 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44349 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44350 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44352 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44353 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44355 2011-08-30 Andreas Schwab <schwab@redhat.com>
44357 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44359 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44361 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44364 2011-08-24 David S. Miller <davem@davemloft.net>
44366 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44368 2011-08-24 Andreas Schwab <schwab@redhat.com>
44370 * elf/Makefile: Add rules to build and run unload8 test.
44371 * elf/unload8.c: New file.
44372 * elf/unload8mod1.c: New file.
44373 * elf/unload8mod1x.c: New file.
44374 * elf/unload8mod2.c: New file.
44375 * elf/unload8mod3.c: New file.
44377 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44380 2011-08-23 David S. Miller <davem@davemloft.net>
44382 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44383 subtract stack bias.
44384 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44385 %sp not %fp in calculations.
44386 (_JMPBUF_UNWINDS_ADJ): Likewise.
44388 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44389 (aio_suspend): Call it to force an exception region around the
44390 AIO_MISC_WAIT() invocation.
44392 2011-08-23 Andreas Schwab <schwab@redhat.com>
44394 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44397 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44399 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44401 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44402 and <dl-machine.h>.
44403 (Elf64_FuncDesc): Remove.
44405 2011-08-22 David S. Miller <davem@davemloft.net>
44407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44408 sigaltstack check, add missing cfi directives.
44409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44410 missing cfi directives, and sigaltstack handling.
44412 2011-08-16 Andreas Schwab <schwab@redhat.com>
44415 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44416 object is seen twice.
44417 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44419 * elf/Makefile (distribute): Add tst-initorder2.c.
44420 (tests): Add tst-initorder2.
44421 (modules-names): Add tst-initorder2a tst-initorder2b
44422 tst-initorder2c tst-initorder2d. Add rules to build them.
44423 ($(objpfx)tst-initorder2.out): New rule.
44424 * elf/tst-initorder2.c: New file.
44425 * elf/tst-initorder2.exp: New file.
44427 2011-08-22 Andreas Schwab <schwab@redhat.com>
44429 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44431 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44432 dependencies back to end of function.
44434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44435 $(elfobjdir)/ld.so.
44437 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44440 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44442 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44443 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44444 of __vdso_gettimeofday.
44445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44446 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44448 (_libc_vdso_platform_setup): Remove initialization of
44449 __vdso_gettimeofday and __vdso_time.
44451 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44453 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44454 and fgetc_unlocked.
44455 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44458 * elf/dl-open.c (add_to_global): Report additions to the global scope
44459 for LD_DEBUG=scopes.
44460 (dl_open_worker): Also print scope of newly loaded dependencies.
44461 (_dl_show_scope): Indicate if there is no scope.
44464 * stdio-common/Makefile (tests): Add bug24.
44465 * stdio-common/bug24.c: New file.
44467 2011-08-19 Andreas Jaeger <aj@suse.de>
44470 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44471 non-existant file when using close-on-exec mode.
44473 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44476 the very first instruction.
44478 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44479 the CFI state in the end.
44480 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44481 inclusion of dl-trampoline.h.
44482 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44484 2011-08-19 Andreas Schwab <schwab@redhat.com>
44486 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44487 expectations for long double.
44489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44490 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44492 2011-08-14 David S. Miller <davem@davemloft.net>
44494 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44495 artificual limit depends upon the system page size.
44497 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44499 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44500 * resolv/Makefile: Define CFLAGS-libresolv.
44502 2011-08-17 Andreas Schwab <schwab@redhat.com>
44504 * nss/makedb.c (compute_tables): Make variables used in nested
44507 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44509 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44510 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44511 if buffer was too small.
44513 * elf/pldd.c (main): Attach to all threads in the process.
44514 Rewrite /proc handling to use *at functions.
44516 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44518 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44519 specifies first scope to show.
44520 (dl_open_worker): Update callers. Move printing scope of new
44521 object to before the relocation.
44522 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44523 * sysdeps/generic/ldsodefs.h: Update declaration.
44525 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44526 string for the scope number.
44528 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44530 * nscd/servicescache.c (cache_addserv): Make sure written is always
44533 2011-08-14 Roland McGrath <roland@hack.frob.com>
44535 * sysdeps/i386/i486/bits/atomic.h
44536 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44537 statement expression, so as to suppress "set but not used" warning.
44538 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44540 * string/strncat.c (STRNCAT): Use prototype definition.
44542 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44543 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44545 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44546 (localedef-modules): Add localedef.
44547 (locale-modules): Add locale.
44549 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44550 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44551 to avoid a warning.
44553 2011-08-14 David S. Miller <davem@davemloft.net>
44555 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44556 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44558 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44560 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44561 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44562 * elf/rtld.c (dl_main): Set l_name of vDSO.
44563 Call _dl_show_scope when DL_DEBUG_SCOPES.
44564 (process_dl_debug): Recognize scopes flag and also set it for all.
44565 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44566 Declare _dl_show_scope.
44568 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44569 (do_dlopen): Pass caller_dlopen to dl_open.
44570 (__libc_dlopen_mode): Initialize caller_dlopen.
44572 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44573 of libc. Make tolower call locale-independent. Optimize a bit by
44574 using isdigit instead of isalnum.
44575 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44577 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44579 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44580 was a dependency or dynamically loaded.
44582 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44584 * intl/l10nflist.c: Allow architecture-specific pop function.
44585 * sysdeps/x86_64/l10nflist.c: New file.
44587 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44590 2011-08-10 Andreas Schwab <schwab@redhat.com>
44592 * include/dirent.h: Add libc_hidden_proto for scandirat and
44593 scandirat64. Don't declare __scandirat64.
44594 * dirent/scandirat.c: Add libc_hidden_def.
44595 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44596 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44598 2011-08-10 David S. Miller <davem@davemloft.net>
44600 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44604 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44606 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44608 * Versions.def [libc]: Add GLIBC_2.15.
44609 * dirent/Makefile (routines): Add scandirat and scandirat64.
44610 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44612 * dirent/dirent.h: Declare scandirat and scandirat64.
44613 * dirent/scandirat.c: New file.
44614 * dirent/scandirat64.c: New file.
44615 * sysdeps/wordsize-64/scandirat.c: New file.
44616 * sysdeps/wordsize-64/scandirat64.c: New file.
44617 * dirent/opendir.c: Define opendirat.
44618 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44620 * dirent/scandir64.c: Adjust for scandir.c change.
44621 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44622 __scandirat64, and __scandir_cancel_handler.
44623 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44624 additional parameter and use openat instead of open (outside of ld.so).
44625 Add new __opendir as wrapper around __opendirat.
44626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44627 here without requiring old scandirat implementation.
44629 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44631 * dirent/scandir.c (cancel_handler): Renamed to
44632 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44633 defined. Adjust users.
44634 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44637 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44639 * string/test-string.h (IMPL): Use __STRING to expand name and then
44642 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44645 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44647 * string/Makefile: Update.
44648 (strop-tests): Append strncat.
44649 * string/test-wcscmp.c: New file.
44650 New comprehensive test for wcscmp.
44651 * string/test-strcmp.c: Update.
44652 (WIDE): New define.
44654 2011-07-22 Andreas Schwab <schwab@redhat.com>
44656 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44659 2011-07-26 Andreas Schwab <schwab@redhat.com>
44661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44662 encoding to ACE if AI_IDN.
44664 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44666 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44667 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44669 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44671 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44672 Fix overflow bug in strncat.
44673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44675 * string/test-strncat.c: Update.
44676 Add new tests for checking overflow bugs.
44678 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44681 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44682 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44683 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44684 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44685 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44686 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44687 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44688 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44690 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44691 (USE_AS_STRCAT): Define.
44692 Add strcat and strncat support.
44693 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44695 2011-07-25 Andreas Schwab <schwab@redhat.com>
44697 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44698 __n bigger than INT_MAX+1.
44699 (__strncmp_g): Likewise.
44701 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44703 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44704 * libio/stido.h: Likewise.
44706 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44711 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44712 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44713 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44714 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44718 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44723 (_dl_x86_64_save_sse): Likewise.
44725 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44727 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44729 (_dl_x86_64_save_sse): Likewise.
44731 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44733 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44735 2011-07-21 Andreas Schwab <schwab@redhat.com>
44737 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44739 (_dl_x86_64_save_sse): Use correct AVX check.
44741 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44744 bug in strncpy/strncat.
44745 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44747 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44749 * string/tester.c (test_strcat): Add tests for different alignments
44750 of source and destination.
44751 (test_strncat): Likewise.
44753 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44756 * posix/glob.c (glob): Check passed in values before using them in
44757 expressions to avoid some overflows.
44758 (glob_in_dir): Likewise.
44761 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44762 check for AVX enablement so that we don't crash with old kernels and
44764 * elf/tst-audit4.c: Add same checks here.
44765 * elf/tst-audit6.c: Likewise.
44767 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44769 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44771 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44773 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44775 * po/cs.po: Update from translation team.
44776 * po/bg.po: Likewise.
44778 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44780 * misc/sys/cdefs.h: Add support for const attribute.
44781 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44782 to gnu_dev_{major,minor,makedev} functions.
44784 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44786 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44788 2011-07-20 Andreas Schwab <schwab@redhat.com>
44790 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44793 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44796 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44797 register in order to avoid conflicts with the soft frame pointer
44798 being held in r11 when necessary.
44799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44800 (INTERNAL_VSYSCALL_NCS): Likewise.
44802 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44804 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44805 * elf/dl-fini.c (_dl_fini): Adjust caller.
44806 * elf/dl-close.c (_dl_close_worker): Likewise.
44807 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44809 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44811 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44812 "aux_cache->nlibs < 0".
44814 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44815 in the reload-count case.
44817 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44820 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44821 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44822 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44823 * sysdeps/x86_64/multiarch/strcat.S: New file.
44824 * sysdeps/x86_64/multiarch/strncat.S: New file.
44825 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44827 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44828 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44829 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44830 (USE_AS_STRCAT): Define.
44831 Add strcat and strncat support.
44832 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44834 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44835 * string/strncat.c: Update.
44836 (USE_AS_STRNCAT): Define.
44837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44838 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44840 * sysdeps/x86_64/multiarch/init-arch.h
44841 (bit_Prefer_PMINUB_for_stringop): New.
44842 (index_Prefer_PMINUB_for_stringop): Likewise.
44843 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44844 bit_Prefer_PMINUB_for_stringop.
44846 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44848 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44850 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44851 of casting of buffer.
44852 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44853 buffer32 and buffer64.
44854 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44855 writes instead of casting of buffer.
44856 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44858 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44861 2011-07-19 Andreas Schwab <schwab@redhat.com>
44863 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44865 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44867 * nscd/nscd.c (termination_handler): Don't do anything for a database
44868 if it has not yet been initialized.
44870 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44872 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44874 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44876 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44878 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44880 * po/nl.po: Update from translation team.
44881 * po/sv.po: Likewise.
44883 2011-07-16 Roland McGrath <roland@hack.frob.com>
44885 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44886 now disallowed by GCC.
44888 * configure.in (use-default-link): Default to yes if a test -shared
44889 link meets our qualifications.
44890 * configure: Regenerated.
44892 * config.make.in (output-format): New variable.
44893 * configure.in: Check for ld --print-output-format support.
44894 * configure: Regenerated.
44895 * Makerules ($(common-objpfx)format.lds)
44896 [$(output-format) != unknown]: Just use $(output-format),
44897 instead of the linker-script munging.
44899 2011-07-14 Roland McGrath <roland@hack.frob.com>
44901 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44902 of $(common-objpfx)shlib.lds.
44903 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44905 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44906 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44908 * configure.in (-z relro check): Adjust test code to add a large
44909 writable data section after it.
44910 * configure: Regenerated.
44912 2011-07-11 Roland McGrath <roland@hack.frob.com>
44914 * configure.in (-z relro check): Fix test code to make the variable
44916 * configure: Regenerated.
44918 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44920 * nscd/nscd.h (struct traced_file): Define.
44921 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44922 elements. Add traced_files.
44923 (inotify_fd): Declare.
44924 (register_traced_file): Declare.
44925 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44926 (inotify_fd): Export.
44927 (resolv_conf_descr): Remove.
44928 (nscd_init): Move inotify descriptor creation to main.
44929 Don't register files for notification here.
44930 (register_traced_file): New function.
44931 (invalidate_cache): Don't use reset_res to determine whether to call
44932 res_init, go through the list of registered files.
44933 (main_loop_poll): The inotify descriptors are now stored in the
44934 structures for the traced files.
44935 (main_loop_epoll): Likewise
44936 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44937 to __nss_disable_nscd.
44938 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44939 for a database anymore. Check the records for all the registered
44941 * nss/Makefile (libnss_files-routines): Add files-init.
44942 (libnss_db-routines): Add db-init.
44943 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44944 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44945 * nss/nss_db/db-init.c: New file.
44946 * nss/nss_files/files-init.c: New file.
44947 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44948 __nss_lookup_function.
44949 (__nss_lookup_function): Call nss_load_library.
44950 (nss_load_all_libraries): New function.
44951 (__nss_disable_nscd): Take parameter with callback function for files
44952 to register. Set is_nscd. Load all the DSOs for the NSS modules
44953 used for the cached services.
44954 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44955 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44956 options for features to all the files in nscd.
44958 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44960 2011-07-10 Roland McGrath <roland@hack.frob.com>
44962 * csu/elf-init.c (__libc_csu_init): Comment typo.
44964 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44966 * po/pl.po: Update from translation team.
44967 * po/ja.po: Likewise.
44968 * po/ru.po: Likewise.
44969 * po/ko.po: Likewise.
44970 * po/fr.po: Likewise.
44972 2011-07-09 Roland McGrath <roland@hack.frob.com>
44974 * configure.in (.ctors/.dtors header and trailer check):
44975 Use an empirical test on a built program.
44976 * configure: Regenerated.
44978 * configure.in (-z relro check): Use an empirical test on a built DSO.
44979 Detect, but do not require, on ia64.
44980 * configure: Regenerated.
44982 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44983 Update tests that use readelf to use $READELF instead.
44984 * configure: Regenerated.
44986 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44988 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44989 if the result is not used.
44991 2011-07-05 Andreas Jaeger <aj@suse.de>
44994 * stdlib/tst-strtod.c: Add testcase.
44996 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44998 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44999 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45000 The latter has a higher limit. Take additional parameter to pass to
45002 (__pathconf): Pass file to __statfs_link_max.
45003 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45005 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45009 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45012 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45013 (__statfs_filesize_max): Likewise.
45014 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45016 2011-07-05 Andreas Jaeger <aj@suse.de>
45018 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45020 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45022 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45027 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45029 * Makefile (strop-tests): Add strncat.
45030 * string/test-strncat.c: New file.
45032 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45034 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45036 2011-06-21 Andreas Jaeger <aj@suse.de>
45038 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45039 Copy rule from iconvdata/Makefile.
45041 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45044 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45045 but no long options are defined, just return 'W'.
45047 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45050 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45052 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45054 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45056 (innetgr): Likewise.
45058 2011-07-05 Roland McGrath <roland@hack.frob.com>
45060 * config.make.in (install_root): Default to $(DESTDIR).
45062 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45066 2011-07-02 Roland McGrath <roland@hack.frob.com>
45068 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45070 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45071 containing directory rather than embedding absolute directory names.
45073 * scripts/check-local-headers.sh: Rewritten using awk.
45074 Match by word, not by line. Print error messages for matches.
45075 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45077 * Makerules [shlib-lds-flags empty]:
45078 ($(common-objpfx)libc_pic.opts): New target.
45079 ($(common-objpfx)libc_pic.os.clean): New target.
45080 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45082 * config.make.in (OBJCOPY): New variable.
45083 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45084 * configure: Regenerated.
45086 * config.make.in (use-default-link): New variable.
45087 * configure.in (use_default_link): Grok --with-default-link to set it.
45088 * configure: Regenerated.
45089 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45090 (shlib-lds, shlib-lds-flags): Define to empty.
45092 * Makerules (shlib-lds): New variable.
45093 (shlib-lds-flags): New variable.
45094 (build-shlib, build-moduile, build-module-asneeded): Use it.
45095 ($(common-objpfx)libc.so): Use $(shlib-lds).
45096 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45097 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45099 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45100 DT_FLAGS/DT_FLAGS_1 with zero flags.
45102 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45103 linker script munging.
45105 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45107 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45109 * crypt/sha512.c (sha512_process_block): Perform total addition using
45110 128-bit if possible.
45111 (__sha512_finish_ctx): Likewise.
45112 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45114 * crypt/sha256.c (SWAP64): Define.
45115 (sha256_process_block): Perform total addition using 64-bit if
45117 (__sha256_finish_ctx): Likewise.
45119 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45121 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45123 * nscd/hstcache.c (cache_addhst): Likewise.
45124 * nscd/grpcache.c (cache_addgr): Likewise.
45125 * nscd/aicache.c (addhstaiX): Likewise
45126 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45128 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45130 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45132 * nscd/hstcache.c (cache_addhst): Likewise.
45133 * nscd/grpcache.c (cache_addgr): Likewise.
45134 * nscd/aicache.c (addhstaiX): Likewise
45136 2011-07-01 Andreas Schwab <schwab@redhat.com>
45138 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45139 domain only when needed.
45141 2011-06-30 Andreas Schwab <schwab@redhat.com>
45143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45144 is always restored.
45146 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45148 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45149 are re-adding the entry.
45150 * nscd/servicescache.c (cache_addserv): Likewise.
45152 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45154 * sysdeps/generic/dl-irel.h: fix protection against multiple
45156 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45158 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45161 * malloc/memusage.sh: Fix quoting in message.
45162 * debug/xtrace.sh: Likewise.
45164 * configure.in: Remove support for --experimental-malloc option, make
45166 * config.make.in: Likewise.
45167 * malloc/Makefile: Likewise.
45169 2011-06-27 Andreas Schwab <schwab@redhat.com>
45171 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45172 two-byte characters.
45174 2011-06-27 Roland McGrath <roland@hack.frob.com>
45176 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45177 AC_CACHE_CHECK invocation.
45178 * configure: Regenerated.
45180 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45182 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45185 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45186 bit from old_res_options.
45188 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45190 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45191 value type for setfct.
45193 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45196 __gettimeofday instead of gettimeofday.
45198 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45200 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45202 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45209 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45211 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45212 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45213 strcpy-sse2-unaligned strncpy-sse2-unaligned
45214 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45215 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45216 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45217 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45218 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45219 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45220 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45221 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45222 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45223 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45224 (STRCPY): Support SSE2 and SSSE3 versions.
45226 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45230 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45231 kernels which artificially limit size of requests.
45233 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45235 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45236 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45237 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45238 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45239 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45240 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45241 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45242 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45243 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45244 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45245 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45246 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45247 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45248 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45249 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45251 Enable unaligned load optimization for Intel Core i3, i5 and i7
45253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45255 (index_Fast_Unaligned_Load): Define.
45256 (HAS_FAST_UNALIGNED_LOAD): Define.
45258 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45260 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45262 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45266 until it is clear that the information is realy needed.
45267 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45269 2011-06-22 Andreas Schwab <schwab@redhat.com>
45271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45273 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45275 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45276 /sys/devices/system/cpu/online if it is usable.
45278 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45279 reading the information from the /proc filesystem to once a second.
45281 2011-06-21 Andreas Jaeger <aj@suse.de>
45283 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45284 NULL after inclusion of kernel headers.
45286 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45288 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45289 calls to internal_setent.
45292 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45293 addresses using gethostbyname4_r ignore IPv4 addresses.
45295 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45296 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45298 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45300 2011-06-20 David S. Miller <davem@davemloft.net>
45302 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45304 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45306 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45307 (elf_irel): Use it.
45308 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45309 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45310 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45311 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45312 * sysdeps/x86_64/dl-irel.h: Likewise.
45314 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45315 * elf/dl-sym.c: Likewise.
45317 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45319 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45320 need to dereference resplen2.
45322 2011-06-14 Andreas Schwab <schwab@redhat.com>
45324 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45326 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45328 * Makeconfig: Define vardbdir and inst_vardbdir.
45329 * nss/Makefile: Add rules to install db-Makefile.
45331 * nss/nss_db/db-XXX.c: Cleanup.
45333 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45334 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45336 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45337 * nss/makedb.c: Implement -g option to specify that value strings
45338 are generated and should not be added to table iterated over for
45340 * nss/nss_db/db-initgroups.c: New file.
45342 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45345 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45346 (internal_getgrouplist): Adjust to name change.
45347 Update use_initgroups_entry if this is not the first call.
45348 * nss/databases.def: Add initgroups entry.
45350 * nss/makedb.c (compute_tables): Check result of multiple hash table
45351 sizes to minimize maximum chain length.
45353 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45355 * Versions.def: Add entry for libnss_db.
45356 * shlib-versions: Likewise.
45357 * nss/Makefile: Add rules to build libnss_db.
45358 * nss/Versions: Add libnss_db information. Organize libnss_files
45360 * nss/db-Makefile: Add gshadow support. Change rules for the new
45361 makedb progra. Some minor improvements to generate smaller files.
45362 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45364 * nss/makedb.c: ...here.
45365 Improve database format to be smaller and require less memory at
45367 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45369 * nss/nss_db/db-netgrp.c: Likewise.
45370 * nss/nss_db/db-open.c: Likewise.
45371 * nss/nss_files/flies-XXX.x: Adjust comments.
45372 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45373 * nss/nss_files/files-grp.c: Likewise.
45374 * nss/nss_files/files-hosts.c: Likewise.
45375 * nss/nss_files/files-network.c: Likewise.
45376 * nss/nss_files/files-proto.c: Likewise.
45377 * nss/nss_files/files-pwd.c: Likewise.
45378 * nss/nss_files/files-rpc.c: Likewise.
45379 * nss/nss_files/files-service.c: Likewise.
45380 * nss/nss_files/files-sgrp.c: Likewise.
45381 * nss/nss_files/files-spwd.c: Likewise.
45382 * nss/nss_db/db-alias.c: Removed.
45383 * nss/nss_db/dummy-db.h: Removed.
45385 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45387 * nss/makedb.c: Rewritten to not use database library.
45388 * nss/Makefile: Update to build new makedb program.
45390 2011-06-14 Andreas Jaeger <aj@suse.de>
45392 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45393 memset declaration.
45395 2011-06-10 Andreas Schwab <schwab@redhat.com>
45397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45400 2011-06-10 Roland McGrath <roland@hack.frob.com>
45402 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45403 * elf/Makefile ($(objpfx)ld.so): Likewise.
45405 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45406 Don't list ld.so twice in dependencies.
45408 * posix/bug-regex31.c: Include <stdlib.h>.
45410 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45412 * nis/nss_compat/compat-spwd.c
45413 (getspent_next_nss_netgr): Remove unused variable.
45414 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45416 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45417 nonmembers" output to use the right array.
45419 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45421 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45423 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45424 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45425 * catgets/gencat.c (read_input_file): Likewise.
45426 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45428 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45429 variable definition inside #if's controlling its use.
45431 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45433 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45435 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45437 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45440 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45442 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45443 * configure: Regenerated.
45445 * Makerules: Revert last change.
45446 * elf/Makefile: Likewise.
45448 2011-06-09 Roland McGrath <roland@hack.frob.com>
45450 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45451 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45452 (reloc-link): Likewise.
45454 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45456 * elf/Makefile: Add rules to build pldd.
45457 * elf/pldd.c: New file.
45458 * elf/pldd-xx.c: New file.
45460 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45462 * version.h: Update for 2.15 development version.
45464 2011-06-07 David S. Miller <davem@davemloft.net>
45466 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45469 elf_machine_lazy_rel): Likewise.
45470 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45471 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45472 elf_machine_lazy_rel): Likewise.
45473 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45474 dl_hwcap via passed in argument.
45475 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45478 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45480 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45482 2011-06-06 Roland McGrath <roland@hack.frob.com>
45485 * manual/fdl-1.1.texi: New file, verbatim from:
45486 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45487 * manual/lgpl-2.1.texi: New file, verbatim from:
45488 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45489 * manual/Makefile (licenses): New variable, list those new file names.
45491 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45493 * manual/fdl.texi: File removed.
45494 * manual/lesser.texi: File removed.
45495 * manual/libc.texinfo (Copying, Documentation License):
45496 Use new @include file names, put @appendix directive before @include.
45498 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45501 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45502 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45503 (mq_open): Add __NTH.
45505 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45508 Assume Intel Core i3/i5/i7 processor if AVX is available.
45510 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45515 2011-05-31 Andreas Schwab <schwab@redhat.com>
45517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45518 memory. Use alloca_account. Fix memory leak when retrying.
45520 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45522 * version.h (RELEASE): Bump for 2.14 release.
45523 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45525 * config.make.in (RANLIB): Remove entry.
45527 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45529 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45530 (libc.pot): Work around missing support for .ksh extension in xgettext.
45533 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45534 if both request failed.
45535 (send_dg): In case of server errors clear resplen or *resplen2.
45538 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45539 when there are multiple maps.
45540 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45541 (_dl_fini): Remove test here.
45543 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45545 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45548 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45549 bit from old_res_options.
45550 (gaih_inet): Likewise.
45553 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45556 * resolv/res_init.c (res_setoptions): Make the code more compact.
45559 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45563 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45565 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45568 * malloc/malloc.h: Declare malloc hook variables as volatile.
45570 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45574 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45575 raise in the comment.
45576 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45577 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45578 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45580 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45583 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45584 grow the buffers more if it already has to be sufficient.
45585 (build_wcs_upper_buffer): Likewise.
45586 * posix/regexec.c (check_matching): Likewise.
45587 (clean_state_log_if_needed): Likewise.
45588 (extend_buffers): Don't enlarge buffers beyond size of the input
45590 Patches mostly by Emil Wojak <emil@wojak.eu>.
45591 * posix/bug-regex32.c: New file.
45592 * posix/Makefile (tests): Add bug-regex32.
45594 * locale/findlocale.c (_nl_find_locale): Return right away if
45595 _nl_explode_name failed.
45596 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45598 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45600 * debug/xtrace.sh: Unify messages.
45601 * malloc/memusage.sh: Likewise.
45604 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45605 time symbol from vDSO. Substitute with vsyscall if not available.
45606 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45609 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45610 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45611 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45612 Add sendmmsg and internal_sendmmsg.
45613 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45614 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45615 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45617 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45618 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45621 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45624 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45625 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45631 * iconvdata/Makefile (tests): Add bug-iconv9.
45632 * iconvdata/bug-iconv9.c: New file.
45634 2011-05-27 Andreas Schwab <schwab@redhat.com>
45637 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45639 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45642 (struct user_regs_struct): Change intcs field back to cs.
45644 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45646 * po/ja.po: Update from translation team.
45648 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45651 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45652 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45654 2011-05-20 Andreas Schwab <schwab@redhat.com>
45656 * stdlib/longlong.h: Update from GCC.
45658 2011-05-23 Andreas Schwab <schwab@redhat.com>
45660 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45662 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45663 Add parameter name.
45664 (__sysconf): Pass it down.
45666 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45669 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45672 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45673 add in in __libc_use_alloca calls. Adjust callers.
45674 (glob): Use malloc in some situations.
45676 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45677 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45680 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45682 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45683 and CLOCK_BOOTTIME_ALARM.
45686 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45689 * string/_strerror.c (__strerror_r): Print negative errors as signed
45693 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45694 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45695 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45697 * configure.in: Fix typo in redirection and correct removal of test
45698 files in two cases.
45701 * locale/setlocale.c (new_composite_name): Fix test to check for
45702 identical name of all categories.
45705 * libio/filedoalloc.c (local_isatty): New function.
45706 (_IO_file_doallocate): Use local_isatty.
45707 * stdio-common/perror.c (perror): In case a new stream is used
45708 forward the stream error.
45709 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45712 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45715 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45717 * include/alloca.h (extend_alloca_account): Define.
45720 * posix/regex.h: Fix comments with documentation of user-accessible
45721 fields after compilation and describe correct free'ing of pattern
45722 after re_compile_pattern.
45723 Patch by Reuben Thomas <rrt@sc3d.org>.
45725 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45727 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45728 and -mno-altivec to prevent the compiler from using Altivec and/or
45729 VSX instructions when the corresponding registers are not available.
45731 2011-05-19 Andreas Schwab <schwab@redhat.com>
45733 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45735 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45737 * libio/freopen.c (freopen): Use __dup2, not dup2.
45738 * libio/freopen64.c (freopen64): Likewise.
45740 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45743 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45744 * math/Makefile (tests): Add test-powl.
45745 (CFLAGS-test-powl.c): Define.
45746 * math/test-powl.c: New file.
45748 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45750 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45752 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45755 * iconvdata/gb18030.c: Update to GB18020-2005.
45757 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45759 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45760 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45761 Patch by Aharon Robbins <arnold@skeeve.com>.
45764 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45768 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45769 through underflows.
45772 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45773 point to strings before performing equality test for error_one_per_line
45777 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45780 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45781 (struct user_fpregs_struct): Avoid __uint*_t types.
45784 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45785 symbol info. Use it instead of calling _dl_addr locally.
45786 (lock_and_info): New function.
45787 (tr_freehook): Call lock_and_info and pass symbol info as additional
45788 parameter to tr_where.
45789 (tr_mallochook): Likewise.
45790 (tr_reallochook): Likewise.
45791 (tr_memalignhook): Likewise.
45793 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45794 used and couldn't be at all thread-safe.
45796 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45798 * libio/freopen.c (freopen): Don't close old file descriptor
45799 before the new one is opened. Instead dup the new file descriptor
45800 to the old one after the new stream is created.
45801 * libio/freopen64.c (freopen64): Likewise.
45802 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45803 * libio/fileops.c (_IO_new_file_close_it): Handle new
45804 _IO_FLAGS2_NOCLOSE flag.
45805 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45806 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45807 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45808 _IO_FLAGS2_NOCLOSE flag.
45809 * include/unistd.h: Add hidden_proto for dup3.
45810 Define __have_dup3.
45811 * io/dup3.c: Define hidden symbol.
45812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45815 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45816 when an incomplete long option is used.
45817 * posix/tst-getopt_long1.c: New file.
45818 * posix/Makefile (tests): Add tst-getopt_long1.
45821 * scripts/config.guess: Update from autoconf-2.68.
45822 * scripts/config.sub: Likewise.
45825 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45827 (has_cpuclock): ...this. New function.
45828 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45829 macro here based on has_cpuclock code.
45832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45833 First byte (not low byte) is now always NUL.
45834 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45837 Use non-cancelable interfaces.
45840 * locale/iso-639.def: Add entry for Sorani.
45843 * include/stdlib.h: Move include protection to the right place.
45844 Define abort_msg_s. Declare __abort_msg with it.
45845 * stdlib/abort.c (__abort_msg): Adjust type.
45846 * assert/assert.c (__assert_fail_base): New function. Majority
45847 of code from __assert_fail. Allocate memory for __abort_msg with
45849 (__assert_fail): Now call __assert_fail_base.
45850 * assert/assert-perr.c: Remove bulk of implementation. Use
45851 __assert_fail_base.
45852 * include/assert.hL Declare __assert_fail_base.
45853 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45855 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45857 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45861 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45862 until all modules are registered in the DTV.
45863 * elf/Makefile: Add rules to build and run tst-tls19.
45864 * elf/tst-tls19.c: New file.
45865 * elf/tst-tls19mod1.c: New file.
45866 * elf/tst-tls19mod2.c: New file.
45867 * elf/tst-tls19mod3.c: New file.
45868 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45871 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45875 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45876 two-byte sequence errors.
45877 * iconvdata/Makefile (tests): Add bug-iconv8.
45878 * iconvdata/bug-iconv8.c: New file.
45881 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45884 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45887 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45888 (dummy_getcfa): New function.
45889 (init): Get _Unwind_GetCFA address, use dummy if not found.
45890 (backtrace_helper): In recursion check, also check whether CFA changes.
45891 (__backtrace): Completely initialize arg.
45893 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45894 storing incomplete byte sequence in state object. Avoid testing for
45895 guaranteed too small input if we know there is enough data available.
45897 2011-05-11 Andreas Schwab <schwab@redhat.com>
45899 * Makeconfig (+link-pie): Indent.
45900 * Rules (binaries-pie): Define if $(have-fpie) and
45902 (binaries-shared): Also filter out $(binaries-pie).
45903 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45904 * nscd/Makefile (others-pie): Add nscd.
45905 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45906 ($(objpfx)nscd): Remove command override.
45907 * login/Makefile (others-pie): Add pt_chown.
45908 ($(objpfx)pt_chown): Remove command override.
45909 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45910 remove command overrides.
45912 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45914 * libio/tst_putwc.c: Fix error messages.
45917 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45918 currently writing and seek to current position when not.
45919 * libio/Makefile (tests): Add bug-fclose1.
45920 * libio/bug-fclose1.c: New file.
45922 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45925 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45926 don't set DF_1_NODELETE here.
45927 (do_lookup_x): When entering new entry test for copy relocation
45928 and if necessary set DF_1_NODELETE flag.
45929 * elf/tst-unique4.cc: New file.
45930 * elf/tst-unique4.h: New file.
45931 * elf/tst-unique4lib.cc: New file.
45932 * elf/Makefile: Add rules to build and run tst-unique4.
45933 Patch by Piotr Bury <pbury@goahead.com>.
45935 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45938 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45941 * misc/mntent_r.c (addmntent): Flush the stream after the output
45944 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45945 (is_trusted_path_normalize): Skip initial colon. Append slash
45946 to empty buffer. Duplicate is_trusted_path code but allow
45947 constructed patch to be prefix.
45948 (is_dst): Allow $ORIGIN followed by /.
45949 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45950 Correct testing of result of is_trusted_path_normalize
45951 (decompose_rpath): Fix warning.
45953 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45956 * grp/initgroups.c (internal_getgrouplist): When we found the service
45957 list through the initgroups entry in nsswitch.conf do not always
45958 continue on a successful lookup. Don't always use the
45959 __nss_group_database value if it is set.
45960 * nss/nsswitch.conf (initgroups): Change action for successful db
45961 lookup to continue for compatibility.
45963 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45966 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45968 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45970 * iconvdata/tst-tables.sh: Likewise.
45971 * iconvdata/cp770.c: New file.
45972 * iconvdata/cp771.c: New file.
45973 * iconvdata/cp772.c: New file.
45974 * iconvdata/cp773.c: New file.
45975 * iconvdata/cp774.c: New file.
45976 * iconvdata/testdata/CP770: New file.
45977 * iconvdata/testdata/CP770..UTF8: New file.
45978 * iconvdata/testdata/CP771: New file.
45979 * iconvdata/testdata/CP771..UTF8: New file.
45980 * iconvdata/testdata/CP772: New file.
45981 * iconvdata/testdata/CP772..UTF8: New file.
45982 * iconvdata/testdata/CP773: New file.
45983 * iconvdata/testdata/CP773..UTF8: New file.
45984 * iconvdata/testdata/CP774: New file.
45985 * iconvdata/testdata/CP774..UTF8: New file.
45987 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45989 * iconvdata/gen-8bit-gap.sh: Likewise.
45990 * iconvdata/gen-8bit.sh: Likewise.
45992 * locale/iso-639.def: Add ary entry.
45995 * locale/C-translit.h.in: Add U20A1 transliteration.
45998 * locale/iso-639.def: Add wae entry.
45999 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46002 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46006 * locale/C-translit.h.in: Add entry for U20B9.
46007 Patch by pravin.d.s@gmail.com.
46009 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46012 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46013 ENAMETOOLONG use generic getcwd.
46014 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46015 in rtld. Use *stat64.
46016 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46017 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46018 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46019 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46020 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46021 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46022 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46023 __fstatat64 macros.
46024 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46025 * dirent/rewinddir.c: Add libc_hidden_def.
46026 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46027 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46029 * include/dirent.h (__alloc_dir): Add flags parameter.
46030 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46031 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46033 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46034 from fdopendir if O_CLOEXEC is already set.
46036 2011-03-15 Alan Modra <amodra@gmail.com>
46038 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46039 l_tls_firstbyte_offset non-zero. Save padding offset in
46040 l_tls_firstbyte_offset for later use.
46041 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46042 freeing static tls block.
46044 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46046 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46047 where #ifdef was intended. The intent is to prevent ARG_MAX from
46048 being defined by the kernel headers.
46050 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46053 * resolv/resolv.h: Define RES_NOTLDQUERY.
46054 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46055 no-tld-query and set RES_NOTLDQUERY.
46056 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46057 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46058 modern BIND to search name as TLD unless forbidden.
46060 2011-05-07 Petr Baudis <pasky@suse.cz>
46061 Ulrich Drepper <drepper@gmail.com>
46064 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46065 (is_trusted_path): ...to here.
46066 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46067 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46068 using is_trusted_path_normalize() in setuid scripts.
46070 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46072 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46073 __BEGIN/__END_DECLS.
46075 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46078 NSS_STATUS_NOTFOUND if no record was found.
46080 2011-05-05 Andreas Schwab <schwab@redhat.com>
46082 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46083 (headers-not-in-tirpc): Remove rpc/netdb.h
46084 * resolv/netdb.h: Revert last change.
46086 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46088 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46089 circular dependency between libgcc.a and libc.a.
46091 2011-05-05 Andreas Schwab <schwab@redhat.com>
46093 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46094 * nis/Makefile: Don't install rpcsvc/*.
46095 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46096 instead of <rpc/types.h>.
46097 (MAXHOSTNAMELEN): Define.
46099 2011-05-03 Andreas Schwab <schwab@redhat.com>
46101 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46103 2011-04-28 Maciej Babinski <mbabinski@google.com>
46106 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46107 gethostbyname4_r when IPv6 results are possible.
46109 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46112 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46113 _PC_PIPE_BUF handling.
46115 2011-04-30 Bruno Haible <bruno@clisp.org>
46118 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46119 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46121 * inet/getnameinfo.c (getnameinfo): Likewise.
46123 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46125 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46126 to groups setting in database lookup.
46127 * nss/nsswitch.conf: Add initgroups entry.
46129 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46132 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46134 Patch by Eric Blake <eblake@redhat.com>.
46136 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46138 * sunrpc/Makefile (need-export-routines): Add svc_run.
46139 (routines): Remove svc_run.
46140 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46141 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46142 * sunrpc/svc_run.c (svc_run): Likewise.
46143 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46145 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46148 problem in reallocation in last patch.
46150 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46152 * sunrpc/Makefile: Move inclusion of Rules.
46154 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46156 * nss/nss_files/files-initgroups.c: New file.
46157 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46158 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46159 _nss_files_initgroups_dyn.
46161 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46163 * elf/elf.h (R_ARM_IRELATIVE): Define.
46165 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46167 * po/ru.po: Update from translation team.
46169 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46171 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46174 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46177 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46178 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46179 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46183 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46187 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46188 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46189 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46191 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46194 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46196 * stdlib/bug-getcontext.c: New file.
46197 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46199 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46201 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46202 instructions into .machine "z9-109".
46203 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46204 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46206 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46208 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46209 between environment variables and auxiliary vector.
46211 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46213 * Makefile: Add rules to build linkobj/libc.so.
46214 * include/libc-symbols.h: Define libc_hidden_nolink.
46215 * include/rpc/auth.h: Mark functions which are to be hidden.
46216 * include/rpc/auth_des.h: Likewise.
46217 * include/rpc/auth_unix.h: Likewise.
46218 * include/rpc/clnt.h: Likewise.
46219 * include/rpc/des_crypt.h: Likewise.
46220 * include/rpc/key_prot.h: Likewise.
46221 * include/rpc/pmap_clnt.h: Likewise.
46222 * include/rpc/pmap_prot.h: Likewise.
46223 * include/rpc/pmap_rmt.h: Likewise.
46224 * include/rpc/rpc_msg.h: Likewise.
46225 * include/rpc/svc.h: Likewise.
46226 * include/rpc/svc_auth.h: Likewise.
46227 * include/rpc/xdr.h: Likewise.
46228 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46229 * nss/Makefile: Likewise.
46230 * sunrpc/Makefile: Don't install headers. Build library with normal
46231 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46232 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46233 for the compat linking library. Remove use of INTDEF/INTUSE.
46234 * sunrpc/auth_none.c: Likewise.
46235 * sunrpc/auth_unix.c: Likewise.
46236 * sunrpc/authdes_prot.c: Likewise.
46237 * sunrpc/authuxprot.c: Likewise.
46238 * sunrpc/clnt_gen.c: Likewise.
46239 * sunrpc/clnt_perr.c: Likewise.
46240 * sunrpc/clnt_raw.c: Likewise.
46241 * sunrpc/clnt_simp.c: Likewise.
46242 * sunrpc/clnt_tcp.c: Likewise.
46243 * sunrpc/clnt_udp.c: Likewise.
46244 * sunrpc/clnt_unix.c: Likewise.
46245 * sunrpc/des_crypt.c: Likewise.
46246 * sunrpc/des_soft.c: Likewise.
46247 * sunrpc/get_myaddr.c: Likewise.
46248 * sunrpc/key_call.c: Likewise.
46249 * sunrpc/key_prot.c: Likewise.
46250 * sunrpc/netname.c: Likewise.
46251 * sunrpc/pm_getmaps.c: Likewise.
46252 * sunrpc/pm_getport.c: Likewise.
46253 * sunrpc/pmap_clnt.c: Likewise.
46254 * sunrpc/pmap_prot.c: Likewise.
46255 * sunrpc/pmap_prot2.c: Likewise.
46256 * sunrpc/pmap_rmt.c: Likewise.
46257 * sunrpc/publickey.c: Likewise.
46258 * sunrpc/rpc_cmsg.c: Likewise.
46259 * sunrpc/rpc_common.c: Likewise.
46260 * sunrpc/rpc_dtable.c: Likewise.
46261 * sunrpc/rpc_prot.c: Likewise.
46262 * sunrpc/rpc_thread.c: Likewise.
46263 * sunrpc/rtime.c: Likewise.
46264 * sunrpc/svc.c: Likewise.
46265 * sunrpc/svc_auth.c: Likewise.
46266 * sunrpc/svc_authux.c: Likewise.
46267 * sunrpc/svc_raw.c: Likewise.
46268 * sunrpc/svc_run.c: Likewise.
46269 * sunrpc/svc_simple.c: Likewise.
46270 * sunrpc/svc_tcp.c: Likewise.
46271 * sunrpc/svc_udp.c: Likewise.
46272 * sunrpc/svc_unix.c: Likewise.
46273 * sunrpc/svcauth_des.c: Likewise.
46274 * sunrpc/xcrypt.c: Likewise.
46275 * sunrpc/xdr.c: Likewise.
46276 * sunrpc/xdr_array.c: Likewise.
46277 * sunrpc/xdr_float.c: Likewise.
46278 * sunrpc/xdr_intXX_t.c: Likewise.
46279 * sunrpc/xdr_mem.c: Likewise.
46280 * sunrpc/xdr_rec.c: Likewise.
46281 * sunrpc/xdr_ref.c: Likewise.
46282 * sunrpc/xdr_sizeof.c: Likewise.
46283 * sunrpc/xdr_stdio.c: Likewise.
46285 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46288 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46289 * sysdeps/ia64/dl-tls.h: Likewise.
46290 * sysdeps/powerpc/dl-tls.h: Likewise.
46291 * sysdeps/s390/dl-tls.h: Likewise.
46292 * sysdeps/sh/dl-tls.h: Likewise.
46293 * sysdeps/sparc/dl-tls.h: Likewise.
46294 * sysdeps/x86_64/dl-tls.h: Likewise.
46295 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46297 2011-03-14 Andreas Schwab <schwab@redhat.com>
46299 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46300 rpath element also skip the following colon.
46301 (expand_dynamic_string_token): Add is_path parameter and pass
46302 down to DL_DST_REQUIRED and _dl_dst_substitute.
46303 (decompose_rpath): Call expand_dynamic_string_token with
46304 non-zero is_path. Ignore empty rpaths.
46305 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46308 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46313 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46316 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46317 Patch by Filipe David Manana <fdmanana@apache.org>.
46319 2011-04-07 Andreas Schwab <schwab@redhat.com>
46321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46322 Maintain aligned stack.
46323 (CHECK_RSP): Remove unused macro.
46325 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46327 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46330 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46332 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46334 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46336 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46339 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46340 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46341 * sysdeps/x86_64/memmove.c: New file.
46342 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46343 (memcpy): Renamed to ...
46344 (__new_memcpy): This.
46345 (memcpy): Provide GLIBC_2_14 memcpy.
46346 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46347 (memcpy): Provide GLIBC_2_2_5 memcpy.
46349 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46352 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46354 2011-03-30 Andreas Schwab <schwab@redhat.com>
46356 * misc/syncfs.c: New file.
46357 * misc/Makefile (routines): Add syncfs.
46358 * posix/unistd.h: Declare syncfs.
46359 * sysdeps/unix/syscalls.list: Add syncfs.
46361 2011-04-01 Andreas Schwab <schwab@redhat.com>
46363 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46365 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46366 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46367 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46368 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46369 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46370 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46371 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46373 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46375 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46377 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46378 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46379 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46381 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46383 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46384 sync_file_range.c with -fexceptions.
46385 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46386 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46387 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46388 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46389 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46390 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46392 sync_file_range as cancellation point
46393 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46394 now a wrapper around __call_sync_file_range with cancellation handling.
46395 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46396 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46397 function name to __call_sync_file_range.
46398 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46399 Add call_sync_file_range.
46401 2011-04-01 Andreas Schwab <schwab@redhat.com>
46403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46406 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46408 * iconv/iconv.h: Fix typo in comment.
46409 * io/fcntl.h: Likewise.
46410 * libio/stdio.h: Likewise.
46411 * posix/spawn.h: Likewise.
46412 * posix/unistd.h: Likewise.
46413 * stdlib/stdlib.h: Likewise.
46414 * time/time.h: Likewise.
46415 * wcsmbs/wchar.h: Likewise.
46417 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46418 open_by_handle): Add.
46419 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46420 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46421 Augment a few comments.
46422 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46424 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46425 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46427 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46430 * io/fcntl.h (AT_EMPTY_PATH): Define.
46432 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46434 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46435 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46436 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46438 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46439 * Versions.def: Add GLIBC_2.14.
46440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46443 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46447 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46449 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46452 * string/test-strncmp.c (do_page_test): New function.
46453 (check2): Likewise.
46454 (test_main): Call check2.
46455 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46457 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46460 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46461 Handle cache information in CPU leaf 4.
46462 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46464 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46467 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46468 character representation.
46469 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46471 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46473 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46474 END(__isnan) to END(__isnanf) to match function entry point/label
46475 EALIGN(__isnanf,...).
46477 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46479 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46481 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46484 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46485 copy from the symbol referenced in the relocation to initialize the
46487 Patch by Piotr Bury <pbury@goahead.com>.
46488 * elf/Makefile: Add rules to build and tst-unique3.
46489 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46490 * elf/tst-unique3.cc: New file.
46491 * elf/tst-unique3.h: New file.
46492 * elf/tst-unique3lib.cc: New file.
46493 * elf/tst-unique3lib2.cc: New file.
46495 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46497 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46499 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46500 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46503 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46505 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46506 to-be-loaded object along a path to loader is ld.so.
46508 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46509 Ulrich Drepper <drepper@gmail.com>
46511 * sysdeps/x86_64/memset.S: After aligning destination, code
46512 branches to different locations depending on the value of
46513 misalignment, when multiarch is enabled. Fix this.
46515 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46517 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46518 Set _x86_64_preferred_memory_instruction for AMD processsors.
46519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46520 Set bit_Prefer_SSE_for_memop for AMD processors.
46522 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46524 * libio/fmemopen.c (fmemopen): Optimize a bit.
46526 2011-03-03 Andreas Schwab <schwab@redhat.com>
46528 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46530 2011-03-03 Roland McGrath <roland@redhat.com>
46532 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46534 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46536 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46537 __bzero_ultra1 instead of __memset_ultra1.
46539 2011-02-23 Andreas Schwab <schwab@redhat.com>
46540 Ulrich Drepper <drepper@gmail.com>
46543 * include/link.h (struct link_map): Add l_orig_initfini.
46544 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46545 returning unsuccessfully.
46546 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46547 close of a file loaded at startup, restore the original l_initfini
46549 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46550 list, store the pointer.
46551 * elf/Makefile ($(objpfx)noload-mem): New rule.
46552 (noload-ENV): Define.
46553 (tests): Add $(objpfx)noload-mem.
46554 * elf/noload.c: Include <memcheck.h>.
46555 (main): Call mtrace. Close all opened handles.
46557 2011-02-17 Andreas Schwab <schwab@redhat.com>
46560 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46561 dependencies are missing.
46563 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46565 Fix __if_freereq crash: Unlike the generic version which uses free,
46567 * sysdeps/mach/hurd/ifreq.h: New file.
46569 2011-01-27 Petr Baudis <pasky@suse.cz>
46570 Ulrich Drepper <drepper@gmail.com>
46573 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46574 to extend_alloca().
46575 * stdio-common/bug23.c: New file.
46576 * stdio-common/Makefile (tests): Add bug23.
46578 2010-09-28 Andreas Schwab <schwab@redhat.com>
46579 Ulrich Drepper <drepper@gmail.com>
46582 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46583 before performing relro protection. At old place add assertion
46584 to make sure nothing changed.
46586 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46587 Glauber de Oliveira Costa <glommer@gmail.com>
46589 * elf/elf.h: Add new ARM TLS relocs.
46591 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46594 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46596 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46598 * sysdeps/wordsize-64/tst-writev.c: New file.
46600 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46602 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46603 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46604 insns in _dl_start to prevent a TOC reference before relocs are
46607 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46610 * Makeconfig: Remove RANLIB definition.
46611 * Makerules: Don't use RANLIB.
46612 * aclocal.m4: Remove ranlib test.
46613 * configure.in: No need to check for ranlib.
46614 * elf/rtld-Rules: Don't use RANLIB.
46616 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46618 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46620 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46621 inclusion protection macro.
46623 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46624 SIGRTMIN and SIGRTMAX and print information in that case only when
46625 SIGRTMIN is defined.
46627 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46629 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46630 arginfo fn returning -1.
46632 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46633 and thousands string is zero terminated.
46635 2011-02-03 Andreas Schwab <schwab@redhat.com>
46637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46638 sysdeps/unix/sysv/linux/bits/socket.h.
46640 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46642 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46643 (__CPU_COUNT): Remove old macros.
46644 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46645 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46646 (__CPU_ALLOC, __CPU_FREE): Add macros.
46647 (__sched_cpualloc, __sched_cpufree): Add declarations.
46649 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46651 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46652 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46653 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46654 (readdhstai): Return value of addhstaiX call.
46655 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46656 (addgrbyX): Return value returned by cache_addgr.
46657 (readdgrbyname): Return value returned by addgrbyX.
46658 (readdgrbygid): Likewise.
46659 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46660 (addpwbyX): Return value returned by cache_addpw.
46661 (readdpwbyname): Return value returned by addhstbyX.
46662 (readdpwbyuid): Likewise.
46663 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46664 (addservbyX): Return value returned by cache_addserv.
46665 (readdservbyname): Return value returned by addservbyX:
46666 (readdservbyport): Likewise.
46667 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46668 (addhstbyX): Return value returned by cache_addhst.
46669 (readdhstbyname): Return value returned by addhstbyX.
46670 (readdhstbyaddr): Likewise.
46671 (readdhstbynamev6): Likewise.
46672 (readdhstbyaddrv6): Likewise.
46673 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46674 (readdinitgroups): Return value returned by addinitgroupsX.
46675 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46676 (prune_cache): Keep track of timeout value of re-added entries.
46677 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46678 * nscd/nscd.h: Adjust prototypes of readd* functions.
46680 2011-02-04 Roland McGrath <roland@redhat.com>
46682 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46683 (nis_stats): Likewise.
46684 * nis/nis_modify.c (nis_modify): Likewise.
46685 * nis/nis_remove.c (nis_remove): Likewise.
46686 * nis/nis_add.c (nis_add): Likewise.
46688 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46690 * posix/fnmatch_loop.c: Add some consts.
46692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46694 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46697 * config.make.in (config-cflags-novzeroupper): Define.
46698 * configure.in: Substitute libc_cv_cc_novzeroupper.
46699 * elf/Makefile (AVX-CFLAGS): Define.
46700 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46701 (CFLAGS-tst-auditmod4a.c): Likewise.
46702 (CFLAGS-tst-auditmod4b.c): Likewise.
46703 (CFLAGS-tst-auditmod6b.c): Likewise.
46704 (CFLAGS-tst-auditmod6c.c): Likewise.
46705 (CFLAGS-tst-auditmod7b.c): Likewise.
46706 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46708 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46710 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46711 function to the callback.
46712 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46714 2011-02-02 Andreas Schwab <schwab@redhat.com>
46716 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46719 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46722 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46724 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46726 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46729 * elf/Makefile: Add rules to build and run new test.
46730 * elf/tst-initorder.c: New file.
46731 * elf/tst-initorder.exp: New file.
46732 * elf/tst-initordera1.c: New file.
46733 * elf/tst-initordera2.c: New file.
46734 * elf/tst-initordera3.c: New file.
46735 * elf/tst-initordera4.c: New file.
46736 * elf/tst-initorderb1.c: New file.
46737 * elf/tst-initorderb2.c: New file.
46738 * elf/tst-order-a1.c: New file.
46739 * elf/tst-order-a2.c: New file.
46740 * elf/tst-order-a3.c: New file.
46741 * elf/tst-order-a4.c: New file.
46742 * elf/tst-order-b1.c: New file.
46743 * elf/tst-order-b2.c: New file.
46744 * elf/tst-order-main.c: New file.
46745 New test case by George Gensure <werkt0@gmail.com>.
46747 2010-10-01 Andreas Schwab <schwab@redhat.com>
46749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46750 decoding ACE if AI_CANONIDN.
46752 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46754 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46756 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46758 * version.h (RELEASE): Bump for 2.13 release.
46759 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46761 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46763 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46765 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46766 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46767 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46768 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46769 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46772 * posix/getconf.c: Update copyright year.
46773 * catgets/gencat.c: Likewise.
46774 * csu/version.c: Likewise.
46775 * debug/catchsegv.sh: Likewise.
46776 * debug/xtrace.sh: Likewise.
46777 * elf/ldconfig.c: Likewise.
46778 * elf/ldd.bash.in: Likewise.
46779 * elf/sprof.c (print_version): Likewise.
46780 * iconv/iconv_prog.c: Likewise.
46781 * iconv/iconvconfig.c: Likewise.
46782 * locale/programs/locale.c: Likewise.
46783 * locale/programs/localedef.c: Likewise.
46784 * malloc/memusage.sh: Likewise.
46785 * malloc/mtrace.pl: Likewise.
46786 * nscd/nscd.c (print_version): Likewise.
46787 * nss/getent.c: Likewise.
46789 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46790 PF_CAIF, and PF_ALG.
46791 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46793 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46795 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46796 (modules-names): Use them.
46797 (ifunc-test-modules, ifunc-pie-tests): Define.
46798 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46799 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46800 (test-extras): Likewise.
46801 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46802 $(compile-command.c).
46803 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46804 (all-built-dso): Define.
46805 (check-textrel.out, check-execstack.out): Depend on it.
46807 * configure.in: Don't override --enable-multi-arch.
46809 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46812 * nscd/hstcache.c (tryagain): Define.
46813 (cache_addhst): Return tryagain not notfound for temporary errors.
46814 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46817 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46820 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46821 to make the syscall.
46822 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46825 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46826 and fall back to matching as normal character if the string ends before
46827 the matching ']' is found. This is what POSIX requires.
46828 * posix/testfnm.c: Adjust test result.
46829 * posix/globtest.sh: Adjust test result. Add new test.
46830 * posix/tst-fnmatch.input: Likewise.
46831 * posix/tst-fnmatch2.c: Add new test.
46833 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46835 * elf/Makefile (check-execstack): Revert last change. Depend on
46837 (check-execstack.h): New target.
46838 (generated): Add check-execstack.h.
46839 * elf/check-execstack.c: Include "check-execstack.h".
46840 (main): Revert last change.
46841 (handle_file): Return zero if GNU_STACK is absent and
46842 DEFAULT_STACK_PERMS doesn't include PF_X.
46844 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46846 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46847 in child fails because the descriptor is already closed.
46848 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46849 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46850 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46853 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46857 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46858 temporary buffer used to handle multi lookups locally.
46859 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46861 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46863 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46866 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46868 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46869 alignment for SSE2.
46871 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46874 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46875 characters. When rounding increased number of integer digits recompute
46877 * stdio-common/tst-grouping.c: New file.
46878 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46880 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46882 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46883 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46885 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46887 * bits/select.h: Likewise.
46889 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46891 * po/ja.po: Update from translation team.
46893 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46896 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46897 implementation just like for lxstat, fxstatat, et al.
46899 2010-12-27 Jim Meyering <meyering@redhat.com>
46902 * posix/regexec.c (build_trtable): Return failure indication upon
46903 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46905 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46908 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46909 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46914 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46917 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46918 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46920 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46922 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46923 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46924 script has SORT_BY_INIT_PRIORITY.
46925 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46926 NO_CTORS_DTORS_SECTIONS is defined.
46927 * elf/soinit.c: Likewise.
46928 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46929 NO_CTORS_DTORS_SECTIONS is defined.
46930 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46931 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46932 * sysdeps/sh/init-first.c: Likewise.
46933 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46935 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46937 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46938 always use the slow path.
46940 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46942 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46943 similar rule which adds the sysdep directories to the header search in
46944 order to pick up the correct platform stackinfo.h.
46945 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46946 perform test if it is, otherwise return successfully without testing.
46947 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46948 DEFAULT_STACK_PERMS define in stackinfo.h.
46949 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46950 defined in stackinfo.h.
46951 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46952 DEFAULT_STACK_PERMS defined in stackinfo.h.
46953 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46954 * sysdeps/ia64/stackinfo.h: Likewise.
46955 * sysdeps/s390/stackinfo.h: Likewise.
46956 * sysdeps/sh/stackinfo.h: Likewise.
46957 * sysdeps/sparc/stackinfo.h: Likewise.
46958 * sysdeps/x86_64/stackinfo.h: Likewise.
46959 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46960 PF_X for powerpc64. Retain PF_X for powerpc32.
46962 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46964 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46966 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46967 GETDENTS_64BIT_ALIGNED.
46969 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46971 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46973 2010-12-10 Andreas Schwab <schwab@redhat.com>
46975 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46978 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46979 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46981 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46982 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46984 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46987 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46990 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46992 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46994 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46996 * po/it.po: Update from translation team.
46998 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47003 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47005 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47007 2010-11-24 Andreas Schwab <schwab@redhat.com>
47009 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47011 (gaih_getanswer_slice): Likewise.
47013 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47015 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47017 2010-05-31 Petr Baudis <pasky@suse.cz>
47020 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47021 silently even in the chroot mode.
47023 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47025 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47026 last patch a bit. Pretty printing
47028 2010-05-31 Petr Baudis <pasky@suse.cz>
47031 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47032 initialization of skip_initgroups_dyn.
47034 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47036 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47037 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47039 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47041 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47043 2010-11-11 Andreas Schwab <schwab@redhat.com>
47045 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47046 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47047 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47048 ($(objpfx)tst-fnmatch-mem): New rule.
47049 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47050 * posix/tst-fnmatch.c (main): Call mtrace.
47052 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47055 Support Intel processor model 6 and model 0x2c.
47057 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47059 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47062 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47065 * string/test-strncasecmp.c (check_result): New function.
47066 (do_one_test): Use it.
47067 (check1): New function.
47068 (test_main): Use it.
47069 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47070 Support strcasecmp and strncasecmp.
47072 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47075 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47076 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47078 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47080 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47084 * sysdeps/x86_64/multiarch/bzero.S: New file.
47085 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47086 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47087 * sysdeps/x86_64/multiarch/memset.S: New file.
47088 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47090 Set bit_Prefer_SSE_for_memop for Intel processors.
47091 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47093 (index_Prefer_SSE_for_memop): Define.
47094 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47096 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47098 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47099 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47101 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47104 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47105 (__x86_64_raw_data_cache_size_half): Likewise.
47106 (__x86_64_raw_shared_cache_size): Likewise.
47107 (__x86_64_raw_shared_cache_size_half): Likewise.
47109 * sysdeps/x86_64/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.
47113 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47114 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47115 and __x86_64_raw_shared_cache_size_half. Round
47116 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47117 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47118 to multiple of 256 bytes.
47120 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47123 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47124 of inacessible symlinks. Verify result of symlink before returning it.
47125 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47126 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47128 2010-10-28 Erich Ritz <erichritz@gmail.com>
47130 * math/math.h (isinf): Fix typo in comment.
47132 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47134 * po/da.po: Update from translation team.
47136 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47138 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47139 is added to the list.
47141 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47142 Ulrich Drepper <drepper@gmail.com>
47144 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47145 the global list here. Move code to...
47146 (_dl_add_to_namespace_list): ...here. New function.
47147 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47148 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47149 * elf/dl-load.c (lose): Don't remove the element from the list.
47150 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47151 (_dl_map_object): Likewise.
47153 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47156 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47157 into all bytes of SSE register.
47158 Patch by Richard Li <richardpku@gmail.com>.
47160 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47163 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47166 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47168 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47169 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47171 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47176 2010-10-22 Andreas Schwab <schwab@redhat.com>
47178 * include/dlfcn.h (__RTLD_SECURE): Define.
47179 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47180 mode & __RTLD_SECURE instead.
47181 (open_path): Rename preloaded parameter to secure.
47182 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47183 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47184 * elf/dl-deps.c (openaux): Likewise.
47185 * elf/rtld.c (struct map_args): Remove is_preloaded.
47186 (map_doit): Don't use it.
47187 (dl_main): Likewise.
47188 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47189 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47191 2010-09-09 Andreas Schwab <schwab@redhat.com>
47193 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47194 (sysd-rules-targets): Remove duplicates.
47195 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47196 rtld-%.$o dependency.
47198 2010-10-18 Andreas Schwab <schwab@redhat.com>
47200 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47201 _dl_map_object do it.
47203 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47205 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47206 fast fma builtins, define the macros in the C99 standard.
47207 (FP_FAST_FMAF): Likewise.
47208 (FP_FAST_FMAL): Likewise.
47209 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47211 * bits/mathdef.h: Update copyright year.
47212 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47214 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47216 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47217 builtins, define the macros in the C99 standard.
47218 (FP_FAST_FMAF): Likewise.
47219 (FP_FAST_FMAL): Likewise.
47220 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47222 (FP_FAST_FMAF): Likewise.
47224 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47227 * math/libm-test.inc (fma_test): Some new testcases.
47228 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47229 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47230 y and infinite z. Do multiplication by C already in long double.
47231 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47233 y and infinite z. Do bitwise or of inexact bit into u.d.
47234 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47235 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47236 * sysdeps/i386/fpu/s_fma.S: Removed.
47237 * sysdeps/i386/fpu/s_fmal.S: Removed.
47239 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47242 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47243 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47244 computation is not scheduled after fetestexcept. Fix value
47245 of minimum denormal long double.
47247 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47250 * math/libm-test.inc (fma_test): Add some more tests.
47251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47254 2010-10-15 Andreas Schwab <schwab@redhat.com>
47256 * scripts/data/localplt-s390-linux-gnu.data: New file.
47257 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47259 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47262 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47263 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47265 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47267 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47268 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47269 if one of x and y is very large and the other is subnormal.
47270 * sysdeps/s390/fpu/s_fmaf.c: New file.
47271 * sysdeps/s390/fpu/s_fma.c: New file.
47272 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47273 * sysdeps/powerpc/fpu/s_fma.S: New file.
47274 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47275 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47276 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47278 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47281 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47284 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47285 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47286 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47287 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47288 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47291 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47294 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47295 * posix/bug-regex31.input: Add test case.
47297 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47299 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47300 * posix/bug-regex31.input: New file.
47303 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47304 (parse_sub_exp): Fix last change, use postorder.
47306 * posix/bug-regex31.c: New file.
47307 * posix/Makefile: Add rules to build and run bug-regex31.
47309 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47312 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47315 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47316 to have entries in sys_siglist.
47319 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47322 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47325 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47326 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47327 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47328 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47329 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47330 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47331 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47332 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47333 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47334 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47335 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47336 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47337 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47338 * math/ftestexcept.c (fetestexcept): Likewise.
47339 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47340 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47341 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47342 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47343 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47344 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47345 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47347 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47350 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47353 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47355 * string/bug-strstr1.c: New file.
47356 * string/Makefile: Add rules to build and run bug-strstr1.
47358 2010-10-05 Eric Blake <eblake@redhat.com>
47361 * string/str-two-way.h (two_way_long_needle): Always clear memory
47362 when skipping input due to the shift table.
47364 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47367 * malloc/mcheck.c: Handle large requests.
47370 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47371 for strncmp and strncasecmp.
47372 * string/stratcliff.c: Add tests for strcmp and strncmp.
47373 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47375 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47377 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47380 2010-09-30 Andreas Jaeger <aj@suse.de>
47382 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47383 (CGROUP_SUPER_MAGIC): Define.
47384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47385 Handle btrfs and cgroup file systems.
47386 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47389 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47391 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47392 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47394 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47397 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47398 trying to locate the ELF header.
47400 2010-09-27 Andreas Schwab <schwab@redhat.com>
47403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47404 Mask out sign-bit copies when constructing f_fsid.
47406 2010-09-24 Petr Baudis <pasky@suse.cz>
47408 * debug/stack_chk_fail_local.c: Add missing licence exception.
47409 * debug/warning-nop.c: Likewise.
47411 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47414 implementing getdents64 using getdents syscall, set d_type if
47415 __ASSUME_GETDENTS32_D_TYPE.
47417 2010-09-16 Andreas Schwab <schwab@redhat.com>
47419 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47420 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47422 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47425 * posix/unistd.h: Undo change of feature selection for ftruncate from
47428 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47430 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47433 2010-09-20 Andreas Schwab <schwab@redhat.com>
47435 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47439 2010-09-14 Andreas Schwab <schwab@redhat.com>
47441 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47442 variables after CHECK_SP call.
47443 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47445 2010-09-13 Andreas Schwab <schwab@redhat.com>
47446 Ulrich Drepper <drepper@redhat.com>
47448 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47449 re-relocationg ld.so.
47450 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47451 _dl_init_paths call.
47452 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47455 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47457 * resolv/res_init.c (__res_vinit): Count the default server we added.
47459 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47460 Ulrich Drepper <drepper@redhat.com>
47463 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47464 (____longjmp_chk): Use %ebx for saving value across system call.
47467 2010-09-06 Andreas Schwab <schwab@redhat.com>
47469 * manual/Makefile: Don't mix pattern rules with normal rules.
47471 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47473 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47475 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47476 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47477 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47478 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47482 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47485 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47486 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47488 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47490 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47491 * sysdeps/x86_64/addmul_1.S: Likewise.
47492 * sysdeps/x86_64/lshift.S: Likewise.
47493 * sysdeps/x86_64/mul_1.S: Likewise.
47494 * sysdeps/x86_64/rshift.S: Likewise.
47495 * sysdeps/x86_64/sub_n.S: Likewise.
47496 * sysdeps/x86_64/submul_1.S: Likewise.
47498 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47500 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47501 Define __sched_param instead of SCHED_* and sched_param when
47502 <bits/sched.h> is included with __need_schedparam defined.
47503 * bits/sched.h [__need_schedparam]
47504 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47505 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47506 (__defined_schedparam): Define to 1.
47507 (__sched_param): New structure, identical to sched_param.
47508 (__need_schedparam): Undefine.
47510 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47512 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47513 (epoll_create1): Declare.
47515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47517 2010-08-31 Andreas Schwab <schwab@redhat.com>
47520 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47521 shifting retval into place.
47523 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47525 * nis/rpcsvc/nis.h: Update copyright notice.
47526 * nis/rpcsvc/nis.x: Likewise.
47527 * nis/rpcsvc/nis_callback.h: Likewise.
47528 * nis/rpcsvc/nis_callback.x: Likewise.
47529 * nis/rpcsvc/nis_object.x: Likewise.
47530 * nis/rpcsvc/nis_tags.h: Likewise.
47531 * nis/rpcsvc/yp.h: Likewise.
47532 * nis/rpcsvc/yp.x: Likewise.
47533 * nis/rpcsvc/ypupd.h: Likewise.
47534 * nis/yp_xdr.c: Likewise.
47535 * nis/ypupdate_xdr.c: Likewise.
47537 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47538 mainly the body of pmap_getport. Add parameters to specify timeouts.
47539 (pmap_getport): Use __libc_rpc_getport.
47540 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47541 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47542 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47544 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47549 2010-08-27 Roland McGrath <roland@redhat.com>
47551 * sysdeps/i386/i686/multiarch/Makefile
47552 (CFLAGS-varshift.c): New variable.
47554 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47556 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47557 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47559 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47561 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47563 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47565 * sysdeps/x86_64/strlen.S: Unroll the loop.
47566 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47567 strlen-sse2 strlen-sse2-bsf.
47568 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47569 __strlen_no_bsf if bit_Slow_BSF is set.
47570 (__strlen_sse42): Removed.
47571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47572 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47574 2010-08-25 Roland McGrath <roland@redhat.com>
47576 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47577 * sysdeps/x86_64/multiarch/varshift.c: New file.
47578 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47579 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47580 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47581 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47583 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47586 strlen-sse2 strlen-sse2-bsf.
47587 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47588 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47589 (__strlen_sse2): Removed.
47590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47591 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47593 bit_Slow_BSF for Atom.
47594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47595 (index_Slow_BSF): Define.
47596 (HAS_SLOW_BSF): Define.
47598 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47601 * resolv/res_init.c (__res_vinit): When no server address at all
47602 is given default to loopback.
47604 2010-08-24 Roland McGrath <roland@redhat.com>
47606 * configure.in: Remove config-name.h generation.
47607 * configure: Regenerated.
47608 * config-name.in: File removed.
47609 * scripts/config-uname.sh: New file.
47610 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47611 ($(objdir)config-name.h): New target.
47613 * sunrpc/rpc_parse.h: Avoid nested comment.
47615 2010-08-24 Richard Henderson <rth@redhat.com>
47616 Ulrich Drepper <drepper@redhat.com>
47617 H.J. Lu <hongjiu.lu@intel.com>
47619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47621 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47622 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47623 _mm_alignr_epi8 with _mm_loadu_si128.
47624 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47625 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47626 (__m128i_shift_right): Removed.
47627 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47628 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47629 * sysdeps/x86_64/multiarch/varshift.h: New file.
47630 * sysdeps/x86_64/multiarch/varshift.S: New file.
47632 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47634 * configure.in: Move assembler checks to before sysdep dir checking.
47636 2010-08-20 Petr Baudis <pasky@suse.cz>
47638 * LICENSES: Sync the sunrpc license.
47640 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47642 * sunrpc/auth_des.c: Update copyright notice once again.
47643 * sunrpc/auth_none.c: Likewise.
47644 * sunrpc/auth_unix.c: Likewise.
47645 * sunrpc/authdes_prot.c: Likewise.
47646 * sunrpc/authuxprot.c: Likewise.
47647 * sunrpc/bindrsvprt.c: Likewise.
47648 * sunrpc/clnt_gen.c: Likewise.
47649 * sunrpc/clnt_perr.c: Likewise.
47650 * sunrpc/clnt_raw.c: Likewise.
47651 * sunrpc/clnt_simp.c: Likewise.
47652 * sunrpc/clnt_tcp.c: Likewise.
47653 * sunrpc/clnt_udp.c: Likewise.
47654 * sunrpc/clnt_unix.c: Likewise.
47655 * sunrpc/des_crypt.c: Likewise.
47656 * sunrpc/des_soft.c: Likewise.
47657 * sunrpc/get_myaddr.c: Likewise.
47658 * sunrpc/getrpcport.c: Likewise.
47659 * sunrpc/key_call.c: Likewise.
47660 * sunrpc/key_prot.c: Likewise.
47661 * sunrpc/openchild.c: Likewise.
47662 * sunrpc/pm_getmaps.c: Likewise.
47663 * sunrpc/pm_getport.c: Likewise.
47664 * sunrpc/pmap_clnt.c: Likewise.
47665 * sunrpc/pmap_prot.c: Likewise.
47666 * sunrpc/pmap_prot2.c: Likewise.
47667 * sunrpc/pmap_rmt.c: Likewise.
47668 * sunrpc/rpc/auth.h: Likewise.
47669 * sunrpc/rpc/auth_unix.h: Likewise.
47670 * sunrpc/rpc/clnt.h: Likewise.
47671 * sunrpc/rpc/des_crypt.h: Likewise.
47672 * sunrpc/rpc/key_prot.h: Likewise.
47673 * sunrpc/rpc/netdb.h: Likewise.
47674 * sunrpc/rpc/pmap_clnt.h: Likewise.
47675 * sunrpc/rpc/pmap_prot.h: Likewise.
47676 * sunrpc/rpc/pmap_rmt.h: Likewise.
47677 * sunrpc/rpc/rpc.h: Likewise.
47678 * sunrpc/rpc/rpc_des.h: Likewise.
47679 * sunrpc/rpc/rpc_msg.h: Likewise.
47680 * sunrpc/rpc/svc.h: Likewise.
47681 * sunrpc/rpc/svc_auth.h: Likewise.
47682 * sunrpc/rpc/types.h: Likewise.
47683 * sunrpc/rpc/xdr.h: Likewise.
47684 * sunrpc/rpc_clntout.c: Likewise.
47685 * sunrpc/rpc_cmsg.c: Likewise.
47686 * sunrpc/rpc_common.c: Likewise.
47687 * sunrpc/rpc_cout.c: Likewise.
47688 * sunrpc/rpc_dtable.c: Likewise.
47689 * sunrpc/rpc_hout.c: Likewise.
47690 * sunrpc/rpc_main.c: Likewise.
47691 * sunrpc/rpc_parse.c: Likewise.
47692 * sunrpc/rpc_parse.h: Likewise.
47693 * sunrpc/rpc_prot.c: Likewise.
47694 * sunrpc/rpc_sample.c: Likewise.
47695 * sunrpc/rpc_scan.c: Likewise.
47696 * sunrpc/rpc_scan.h: Likewise.
47697 * sunrpc/rpc_svcout.c: Likewise.
47698 * sunrpc/rpc_tblout.c: Likewise.
47699 * sunrpc/rpc_util.c: Likewise.
47700 * sunrpc/rpc_util.h: Likewise.
47701 * sunrpc/rpcinfo.c: Likewise.
47702 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47703 * sunrpc/rpcsvc/key_prot.x: Likewise.
47704 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47705 * sunrpc/rpcsvc/mount.x: Likewise.
47706 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47707 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47708 * sunrpc/rpcsvc/rex.x: Likewise.
47709 * sunrpc/rpcsvc/rstat.x: Likewise.
47710 * sunrpc/rpcsvc/rusers.x: Likewise.
47711 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47712 * sunrpc/rpcsvc/spray.x: Likewise.
47713 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47714 * sunrpc/rtime.c: Likewise.
47715 * sunrpc/svc.c: Likewise.
47716 * sunrpc/svc_auth.c: Likewise.
47717 * sunrpc/svc_authux.c: Likewise.
47718 * sunrpc/svc_raw.c: Likewise.
47719 * sunrpc/svc_run.c: Likewise.
47720 * sunrpc/svc_simple.c: Likewise.
47721 * sunrpc/svc_tcp.c: Likewise.
47722 * sunrpc/svc_udp.c: Likewise.
47723 * sunrpc/svc_unix.c: Likewise.
47724 * sunrpc/svcauth_des.c: Likewise.
47725 * sunrpc/xcrypt.c: Likewise.
47726 * sunrpc/xdr.c: Likewise.
47727 * sunrpc/xdr_array.c: Likewise.
47728 * sunrpc/xdr_float.c: Likewise.
47729 * sunrpc/xdr_mem.c: Likewise.
47730 * sunrpc/xdr_rec.c: Likewise.
47731 * sunrpc/xdr_ref.c: Likewise.
47732 * sunrpc/xdr_sizeof.c: Likewise.
47733 * sunrpc/xdr_stdio.c: Likewise.
47735 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47738 2010-08-19 Andreas Schwab <schwab@redhat.com>
47740 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47742 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47744 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47745 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47746 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47747 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47748 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47749 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47751 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47752 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47753 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47754 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47755 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47756 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47757 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47759 2010-07-26 Anton Blanchard <anton@samba.org>
47761 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47762 * malloc/arena.c (heap_trim): Likewise.
47764 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47766 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47768 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47769 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47771 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47773 * sysdeps/i386/elf/Makefile: New file.
47775 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47777 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47778 from fanotify_init.
47779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47782 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47784 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47786 * sysdeps/multiarch/strcmp.S: Likewise.
47788 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47790 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47791 strncase_l-nonascii.
47792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47793 Add strncase_l-ssse3.
47794 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47795 * sysdeps/x86_64/strcmp.S: Likewise.
47796 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47797 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47798 * sysdeps/x86_64/strncase.S: New file.
47799 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47800 * sysdeps/x86_64/strncase_l.S: New file.
47801 * string/Makefile (strop-tests): Add strncasecmp.
47802 * string/test-strncasecmp.c: New file.
47804 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47807 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47808 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47810 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47812 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47814 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47816 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47817 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47818 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47820 2010-05-01 Alan Modra <amodra@gmail.com>
47822 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47823 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47824 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47825 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47826 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47827 tidying. Don't tail-call __sigjmp_save for static lib.
47828 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47830 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47831 (CALL_MCOUNT): Add eh info, and nop after bl.
47832 (TAIL_CALL_SYSCALL_ERROR): New macro.
47833 (PSEUDO_RET): Use it.
47834 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47835 Correct save location of integer regs and cr.
47836 (_dl_profile_resolve): Correct cr save location. Delete nops
47837 after bl when SHARED. Reduce cfi size a little by better
47838 placement of cfi directives.
47839 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47840 make a stack frame. Instead use parm save area as a temp.
47841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47842 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47844 Don't make a stack frame for parent, use parm save area.
47845 Increase child stack frame to 112 bytes. Don't save unused reg,
47846 and adjust reg usage. Set up cfi on error recovery and
47847 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47849 (__makecontext): Add dummy nop after jump to exit.
47850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47851 Use correct parm save area and cr save, reduce stack frame.
47852 Correct cfi for possible PSEUDO_RET frame setup.
47853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47854 Branch to local label emitted by PSEUDO_RET rather than
47857 2010-08-12 Andreas Schwab <schwab@redhat.com>
47860 * locale/programs/locale.c (print_assignment): New function.
47861 (show_locale_vars): Use it.
47863 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47865 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47867 (struct statfs64): Likewise.
47868 (_STATFS_F_FLAGS): Define.
47869 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47870 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47871 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47872 (ST_VALID): Define locally.
47873 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47874 __statvfs_getflags, use the provided value.
47875 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47876 __ASSUME_STATFS_F_FLAGS.
47878 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47881 Add sys/fanotify.h.
47882 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47883 fanotify_mask for GLIBC_2.13.
47884 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47885 fanotify_init and fanotify_mark.
47886 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47887 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47889 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47891 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47892 prlimit64 for GLIBC_2.13.
47893 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47895 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47898 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47899 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47901 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47903 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47906 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47907 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47909 * nss/Makefile: Add rules to build and run tst-nss-test1.
47910 * shlib-versions: Add entry for libnss_test1.
47911 * nss/nss_test1.c: New file.
47912 * nss/tst-nss-test1.c: New file.
47914 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47915 (__nss_configure_lookup): Set appropriate entry in
47916 __nss_configure_lookup to true.
47917 * nss/nsswitch.h: Define enum with indeces of databases in
47918 databases and __nss_database_custom arrays. Declare
47919 __nss_database_custom.
47920 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47921 to avoid using nscd when custom rules are installed.
47922 * nss/getXXbyYY_r.c: Likewise.
47923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47925 * nss/nss_files/files-parse.c: Whitespace fixes.
47927 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47930 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47931 * posix/fnmatch_loop.c: Likewise.
47933 2010-07-17 Andi Kleen <ak@linux.intel.com>
47935 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47936 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47937 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47938 * Versions.def [GLIBC_2.13]: Add.
47940 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47943 Also fail if tpwd after pwuid call is NULL.
47945 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47947 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47948 when converting to ms.
47950 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47952 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47953 EOPNOTSUPP errors with ENOTTY.
47954 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47955 EOPNOTSUPP errors with ENOTTY.
47957 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47960 Add strcasecmp_l-ssse3.
47961 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47963 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47964 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47965 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47967 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47969 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47971 * string/Makefile (strop-tests): Add strcasecmp.
47972 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47973 strcasecmp_l-nonascii.
47974 (gen-as-const-headers): Add locale-defines.sym.
47975 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47976 * sysdeps/x86_64/strcasecmp.S: New file.
47977 * sysdeps/x86_64/strcasecmp_l.S: New file.
47978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47979 * sysdeps/x86_64/locale-defines.sym: New file.
47980 * string/test-strcasecmp.c: New file.
47982 * string/test-strcasestr.c: Test both ends of the range of characters.
47983 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47985 2010-07-29 Roland McGrath <roland@redhat.com>
47988 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47990 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47992 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47995 2010-07-27 Andreas Schwab <schwab@redhat.com>
47997 * manual/memory.texi (Malloc Tunable Parameters): Document
48000 2010-07-26 Roland McGrath <roland@redhat.com>
48003 * configure.in (-fgnu89-inline check): Set and substitute
48004 gnu89_inline, not libc_cv_gnu89_inline.
48005 * configure: Regenerated.
48006 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48008 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48010 * string/test-strnlen.c: New file.
48011 * string/Makefile (strop-tests): Add strnlen.
48012 * string/tester.c (test_strnlen): Add a few more test cases.
48013 * string/tst-strlen.c: Better error reporting.
48015 * sysdeps/x86_64/strnlen.S: New file.
48017 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48019 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48020 lower-latency instructions.
48022 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48024 * string/test-strcasestr.c: New file.
48025 * string/test-strstr.c: New file.
48026 * string/Makefile (strop-tests): Add strstr and strcasestr.
48027 * string/str-two-way.h: Don't undefine MAX.
48028 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48030 2010-07-21 Andreas Schwab <schwab@redhat.com>
48032 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48033 strcasestr-nonascii.
48034 (CFLAGS-strcasestr-nonascii.c): Define.
48035 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48037 Remove unused attribute.
48039 2010-07-20 Roland McGrath <roland@redhat.com>
48041 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48042 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48043 ld.so.cache was broken. With it, there is no way to disable dsocaps
48044 like LD_HWCAP_MASK can disable hwcaps.
48046 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48048 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48050 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48052 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48053 call in strcasestr.
48054 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48055 __strcasestr_sse42_nonascii.
48056 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48057 strcasestr-nonascii.c.
48058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48060 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48062 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48063 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48064 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48065 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48067 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48072 2010-07-06 Andreas Schwab <schwab@redhat.com>
48075 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48078 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48081 _PC_PIPE_BUF using F_GETPIPE_SZ.
48083 2010-07-05 Roland McGrath <roland@redhat.com>
48085 * manual/arith.texi (Rounding Functions): Fix rint description
48086 implicit in round description.
48088 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48090 * elf/Makefile: Fix linking for a few tests to make recent linker
48093 2010-06-30 Andreas Schwab <schwab@redhat.com>
48095 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48096 $(common-objpfx)libc_nonshared.a.
48098 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48100 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48101 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48102 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48103 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48104 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48105 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48106 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48107 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48122 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48123 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48124 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48125 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48126 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48127 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48128 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48129 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48130 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48131 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48132 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48133 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48149 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48151 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48152 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48153 * string/memmove.c (memmove): Renamed to ...
48154 (MEMMOVE): ...this. Default to memmove.
48155 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48156 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48159 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48160 mempcpy-ssse3-back memmove-ssse3-back.
48161 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48164 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48165 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48166 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48167 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48168 * sysdeps/x86_64/multiarch/memmove.c: New file.
48169 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48170 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48171 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48172 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48173 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48176 (index_Fast_Copy_Backward): Define.
48177 (HAS_ARCH_FEATURE): Define.
48178 (HAS_FAST_REP_STRING): Define.
48179 (HAS_FAST_COPY_BACKWARD): Define.
48181 2010-06-21 Andreas Schwab <schwab@redhat.com>
48183 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48184 Restore proper fallback handling.
48186 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48189 * posix/group_member.c (__group_member): Correct checking loop.
48191 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48192 OOM in getpwuid_r correctly. Return error number when the caller
48193 should return, otherwise -1.
48194 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48195 call returning > 0 value.
48196 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48198 2010-06-07 Andreas Schwab <schwab@redhat.com>
48200 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48201 libc_nonshared.a from targets in modules-names.
48203 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48205 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48208 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48211 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48213 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48215 2010-06-02 Andreas Schwab <schwab@redhat.com>
48217 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48219 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48221 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48227 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48230 2010-06-14 Roland McGrath <roland@redhat.com>
48232 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48234 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48236 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48237 __REDIRECT followed by __THROW.
48238 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48239 * posix/getopt.h (getopt): Likewise.
48241 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48243 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48244 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48245 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48247 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48248 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48250 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48254 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48258 Properly check family and model.
48260 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48262 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48264 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48266 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48268 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48270 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48273 2010-05-19 Andreas Schwab <schwab@redhat.com>
48275 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48278 2010-05-21 Andreas Schwab <schwab@redhat.com>
48280 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48281 and internal_recvmmsg.
48282 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48283 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48284 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48285 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48287 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48288 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48289 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48291 2010-05-20 Andreas Schwab <schwab@redhat.com>
48293 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48295 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48297 POWER7 optimizations.
48298 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48299 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48301 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48303 * version.h: Update for 2.13 development version.
48305 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48308 exceptions. Return 0.
48310 2010-05-07 Roland McGrath <roland@redhat.com>
48312 * elf/ldconfig.c (main): Add a const.
48314 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48316 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48317 (args_options): Add no-idn option.
48318 (ahosts_keys_int): Add idn_flags to ai_flags.
48319 (parse_option): Handle 'i' option to clear idn_flags.
48321 * malloc/malloc.c (_int_free): Possible race in the most recently
48322 added check. Only act on the data if no current modification
48325 See ChangeLog.17 for earlier changes.