1 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5 (FP_UNPACK_RAW_EP): Likewise.
6 (FP_PACK_RAW_E): Likewise.
7 (FP_PACK_RAW_EP): Likewise.
8 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9 (_FP_ISSIGNAN): Likewise.
10 (_FP_ADD_INTERNAL): Likewise.
14 (_FP_TO_INT): Likewise.
15 (_FP_FROM_INT): Likewise.
16 (FP_EXTEND): Likewise.
17 (_FP_DIV_MEAT_N_loop): Likewise.
19 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
21 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
24 2014-06-29 Joseph Myers <joseph@codesourcery.com>
27 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
28 result with correct sign in case of exponents that produce
29 overflow except for X very close to 1.
31 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
33 mktime: merge #if/#ifdef usage from glibc
34 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35 as that works with both Glibc's and Gnulib's style.
36 See thread starting at Siddhesh Poyarekar's bug report at:
37 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
39 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
43 * sysdeps/tile/tilegx/memmove.c: Remove file.
45 2014-06-27 Joseph Myers <joseph@codesourcery.com>
47 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
49 * scripts/soversions.awk: Do not handle or generate ABI lines.
50 * shlib-versions: Remove ABI entries.
51 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
52 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
54 2014-06-27 Roland McGrath <roland@hack.frob.com>
56 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
57 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
58 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
59 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
60 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
61 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
62 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
64 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
66 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
67 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
68 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
69 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
70 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
72 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
73 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
74 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
75 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
76 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
77 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
78 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
80 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
81 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
82 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
83 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
84 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
85 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
87 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
88 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
90 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
91 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
92 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
93 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
95 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
96 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
97 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
98 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
99 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
101 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
104 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
105 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
106 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
107 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
109 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
110 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
112 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
113 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
114 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
115 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
117 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
119 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
120 Identical file removed.
121 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
123 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
124 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
125 Identical file removed.
126 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
127 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
128 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
130 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
131 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
132 Identical file removed.
133 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
134 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
135 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
136 Identical file removed.
137 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
138 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
139 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
140 Identical file removed.
141 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
142 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
144 Identical file removed.
145 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
147 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
148 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
149 Identical file removed.
150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
152 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
153 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
154 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
155 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
156 Identical file removed.
157 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
159 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
161 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
162 Identical file removed.
163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
165 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
166 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
167 Identical file removed.
168 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
170 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
171 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
172 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
173 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
174 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
175 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
177 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
178 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
179 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
181 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
182 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
183 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
184 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
185 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
187 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
190 * nscd/nscd.c (monitor_child): Return exit status of child
191 instead of return value from wait syscall.
193 2014-06-27 Joseph Myers <joseph@codesourcery.com>
195 * configure.ac (libc_commonpagesize): Remove variable.
196 (libc_relro_required): Likewise.
197 (libc_cv_z_relro): Remove configure test.
198 * configure: Regenerated.
199 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
201 (libc_relro_required): Likewise.
202 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
203 (libc_relro_required): Likewise.
204 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
205 (libc_relro_required): Likewise.
206 * sysdeps/arm/preconfigure: Regenerated.
207 * sysdeps/ia64/preconfigure: Remove file.
208 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
210 (libc_relro_required): Likewise.
214 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
215 (__ieee754_yn): Set FE_TONEAREST mode internally and then
216 recompute overflowing results in original rounding mode.
217 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
218 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
219 recompute overflowing results in original rounding mode.
220 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
221 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
222 recompute overflowing results in original rounding mode.
223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
224 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
225 recompute overflowing results in original rounding mode.
226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
227 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
228 recompute overflowing results in original rounding mode.
229 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
230 (libc_feholdsetround_ctx): New macro.
231 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
232 * sysdeps/i386/fpu/libm-test-ulps: Update.
233 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
235 2014-06-26 Joseph Myers <joseph@codesourcery.com>
237 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
238 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
239 corresponding .cpsetup call.
241 2014-06-26 Roland McGrath <roland@hack.frob.com>
243 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
244 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
245 * sysdeps/arm/Makefile [$(subdir) = csu]
246 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
247 (static-only-routines): Add aeabi_read_tp here.
248 (shared-only-routines): Add libc-aeabi_read_tp here.
249 (CFLAGS-libc-start.c): Add -fexceptions here.
250 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
251 (sysdep_routines, static-only-routines, shared-only-routines):
252 Don't add to these here.
253 (CFLAGS-libc-start.c): Likewise.
255 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
256 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
257 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
258 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
259 * sysdeps/arm/Makefile [$(subdir) = rt]
260 (librt-sysdep_routines, librt-shared-only-routines):
261 Append rt-aeabi_unwind_cpp_pr1 here.
262 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
263 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
264 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
265 (libpthread-sysdep_routines, libpthread-shared-only-routines):
266 Append nptl-aeabi_unwind_cpp_pr1 here.
267 (tests): Filter out tst-cleanupx4 here.
268 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
269 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
272 2014-06-26 Joseph Myers <joseph@codesourcery.com>
274 * scripts/list-sources.sh: Do not handle ports specially.
276 2014-06-26 Roland McGrath <roland@hack.frob.com>
278 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
279 * sysdeps/arm/feupdateenv.c: Likewise.
281 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
283 2014-06-26 Joseph Myers <joseph@codesourcery.com>
285 * manual/texinfo.tex: Update to version 2014-05-05.10 with
286 trailing whitespace removed.
287 * scripts/config.guess: Update to version 2014-03-23.
288 * scripts/config.sub: Update to version 2014-05-01
289 * scripts/install-sh: Update to version 2013-12-25.23.
290 * scripts/move-if-change: Update from gnulib.
292 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
294 * debug/memmove_chk.c: Remove pagecopy.h include.
296 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
298 * time/mktime.c (leapyear): Remove inline keyword. The code is now
299 identical to gnulib mktime.
301 2014-06-26 Joseph Myers <joseph@codesourcery.com>
303 * configure.ac: Do not test for machine being rs6000. Do not test
305 * configure: Regenerated.
307 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
309 * configure: Regenerated.
310 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
311 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
312 Remove configure test.
313 * sysdeps/arm/configure: Regenerated.
314 * sysdeps/nptl/configure.ac: Do not check
315 libc_cv_asm_cfi_directives.
316 * sysdeps/nptl/configure: Regenerated.
317 * sysdeps/x86_64/nptl/configure.ac: Remove file.
318 * sysdeps/x86_64/nptl/configure: Remove generated file.
319 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
321 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
323 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
325 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
326 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
327 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
330 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
331 instead of whether it is defined.
332 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
333 * sysdeps/hppa/dl-machine.h: Likewise.
334 * sysdeps/ia64/dl-machine.h: Likewise.
335 * sysdeps/m68k/dl-machine.h: Likewise.
336 * sysdeps/microblaze/dl-machine.h: Likewise.
337 * sysdeps/mips/dl-machine.: Likewise.
338 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
339 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
340 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
341 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
342 * sysdeps/sh/dl-machine.h: Likewise.
343 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
344 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
345 * sysdeps/tile/dl-machine.h: Likewise.
346 * sysdeps/x86_64/dl-machine.h: Likewise.
348 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
350 (verify_persistent_db): Likewise.
352 2014-06-26 Roland McGrath <roland@hack.frob.com>
354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
355 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
357 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
360 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
363 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
365 Identical file removed.
366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
367 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
369 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
371 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
373 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
375 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
378 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
385 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
387 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
389 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
391 Identical file removed.
392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
393 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
395 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
398 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
401 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
403 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
405 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
412 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
415 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
420 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
422 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
424 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
426 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
427 * sysdeps/unix/sysv/linux/s390/Versions
428 (libpthread: GLIBC_2.19): New version set.
429 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
430 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
431 (librt: GLIBC_2.3.3): New version set.
432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
433 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
434 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
435 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
436 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
437 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
438 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
439 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
440 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
441 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
442 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
443 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
444 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
445 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
446 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
447 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
448 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
449 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
450 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
451 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
452 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
453 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
454 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
455 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
456 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
457 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
458 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
459 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
460 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
461 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
462 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
463 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
466 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
467 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
468 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
469 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
470 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
471 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
472 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
473 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
474 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
476 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
478 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
479 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
480 (__libc_vfork): Define the function under this name.
481 [!NOT_IN_libc] (__vfork): Make this an alias.
482 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
483 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
484 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
485 (__libc_vfork): Define the function under this name.
486 [!NOT_IN_libc] (__vfork): Make this an alias.
487 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
488 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
489 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
490 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
491 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
492 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
494 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
495 code that was previously under [RESET_PID].
496 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
497 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
498 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
500 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
501 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
502 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
503 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
504 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
505 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
506 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
507 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
508 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
509 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
510 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
512 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
513 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
514 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
515 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
516 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
517 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
518 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
519 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
521 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
523 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
524 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
525 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
526 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
527 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
528 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
529 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
531 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
533 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
534 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
535 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
536 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
537 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
538 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
539 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
540 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
542 2014-06-25 Roland McGrath <roland@hack.frob.com>
544 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
545 that was previously under [RESET_PID].
546 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
548 2014-06-25 Joseph Myers <joseph@codesourcery.com>
550 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
551 not undefine and redefine.
552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
553 [O_CLOEXEC]: Make code unconditional.
554 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
555 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
557 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
558 conditional variable definition.
559 (shm_open) [O_CLOEXEC]: Make code unconditional.
560 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
563 * configure.ac (USE_REGPARMS): Don't define here.
564 * configure: Regenerated.
565 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
566 * sysdeps/i386/configure: Regenerated.
568 * nptl/createthread.c: Don't include kernel-features.h.
569 * nptl/pthread_cancel.c: Likewise.
570 * nptl/pthread_condattr_setclock.c: Likewise.
571 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
572 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
573 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
574 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
575 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
576 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
577 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
578 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
579 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
580 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
581 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
582 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
583 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
584 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
585 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
586 * nscd/gai.c: Likewise.
587 * nss/nss_db/db-open.c: Likewise.
588 * sysdeps/generic/ldsodefs.h: Likewise.
589 * sysdeps/sh/nptl/tls.h: Likewise.
590 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
591 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
592 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
593 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
594 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
595 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
596 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
597 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
598 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
599 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
600 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
601 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
602 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
603 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
604 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
605 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
606 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
607 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
608 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
609 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
610 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
611 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
612 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
613 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
614 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
615 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
616 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
617 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
618 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
619 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
620 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
621 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
622 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
623 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
624 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
625 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
626 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
627 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
628 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
629 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
630 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
631 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
632 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
633 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
634 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
635 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
636 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
637 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
639 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
640 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
641 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
642 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
643 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
644 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
645 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
670 * sysdeps/unix/sysv/linux/pread.c: Likewise.
671 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
672 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
673 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
674 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
675 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
676 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
677 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
678 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
679 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
680 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
681 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
682 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
683 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
684 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
685 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
686 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
687 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
688 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
689 * sysdeps/unix/sysv/linux/system.c: Likewise.
690 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
691 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
692 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
693 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
694 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
695 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
696 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
698 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
699 * configure: Regenerated.
700 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
702 * configure.ac (base_machine): Do not set specially for particular
704 * configure: Regenerated.
705 * sysdeps/powerpc/preconfigure: Move machine and base_machine
706 settings from configure.ac.
707 * sysdeps/i386/preconfigure: New file.
708 * sysdeps/s390/preconfigure: Likewise.
709 * sysdeps/sh/preconfigure: Likewise.
710 * sysdeps/sparc/preconfigure: Likewise.
712 2014-06-25 Roland McGrath <roland@hack.frob.com>
714 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
715 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
716 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
717 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
718 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
719 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
720 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
721 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
722 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
723 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
724 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
725 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
726 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
727 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
728 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
729 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
730 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
731 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
732 * sysdeps/sparc/sparc64/Makefile: ... appended here.
734 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
735 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
736 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
737 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
738 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
739 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
740 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
741 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
742 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
743 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
744 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
745 * sysdeps/sparc/sparc32/sem_post.c: ... here.
746 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
747 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
748 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
749 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
750 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
751 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
752 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
753 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
754 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
755 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
756 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
757 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
759 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
760 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
761 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
762 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
763 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
764 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
765 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
766 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
767 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
768 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
769 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
770 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
771 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
774 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
779 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
787 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
789 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
791 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
793 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
796 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
799 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
801 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
804 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
806 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
807 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
808 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
809 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
810 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
812 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
815 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
818 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
820 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
821 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
823 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
825 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
826 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
827 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
829 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
832 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
835 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
836 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
837 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
840 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
842 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
844 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
846 2014-06-25 Joseph Myers <joseph@codesourcery.com>
848 * timezone/checktab.awk: Update from tzcode 2014e.
849 * timezone/private.h: Likewise.
850 * timezone/tzfile.h: Likewise.
851 * timezone/zdump.c: Likewise.
852 * timezone/zic.c: Likewise.
854 * sysdeps/unix/sysv/linux/kernel-features.h
855 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
856 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
857 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
858 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
859 Remove conditional code.
861 2014-06-25 Will Newton <will.newton@linaro.org>
863 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
864 (_dl_arm_cap_flags): Add HWCAP2 values.
865 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
866 (_DL_HWCAP_COUNT): Increase to 37.
867 (_DL_HWCAP_LAST): New define.
868 (_DL_HWCAP2_LAST): New define.
869 (_dl_procinfo): Add support for printing
871 (_dl_string_hwcap): Use _dl_hwcap_string.
873 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
877 2014-06-25 Joseph Myers <joseph@codesourcery.com>
879 * README: Do not mention ports directory.
881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
883 * sysdeps/unix/sysv/linux/futimes.c: Do not include
885 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
886 conditional variable definition.
887 (__futimes): Update comment.
888 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
889 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
892 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
893 arguments close to 0.
894 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
896 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
898 * math/auto-libm-test-in: Add more tests of exp10.
899 * math/auto-libm-test-out: Regenerated.
900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
902 * sysdeps/unix/sysv/linux/kernel-features.h
903 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
904 * sysdeps/unix/sysv/linux/readv.c: Do not include
906 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
907 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
908 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
910 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
912 * sysdeps/unix/sysv/linux/writev.c: Do not include
914 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
915 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
916 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
918 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
921 2014-06-25 Will Newton <will.newton@linaro.org>
923 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
924 comment changes throughout the file. Remove checks
925 for HAVE_*_H definitions that are not required.
926 (__gen_tempname): Call abort if an unknown kind value is
929 2014-06-25 Andreas Schwab <schwab@suse.de>
932 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
933 scalbln, scalblnf, scalblnl in libc.
935 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
938 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
939 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
940 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
942 2014-06-24 Roland McGrath <roland@hack.frob.com>
944 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
945 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
946 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
947 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
949 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
950 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
952 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
953 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
954 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
955 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
956 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
957 * sysdeps/x86/bits/pthreadtypes.h: ... here.
958 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
959 * sysdeps/x86/bits/semaphore.h: ... here.
960 * sysdeps/x86/nptl/elide.h: Moved ...
961 * sysdeps/x86/elide.h: ... here.
962 * sysdeps/x86_64/nptl/Implies: File removed.
963 * sysdeps/i386/nptl/Implies: File removed.
965 2014-06-24 Joseph Myers <joseph@codesourcery.com>
968 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
969 return the argument for normal arguments with exponent below -64.
970 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
972 * math/auto-libm-test-in: Add another test of expm1.
973 * math/auto-libm-test-out: Regenerated.
976 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
977 calling __erfcl for arguments at least 16.
978 * math/auto-libm-test-in: Add more tests of erf.
979 * math/auto-libm-test-out: Regenerated.
981 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
982 individual architectures.
983 * sysdeps/unix/sysv/linux/configure: Regenerated.
984 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
985 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
986 * sysdeps/unix/sysv/linux/powerpc/configure.ac
987 (ldd_rewrite_script): Define variable.
988 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
993 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
994 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
995 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
996 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
997 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
998 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
999 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1000 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1002 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1005 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1006 Rename member __data.d to __data.__elision_data.
1008 2014-06-24 Wilco <wdijkstr@arm.com>
1010 * NEWS: Add 16918 to fixed bug list.
1012 2014-06-24 Wilco <wdijkstr@arm.com>
1014 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1016 2014-06-24 Wilco <wdijkstr@arm.com>
1018 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1019 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1020 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1021 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1022 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1023 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1024 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1027 2014-06-24 Wilco <wdijkstr@arm.com>
1029 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1031 2014-06-24 Wilco <wdijkstr@arm.com>
1033 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1034 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1035 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1036 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1038 2014-06-24 Wilco <wdijkstr@arm.com>
1041 * sysdeps/arm/feupdateenv.c (feupdateenv):
1042 Rewrite to reduce FPSCR accesses and fix return value.
1044 2014-06-24 Wilco <wdijkstr@arm.com>
1046 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1047 Optimize to avoid unnecessary FPSCR writes.
1048 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1049 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1050 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1051 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1053 2014-06-24 Wilco <wdijkstr@arm.com>
1055 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1056 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1057 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1058 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1059 Call libc_fetestexcept_vfp.
1060 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1061 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1062 __SOFTFP__ ifdef so that they can be built for softfp.
1064 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1066 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1067 argument type signed char.
1069 * Makerules (check-abi): Dump diff of symlist if the test
1072 2014-06-23 Roland McGrath <roland@hack.frob.com>
1074 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1077 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1078 Remove unused variable ST.
1080 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1085 small arguments before calling __expm1.
1086 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1087 small arguments before calling __expm1f.
1088 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1089 small arguments before calling __expm1l.
1090 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1092 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1093 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1094 spurious underflow for some cosh tests.
1095 * math/auto-libm-test-out: Regenerated.
1096 * sysdeps/i386/fpu/libm-test-ulps: Update.
1099 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1100 (__ieee754_y1): Set errno if return value overflows.
1101 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1102 (__ieee754_y1f): Set errno if return value overflows.
1103 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1104 (__ieee754_y1l): Set errno if return value overflows.
1105 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1106 (__ieee754_y1l): Set errno if return value overflows.
1107 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1108 * math/auto-libm-test-out: Regenerated.
1110 * math/gen-auto-libm-tests.c: Document use of
1111 ignore-zero-inf-sign.
1112 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1113 (input_flags): Add ignore-zero-inf-sign.
1114 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1115 * math/gen-libm-test.pl (generate_testfile): Handle
1116 ignore-zero-inf-sign.
1117 * math/auto-libm-test-in: Mark some cpow tests with
1118 ignore-zero-inf-sign and some with xfail-rounding.
1119 * math/auto-libm-test-out: Regenerated.
1120 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1121 * sysdeps/i386/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1125 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1126 overflowing or underflowing operations take place with sign of
1128 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1129 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1130 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1131 (__ieee754_pow): Recompute overflowing and underflowing results in
1132 original rounding mode.
1133 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1134 (__powl_helper): Allow negative argument X and scale negated value
1135 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1136 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1137 overflowing or underflowing operations take place with sign of
1139 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1141 * math/auto-libm-test-in: Add more tests of pow.
1142 * math/auto-libm-test-out: Regenerated.
1143 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1144 (pow_tonearest_test_data): Remove.
1145 (pow_test_tonearest): Likewise.
1146 (pow_towardzero_test_data): Likewise.
1147 (pow_test_towardzero): Likewise.
1148 (pow_downward_test_data): Likewise.
1149 (pow_test_downward): Likewise.
1150 (pow_upward_test_data): Likewise.
1151 (pow_test_upward): Likewise.
1152 (main): Don't call removed functions.
1153 * sysdeps/i386/fpu/libm-test-ulps: Update.
1154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1156 2014-06-23 Roland McGrath <roland@hack.frob.com>
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1332 2014-06-23 Will Newton <will.newton@linaro.org>
1333 Wilco <wdijkstr@arm.com>
1335 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1336 implementation. Include get-rounding-mode.h.
1337 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1338 [!libc_feholdsetround_noex_ctx]: Define
1339 libc_feholdsetround_noex_ctx.
1340 [!libc_feholdsetround_noexf_ctx]: Define
1341 libc_feholdsetround_noexf_ctx.
1342 [!libc_feholdsetround_noexl_ctx]: Define
1343 libc_feholdsetround_noexl_ctx.
1344 (libc_feholdsetround_ctx): New function.
1345 (libc_feresetround_ctx): New function.
1346 (libc_feholdsetround_noex_ctx): New function.
1347 (libc_feresetround_noex_ctx): New function.
1349 2014-06-23 Roland McGrath <roland@hack.frob.com>
1351 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1352 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1353 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1354 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1355 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1356 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1358 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1359 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1360 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1361 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1362 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1363 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1364 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1365 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1366 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1367 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1368 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1370 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1372 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1374 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1375 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1378 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1380 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1387 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1390 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1395 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1399 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1400 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1401 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1402 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1403 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1406 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1408 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1409 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1410 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1411 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1413 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1414 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1415 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1417 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1419 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1420 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1422 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1423 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1424 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1426 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1427 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1429 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1431 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1432 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1433 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1435 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1436 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1437 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1464 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1467 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1468 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1469 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1470 (IPV6_PMTUDISC_INTERFACE): Likewise.
1471 (IPV6_PMTUDISC_OMIT): Likewise.
1473 2014-06-23 Andreas Schwab <schwab@suse.de>
1475 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1476 Remove unused errout label.
1478 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1480 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1481 macro: hardware supports Vector Crypto instructions.
1483 2014-06-23 Will Newton <will.newton@linaro.org>
1485 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1486 rather than __builtin_expect.
1488 * elf/dl-lookup.c (undefined_msg): Remove variable.
1489 (_dl_lookup_symbol_x): Replace undefined_msg with string
1492 * elf/dl-lookup.c (do_lookup_unique): New function.
1493 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1494 to a separate function.
1496 2014-06-23 Andreas Schwab <schwab@suse.de>
1499 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1500 before reading the next line.
1502 2014-06-23 Will Newton <will.newton@linaro.org>
1504 * test-skeleton.c (signal_handler): Use printf and %m
1505 rather than perror. Use printf rather than fprintf to
1506 stderr. Use puts rather than fputs to stderr.
1509 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1511 * nscd/nscd.c (thread_info_t): Remove typedef.
1512 (thread_info): Remove variable.
1514 2014-06-21 Allan McRae <allan@archlinux.org>
1516 * NEWS: Mention CVE-2014-4043.
1518 2014-06-20 Roland McGrath <roland@hack.frob.com>
1520 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1521 * nptl/smp.h: ... here.
1523 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1525 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1526 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1527 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1528 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1530 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1531 * nptl/stack-aliasing.h: New file.
1532 * sysdeps/i386/i686/stack-aliasing.h: New file.
1533 * sysdeps/i386/i686/nptl/Makefile: File removed.
1534 * sysdeps/x86_64/stack-aliasing.h: New file.
1535 * sysdeps/x86_64/nptl/Makefile
1536 (CFLAGS-pthread_create.c): Variable removed.
1538 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1539 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1541 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1542 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1545 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1547 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1548 (__ASSUME_SIGFRAME_V2): Remove macro.
1549 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1550 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1551 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1552 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1553 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1554 Declare as function. Remove conditional macro definitions.
1555 (__default_rt_sa_restorer): Likewise.
1556 (__default_sa_restorer_v1): Remove declaration.
1557 (__default_sa_restorer_v2): Likewise.
1558 (__default_rt_sa_restorer_v1): Likewise.
1559 (__default_rt_sa_restorer_v2): Likewise.
1560 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1561 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1562 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1564 2014-06-20 Roland McGrath <roland@hack.frob.com>
1566 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1567 (libpthread-routines): Add sysdep.
1568 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1569 * sysdeps/unix/sysv/linux/sparc/Versions
1570 (libpthread: GLIBC_2.3.3): New version set.
1571 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1572 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1573 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1574 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1575 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1576 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1578 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1579 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1580 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1581 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1582 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1583 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1584 * sysdeps/sparc/nptl/sem_init.c: ... here.
1585 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1586 * sysdeps/sparc/nptl/sem_post.c: ... here.
1587 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1588 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1589 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1590 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1591 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1592 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1593 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1594 (libpthread-routines): Add cpu_relax.
1595 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1598 (librt: GLIBC_2.3.3): New version set.
1599 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1600 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1601 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1602 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1603 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1605 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1608 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1609 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1610 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1612 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1614 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1616 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1619 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1623 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1627 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1631 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1635 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1639 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1642 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1643 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1646 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1648 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1650 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1653 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1657 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1659 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1661 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1662 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1663 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1664 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1665 * nscd/nscd.c: Likewise.
1666 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1667 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1668 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1669 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1671 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1672 <kernel-features.h>.
1673 (init_mq_netlink): Remove conditional have_sock_cloexec
1674 definitions. Remove code conditional on have_sock_cloexec < 0.
1675 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1676 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1677 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1678 <kernel-features.h>.
1679 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1680 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1682 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1685 Add tests for memset_chk and memset.
1687 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1690 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1693 * elf/tst-dl-iter-static.c: New file.
1694 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1696 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1699 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1701 * sysdeps/unix/sysv/linux/kernel-features.h
1702 (__ASSUME_F_GETOWN_EX): Remove macro.
1703 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1704 <kernel-features.h>.
1705 (miss_F_GETOWN_EX): Remove variable or macro.
1706 (do_fcntl): Do not check miss_F_GETOWN_EX.
1707 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1709 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1711 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1712 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1713 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1715 * sysdeps/unix/sysv/linux/kernel-features.h
1716 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1717 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1718 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1719 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1721 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1724 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1725 Fix calculation of the symbol's value.
1726 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1727 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1728 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1729 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1730 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1731 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1732 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1733 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1734 (modules-names): Add `tst-armtlsdescmod',
1735 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1736 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1737 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1738 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1739 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1740 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1741 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1742 ($(objpfx)tst-armtlsdescloc): New dependency.
1743 ($(objpfx)tst-armtlsdescextnow): Likewise.
1744 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1745 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1747 * sysdeps/arm/configure: Regenerate.
1749 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1751 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1752 (__atfct_seterrno_2): Likewise.
1753 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1754 <kernel-features.h>.
1755 (__ASSUME_ATFCTS): Do not undefine and redefine.
1756 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1757 (__have_atfcts): Remove conditional definition.
1758 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1759 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1760 unreachable if [__ASSUME_ATFCTS].
1761 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1762 not undefine and redefine.
1763 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1764 <kernel-features.h>.
1765 (faccessat) [__NR_faccessat]: Make code unconditional.
1766 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1767 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1768 <kernel-features.h>.
1769 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1770 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1771 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1772 <kernel-features.h>.
1773 (fchownat) [__NR_fchownat]: Make code unconditional.
1774 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1775 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1776 <kernel-features.h>.
1777 (futimesat) [__NR_futimesat]: Make code unconditional.
1778 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1779 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1780 <kernel-features.h>.
1781 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1782 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1783 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1784 <kernel-features.h>.
1785 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1786 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1787 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1788 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1789 <kernel-features.h>.
1790 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1791 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1792 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1793 <kernel-features.h>.
1794 (linkat) [__NR_linkat]: Make code unconditional.
1795 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1796 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1797 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1798 <kernel-features.h>.
1799 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1800 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1801 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1802 <kernel-features.h>.
1803 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1804 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1805 * sysdeps/unix/sysv/linux/openat.c: Do not include
1806 <kernel-features.h>.
1807 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1808 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1809 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1810 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1811 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1812 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1813 <kernel-features.h>.
1814 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1815 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1816 result of INLINE_SYSCALL directly, not via int variable.
1817 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1818 <kernel-features.h>.
1819 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1820 (renameat) [__NR_renameat]: Make code unconditional.
1821 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1823 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1824 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1825 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1826 (__ASSUME_ATFCTS): Do not undefine and redefine.
1827 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1828 <kernel-features.h>.
1829 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1830 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1831 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1832 <kernel-features.h>.
1833 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1834 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1835 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1836 (__ASSUME_ATFCTS): Do not undefine and redefine.
1837 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1838 <kernel-features.h>.
1839 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1840 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1841 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1842 <kernel-features.h>.
1843 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1844 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1846 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1848 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1850 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
1853 * posix/regcomp.c (parse_reg_exp): Deallocate partially
1854 constructed tree before returning error.
1855 * posix/bug-regexp36.c: Expand test case.
1857 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1860 * math/libm-test.inc (scalbln_test_date):
1861 Add errno expectations.
1862 * math/w_scalblnf.c: New File.
1863 Add wrapper which checks for setting errno to ERANGE.
1864 Add weak_alias for corresponding scalbln function.
1865 * math/w_scalbln.c: Likewise.
1866 * math/w_scalblnl.c: Likewise.
1867 * math/Makefile (libm-calls): Add w_scalbln.
1868 * sysdeps/ieee754/flt-32/s_scalblnf.c:
1869 Remove weak_alias for corresponding scalbln function.
1870 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1874 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1875 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1876 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1877 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1878 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1879 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1880 Remove long_double_symbol for scalblnl function in libm, libc.
1881 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1882 Add wrapper which checks for setting errno to ERANGE.
1883 Add long_double_symbol for scalblnl function in libm, libc.
1884 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1885 Remove long_double_symbol for scalblnl in libm.
1886 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1887 Add wrapper which checks for setting errno to ERANGE.
1888 Add long_double_symbol for scalblnl function in libm.
1889 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1890 Do not use wrapper because of own implementation.
1892 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
1894 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1895 3 bytes for __pad1 for x32.
1896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1898 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
1899 H.J. Lu <hongjiu.lu@intel.com>
1901 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1902 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1903 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1904 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1905 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1907 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
1910 * posix/regcomp.c (parse_expression): Deallocate partially
1911 constructed tree before returning error.
1912 * posix/Makefile.c (tests): Add bug-regex36.
1913 (generated): Add bug-regex36.mtrace.
1914 (tests-special): Add $(objpfx)bug-regex36-mem.out
1915 (bug-regex36-ENV): New variable.
1916 ($(objpfx)bug-regex36-mem.out): New rule.
1917 * posix/bug-regex36.c: New file.
1919 2014-06-19 Will Newton <will.newton@linaro.org>
1921 * malloc/malloc.c (systrim): If extra is zero then return
1924 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1926 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1928 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
1930 * sysdeps/aarch64/strchr.S: New file.
1932 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1935 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1936 from arguments -2 or below.
1937 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1938 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1940 2014-06-18 Andreas Schwab <schwab@suse.de>
1943 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1944 of a bracket expr not to run off the end of the string.
1945 * posix/Makefile (tests): Add tst-fnmatch3.
1946 * posix/tst-fnmatch3.c: New file.
1948 2014-06-18 Joseph Myers <joseph@codesourcery.com>
1950 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1951 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1952 [$(cross-compiling) = no]: Likewise.
1953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1954 [$(cross-compiling) = no]: Likewise.
1956 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1959 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1960 double, adjusted for any remainder from the high double.
1961 * math/libm-test.inc (nearbyint): Add tests.
1964 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1966 * nptl/sysdeps/powerpc/Makefile: Moved ...
1967 * sysdeps/powerpc/nptl/Makefile: ... here.
1968 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1969 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1970 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1971 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1972 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1973 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1974 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1975 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1976 * nptl/sysdeps/powerpc/tls.h: Moved ...
1977 * sysdeps/powerpc/nptl/tls.h: ... here.
1979 2014-06-16 Joseph Myers <joseph@codesourcery.com>
1982 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1983 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1984 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1985 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1986 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1987 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1988 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1989 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1990 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1992 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
1994 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1996 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
1998 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2001 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2004 2014-06-16 Florian Weimer <fweimer@redhat.com>
2007 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2008 non-executed part of the test.
2010 2014-06-16 Andreas Schwab <schwab@suse.de>
2012 * string/bits/string2.h (strdup, strndup): Update feature guard.
2014 2014-06-14 David S. Miller <davem@davemloft.net>
2016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2018 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2020 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2021 that was previously under [RESET_PID].
2022 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2024 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2025 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2026 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2027 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2028 (__libc_vfork): New strong alias.
2029 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2031 2014-06-14 Andi Kleen <ak@linux.intel.com>
2033 * sysdeps/generic/elide.h: New file.
2035 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2037 * Makefile (installed-headers): Adjust path of pthread.h header.
2039 2014-06-13 Roland McGrath <roland@hack.frob.com>
2041 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2042 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2043 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2044 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2046 * nptl/sysdeps/s390/Makefile: Moved ...
2047 * sysdeps/s390/nptl/Makefile: ... here.
2048 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2049 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2050 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2051 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2052 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2053 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2054 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2055 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2056 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2057 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2058 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2059 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2060 * nptl/sysdeps/s390/tls.h: Moved ...
2061 * sysdeps/s390/nptl/tls.h: ... here.
2063 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2064 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2066 2014-06-13 David S. Miller <davem@davemloft.net>
2068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2071 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2076 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2077 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2079 Remove RESET_PID cpp guards.
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2081 Remove RESET_PID cpp guards.
2082 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2084 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2086 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2089 2014-06-13 Andi Kleen <ak@linux.intel.com>
2091 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2092 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2093 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2094 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2095 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2096 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2097 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2098 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2099 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2100 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2101 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2102 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2103 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2104 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2105 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2106 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2107 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2108 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2109 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2110 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2112 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2113 (pthread_rwlock_rdlock): Add elision.
2114 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2115 (pthread_rwlock_wrlock): Add elision.
2116 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2117 (pthread_rwlock_trywrlock): Add elision.
2118 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2119 (pthread_rwlock_tryrdlock): Add elision.
2120 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2121 (pthread_rwlock_tryrdlock): Add elision unlock.
2122 * nptl/sysdeps/pthread/pthread.h:
2123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2124 (PTHREAD_RWLOCK_INITIALIZER,
2125 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2126 Handle new elision field.
2127 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2128 * sysdeps/arm/nptl/bits/pthreadtypes.h
2129 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2130 * sysdeps/sh/nptl/bits/pthreadtypes.h
2131 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2132 * sysdeps/tile/nptl/bits/pthreadtypes.h
2133 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2134 * sysdeps/a/nptl/bits/pthreadtypes.h
2135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2136 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2137 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2138 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2139 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2140 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2141 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2142 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2144 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2145 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2146 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2147 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2148 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2150 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2152 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2153 (elision_init): Set try_xbegin to zero when no RTM.
2154 * sysdeps/x86/nptl/bits/pthreadtypes.h
2155 (pthread_rwlock_t): Change __pad1 to __rwelision.
2156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2158 2014-06-13 Andi Kleen <ak@linux.intel.com>
2160 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2161 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2162 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2163 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2165 2014-06-13 Meador Inge <meadori@codesourcery.com>
2168 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2169 that the cached result has been set before returning it.
2171 2014-06-12 Roland McGrath <roland@hack.frob.com>
2173 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2174 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2175 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2176 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2177 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2178 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2180 * nptl/sysdeps/sparc/Makefile: Moved ...
2181 * sysdeps/sparc/nptl/Makefile: ... here.
2182 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2183 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2184 * nptl/sysdeps/sparc/tls.h: Moved ...
2185 * sysdeps/sparc/nptl/tls.h: ... here.
2186 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2187 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2188 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2189 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2190 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2191 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2192 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2193 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2194 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2195 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2196 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2197 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2198 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2199 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2200 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2201 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2202 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2203 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2205 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2206 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2208 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2209 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2211 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2212 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2215 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2217 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2218 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2220 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2221 (struct list_links): Type removed.
2222 (struct thread_node, struct timer_node): Replace struct list_links
2223 with struct list_head.
2224 (list_unlink_ip): Likewise.
2225 * sysdeps/pthread/timer_routines.c
2226 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2227 (list_append, list_insbefore): Likewise.
2228 (list_init): Function removed.
2229 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2230 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2231 * sysdeps/pthread/Makefile: ... here, new file.
2233 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2234 * sysdeps/nptl/Implies: ... here.
2235 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2236 * nptl/sysdeps/pthread/list.h: Moved ...
2237 * include/list.h: ... here.
2238 * nptl/sysdeps/pthread/createthread.c: Moved ...
2239 * nptl/createthread.c: ... here.
2240 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2241 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2242 * nptl/pt-longjmp.c: ... here.
2243 * nptl/sysdeps/pthread/Makefile: Moved ...
2244 * sysdeps/nptl/Makefile: ... here.
2245 * nptl/sysdeps/pthread/Subdirs: Moved ...
2246 * sysdeps/nptl/Subdirs: ... here.
2247 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2248 * sysdeps/nptl/aio_misc.h: ... here.
2249 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2250 * sysdeps/nptl/bits/libc-lock.h: ... here.
2251 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2252 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2253 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2254 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2255 * nptl/sysdeps/pthread/configure: Moved ...
2256 * sysdeps/nptl/configure: ... here.
2257 * nptl/sysdeps/pthread/configure.ac: Moved ...
2258 * sysdeps/nptl/configure.ac: ... here.
2259 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2260 * sysdeps/nptl/gai_misc.h: ... here.
2261 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2262 * sysdeps/nptl/librt-cancellation.c: ... here.
2263 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2264 * sysdeps/nptl/malloc-machine.h: ... here.
2265 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2266 * sysdeps/nptl/pthread-functions.h: ... here.
2267 * nptl/sysdeps/pthread/pthread.h: Moved ...
2268 * sysdeps/nptl/pthread.h: ... here.
2269 * nptl/sysdeps/pthread/setxid.h: Moved ...
2270 * sysdeps/nptl/setxid.h: ... here.
2271 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2272 * sysdeps/nptl/sigfillset.c: ... here.
2273 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2274 * sysdeps/nptl/tcb-offsets.h: ... here.
2275 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2276 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2277 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2278 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2279 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2280 * sysdeps/pthread/allocalim.h: ... here.
2281 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2282 * sysdeps/pthread/bits/sigthread.h: ... here.
2283 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2284 * sysdeps/pthread/flockfile.c: ... here.
2285 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2286 * sysdeps/pthread/ftrylockfile.c: ... here.
2287 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2288 * sysdeps/pthread/funlockfile.c: ... here.
2289 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2290 * sysdeps/pthread/posix-timer.h: ... here.
2291 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2292 * sysdeps/pthread/timer_create.c: ... here.
2293 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2294 * sysdeps/pthread/timer_delete.c: ... here.
2295 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2296 * sysdeps/pthread/timer_getoverr.c: ... here.
2297 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2298 * sysdeps/pthread/timer_gettime.c: ... here.
2299 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2300 * sysdeps/pthread/timer_routines.c: ... here.
2301 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2302 * sysdeps/pthread/timer_settime.c: ... here.
2303 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2304 * sysdeps/pthread/tst-timer.c: ... here.
2305 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2306 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2308 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2309 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2311 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2312 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2313 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2314 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2315 Update #include target.
2316 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2317 * sysdeps/i386/i686/nptl/Makefile: ... here.
2318 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2319 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2320 Update #include target.
2321 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2322 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2323 * nptl/sysdeps/i386/Makefile: Moved ...
2324 * sysdeps/i386/nptl/Makefile: ... here.
2325 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2326 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2327 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2328 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2329 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2330 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2331 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2332 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2333 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2334 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2335 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2336 * nptl/sysdeps/i386/tls.h: Moved ...
2337 * sysdeps/i386/nptl/tls.h: ... here.
2339 * sysdeps/sh/Makefile [$(subdir) = csu]
2340 (gen-as-const-headers): Add tcb-offsets.sym.
2341 * nptl/sysdeps/sh/Makefile: File removed.
2342 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2343 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2344 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2345 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2346 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2347 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2348 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2349 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2350 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2351 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2352 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2353 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2354 * nptl/sysdeps/sh/tls.h: Moved ...
2355 * sysdeps/sh/nptl/tls.h: ... here.
2356 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2357 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2358 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2359 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2360 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2361 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2362 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2363 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2364 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2365 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2366 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2367 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2368 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2369 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2370 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2371 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2372 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2373 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2374 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2375 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2377 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2378 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2379 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2380 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2382 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2383 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2385 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2387 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2389 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2391 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2393 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2395 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2397 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2399 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2400 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2401 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2402 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2403 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2405 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2407 * posix/spawn_faction_addopen.c: Include string.h.
2409 2014-06-11 Roland McGrath <roland@hack.frob.com>
2411 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2412 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2413 * nptl/sysdeps/x86_64/Makefile: Moved ...
2414 * sysdeps/x86_64/nptl/Makefile: ... here.
2415 * nptl/sysdeps/x86_64/configure: Moved ...
2416 * sysdeps/x86_64/nptl/configure: ... here.
2417 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2418 * sysdeps/x86_64/nptl/configure.ac: ... here.
2419 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2420 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2421 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2422 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2423 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2424 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2425 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2426 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2427 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2428 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2429 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2430 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2431 * nptl/sysdeps/x86_64/tls.h: Moved ...
2432 * sysdeps/x86_64/nptl/tls.h: ... here.
2433 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2434 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2435 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2436 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2438 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2440 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2444 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2446 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2448 [POSIX] (off_t): Likewise.
2449 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2450 [POSIX] (S_ISBLK): Require macro.
2451 [POSIX] (S_ISCHR): Likewise.
2452 [POSIX] (S_ISDIR): Likewise.
2453 [POSIX] (S_ISFIFO): Likewise.
2454 [POSIX] (S_ISREG): Likewise.
2455 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2457 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2459 [POSIX] (time_t): Likewise.
2460 [POSIX] (timer_t): Likewise.
2462 2014-06-11 Florian Weimer <fweimer@redhat.com>
2465 * posix/spawn_int.h (struct __spawn_action): Make the path string
2466 non-const to support deallocation.
2467 * posix/spawn_faction_addopen.c
2468 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2469 * posix/spawn_faction_destroy.c
2470 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2471 path in all spawn_do_open actions.
2472 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2473 posix_spawn_file_actions_addopen.
2475 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2477 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2478 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2479 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2480 conditional code always true.
2481 (__libc_vfork): New alias.
2483 2014-06-11 Roland McGrath <roland@hack.frob.com>
2485 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2486 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2488 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2490 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2491 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2493 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2494 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2496 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2497 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2499 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2501 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2502 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2503 multiarch strcmp for PPC64.
2504 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2505 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2507 multiarch optimizations.
2508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2509 (__libc_ifunc_impl_list): Likewise.
2511 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2513 * benchtests/scripts/validate_benchout.py: New script.
2514 * benchtests/Makefile (bench-func): Call it.
2515 * benchtests/scripts/benchout.schema.json: New file.
2517 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2519 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2520 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2521 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2522 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2523 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2524 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2525 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2526 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2527 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2528 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2529 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2530 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2531 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2532 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2533 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2534 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2617 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2639 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2640 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2641 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2642 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2644 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2646 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2647 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2648 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2649 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2650 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2651 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2652 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2653 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2654 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2655 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2656 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2657 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2660 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2661 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2663 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2664 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2665 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2668 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2669 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2670 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2671 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2672 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2673 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2674 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2676 2014-06-10 Wilco <wdijkstr@arm.com>
2678 * math/test-fenv-return.c: New file.
2679 * math/Makefile: Add new test test-fenv-return.
2681 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2684 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2686 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2687 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2688 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2689 0.0L for an argument of 1.0L.
2690 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2692 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2693 value when x - 1 is zero.
2694 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2695 * sysdeps/i386/fpu/libm-test-ulps: Update.
2696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2698 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2701 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2703 2014-06-09 Roland McGrath <roland@hack.frob.com>
2705 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2706 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2708 2014-06-09 Roland McGrath <roland@hack.frob.com>
2710 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2711 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2713 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2714 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2716 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2717 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2719 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2720 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2722 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2723 if not already defined.
2724 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2725 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2726 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2727 (TLS_INIT_TP): Use it.
2728 (TLS_DEFINE_INIT_TP): New macro.
2729 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2731 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2733 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2735 [POSIX] (IXANY): Likewise.
2736 [POSIX] (OLCUC): Likewise.
2737 [POSIX || POSIX2008] (CBAUD): Do not allow.
2738 [POSIX || POSIX2008] (DEFECHO): Likewise.
2739 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2740 [POSIX || POSIX2008] (ECHOKE): Likewise.
2741 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2742 [POSIX || POSIX2008] (EXTA): Likewise.
2743 [POSIX || POSIX2008] (EXTB): Likewise.
2744 [POSIX || POSIX2008] (FLUSHO): Likewise.
2745 [POSIX || POSIX2008] (LOBLK): Likewise.
2746 [POSIX || POSIX2008] (PENDIN): Likewise.
2747 [POSIX || POSIX2008] (SWTCH): Likewise.
2748 [POSIX || POSIX2008] (VDISCARD): Likewise.
2749 [POSIX || POSIX2008] (VDSUSP): Likewise.
2750 [POSIX || POSIX2008] (VLNEXT): Likewise.
2751 [POSIX || POSIX2008] (VREPRINT): Likewise.
2752 [POSIX || POSIX2008] (VSTATUS): Likewise.
2753 [POSIX || POSIX2008] (VWERASE): Likewise.
2754 (B*): Change to B[0123456789]*.
2755 * conform/data/time.h-data [POSIX || UNIX98]
2756 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2757 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2758 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2759 [POSIX] (tm_*): Do not allow.
2761 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2763 * Makefile (install): Don't set LANGUAGE.
2764 * Makefile.in (install): Likewise.
2765 * assert/Makefile (test-assert-ENV): Remove variable.
2766 (test-assert-perr-ENV): Likewise.
2767 * elf/Makefile (neededtest4-ENV): Likewise.
2768 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2769 [$(cross-compiling) = no]: Don't set LANGUAGE.
2770 * io/ftwtest-sh (LANG): Remove variable.
2771 * libio/Makefile (tst-widetext-ENV): Likewise.
2772 * manual/install.texi (Running make install): Don't refer to
2773 environment settings for make install.
2774 * INSTALL: Regenerated.
2775 * nptl/tst-tls6.sh: Don't set LANG.
2776 * posix/globtest.sh (LANG): Remove variable.
2777 * string/Makefile (tester-ENV): Likewise.
2778 (inl-tester-ENV): Likewise.
2779 (noinl-tester-ENV): Likewise.
2780 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2781 [$(cross-compiling) = no]: Don't set LANGUAGE.
2782 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2783 without explicit environment settings.
2785 2014-06-06 Roland McGrath <roland@hack.frob.com>
2787 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2788 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2789 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2790 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2792 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2794 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2795 other files in the crypt directory.
2796 * crypt/crypt.c: Remove duplicate includes.
2797 * crypt/crypt-entry.c: Likewise.
2798 * crypt/crypt_util.c: Likewise.
2800 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2802 * Makeconfig (run-program-env): New variable.
2803 (run-program-prefix-before-env): Likewise.
2804 (run-program-prefix-after-env): Likewise.
2805 (run-program-prefix): Define in terms of new variables.
2806 (built-program-cmd-before-env): New variable.
2807 (built-program-cmd-after-env): Likewise.
2808 (built-program-cmd): Define in terms of new variables.
2809 (test-program-prefix-before-env): New variable.
2810 (test-program-prefix-after-env): Likewise.
2811 (test-program-prefix): Define in terms of new variables.
2812 (test-program-cmd-before-env): New variable.
2813 (test-program-cmd-after-env): Likewise.
2814 (test-program-cmd): Define in terms of new variables.
2815 * Rules (make-test-out): Use $(run-program-env).
2816 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2817 (help): Do not mention environment variables. Mention
2818 --timeoutfactor option.
2819 (timeoutfactor): New variable.
2820 (blacklist_exports): Remove function.
2821 (exports): Remove variable.
2822 (command): Do not include ${exports}.
2823 * manual/install.texi (Configuring and compiling): Do not mention
2824 test wrappers preserving environment variables. Mention that last
2825 assignment to a variable must take precedence.
2826 * INSTALL: Regenerated.
2827 * benchtests/Makefile (run-bench): Use $(run-program-env).
2828 * catgets/Makefile ($(objpfx)test1.cat): Use
2829 $(built-program-cmd-before-env), $(run-program-env) and
2830 $(built-program-cmd-after-env).
2831 ($(objpfx)test2.cat): Do not specify environment variables
2833 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2834 $(run-program-env) and $(built-program-cmd-after-env).
2835 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2836 $(run-program-env) and $(test-program-cmd-after-env).
2837 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2839 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2840 run_program_env and test_program_cmd_after_env arguments.
2841 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2842 * elf/tst-pathopt.sh: Use run_program_env argument.
2843 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2844 $(test-wrapper-env) and $(run-program-env).
2845 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2846 run_program_env arguments.
2847 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2848 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2849 $(test-program-prefix-before-env), $(run-program-env) and
2850 $(test-program-prefix-after-env).
2851 ($(objpfx)tst-gettext2.out): Likewise.
2852 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2853 run_program_env and test_program_prefix_after_env arguments.
2854 * intl/tst-gettext2.sh: Likewise.
2855 * intl/tst-gettext4.sh: Do not set environment variables
2857 * intl/tst-gettext6.sh: Likewise.
2858 * intl/tst-translit.sh: Likewise.
2859 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2860 $(test-program-prefix-before-env), $(run-program-env) and
2861 $(test-program-prefix-after-env).
2862 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2863 run_program_env and test_program_prefix_after_env arguments.
2864 * math/Makefile (run-regen-ulps): Use $(run-program-env).
2865 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2866 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
2867 explicitly with each use of ${test_wrapper_env}.
2868 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2869 $(test-program-prefix-before-env), $(run-program-env) and
2870 $(test-program-prefix-after-env).
2871 * posix/tst-getconf.sh: Do not set environment variables
2873 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2874 run_program_env and test_program_prefix_after_env arguments.
2875 * stdio-common/tst-printf.sh: Do not set environment variables
2877 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2878 $(test-program-prefix-before-env), $(run-program-env) and
2879 $(test-program-prefix-after-env).
2880 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2881 run_program_env and test_program_prefix_after_env arguments.
2882 Split $test calls into $test_pre and $test.
2883 * timezone/Makefile (build-testdata): Use
2884 $(built-program-cmd-before-env), $(run-program-env) and
2885 $(built-program-cmd-after-env).
2887 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2889 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2890 strlen for non SHARED builds.
2892 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2894 * nptl/allocatestack.c (check_list): Inlined function...
2895 (__reclaim_stacks): ... here.
2897 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2900 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2903 2014-06-05 Joseph Myers <joseph@codesourcery.com>
2905 * Rules (make-test-out): Include
2906 LOCPATH=$(common-objpfx)localedata in default environment.
2907 * debug/Makefile (tst-chk1-ENV): Remove variable.
2908 (tst-chk2-ENV): Likewise.
2909 (tst-chk3-ENV): Likewise.
2910 (tst-chk4-ENV): Likewise.
2911 (tst-chk5-ENV): Likewise.
2912 (tst-chk6-ENV): Likewise.
2913 (tst-lfschk1-ENV): Likewise.
2914 (tst-lfschk2-ENV): Likewise.
2915 (tst-lfschk3-ENV): Likewise.
2916 (tst-lfschk4-ENV): Likewise.
2917 (tst-lfschk5-ENV): Likewise.
2918 (tst-lfschk6-ENV): Likewise.
2919 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2920 (tst-iconv7-ENV): Likewise.
2921 * intl/Makefile (LOCPATH-ENV): Likewise.
2922 (tst-codeset-ENV): Likewise.
2923 (tst-gettext3-ENV): Likewise.
2924 (tst-gettext5-ENV): Likewise.
2925 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2926 (tst-fopenloc-ENV): Likewise.
2927 (tst-fgetws-ENV): Remove variable.
2928 (tst-ungetwc1-ENV): Likewise.
2929 (tst-ungetwc2-ENV): Likewise.
2930 (bug-ungetwc2-ENV): Likewise.
2931 (tst-swscanf-ENV): Likewise.
2932 (bug-ftell-ENV): Likewise.
2933 (tst-fgetwc-ENV): Likewise.
2934 (tst-fseek-ENV): Likewise.
2935 (tst-ftell-partial-wide-ENV): Likewise.
2936 (tst-ftell-active-handler-ENV): Likewise.
2937 (tst-ftell-append-ENV): Likewise.
2938 * posix/Makefile (tst-fnmatch-ENV): Likewise.
2939 (tst-regexloc-ENV): Likewise.
2940 (bug-regex1-ENV): Likewise.
2941 (tst-regex-ENV): Likewise.
2942 (tst-regex2-ENV): Likewise.
2943 (bug-regex5-ENV): Likewise.
2944 (bug-regex6-ENV): Likewise.
2945 (bug-regex17-ENV): Likewise.
2946 (bug-regex18-ENV): Likewise.
2947 (bug-regex19-ENV): Likewise.
2948 (bug-regex20-ENV): Likewise.
2949 (bug-regex22-ENV): Likewise.
2950 (bug-regex23-ENV): Likewise.
2951 (bug-regex25-ENV): Likewise.
2952 (bug-regex26-ENV): Likewise.
2953 (bug-regex30-ENV): Likewise.
2954 (bug-regex32-ENV): Likewise.
2955 (bug-regex33-ENV): Likewise.
2956 (bug-regex34-ENV): Likewise.
2957 (bug-regex35-ENV): Likewise.
2958 (tst-rxspencer-ENV): Likewise.
2959 (tst-rxspencer-no-utf8-ENV): Likewise.
2960 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2961 (tst-sscanf-ENV): Likewise.
2962 (tst-swprintf-ENV): Likewise.
2963 (tst-swscanf-ENV): Likewise.
2964 (test-vfprintf-ENV): Likewise.
2965 (scanf13-ENV): Likewise.
2966 (bug14-ENV): Likewise.
2967 (tst-grouping-ENV): Likewise.
2968 * stdlib/Makefile (tst-strtod-ENV): Likewise.
2969 (tst-strtod3-ENV): Likewise.
2970 (tst-strtod4-ENV): Likewise.
2971 (tst-strtod5-ENV): Likewise.
2972 (testmb2-ENV): Likewise./
2973 * string/Makefile (tst-strxfrm-ENV): Likewise.
2974 (tst-strxfrm2-ENV): Likewise.
2975 (bug-strcoll1-ENV): Likewise.
2976 (test-strcasecmp-ENV): Likewise.
2977 (test-strncasecmp-ENV): Likewise.
2978 * time/Makefile (tst-strptime-ENV): Likewise.
2979 (tst-ftime_l-ENV): Likewise.
2980 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2981 (tst-mbrtowc-ENV): Likewise.
2982 (tst-wcrtomb-ENV): Likewise.
2983 (tst-mbrtowc2-ENV): Likewise.
2984 (tst-c16c32-1-ENV): Likewise.
2985 (tst-mbsnrtowcs-ENV): Likewise.
2987 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
2989 * manual/resource.texi (How to get information about the memory
2990 subsystem?): Fix typo.
2991 Reported by Peon de la Parra Ivan <peon@keba.com>
2993 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
2996 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2997 (pthread_spin_lock): Branch out of spin loop to proper location.
2998 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2999 (pthread_spin_lock): Likewise.
3001 * nptl/tst-spin4.c: New test.
3002 * nptl/Makefile (tests): Add tst-spin4.
3004 2014-06-03 Andreas Schwab <schwab@suse.de>
3007 * resolv/res_send.c (send_dg): Reload file descriptor after
3010 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3012 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3014 2014-06-03 Richard Henderson <rth@redhat.com>
3016 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3017 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3018 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3019 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3020 in the SAVE_PID block.
3021 (__libc_vfork): New alias.
3022 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3024 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3025 child in registers, not on the stack. Remove RESET_PID conditionals.
3026 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3028 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3030 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3032 2014-06-03 Wilco <wdijkstr@arm.com>
3034 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3035 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3036 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3037 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3038 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3041 2014-06-03 Wilco <wdijkstr@arm.com>
3043 * sysdeps/aarch64/fpu/math_private.h
3044 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3045 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3046 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3047 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3050 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3052 * crypt/crypt-private.h: Include ufc-crypt.h.
3053 (__b64_from_24bit): Declare extern.
3054 * crypt/crypt_util.c(__b64_from_24bit): New function.
3055 (b64t): New static const variable.
3056 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3057 (b64t): Remove variable.
3058 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3059 * crypt/sha256-crypt.c: Include crypt-private.h.
3060 (b64t): Remove variable.
3061 (__sha256_crypt_r): Remove b64_from_24bit and replace
3062 with __b64_from_24bit.
3063 * crypt/sha512-crypt.c: Likewise.
3065 2014-06-02 Roland McGrath <roland@hack.frob.com>
3067 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3068 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3069 Label the code __libc_vfork rather than __vfork.
3070 [!NOT_IN_libc] (vfork): Define as weak alias.
3071 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3072 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3073 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3075 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3077 * malloc/malloc.c (malloc_info): Fix format specifier for
3080 2014-06-02 Wilco <wdijkstr@arm.com>
3082 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3085 2014-06-02 Wilco <wdijkstr@arm.com>
3088 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3089 Rewrite to reduce FPCR/FPSR accesses.
3091 2014-06-01 David S. Miller <davem@davemloft.net>
3093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3095 2014-05-31 David S. Miller <davem@davemloft.net>
3097 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3098 to occur in round to nearest mode when |x| >= 2.0
3100 2014-05-30 Richard Henderson <rth@twiddle.net>
3102 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3103 (PSEUDO_RET_NOERRNO): Remove.
3104 (ret): Don't redefine.
3105 (ret_NOERRNO): Define in terms of ret.
3106 (ret_ERRVAL): Likewise.
3108 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3109 use of PSEUDO_RET; perform the error check directly.
3111 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3113 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3116 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3118 * malloc/malloc (malloc_info): Fix formatting.
3120 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3121 Roland McGrath <roland@hack.frob.com>
3123 * malloc/malloc (malloc_info): Also print mmapped statistics.
3125 2014-05-30 Roland McGrath <roland@hack.frob.com>
3127 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3128 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3130 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3132 * malloc/malloc.c (malloc_info): Inline mi_arena.
3134 2014-05-29 Richard Henderson <rth@twiddle.net>
3136 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3137 Remove comma before expanding ASM_ARGS_##nr.
3138 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3139 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3141 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3142 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3143 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3144 (ASM_ARGS_1): Add leading comma.
3146 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3147 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3148 to __errno_location.
3149 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3150 Remove the expected plt for __errno_location.
3152 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3153 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3156 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3157 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3158 it and break it down.
3159 (DOCARGS_0, DOCARGS_1): Do nothing.
3160 (DOCARGS_2): Update to store into the new stack frame.
3161 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3162 (UNDOCARGS_1): Update to restore from the new stack frame.
3163 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3164 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3167 (SINGLE_THREAD_P): New parameter for result regno.
3168 (PSEUDO): Update to match; use cbz instead of beq.
3170 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3171 Use ENTRY to define the _nocancel entry point. Share the syscall
3172 and syscall error check paths with the cancel path.
3175 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3176 whitespace; tabs before and after asm mnemonics.
3178 2014-05-29 Eric Wong <normalperson@yhbt.net>
3181 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3182 Call fstat64 or stat64 internally, depending on arguments passed.
3183 Replace stat buffer argument with file descriptor argument.
3184 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3185 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3186 Pass fd to __internal_statvfs instead of calling fstat64.
3187 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3188 Pass fd to __internal_statvfs64 instead of calling fstat64.
3189 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3190 Pass -1 to __internal_statvfs instead of calling stat64.
3191 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3192 Pass -1 to __internal_statvfs64 instead of calling stat64.
3194 2014-05-28 Roland McGrath <roland@hack.frob.com>
3196 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3197 that was previously under [RESET_PID].
3198 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3200 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3201 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3203 2014-05-27 Roland McGrath <roland@hack.frob.com>
3205 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3207 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3208 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3210 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3212 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3214 2014-05-27 Andreas Schwab <schwab@suse.de>
3216 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3218 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3219 * elf/rtld.c (init_tls, dl_main): Likewise.
3220 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3221 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3222 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3223 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3224 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3225 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3226 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3227 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3228 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3229 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3230 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3231 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3232 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3233 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3234 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3235 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3236 * sysdeps/generic/tls.h: Update description.
3238 2014-05-27 Will Newton <will.newton@linaro.org>
3241 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3242 and restore r2 rather than just restoring.
3244 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3247 * libio/tst-ftell-append.c: New test case.
3248 * libio/Makefile (tests): Add test case.
3249 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3251 * libio/wfileops.c (do_ftell_wide): Likewise.
3253 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3257 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3261 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3262 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3263 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3264 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3265 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3266 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3273 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3274 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3275 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3276 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3277 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3279 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3280 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3282 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3284 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3286 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3287 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3288 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3290 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3291 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3293 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3298 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3304 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3311 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3316 conditional [RESET_PID].
3317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3320 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3325 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3326 (__libc_vfork): New strong alias.
3327 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3334 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3335 (__libc_vfork): New strong alias.
3336 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3341 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3343 * malloc/malloc.c (mi_arena): New function.
3344 (malloc_info): Remove nested function mi_arena. Call non-nosted
3347 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3349 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3351 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3352 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3353 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3354 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3355 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3356 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3359 2014-05-26 Andreas Schwab <schwab@suse.de>
3362 * locale/programs/repertoire.c (repertoire_read): Add slash
3363 between I18NPATH element and file name.
3364 * locale/programs/locfile.c (locfile_read): Likewise.
3366 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3368 * nptl/pthread_mutexattr_settype.c
3369 (__pthread_mutexattr_settype):
3370 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3372 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3374 * nptl/tst-mutex5 (do_test):
3375 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3377 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * benchtests/README: Document 'init' directive.
3380 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3382 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3383 (parse_file): Recognize 'init' directive.
3385 2014-05-26 Kyle McMartin <kyle@redhat.com>
3388 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3389 alignment of struct pthread.
3391 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3394 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3395 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3396 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3397 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3399 2014-05-25 Richard Henderson <rth@twiddle.net>
3401 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3402 (SINGLE_THREAD_P_PIC): Remove.
3403 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3404 (SINGLE_THREAD_P_PIC): Remove.
3406 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3407 branch to syscall error ...
3409 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3410 from __local_syscall_error to .Lsyscall_error.
3411 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3412 (SYSCALL_ERROR): Update label name.
3414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3415 Do not use DOARGS/UNDOARGS.
3416 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3417 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3418 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3419 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3420 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3422 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3425 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3426 define if !NOT_IN_libc.
3427 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3428 define with non-default symbol versions.
3430 2014-05-23 Richard Henderson <rth@twiddle.net>
3432 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3433 (vfork, __vfork): Define via compat_symbol.
3435 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3436 [!HAVE_IFUNC] (vfork_compat): Remove.
3437 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3439 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3442 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3443 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3446 2014-05-23 Richard Henderson <rth@twiddle.net>
3448 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3449 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3450 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3451 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3453 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3454 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3455 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3456 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3457 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3458 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3459 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3460 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3461 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3462 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3463 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3464 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3465 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3466 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3467 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3468 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3469 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3470 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3471 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3472 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3473 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3474 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3475 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3476 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3477 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3478 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3479 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3480 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3481 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3482 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3483 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3484 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3485 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3486 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3487 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3488 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3489 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3490 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3491 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3492 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3493 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3494 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3495 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3496 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3497 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3498 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3500 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3502 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3503 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3504 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3505 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3506 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3507 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3508 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3510 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3511 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3512 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3513 before exiting on error.
3514 (__libc_vfork): New strong alias.
3515 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3516 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3518 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3519 that was previously under [RESET_PID].
3520 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3522 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3524 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3527 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3528 value when x - 1 is zero.
3529 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3530 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3531 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3532 0.0L for an argument of 1.0L.
3533 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3535 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3536 value when x - 1 is zero.
3537 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3538 * sysdeps/i386/fpu/libm-test-ulps: Update.
3539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3541 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3543 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3544 alphasort and versionsort.
3546 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3550 [copysignf]: Likewise.
3552 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3554 * crypt/md5-crypt.c: Fix formatting.
3556 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3558 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3559 (b64_from_24bit): New function.
3561 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3563 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3564 libc_hidden_builtin_def to ifunc.
3565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3566 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3568 2014-05-21 Roland McGrath <roland@hack.frob.com>
3570 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3571 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3573 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3575 * nscd/Depend (linuxthreads): Remove.
3577 * resolv/Depend (linuxthreads): Remove.
3578 * rt/Depend (linuxthreads): Remove.
3580 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3581 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3582 $(common-objpfx)elf/.
3583 (link-libc-before-gnulib): Likewise.
3584 (elfobjdir): Remove variable.
3585 * Makefile (install): Use $(elf-objpfx) instead of
3586 $(common-objpfx)elf/.
3587 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3589 (link-libc-deps): Likewise.
3590 ($(common-objpfx)libc.so): Likewise.
3591 ($(common-objpfx)linkobj/libc.so): Likewise.
3592 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3593 instead of $(common-objpfx)elf/.
3594 (symbolic-link-list): Likewise.
3595 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3596 [$(cross-compiling) = no]: Likewise.
3597 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3599 (static-gnulib-arch): Likewise.
3600 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3601 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3602 $(common-objpfx)elf/.
3604 2014-05-21 Richard Henderson <rth@redhat.com>
3606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3607 (SINGLE_THREAD_P): Use the correct width load. Fold
3608 into the ldr offset.
3610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3611 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3613 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3615 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3616 (libgcc_s_resume): Use __attribute_used__.
3617 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3620 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3622 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3623 optimization when used with float constants.
3625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3627 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3630 * locale/nl_langinfo_l.c: Make direct reference to every
3631 _nl_current_CATEGORY symbol.
3632 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3633 (tests-static): Add tst-langinfo-static.
3634 (tests-special): Add tst-langinfo-static.out.
3635 ($(objpfx)tst-langinfo.out): Redirect output.
3636 ($(objpfx)tst-langinfo-static.out): New.
3637 * localedata/tst-langinfo.sh: Send output to stdout.
3638 * localedata/tst-langinfo-static.c: New file.
3641 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3642 when the shift amount is modulo the limb size.
3644 2014-05-20 Richard Henderson <rth@redhat.com>
3647 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3648 Change type of sa_flags from unsigned int to int.
3651 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3653 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3655 2014-05-20 Will Newton <will.newton@linaro.org>
3657 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3658 Test the return value of the system call in the nocancel case.
3660 2014-05-20 Will Newton <will.newton@linaro.org>
3661 Yvan Roux <yvan.roux@linaro.org>
3663 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3664 #include of asm/ptrace.h.
3665 (PTRACE_GET_THREAD_AREA): Remove #undef.
3666 (PTRACE_GETHBPREGS): Likewise.
3667 (PTRACE_SETHBPREGS): Likewise.
3668 (struct user_regs_struct): New structure.
3669 (struct user_fpsimd_struct): New structure.
3670 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3671 #include of asm/ptrace.h and second #include of sys/user.h.
3672 (PTRACE_GET_THREAD_AREA): Remove #undef.
3673 (PTRACE_GETHBPREGS): Likewise.
3674 (PTRACE_SETHBPREGS): Likewise.
3675 (ELF_NGREG): Use new struct user_regs_struct.
3676 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3678 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3681 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3683 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3686 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3687 membar to avoid block loads/stores to overlap previous stores.
3689 2014-05-17 Richard Henderson <rth@redhat.com>
3691 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3692 Create the __##syscall_name##_nocancel entry point.
3693 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3694 Remove; let the sysdep-cancel.h code create it.
3696 2014-05-17 David S. Miller <davem@davemloft.net>
3698 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3699 Protect with __USE_GNU.
3700 (TIOCSET_TEMPT): Likewise.
3701 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3702 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3703 these are already provided in bits/ioctl-types.h
3705 2014-05-16 Roland McGrath <roland@hack.frob.com>
3707 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3708 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3710 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3711 Use wait4 regardless of [__NR_waitpid].
3713 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3716 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3717 (_FP_NANSIGN_Q): Set the quiet bit.
3719 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3721 * benchtests/Makefile
3722 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3723 not $(common-objpfx)math/libm.so.
3724 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3725 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3726 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3727 $(common-objpfx)dlfcn/libdl.so.
3728 ($(objpfx)tst-audit8): Depend on $(libm), not
3729 $(common-objpfx)math/libm.so.
3730 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3731 not $(common-objpfx)dlfcn/libdl.so.
3733 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3734 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3735 [$(build-shared) = yes].
3736 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3737 $(common-objpfx)nptl/libpthread.so.
3738 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3739 $(common-objpfx)math/libm.so$(libm.so-version) or
3740 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3741 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3742 $(common-objpfx)dlfcn/libdl.so.
3743 * setjmp/Makefile (link-libm): Remove variable.
3744 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3745 * stdio-common/Makefile (link-libm): Remove variable.
3746 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3747 * stdlib/Makefile (link-libm): Remove variable.
3748 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3749 ($(objpfx)tst-strtod-round): Likewise.
3750 ($(objpfx)tst-tininess): Likewise.
3751 ($(objpfx)tst-strtod-underflow): Likewise.
3752 ($(objpfx)tst-strtod6): Likewise.
3753 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3754 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3755 $(common-objpfx)dlfcn/libdl.so.
3757 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3759 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3760 BSD terminal modes definitions.
3762 2014-05-16 Roland McGrath <roland@hack.frob.com>
3764 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3765 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3767 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3768 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3769 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3770 Don't do #include_next.
3771 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3772 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3773 Don't do #include_next.
3774 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3775 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3776 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3777 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3779 2014-05-16 Allan McRae <allan@archlinux.org>
3781 * po/sv.po: Update Swedish translation from translation project.
3783 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3786 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3789 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3790 errno if the TIOCGPTN ioctl fails with an error different than
3792 * login/tst-ptsname.c: New file.
3793 * login/Makefile (tests): Add tst-ptsname.
3796 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3799 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3803 herrno to return EAI_AGAIN.
3805 2014-05-14 Roland McGrath <roland@hack.frob.com>
3807 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3808 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3809 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3810 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3811 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3812 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3813 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3814 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3815 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3816 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3817 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3818 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3819 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3820 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3821 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3822 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3823 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3824 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3825 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3826 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3827 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3828 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3829 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3830 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3831 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3832 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3833 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3834 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3835 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3836 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3838 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3840 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3843 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3845 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3847 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3849 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3851 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3853 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3855 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3857 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3858 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3859 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3861 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3863 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3865 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3867 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3869 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3872 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3874 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3876 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3878 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3880 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3882 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3884 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3886 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3888 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3890 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3893 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3895 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3898 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3899 (libpthread-sysdep_routines): Add elision-related stuff here instead.
3900 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3901 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3903 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3905 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3907 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3909 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3910 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3911 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3913 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3915 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3916 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3917 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3918 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3919 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3920 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3921 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3922 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3923 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3924 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3925 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3926 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3927 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3929 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3930 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3932 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3933 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3934 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3936 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3937 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3939 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3940 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3942 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3945 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3946 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3948 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3950 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3955 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3957 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3959 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3962 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3965 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3967 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3968 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3970 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3973 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3975 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3977 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3979 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3980 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3981 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3982 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3984 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3987 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3988 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3990 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3993 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3995 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3998 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4000 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4002 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4003 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4004 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4007 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4010 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4012 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4013 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4015 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4018 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4020 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4022 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4023 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4024 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4026 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4028 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4029 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4030 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4036 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4037 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4039 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4040 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4042 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4043 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4044 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4045 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4046 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4049 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4050 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4051 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4053 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4055 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4058 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4063 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4064 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4066 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4071 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4073 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4075 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4077 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4078 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4079 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4081 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4083 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4085 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4086 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4088 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4089 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4091 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4092 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4093 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4095 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4097 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4099 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4101 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4103 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4104 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4105 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4107 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4110 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4112 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4113 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4115 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4116 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4117 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4118 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4119 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4124 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4125 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4127 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4129 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4131 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4133 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4134 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4135 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4136 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4137 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4139 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4140 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4141 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4142 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4143 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4146 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4147 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4148 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4149 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4151 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4152 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4154 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4155 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4156 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4157 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4158 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4159 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4160 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4162 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4163 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4165 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4166 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4167 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4168 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4169 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4170 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4171 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4172 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4173 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4174 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4175 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4176 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4177 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4178 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4179 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4183 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4185 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4187 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4191 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4199 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4200 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4204 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4205 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4206 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4207 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4208 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4209 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4210 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4211 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4212 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4213 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4216 that was previously under [RESET_PID].
4217 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4218 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4219 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4221 * sysdeps/i386/nptl/Implies: New file.
4222 * sysdeps/x86_64/nptl/Implies: New file.
4223 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4224 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4225 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4226 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4228 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4229 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4230 (__libc_vfork): New strong alias.
4231 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4232 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4234 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4235 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4236 (__libc_vfork): New strong alias.
4237 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4238 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4240 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4241 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4242 (__libc_vfork): New strong alias.
4243 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4244 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4245 * nptl/pt-vfork.c: New file.
4246 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4247 (libpthread: GLIBC_2.20): New version set (empty).
4249 2014-05-14 Will Newton <will.newton@linaro.org>
4251 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4254 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4257 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4258 arguments with exponent 65 or above.
4259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4260 arguments 0x1p113L or above.
4261 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4262 to arguments 0x1p107L or above.
4263 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4264 positive arguments with exponent 65 or above.
4265 * math/auto-libm-test-in: Add more tests of log1p.
4266 * math/auto-libm-test-out: Regenerated.
4269 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4270 non-finite arguments is +0.
4271 * math/s_cacosf.c (__cacosf): Likewise.
4272 * math/s_cacosl.c (__cacosl): Likewise.
4273 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4274 * sysdeps/i386/fpu/libm-test-ulps: Update.
4275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4278 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4280 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4281 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4282 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4283 for explicit high bit of mantissa when testing for argument equal
4285 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4286 * sysdeps/i386/fpu/libm-test-ulps: Update.
4287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4290 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4291 (__erf): Scale by 16 instead of 8 in potentially underflowing
4292 case. Ensure exception if result actually underflows.
4293 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4294 (__erff): Scale by 16 instead of 8 in potentially underflowing
4295 case. Ensure exception if result actually underflows.
4296 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4297 (efx8): Remove variable.
4298 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4299 case. Ensure exception if result actually underflows.
4300 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4301 (efx8): Remove variable.
4302 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4303 case. Ensure exception if result actually underflows.
4304 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4305 (efx8): Remove variable.
4306 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4307 case. Ensure exception if result actually underflows.
4308 * math/auto-libm-test-in: Add more tests of erf.
4309 * math/auto-libm-test-out: Regenerated.
4311 2014-05-14 Andreas Schwab <schwab@suse.de>
4313 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4314 Remove code conditionalized on USE___THREAD.
4316 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4317 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4320 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4322 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4323 Define unconditionally.
4324 (__ASSUME_O_CLOEXEC): Likewise.
4325 (__ASSUME_SOCK_CLOEXEC): Likewise.
4326 (__ASSUME_IN_NONBLOCK): Likewise.
4327 (__ASSUME_PIPE2): Likewise.
4328 (__ASSUME_EVENTFD2): Likewise.
4329 (__ASSUME_SIGNALFD4): Likewise.
4330 (__ASSUME_DUP3): Likewise.
4331 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4332 (__ASSUME_DUP3): Do not define.
4333 (__ASSUME_EVENTFD2): Likewise.
4334 (__ASSUME_IN_NONBLOCK): Likewise.
4335 (__ASSUME_O_CLOEXEC): Likewise.
4336 (__ASSUME_PIPE2): Likewise.
4337 (__ASSUME_SIGNALFD4): Likewise.
4338 (__ASSUME_SOCK_CLOEXEC): Likewise.
4339 (__ASSUME_UTIMES): Undefine.
4340 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4341 (__ASSUME_UTIMES): Do not define.
4342 (__ASSUME_O_CLOEXEC): Likewise.
4343 (__ASSUME_SOCK_CLOEXEC): Likewise.
4344 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4345 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4347 (__ASSUME_PIPE2): Likewise.
4348 (__ASSUME_EVENTFD2): Likewise.
4349 (__ASSUME_SIGNALFD4): Likewise.
4350 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4351 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4353 (__ASSUME_EVENTFD2): Likewise.
4354 (__ASSUME_SIGNALFD4): Likewise.
4355 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4356 (__ASSUME_32BITUIDS): Likewise.
4357 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4358 (__ASSUME_IPC64): Likewise.
4359 (__ASSUME_ST_INO_64_BIT): Likewise.
4360 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4361 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4362 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4363 (__ASSUME_UTIMES): Do not define.
4364 (__ASSUME_PSELECT): Likewise.
4365 (__ASSUME_PPOLL): Likewise.
4366 (__ASSUME_O_CLOEXEC): Likewise.
4367 (__ASSUME_SOCK_CLOEXEC): Likewise.
4368 (__ASSUME_IN_NONBLOCK): Likewise.
4369 (__ASSUME_PIPE2): Likewise.
4370 (__ASSUME_EVENTFD2): Likewise.
4371 (__ASSUME_SIGNALFD4): Likewise.
4372 (__ASSUME_DUP3): Likewise.
4373 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4374 (__ASSUME_UTIMES): Likewise.
4375 (__ASSUME_O_CLOEXEC): Likewise.
4376 (__ASSUME_SOCK_CLOEXEC): Likewise.
4377 (__ASSUME_IN_NONBLOCK): Likewise.
4378 (__ASSUME_PIPE2): Likewise.
4379 (__ASSUME_EVENTFD2): Likewise.
4380 (__ASSUME_SIGNALFD4): Likewise.
4381 (__ASSUME_DUP3): Likewise.
4382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4383 (__ASSUME_UTIMES): Likewise.
4384 (__ASSUME_O_CLOEXEC): Likewise.
4385 (__ASSUME_SOCK_CLOEXEC): Likewise.
4386 (__ASSUME_IN_NONBLOCK): Likewise.
4387 (__ASSUME_PIPE2): Likewise.
4388 (__ASSUME_EVENTFD2): Likewise.
4389 (__ASSUME_SIGNALFD4): Likewise.
4390 (__ASSUME_DUP3): Likewise.
4391 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4393 (__ASSUME_UTIMES): Likewise.
4394 (__ASSUME_EVENTFD2): Likewise.
4395 (__ASSUME_SIGNALFD4): Likewise.
4396 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4397 (__ASSUME_O_CLOEXEC): Likewise.
4398 (__ASSUME_SOCK_CLOEXEC): Likewise.
4399 (__ASSUME_IN_NONBLOCK): Likewise.
4400 (__ASSUME_PIPE2): Likewise.
4401 (__ASSUME_EVENTFD2): Likewise.
4402 (__ASSUME_SIGNALFD4): Likewise.
4403 (__ASSUME_DUP3): Likewise.
4404 (__ASSUME_UTIMES): Undefine.
4406 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4407 feclearexcept. Remove symbol versioning code.
4408 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4409 symbol versioning code.
4410 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4411 symbol versioning code.
4412 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4413 feupdateenv. Remove symbol versioning code.
4414 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4415 fegetexceptflag. Remove symbol versioning code.
4416 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4417 fesetexceptflag. Remove symbol versioning code.
4418 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4419 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4420 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4421 (__posix_fadvise64_l32): Remove prototype.
4422 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4425 2014-05-13 Roland McGrath <roland@hack.frob.com>
4427 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4428 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4429 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4430 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4432 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4434 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4435 current working directory
4437 2014-05-13 Roland McGrath <roland@hack.frob.com>
4439 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4440 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4441 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4442 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4443 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4444 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4445 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4446 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4450 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4451 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4452 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4454 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4455 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4458 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4460 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4468 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4470 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4471 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4472 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4473 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4474 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4475 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4476 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4477 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4478 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4479 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4480 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4482 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4483 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4485 * sysdeps/unix/sysv/linux/arm/Makefile
4486 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4487 Add rt-aeabi_unwind_cpp_pr1.
4488 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4489 Add nptl-aeabi_unwind_cpp_pr1.
4490 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4491 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4492 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4493 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4494 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4495 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4497 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4498 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4499 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4500 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4502 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4503 Deconditionalize the code that was previously under [RESET_PID].
4504 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4506 * sysdeps/generic/exit-thread.h: New file.
4507 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4508 * include/unistd.h (__exit_thread): Remove declaration.
4509 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4510 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4511 * csu/libc-start.c: Include <exit-thread.h>.
4512 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4513 * nptl/pthread_create.c: Include <exit-thread.h>.
4514 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4515 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4516 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4517 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4518 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4519 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4520 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4521 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4522 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4523 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4524 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4525 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4526 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4527 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4528 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4529 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4530 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4532 2014-05-13 Andreas Schwab <schwab@suse.de>
4534 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4536 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4538 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4539 (__ASSUME_UTIMES): Do not condition on kernel version.
4540 (__ASSUME_PSELECT): Define unconditionally.
4541 (__ASSUME_PPOLL): Likewise.
4542 (__ASSUME_ATFCTS): Likewise.
4543 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4544 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4545 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4546 (__ASSUME_UTIMENSAT): Define unconditionally.
4547 (__ASSUME_PRIVATE_FUTEX): Likewise.
4548 (__ASSUME_FALLOCATE): Likewise.
4549 (__ASSUME_O_CLOEXEC): Likewise.
4550 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4551 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4552 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4553 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4554 (__ASSUME_IN_NONBLOCK): Likewise.
4555 (__ASSUME_PIPE2): Likewise.
4556 (__ASSUME_EVENTFD2): Likewise.
4557 (__ASSUME_SIGNALFD4): Likewise.
4558 (__ASSUME_DUP3): Likewise.
4559 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4560 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4561 (__ASSUME_AT_RANDOM): Likewise.
4562 (__ASSUME_PREADV): Likewise.
4563 (__ASSUME_PWRITEV): Likewise.
4564 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4565 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4566 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4567 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4568 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4569 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4570 (__ASSUME_O_CLOEXEC): Define unconditionally.
4571 (__ASSUME_PSELECT): Do not undefine conditionally.
4572 (__ASSUME_PPOLL): Likewise.
4573 (__ASSUME_ATFCTS): Likewise.
4574 (__ASSUME_SET_ROBUST_LIST): Likewise.
4575 (__ASSUME_UTIMENSAT): Likewise.
4576 (__ASSUME_FDATASYNC): Define unconditionally.
4577 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4578 (__ASSUME_SIGFRAME_V2): Likewise.
4579 )__ASSUME_EVENTFD2): Likewise.
4580 (__ASSUME_SIGNALFD4): Likewise.
4581 (__ASSUME_PSELECT): Do not undefine conditionally.
4582 (__ASSUME_PPOLL): Likewise.
4583 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4584 (__ASSUME_PSELECT): Define unconditionally.
4585 (__ASSUME_PPOLL): Likewise.
4586 (__ASSUME_O_CLOEXEC): Likewise.
4587 (__ASSUME_SOCK_CLOEXEC): Likewise.
4588 (__ASSUME_IN_NONBLOCK): Likewise.
4589 (__ASSUME_PIPE2): Likewise.
4590 (__ASSUME_EVENTFD2): Likewise.
4591 (__ASSUME_SIGNALFD4): Likewise.
4592 (__ASSUME_DUP3): Likewise.
4593 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4594 (__ASSUME_O_CLOEXEC): Likewise.
4595 (__ASSUME_SOCK_CLOEXEC): Likewise.
4596 (__ASSUME_IN_NONBLOCK): Likewise.
4597 (__ASSUME_PIPE2): Likewise.
4598 (__ASSUME_EVENTFD2): Likewise.
4599 (__ASSUME_SIGNALFD4): Likewise.
4600 (__ASSUME_DUP3): Likewise.
4601 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4602 (__ASSUME_EVENTFD2): Likewise.
4603 (__ASSUME_SIGNALFD4): Likewise.
4604 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4606 2014-05-12 Andreas Schwab <schwab@suse.de>
4609 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4610 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4611 than maximum RPC packet size.
4612 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4613 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4614 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4615 (_nss_nis_getservbyport_r): Likewise.
4617 2014-05-12 Will Newton <will.newton@linaro.org>
4619 * malloc/Makefile (tests): Add tst-mallopt.
4620 * malloc/tst-mallopt.c: New file.
4622 2014-05-09 Roland McGrath <roland@hack.frob.com>
4624 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4625 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4627 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4630 (tst-tlsmod6.so): Likewise.
4632 2014-05-09 Roland McGrath <roland@hack.frob.com>
4634 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4636 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4640 and <dl-procinfo.h>.
4641 (__fegetenv): Save SSE state in envp->__eip if supported.
4642 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4643 envp->__eip if supported.
4644 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4645 and <dl-procinfo.h>.
4646 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4647 __data_offset and __data_selector in environment to 0. Set SSE
4649 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4651 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4653 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4655 2014-05-09 Will Newton <will.newton@linaro.org>
4657 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4658 and libc_relro_required for ARM.
4659 * sysdeps/arm/preconfigure: Regenerate.
4661 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4662 Stefan Liebler <stli@linux.vnet.ibm.com>
4664 * config.make.in (enable-lock-elision): New Makefile variable.
4665 * configure.ac: Likewise.
4666 * configure: Regenerate.
4667 * sysdeps/s390/configure.ac:
4668 Add check for gcc transactions support.
4669 * sysdeps/s390/configure: Regenerate.
4670 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4671 Build elision files if enabled.
4672 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4673 Add lock elision support for s390.
4674 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4675 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4676 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4677 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4678 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4679 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4680 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4682 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4684 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4686 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4688 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4689 (__lll_timedlock_elision, __lll_lock_elision)
4690 (__lll_unlock_elision, __lll_trylock_elision)
4691 (lll_timedlock_elision, lll_lock_elision)
4692 (lll_unlock_elision, lll_trylock_elision): Add.
4693 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4694 (pthread_mutex_t): Add lock elision support for s390.
4696 2014-05-14 Wilco <wdijkstr@arm.com>
4698 * sysdeps/arm/fclrexcpt.c: Cleanup.
4699 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4700 * sysdeps/arm/feenablxcpt.c: Cleanup.
4701 * sysdeps/arm/fegetenv.c: Cleanup.
4702 * sysdeps/arm/fegetexcept.c: Cleanup.
4703 * sysdeps/arm/fegetround.c: Cleanup.
4704 * sysdeps/arm/feholdexcpt.c: Cleanup.
4705 * sysdeps/arm/fesetenv.c: Cleanup.
4706 * sysdeps/arm/fesetround.c: Cleanup.
4707 * sysdeps/arm/feupdateenv.c: Cleanup.
4708 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4709 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4710 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4711 * sysdeps/arm/ftestexcept.c: Cleanup.
4712 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4713 * sysdeps/arm/setfpucw.c: Cleanup.
4715 2014-05-09 Will Newton <will.newton@linaro.org>
4717 * sysdeps/arm/armv7/strcmp.S: New file.
4718 * NEWS: Mention addition of ARMv7 optimized strcmp.
4720 2014-05-08 Roland McGrath <roland@hack.frob.com>
4722 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4723 look for %.ac rather than %.in.
4725 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4726 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4727 * sysdeps/mach/hurd/configure: Regenerated.
4728 * sysdeps/unix/sysv/linux/configure: Regenerated.
4730 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4732 2014-05-07 Steve Ellcey <sellcey@mips.com>
4735 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4739 2014-05-07 Andreas Schwab <schwab@suse.de>
4741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4742 when skipping over non-matching result from nscd.
4744 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4747 * nptl/sockperf.c (client): Check socket return value.
4750 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4751 nscd security class.
4753 2014-05-06 Roland McGrath <roland@hack.frob.com>
4755 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4756 * sysdeps/arm/unwind.h: ... here.
4758 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4761 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4764 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4766 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4767 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4768 multiarch strncpy for PPC64.
4769 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4770 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4772 multiarch optimizations.
4773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4774 (__libc_ifunc_impl_list): Likewise.
4775 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4776 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4777 multiarch stpncpy for PPC64.
4778 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4779 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4781 2014-05-06 Andreas Schwab <schwab@suse.de>
4784 * gmon/mcount.c (_MCOUNT_DECL): Use
4785 atomic_compare_and_exchange_bool_acq instead of
4786 catomic_compare_and_exchange_bool_acq.
4788 2014-05-05 Roland McGrath <roland@hack.frob.com>
4790 * elf/Makefile (others, install-bin): Remove pldd.
4791 (pldd-modules): Variable removed.
4792 ($(objpfx)pldd): Target removed.
4793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4794 (others, install-bin): Append pldd here.
4795 ($(objpfx)pldd): New target.
4797 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4798 to 0, so the first #if test emitted later doesn't see it undefined.
4799 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4800 * sysdeps/gnu/errlist.c: Regenerated.
4802 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4805 [libc_hidden_builtin_def]: Define to empty value.
4806 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4807 [libc_hidden_builtin_def]: Likewise.
4808 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4809 [libc_hidden_builtin_def]: Likewise.
4810 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4811 [libc_hidden_builtin_def]: Likewise.
4812 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4813 __redirect_memcpy and define ifunc as default hidden symbol.
4814 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4815 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4817 2014-05-04 Adam Conrad <adconrad@0c3.net>
4819 * locale/iso-4217.def: Reintroduce XDR currency.
4821 2014-05-04 Allan McRae <allan@archlinux.org>
4823 * po/eo.po: Update Esperanto translation from translation project.
4825 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4827 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4828 and FEATURE_INDEX_MAX to 1.
4829 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4831 2014-05-01 Steve Ellcey <sellcey@mips.com>
4833 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4834 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4835 * iconvdata/big5.c (ONE_DIRECTION): Define.
4836 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4837 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4838 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4839 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4840 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4841 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4842 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4843 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4844 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4845 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4846 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4847 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4848 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4849 * iconvdata/gbk.c (ONE_DIRECTION): Define.
4850 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4851 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4852 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4853 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4854 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4855 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4856 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4857 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4858 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4859 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4860 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4861 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4862 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4863 * iconvdata/iso646.c (ONE_DIRECTION): Define.
4864 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4865 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4866 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4867 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4868 * iconvdata/johab.c (ONE_DIRECTION): Define.
4869 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4870 * iconvdata/sjis.c (ONE_DIRECTION): Define.
4871 * iconvdata/t.61.c (ONE_DIRECTION): Define.
4872 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4873 * iconvdata/tscii.c (ONE_DIRECTION): Define.
4874 * iconvdata/uhc.c (ONE_DIRECTION): Define.
4875 * iconvdata/unicode.c (ONE_DIRECTION): Define.
4876 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4877 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4878 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4880 2014-05-01 Roland McGrath <roland@hack.frob.com>
4882 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4883 (_IO_JUMPS_OFFSET): Define to 0.
4885 * nptl/sysdeps/pthread/bits/libc-lock.h
4886 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4887 (__libc_lock_define_initialized_recursive): Always define using
4888 initializer. Modern compilers treat uninitialized (implicit zero) and
4889 explicit zero initializers the same (i.e. put the datum in bss).
4891 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4893 * nscd/nscd-client.h: Include <string.h>.
4895 2014-05-01 David S. Miller <davem@davemloft.net>
4898 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4899 multiple zero bytes exist at the end of a string.
4900 Reported by Aurelien Jarno <aurelien@aurel32.net>
4902 * string/test-strcmp.c (check): Add explicit test for situations where
4903 there are multiple zero bytes after the first.
4905 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
4908 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4909 when compiling wprintf.
4910 * stdio-common/tstdiomisc.c (t3): New function.
4913 2014-05-01 Steve Ellcey <sellcey@mips.com>
4915 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4916 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4917 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4918 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4920 2014-05-01 Steve Ellcey <sellcey@mips.com>
4922 * stdlib/longlong.h: Updated from GCC.
4924 2014-05-01 Will Newton <will.newton@linaro.org>
4925 Bernard Ogden <bernie.ogden@linaro.org>
4927 * NEWS: Update fixed bug list.
4930 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4932 2014-04-30 David S. Miller <davem@davemloft.net>
4934 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4935 (libc_feholdexcept_setround_sparc_ctx): New function.
4936 (libc_fesetenv_sparc_ctx): Likewise.
4937 (libc_feupdateenv_sparc_ctx): Likewise.
4938 (libc_feholdsetround_sparc_ctx): Likewise.
4939 (libc_feholdexcept_setround_ctx): Define.
4940 (libc_feholdexcept_setroundf_ctx): Likewise.
4941 (libc_feholdexcept_setroundl_ctx): Likewise.
4942 (libc_fesetenv_ctx): Likewise.
4943 (libc_fesetenvf_ctx): Likewise.
4944 (libc_fesetenvl_ctx): Likewise.
4945 (libc_feupdateenv_ctx): Likewise.
4946 (libc_feupdateenvf_ctx): Likewise.
4947 (libc_feupdateenvl_ctx): Likewise.
4948 (libc_feresetround_ctx): Likewise.
4949 (libc_feresetroundf_ctx): Likewise.
4950 (libc_feresetroundl_ctx): Likewise.
4951 (libc_feholdsetround_ctx): Likewise.
4952 (libc_feholdsetroundf_ctx): Likewise.
4953 (libc_feholdsetroundl_ctx): Likewise.
4955 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4956 with __USE_GNU instead of XOPEN cpp guards.
4958 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4961 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4962 with XOPEN cpp guards.
4964 2014-04-30 Julian Brown <julian@codesourcery.com>
4967 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4970 2014-04-30 Joseph Myers <joseph@codesourcery.com>
4973 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4975 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4976 * sysdeps/unix/sysv/linux/configure: Regenerated.
4977 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4978 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4979 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4980 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4981 * README: Update reference to required Linux kernel version.
4982 * manual/install.texi (Linux): Update reference to required Linux
4983 kernel headers version.
4984 * INSTALL: Regenerated.
4986 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4988 [POSIX] (limits.h): Likewise.
4989 [POSIX] (math.h): Likewise.
4990 [POSIX] (sys/wait.h): Likewise.
4991 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4993 [POSIX] (stddef.h): Do not allow header inclusion.
4995 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4997 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4999 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5001 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5002 Return immediately after lll_futex_wake.
5004 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5007 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5009 (datahead_init_pos): Call datahead_init_common early.
5010 (datahead_init_neg): Likewise.
5012 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5013 datahead_init_neg): New functions.
5014 * nscd/aicache.c (addhstaiX): Use them.
5015 * nscd/grpcache.c (cache_addgr): Likewise.
5016 * nscd/hstcache.c (cache_addhst): Likewise.
5017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5018 * nscd/netgroupcache.c (do_notfound): Likewise.
5019 (addgetnetgrentX): Likewise.
5020 (addinnetgrX): Likewise.
5021 * nscd/pwdcache.c (cache_addpw): Likewise.
5022 * nscd/servicescache.c (cache_addserv): Likewise.
5024 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5025 Atsushi Onoe <atsushi@onoe.org>
5030 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5031 one response is valid.
5032 * resolv/res_send.c (send_dg): Check for validity of other
5033 response if the current response is a referral.
5035 2014-04-29 Steve Ellcey <sellcey@mips.com>
5037 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5039 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5042 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5043 Always divide by positive zero when computing -Inf result.
5044 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5045 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5047 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5049 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5050 FPSCR if value do not change.
5051 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5052 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5053 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5054 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5055 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5056 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5059 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5061 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5062 * sysdeps/unix/sysv/linux/hppa: Move directory from
5063 ports/systeps/unix/sysv/linux/hppa.
5064 * README: Update listing for hppa-*-linux-gnu.
5066 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5069 * manual/stdio.texi (Hook functions): Fix types of stream hook
5072 * socket/sys/socket.h: Fix typo in comment.
5074 2014-04-28 Wilco <wdijkstr@arm.com>
5076 * sysdeps/arm/fenv_private.h: New file.
5077 * sysdeps/arm/math_private.h: New file.
5078 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5080 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5082 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5084 (La_x86_64_retval): Likewise.
5086 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5088 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5089 fpsr if value didn't change.
5090 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5091 to fpcr if value didn't change.
5092 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5093 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5094 fpsr or fpcr if value didn't change.
5095 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5096 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5097 fpcr if value didn't change.
5098 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5099 to fpsr if value didn't change.
5101 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5103 * nptl/tst-sem3.c: Use test-skeleton.c
5104 (main): Rename to do_test. Use return instead of
5106 * nptl/tst-sem4.c: Use test-skeleton.c
5107 (main): Rename to do_test.
5109 2014-04-22 David S. Miller <davem@davemloft.net>
5111 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5112 (struct sigaction): New struct member __glibc_reserved0, change
5113 type of sa_flags to int.
5115 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5117 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5118 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5120 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5122 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5123 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5125 2014-04-22 Will Newton <will.newton@linaro.org>
5126 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5128 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5129 (__longjmp): Add longjmp and longjmp_target SystemTap
5131 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5132 (__sigsetjmp): Add setjmp SystemTap probe.
5134 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5136 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5139 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5141 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5143 * sysdeps/powerpc/fpu/fenv_private.h
5144 (libc_feholdexcept_setroundl_ctx): Define to
5145 libc_feholdexcept_setround_ppc_ctx.
5146 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5147 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5148 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5149 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5151 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5153 * sysdeps/aarch64/math-tests.h: New file.
5155 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5157 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5160 Check and set bit_AVX2_Usable.
5161 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5163 (bit_AVX2): Likewise.
5164 (index_AVX2_Usable): Likewise.
5165 (CPUID_AVX2): Likewise.
5166 (HAS_AVX2): Likewise.
5168 2014-04-17 Will Newton <will.newton@linaro.org>
5170 * manual/setjmp.texi (System V contexts): Add note that
5171 calling setcontext on a context created by a call to a
5172 signal handler is undefined. Update text to note that
5173 setcontext from a signal handler is possible but not
5177 * stdlib/tst-setcontext.c: Include signal.h.
5178 (main): Check that the signal stack before and
5179 after swapcontext is the same.
5181 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5182 Re-implement to restore registers in user code and avoid
5183 rt_sigreturn system call.
5185 2014-04-17 Wilco <wdijkstr@arm.com>
5187 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5188 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5189 * math/test-fenv.c: Skip exception trap tests on targets which only
5190 support non-stop mode.
5192 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5193 Wilco Dijkstra <wilco.dijkstra@arm.com>
5195 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5196 (libc_feholdsetround_aarch64_ctx)
5197 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5198 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5199 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5200 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5201 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5202 (libc_feresetround_noexl_ctx): Define.
5204 2014-04-16 Richard Henderson <rth@redhat.com>
5206 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5208 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5211 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5212 const from the non-libc, non-ldso copy.
5214 * sysdeps/alpha/libm-test-ulps: Regenerate.
5216 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5217 Wilco Dijkstra <wilco.dijkstra@arm.com>
5219 * sysdeps/aarch64/fpu/math_private.h: New file.
5221 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5223 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5225 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5227 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5228 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5230 Intel MPX bound registers before _dl_profile_fixup.
5231 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5232 registers after _dl_profile_fixup. Save and restore bound
5233 registers bnd0/bnd1 when calling _dl_call_pltexit.
5234 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5235 (LR_BND_OFFSET): Likewise.
5236 (LRV_BND0_OFFSET): Likewise.
5237 (LRV_BND1_OFFSET): Likewise.
5239 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5241 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5243 * sysdeps/mach/hurd/i386/tls.h: ... here.
5244 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5245 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5248 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5250 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5252 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5254 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5256 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5259 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5260 * sysdeps/s390/configure: Regenerate.
5263 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5264 Set round-to-nearest internally to reduce error accumulation.
5266 2014-04-16 Alan Modra <amodra@gmail.com>
5270 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5271 * math/libm-test.inc (frexp_test_data): Add tests.
5272 * NEWS: Update fixed bug list.
5274 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5276 * benchtests/Makefile: Depend on libraries in build directory.
5277 (bench-math): Separate out math tests.
5278 (bench-pthread): Separate out pthread tests.
5279 (bench): Include math and pthread tests.
5281 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5284 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5285 _dl_debug_initialize.
5287 * configure.ac: Remove SELinux header check.
5288 * configure: Regenerate.
5289 * nscd/selinux.c (perms): Array of const char* to permission names.
5290 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5291 default policy. Call string_to_security_class and string_to_av_perm to
5292 translate strings. Enforce default policy and call avs_has_perm with
5293 results of translated strings.
5295 2014-04-13 David S. Miller <davem@davemloft.net>
5297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5299 2014-04-12 Allan McRae <allan@archlinux.org>
5302 * manual/string.texi (Collation Functions): Fix qsort argument
5304 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5306 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5308 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5309 Make the test a no-op if there are no exceptions defined.
5311 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5313 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5314 enable-hardcoded-path-in-tests
5316 2014-04-11 Will Newton <will.newton@linaro.org>
5318 * benchtests/Makefile (extra-objs): Add json-lib.o.
5319 (bench-func): Tidy up JSON output.
5320 * benchtests/bench-skeleton.c: Include json-lib.h.
5321 (main): Use JSON library functions to do output of
5323 * benchtests/bench-timing-type.c (main): Output the
5324 timing type simply, leaving formatting to the user.
5325 * benchtests/json-lib.c: New file.
5326 * benchtests/json-lib.h: Likewise.
5328 2014-04-11 Torvald Riegel <triegel@redhat.com>
5331 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5332 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5333 memory barriers. Add comments.
5334 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5335 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5336 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5337 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5338 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5339 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5341 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5343 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5344 * sysdeps/s390/s390-64/configure.ac: ... this ...
5345 * sysdeps/s390/configure.ac: ... to here.
5346 * sysdeps/s390/s390-32/configure: Delete file.
5347 * sysdeps/s390/s390-64/configure: Delete file.
5348 * sysdeps/s390/configure: Regenerate.
5350 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5352 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5354 2014-04-11 Will Newton <will.newton@linaro.org>
5356 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5357 to zero if it is not defined elsewhere. (mtrim): Test
5358 the value of MALLOC_DEBUG with #if rather than #ifdef.
5360 2014-04-10 Torvald Riegel <triegel@redhat.com>
5362 * benchtests/pthread_once-inputs: New file.
5363 * benchtests/pthread_once-source.c: New file.
5364 * benchtests/README: Update documentation.
5366 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5367 H.J. Lu <hongjiu.lu@intel.com>
5369 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5370 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5371 * sysdeps/x86_64/configure: Regenerated.
5372 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5374 (REGISTER_SAVE_RAX): Likewise.
5375 (REGISTER_SAVE_RCX): Likewise.
5376 (REGISTER_SAVE_RDX): Likewise.
5377 (REGISTER_SAVE_RSI): Likewise.
5378 (REGISTER_SAVE_RDI): Likewise.
5379 (REGISTER_SAVE_R8): Likewise.
5380 (REGISTER_SAVE_R9): Likewise.
5381 (REGISTER_SAVE_BND0): Likewise.
5382 (REGISTER_SAVE_BND1): Likewise.
5383 (REGISTER_SAVE_BND2): Likewise.
5384 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5385 bound registers when calling _dl_fixup.
5387 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5389 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5390 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5392 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5393 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5394 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5395 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5396 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5397 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5398 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5400 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5403 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5404 pathconf(_PC_NAME_MAX).
5406 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5410 (__PTHREAD_SPINS): Move definition to ...
5411 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5412 (__PTHREAD_SPINS): ... here.
5413 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5414 (__PTHREAD_SPIN): Likewise.
5415 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5416 (__PTHREAD_SPIN): Likewise.
5417 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5418 (__PTHREAD_SPIN): Likewise.
5419 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5420 (__PTHREAD_SPIN): Likewise.
5421 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5422 (__PTHREAD_SPIN): Likewise.
5423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5424 (__PTHREAD_SPIN): Likewise.
5425 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5426 (__PTHREAD_SPIN): Likewise.
5427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5428 (__PTHREAD_SPIN): Likewise.
5429 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5430 (__PTHREAD_SPIN): Likewise.
5431 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5432 (__PTHREAD_SPIN): Likewise.
5433 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5434 (__PTHREAD_SPIN): Likewise.
5435 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5436 (__PTHREAD_SPIN): Likewise.
5438 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5439 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5440 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5441 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5443 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5444 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5445 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5446 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5448 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5449 strlen symbol for non multi-arch builds.
5450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5451 missing hidden_def and weak_alias.
5453 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5455 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5457 2014-04-07 Will Newton <will.newton@linaro.org>
5459 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5460 and contents. [!_LIBC] Remove #ifndef and contents.
5461 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5462 * string/memccpy.c (__memccpy): Use ANSI prototype.
5463 * string/memfrob.c (memfrob): Likewise.
5464 * string/strcoll.c (STRCOLL): Likewise.
5465 * string/strlen.c (strlen): Likewise.
5466 * string/strtok.c (STRTOK): Likewise.
5467 * string/strcat.c: Remove unused #include of memcopy.h.
5468 (strcat): Use ANSI prototype.
5469 * string/strchr.c: Remove unused #include of memcopy.h.
5470 (strchr): Use ANSI prototype.
5471 * string/strcmp.c: Remove unused #include of memcopy.h.
5472 (strcmp): Use ANSI prototype.
5473 * string/strcpy.c: Remove unused #include of memcopy.h.
5474 (strcpy): Use ANSI prototype.
5476 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5479 * config.make.in (config-extra-cppflags): Set it from
5480 libc_extra_cppflags.
5481 * configure.ac (libc_extra_cflags): Make it accumulate over
5482 configure fragments.
5483 (libc_extra_cppflags): New flag.
5484 * configure. Regenerate.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5486 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5487 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5492 result for FE_DOWNWARD rounding mode.
5493 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5497 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5499 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5500 in function argument name.
5502 2014-04-03 David Svoboda <svoboda@cert.org>
5505 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5508 2014-04-03 Roland McGrath <roland@hack.frob.com>
5510 * elf/dl-unmap-segments.h: New file.
5511 * sysdeps/generic/ldsodefs.h
5512 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5513 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5514 * elf/dl-fptr.c: Likewise.
5515 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5516 * sysdeps/aarch64/tlsdesc.c: Likewise.
5517 * sysdeps/arm/tlsdesc.c: Likewise.
5518 * sysdeps/i386/tlsdesc.c: Likewise.
5519 * sysdeps/tile/dl-runtime.c: Likewise.
5520 * sysdeps/x86_64/tlsdesc.c: Likewise.
5521 * elf/dl-load.h: New file.
5522 * elf/dl-load.c: Include it.
5523 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5524 Macros moved to dl-load.h.
5525 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5526 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5527 Use _dl_unmap_segments in place of __munmap.
5528 Break out segment-mapping loop into ...
5529 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5531 2014-04-03 Will Newton <will.newton@linaro.org>
5533 * elf/dl-lookup.c (do_lookup_x): Remove comment
5534 referring to nested function and move variable
5535 declarations down to before first use.
5537 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5541 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5543 * math/s_catanf.c (__catanf): Likewise.
5544 * math/s_catanh.c (__catanh): Likewise.
5545 * math/s_catanhf.c (__catanhf): Likewise.
5546 * math/s_catanhl.c (__catanhl): Likewise.
5547 * math/s_catanl.c (__catanl): Likewise.
5548 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5549 by positive zero when computing -Inf result.
5550 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5551 (catanh_test): Likewise.
5552 * sysdeps/i386/fpu/libm-test-ulps: Update.
5553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5556 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5557 instead of using underflowing value in computing result.
5558 * math/s_clog10.c (__clog10): Likewise.
5559 * math/s_clog10f.c (__clog10f): Likewise.
5560 * math/s_clog10l.c (__clog10l): Likewise.
5561 * math/s_clogf.c (__clogf): Likewise.
5562 * math/s_clogl.c (__clogl): Likewise.
5563 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5564 (clog10_test): Likewise.
5565 * sysdeps/i386/fpu/libm-test-ulps: Update.
5566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568 2014-04-02 Alan Modra <amodra@gmail.com>
5571 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5572 output when value is near a power of two. Use int64_t for lx and
5573 remove casts. Use decimal rather than hex exponent constants.
5574 Don't use long double multiplication when double will suffice.
5575 * math/libm-test.inc (nextafter_test_data): Add tests.
5576 * NEWS: Add 16739 and 16786 to bug list.
5578 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5580 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5582 2014-04-01 Will Newton <will.newton@linaro.org>
5584 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5585 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5587 2014-04-01 Florian Weimer <fweimer@redhat.com>
5590 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5591 * nptl/tst-setuid2.c: New file.
5592 * nptl/Makefile (xtests): Add tst-setuid2.
5594 2014-04-01 Alan Modra <amodra@gmail.com>
5597 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5599 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5603 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5604 set errno as appropriate.
5605 * math/w_scalbf.c (__scalbf): Likewise.
5606 * math/w_scalbl.c (__scalbl): Likewise.
5607 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5608 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5609 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5613 * math/w_atan2.c: Include <errno.h>.
5614 (__atan2): Set errno for result underflowing to zero.
5615 * math/w_atan2f.c: Include <errno.h>.
5616 (__atan2f): Set errno for result underflowing to zero.
5617 * math/w_atan2l.c: Include <errno.h>.
5618 (__atan2l): Set errno for result underflowing to zero.
5619 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5621 * math/auto-libm-test-out: Regenerated.
5623 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5625 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5626 Encode instruction correctly in little endian.
5627 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5629 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5633 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5636 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5639 * sysdeps/unix/sysv/linux/kernel-features.h
5640 [__sparc__ && !__arch64__ && !__sparc_v9__]
5641 (__ASSUME_SET_ROBUST_LIST): Do not define.
5642 [__sparc__ && !__arch64__ && !__sparc_v9__]
5643 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5644 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5646 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5647 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5648 (__ASSUME_REQUEUE_PI): Likewise.
5649 (__ASSUME_SET_ROBUST_LIST): Likewise.
5650 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5651 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5653 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5654 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5656 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5658 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5660 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5661 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5663 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5664 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5668 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5669 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5670 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5672 2014-03-31 Will Newton <will.newton@linaro.org>
5674 * benchtests/Makefile (bench): Add ffs and ffsll to list
5676 * benchtests/ffs-inputs: New file.
5677 * benchtests/ffsll-inputs: Likewise.
5679 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5682 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5683 too large before casting to int.
5684 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5685 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5686 * math/libm-test.inc (scalb_test_data): Add more tests.
5688 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5690 * benchtests/Makefile (DETAILED_OPT): New make option.
5691 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5693 * benchtests/bench-skeleton.c: Include stdbool.h.
5694 (main): Store and print timings per input.
5695 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5696 member to each argument value.
5697 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5698 (_print_arg_data): Initialize per-input timing to 0.
5700 * benchtests/Makefile (timing-type): New binary.
5701 (bench-clean): Also remove bench-timing-type.
5702 (bench): New target for timing-type.
5703 (bench-func): Print output in JSON format.
5704 * benchtests/bench-skeleton.c (main): Print output in JSON
5706 * benchtests/bench-timing-type.c: New file.
5707 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5708 (TIMING_PRINT_STATS): Remove.
5709 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5712 * benchtests/bench-modf.c: Remove.
5713 * benchtests/modf-inputs: New inputs file.
5715 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5718 * math/s_clog10.c (M_PI_LOG10E): New macro.
5719 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5720 imaginary parts are 0.
5721 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5722 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5723 imaginary parts are 0.
5724 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5725 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5726 imaginary parts are 0.
5727 * math/libm-test.inc (clog10_test_data): Update expected results
5728 for when real and imaginary parts are 0.
5730 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5732 * elf/dl-load.c: Finish conversion of __builtin_expect into
5735 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5738 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5739 1+x for argument with exponent below -67.
5740 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5742 * math/auto-libm-test-in: Add more tests of exp.
5743 * math/auto-libm-test-out: Regenerated.
5745 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5748 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5749 (nscd_getnetgrent): Use it.
5752 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5755 2014-03-27 Andi Kleen <ak@linux.intel.com>
5757 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5758 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5759 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5760 (lll_robust_unlock): Remove out of line section. Use cfi
5762 (LLL_STUB_UNWIND_INFO*): Remove.
5763 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5764 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5765 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5766 (lll_robust_unlock): Remove out of line section. Use cfi
5768 (LLL_STUB_UNWIND_INFO*): Remove.
5770 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5773 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5776 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5778 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5780 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5783 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5785 * math/test-fenv-preserve.c: New file.
5786 * math/Makefile (tests): Add test-fenv-preserve.
5788 2014-03-26 Will Newton <will.newton@linaro.org>
5790 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5792 2014-03-25 Roland McGrath <roland@hack.frob.com>
5794 * scripts/versionlist.awk: Partition the version sets and emit all
5795 GLIBC_* (sorted) before all others (sorted).
5797 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5799 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5800 GLIBC_2.2.5 version.
5802 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5804 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5807 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5812 2014-03-25 Andreas Schwab <schwab@suse.de>
5814 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5815 label to be used after in6ailist is initialized.
5817 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5820 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5822 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5826 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5828 (fp_formats): Update initializers.
5829 (init_fp_formats): Initialize new field.
5830 (output_for_one_input_case): Allow underflow for results up to
5832 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5833 * math/auto-libm-test-in: Don't mark some underflows from asin and
5835 * math/auto-libm-test-out: Regenerated.
5836 * sysdeps/i386/fpu/libm-test-ulps: Update.
5837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5839 2014-03-25 Andreas Schwab <schwab@suse.de>
5841 * libio/Makefile (tst-ftell-partial-wide-ENV)
5842 (tst-ftell-active-handler-ENV): Define.
5844 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5846 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5848 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5850 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5852 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5854 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5855 * sysdeps/x86_64/fpu/multiarch/e_exp.c
5856 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5858 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
5861 * elf/dl-load.c (open_verify): Add mode parameter.
5862 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5863 (open_path): Change from boolean 'secure' to complete flag 'mode'
5864 (_dl_map_object): Adjust.
5865 * elf/Makefile (tests): Add tst-dlopen-aout.
5866 * elf/tst-dlopen-aout.c: New test.
5868 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
5871 * sysdeps/unix/sysv/linux/s390/bits/stat.h
5872 (struct stat): Rename member pad0 to __glibc_reserved0.
5875 * sysdeps/s390/s390-32/bits/wordsize.h
5876 (__WORDSIZE32_SIZE_ULONG): New define.
5877 * sysdeps/s390/s390-64/bits/wordsize.h
5878 (__WORDSIZE32_SIZE_ULONG): Likewise.
5879 * sysdeps/generic/stdint.h (SIZE_MAX):
5880 Define as UL if __WORDSIZE32_SIZE_ULONG.
5883 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5884 (__glibc_reserved0): New variable.
5885 (sa_flags): Change type to int.
5887 * posix/Makefile (before-compile): Use += before-compile instead
5890 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5891 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5893 2014-03-20 Andreas Schwab <schwab@suse.de>
5896 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5897 non-matching result from nscd.
5899 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5901 * scripts/bench.py: Moved to ...
5902 * benchtests/scripts/bench.py: ... here.
5903 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5905 2014-03-24 Andreas Schwab <schwab@suse.de>
5908 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5909 alloca_account and account alloca use for struct in6ailist.
5911 2014-03-24 Joseph Myers <joseph@codesourcery.com>
5914 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5915 rounding mode to recompute results that overflow to infinity or
5917 * math/auto-libm-test-in: Don't mark tests as expected to fail for
5919 * math/auto-libm-test-out: Regenerated.
5920 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5921 (ccosh_test): Likewise.
5922 (csin_test_data): Use plus_oflow.
5923 (csin_test): Use ALL_RM_TEST.
5924 (csinh_test_data): Use plus_oflow.
5925 (csinh_test): Use ALL_RM_TEST.
5926 * sysdeps/i386/fpu/libm-test-ulps: Update.
5927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5929 2014-03-21 Joseph Myers <joseph@codesourcery.com>
5931 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5932 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5933 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5936 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5938 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5939 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5940 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5941 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5943 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5944 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5946 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5947 * sysdeps/i386/fpu/libm-test-ulps: Update.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5950 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5952 * scripts/bench.pl: Remove file.
5953 * scripts/bench.py: New benchmark script.
5954 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5955 * benchtests/README: Mention python dependency.
5956 * scripts/pylintrc: New file.
5957 * scripts/pylint: New file.
5959 * bits/mathdef.h: Use #ifdef instead of #if.
5960 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5961 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5962 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5963 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5964 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5965 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5967 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5970 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5972 and strpbrk-ppc64 objects.
5973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5974 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5975 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5976 multiarch strpbrk for POWER7.
5977 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5978 multiarch strpbrk for PPC64.
5979 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5981 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5984 2014-03-20 Joseph Myers <joseph@codesourcery.com>
5986 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5987 (atan_test): Likewise.
5988 (atanh_test_data): Use NO_TEST_INLINE for two tests.
5989 (atanh_test): Use ALL_RM_TEST.
5990 (atan2_test_data): Likewise.
5991 (cabs_test): Likewise.
5992 (cacosh_test): Likewise.
5993 (carg_test): Likewise.
5994 (casin_test): Likewise.
5995 (casinh_test): Likewise.
5996 (cbrt_test): Likewise.
5997 (csqrt_test): Likewise.
5998 (erf_test): Likewise.
5999 (erfc_test): Likewise.
6000 (pow10_test): Likewise.
6001 (exp2_test): Likewise.
6002 (hypot_test): Likewise.
6003 (j0_test): Likewise.
6004 (j1_test): Likewise.
6005 (lgamma_test): Likewise.
6006 (gamma_test): Likewise.
6007 (sincos_test): Likewise.
6008 (tanh_test): Likewise.
6009 (y0_test): Likewise.
6010 (y1_test): Likewise.
6011 * sysdeps/i386/fpu/libm-test-ulps: Update.
6012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6014 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6016 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6018 and strcspn-ppc64 objects.
6019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6020 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6021 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6022 multiarch strcspn for POWER7.
6023 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6024 multiarch strcspn for PPC64.
6025 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6027 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6030 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6032 * math/gen-libm-test.pl (generate_testfile): Expect only function
6033 name as argument to AUTO_TESTS_* and pass results for all rounding
6034 modes to parse_args.
6035 (parse_auto_input): Separate inputs of automatic tests from
6036 outputs before storing in %auto_tests.
6037 * math/libm-test.inc (acos_test_data): Update call to
6039 (acos_test): Use ALL_RM_TEST.
6040 (acos_tonearest_test_data): Remove.
6041 (acos_test_tonearest): Likewise.
6042 (acos_towardzero_test_data): Likewise.
6043 (acos_test_towardzero): Likewise.
6044 (acos_downward_test_data): Likewise.
6045 (acos_test_downward): Likewise.
6046 (acos_upward_test_data): Likewise.
6047 (acos_test_upward): Likewise.
6048 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6049 (asin_test_data): Likewise.
6050 (asin_test): Use ALL_RM_TEST.
6051 (asin_tonearest_test_data): Remove.
6052 (asin_test_tonearest): Likewise.
6053 (asin_towardzero_test_data): Likewise.
6054 (asin_test_towardzero): Likewise.
6055 (asin_downward_test_data): Likewise.
6056 (asin_test_downward): Likewise.
6057 (asin_upward_test_data): Likewise.
6058 (asin_test_upward): Likewise.
6059 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6060 (atan_test_data): Likewise.
6061 (atanh_test_data): Likewise.
6062 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6063 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6064 (carg_test_data): Likewise.
6065 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6066 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6067 (ccosh_test_data): Likewise.
6068 (cexp_test_data): Likewise.
6069 (clog_test_data): Likewise.
6070 (clog10_test_data): Likewise.
6071 (cos_test_data): Update call to AUTO_TESTS_f_f.
6072 (cos_test): Use ALL_RM_TEST.
6073 (cos_tonearest_test_data): Remove.
6074 (cos_test_tonearest): Likewise.
6075 (cos_towardzero_test_data): Likewise.
6076 (cos_test_towardzero): Likewise.
6077 (cos_downward_test_data): Likewise.
6078 (cos_test_downward): Likewise.
6079 (cos_upward_test_data): Likewise.
6080 (cos_test_upward): Likewise.
6081 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6082 (cosh_test): Use ALL_RM_TEST.
6083 (cosh_tonearest_test_data): Remove.
6084 (cosh_test_tonearest): Likewise.
6085 (cosh_towardzero_test_data): Likewise.
6086 (cosh_test_towardzero): Likewise.
6087 (cosh_downward_test_data): Likewise.
6088 (cosh_test_downward): Likewise.
6089 (cosh_upward_test_data): Likewise.
6090 (cosh_test_upward): Likewise.
6091 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6092 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6093 (ctan_test_data): Likewise.
6094 (ctan_test): Use ALL_RM_TEST.
6095 (ctan_tonearest_test_data): Remove.
6096 (ctan_test_tonearest): Likewise.
6097 (ctan_towardzero_test_data): Likewise.
6098 (ctan_test_towardzero): Likewise.
6099 (ctan_downward_test_data): Likewise.
6100 (ctan_test_downward): Likewise.
6101 (ctan_upward_test_data): Likewise.
6102 (ctan_test_upward): Likewise.
6103 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6104 (ctanh_test): Use ALL_RM_TEST.
6105 (ctanh_tonearest_test_data): Remove.
6106 (ctanh_test_tonearest): Likewise.
6107 (ctanh_towardzero_test_data): Likewise.
6108 (ctanh_test_towardzero): Likewise.
6109 (ctanh_downward_test_data): Likewise.
6110 (ctanh_test_downward): Likewise.
6111 (ctanh_upward_test_data): Likewise.
6112 (ctanh_test_upward): Likewise.
6113 (erf_test_data): Update call to AUTO_TESTS_f_f.
6114 (erfc_test_data): Likewise.
6115 (exp_test_data): Likewise.
6116 (exp_test): Use ALL_RM_TEST.
6117 (exp_tonearest_test_data): Remove.
6118 (exp_test_tonearest): Likewise.
6119 (exp_towardzero_test_data): Likewise.
6120 (exp_test_towardzero): Likewise.
6121 (exp_downward_test_data): Likewise.
6122 (exp_test_downward): Likewise.
6123 (exp_upward_test_data): Likewise.
6124 (exp_test_upward): Likewise.
6125 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6126 (exp10_test): Use ALL_RM_TEST.
6127 (exp10_tonearest_test_data): Remove.
6128 (exp10_test_tonearest): Likewise.
6129 (exp10_towardzero_test_data): Likewise.
6130 (exp10_test_towardzero): Likewise.
6131 (exp10_downward_test_data): Likewise.
6132 (exp10_test_downward): Likewise.
6133 (exp10_upward_test_data): Likewise.
6134 (exp10_test_upward): Likewise.
6135 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6136 (expm1_test_data): Likewise.
6137 (expm1_test): Use ALL_RM_TEST.
6138 (expm1_tonearest_test_data): Remove.
6139 (expm1_test_tonearest): Likewise.
6140 (expm1_towardzero_test_data): Likewise.
6141 (expm1_test_towardzero): Likewise.
6142 (expm1_downward_test_data): Likewise.
6143 (expm1_test_downward): Likewise.
6144 (expm1_upward_test_data): Likewise.
6145 (expm1_test_upward): Likewise.
6146 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6147 (fma_test): Use ALL_RM_TEST.
6148 (fma_towardzero_test_data): Remove.
6149 (fma_test_towardzero): Likewise.
6150 (fma_downward_test_data): Likewise.
6151 (fma_test_downward): Likewise.
6152 (fma_upward_test_data): Likewise.
6153 (fma_test_upward): Likewise.
6154 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6155 (j0_test_data): Update call to AUTO_TESTS_f_f.
6156 (j1_test_data): Likewise.
6157 (jn_test_data): Update call to AUTO_TESTS_if_f.
6158 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6159 (log_test_data): Update call to AUTO_TESTS_f_f.
6160 (log10_test_data): Likewise.
6161 (log1p_test_data): Likewise.
6162 (log2_test_data): Likewise.
6163 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6164 (pow_tonearest_test_data): Likewise.
6165 (sin_test_data): Update call to AUTO_TESTS_f_f.
6166 (sin_test): Use ALL_RM_TEST.
6167 (sin_tonearest_test_data): Remove.
6168 (sin_test_tonearest): Likewise.
6169 (sin_towardzero_test_data): Likewise.
6170 (sin_test_towardzero): Likewise.
6171 (sin_downward_test_data): Likewise.
6172 (sin_test_downward): Likewise.
6173 (sin_upward_test_data): Likewise.
6174 (sin_test_upward): Likewise.
6175 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6176 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6177 (sinh_test): Use ALL_RM_TEST.
6178 (sinh_tonearest_test_data): Remove.
6179 (sinh_test_tonearest): Likewise.
6180 (sinh_towardzero_test_data): Likewise.
6181 (sinh_test_towardzero): Likewise.
6182 (sinh_downward_test_data): Likewise.
6183 (sinh_test_downward): Likewise.
6184 (sinh_upward_test_data): Likewise.
6185 (sinh_test_upward): Likewise.
6186 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6187 (sqrt_test): Use ALL_RM_TEST.
6188 (sqrt_tonearest_test_data): Remove.
6189 (sqrt_test_tonearest): Likewise.
6190 (sqrt_towardzero_test_data): Likewise.
6191 (sqrt_test_towardzero): Likewise.
6192 (sqrt_downward_test_data): Likewise.
6193 (sqrt_test_downward): Likewise.
6194 (sqrt_upward_test_data): Likewise.
6195 (sqrt_test_upward): Likewise.
6196 (tan_test_data): Update call to AUTO_TESTS_f_f.
6197 (tan_test): Use ALL_RM_TEST.
6198 (tan_tonearest_test_data): Remove.
6199 (tan_test_tonearest): Likewise.
6200 (tan_towardzero_test_data): Likewise.
6201 (tan_test_towardzero): Likewise.
6202 (tan_downward_test_data): Likewise.
6203 (tan_test_downward): Likewise.
6204 (tan_upward_test_data): Likewise.
6205 (tan_test_upward): Likewise.
6206 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6207 (tgamma_test_data): Likewise.
6208 (y0_test_data): Likewise.
6209 (y1_test_data): Likewise.
6210 (yn_test_data): Update call to AUTO_TESTS_if_f.
6211 (main): Do not call removed functions.
6213 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6215 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6216 (ldexp_test_data): Remove.
6217 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6219 (scalb_test): Use ALL_RM_TEST.
6221 2014-03-19 Andreas Schwab <schwab@suse.de>
6223 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6225 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6228 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6229 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6230 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6231 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6232 (__ASSUME_PREADV): Undefine.
6233 (__ASSUME_PWRITEV): Likewise.
6235 2014-03-18 Roland McGrath <roland@hack.frob.com>
6237 * bits/mman-linux.h: Add comment about non-Linux use.
6238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6239 bits/mman-linux.h resting place.
6241 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6242 * bits/mman-linux.h: ... here.
6244 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6246 * conform/conformtest.pl: Add standard definition when calling C
6247 preprocessor on data files.
6248 (checknamespace): Remove unused variable.
6250 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6252 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6253 minus_oflow, plus_uflow and minus_uflow in expected results.
6254 * math/libm-test.inc (scalbn_test_data): Add more tests of
6255 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6257 (scalbn_test): Use ALL_RM_TEST.
6258 (scalbln_test_data): Add more tests of negative arguments. Use
6259 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6260 (scalbln_test): Use ALL_RM_TEST.
6262 2014-03-18 Roland McGrath <roland@hack.frob.com>
6264 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6266 2014-03-18 Will Newton <will.newton@linaro.org>
6268 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6271 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6273 * Makerules [!subdir] (check-abi): Exit with error status if a
6276 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6278 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6279 for rint. Include results for all rounding modes.
6280 (nearbyint_test): Use ALL_RM_TEST.
6281 (rint_test_data): Include all tests used for nearbyint.
6283 2014-03-17 Will Newton <will.newton@linaro.org>
6285 * nptl/sysdeps/pthread/pthread.h: Revert previous
6288 * sysdeps/generic/ldsodefs.h: Revert previous
6291 * libio/genops.c: Revert previous change.
6292 * libio/libioP.h: Likewise.
6293 * stdio-common/vfprintf.c: Likewise.
6295 * sysdeps/generic/math_private.h: Revert previous
6298 * sysdeps/generic/math_private.h: Check whether
6299 HAVE_RM_CTX is defined with #ifdef rather
6302 * argp/argp-fmtstream.h: Check whether
6303 __STRICT_ANSI__ is defined with #ifdef rather
6305 * argp/argp.h: Likewise.
6307 * libio/genops.c: Check whether
6308 _IO_JUMPS_OFFSET is defined with #ifdef rather
6310 * libio/libioP.h: Likewise.
6311 * stdio-common/vfprintf.c: Likewise.
6313 * sysdeps/generic/ldsodefs.h: Check whether
6314 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6317 * nptl/sysdeps/pthread/pthread.h: Check
6318 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6321 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6323 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6325 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6329 * libio/fileops.c (_IO_file_open): Seek to end of file but
6330 don't cache the offset.
6331 (get_file_offset): Remove function.
6332 (do_ftell): Use cached offset when available.
6333 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6334 don't cache the offset.
6335 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6337 (do_one_test): Call it.
6338 (do_ftell_test): Fix up expected old offset for a+ mode.
6339 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6342 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6343 up test status with function return status.
6344 (do_write_test): Likewise.
6345 (do_append_test): Likewise.
6347 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6348 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6351 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6353 * math/gen-libm-test.pl (parse_args): Handle results specified for
6354 each rounding mode separately.
6355 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6356 tests and results from lrint_tonearest_test_data,
6357 lrint_towardzero_test_data, lrint_downward_test_data and
6358 lrint_upward_test_data.
6359 (lrint_test): Use ALL_RM_TEST.
6360 (lrint_tonearest_test_data): Remove.
6361 (lrint_test_tonearest): Likewise.
6362 (lrint_towardzero_test_data): Likewise.
6363 (lrint_test_towardzero): Likewise.
6364 (lrint_downward_test_data): Likewise.
6365 (lrint_test_downward): Likewise.
6366 (lrint_upward_test_data): Likewise.
6367 (lrint_test_upward): Likewise.
6368 (llrint_test_data): Merge in per-rounding-mode tests and results
6369 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6370 llrint_downward_test_data and llrint_upward_test_data.
6371 (llrint_test): Use ALL_RM_TEST.
6372 (llrint_tonearest_test_data): Remove.
6373 (llrint_test_tonearest): Likewise.
6374 (llrint_towardzero_test_data): Likewise.
6375 (llrint_test_towardzero): Likewise.
6376 (llrint_downward_test_data): Likewise.
6377 (llrint_test_downward): Likewise.
6378 (llrint_upward_test_data): Likewise.
6379 (llrint_test_upward): Likewise.
6380 (rint_test_data): Merge in per-rounding-mode tests and results
6381 from rint_tonearest_test_data, rint_towardzero_test_data,
6382 rint_downward_test_data and rint_upward_test_data. Add
6383 per-rounding-mode results for tests not in those arrays.
6384 (rint_test): Use ALL_RM_TEST.
6385 (rint_tonearest_test_data): Remove.
6386 (rint_test_tonearest): Likewise.
6387 (rint_towardzero_test_data): Likewise.
6388 (rint_test_towardzero): Likewise.
6389 (rint_downward_test_data): Likewise.
6390 (rint_test_downward): Likewise.
6391 (rint_upward_test_data): Likewise.
6392 (rint_test_upward): Likewise.
6393 (main): Don't call removed functions.
6395 2014-03-14 Roland McGrath <roland@hack.frob.com>
6397 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6398 "Compiled on ..." crapola. It is anti-useful.
6400 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6402 * scripts/evaluate-test.sh: Handle fourth argument to determine
6403 whether test run should stop on failure.
6404 * Makeconfig (stop-on-test-failure): New variable.
6405 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6406 $(stop-on-test-failure).
6407 * Makefile (tests): Give a summary of results from testing and
6408 exit with failure status if they include an ERROR or FAIL.
6410 * manual/install.texi (Configuring and compiling): Mention
6411 stop-on-test-failure=y.
6412 * INSTALL: Regenerated.
6414 2014-03-14 Roland McGrath <roland@hack.frob.com>
6416 * scripts/versionlist.awk: New file.
6417 * Makerules [$(build-shared) = yes]
6418 (postclean-generated): Add Versions.def, not Versions.def.v and
6420 ($(common-objpfx)Versions.def.v.i): Target removed.
6421 ($(common-objpfx)Versions.def): New target.
6422 ($(common-objpfx)Versions.all): Depend on that rather that
6423 $(common-objpfx)Versions.def.v.
6424 * Versions.def: File removed.
6426 * Makeconfig (+gccwarn): Add -Wundef.
6427 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6428 a dl-sysdep.h breaking its contract.
6429 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6430 * include/stackinfo.h: New file.
6431 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6432 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6433 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6434 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6435 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6436 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6437 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6438 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6439 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6440 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6441 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6442 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6443 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6444 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6445 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6447 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6452 * math/libm-test.inc (round_test_data): Add more tests.
6455 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6457 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6460 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6462 * math/libm-test.inc (ceil_test_data): Add more tests.
6464 * math/libm-test.inc (trunc_test_data): Add more tests related to
6467 2014-03-14 Roland McGrath <roland@hack.frob.com>
6469 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6470 with #if rather than #ifdef.
6471 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6473 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6475 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6476 first. Disable AVX-512 GCC support if assembler doesn't support
6478 * sysdeps/x86_64/configure: Regenerated.
6480 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6482 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6483 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6484 (__old_pthread_attr_setstack): Likewise.
6485 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6486 [!_STACK_GROWS_DOWN]: Likewise.
6488 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6490 * config.make.in (have-bash2): Delete.
6491 * configure.ac (libc_cv_have_bash2): Delete.
6492 * configure: Regenerate.
6493 * elf/Makefile (common-ldd-rewrite): Rename to ...
6494 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6495 (sh-ldd-rewrite): Delete.
6496 (bash-ldd-rewrite): Delete.
6497 (have-bash2): Delete checks.
6498 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6501 * config.make.in (have-ksh): Delete.
6503 * configure.ac (libc_cv_have_ksh): Delete.
6504 * configure: Regenerate.
6506 * elf/Makefile: Delete $(have-ksh) check.
6507 ($(objpfx)sotruss): Change KSH to BASH.
6508 * elf/sotruss.ksh: Rename to ...
6509 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6510 function style to match POSIX. Drop ksh vim mode setting.
6512 * manual/time.texi (Specifying the Time Zone with TZ): Change
6513 Tuesday to Thursday.
6515 * debug/tst-longjmp_chk2.c: Update header comment.
6516 (stackoverflow_handler): Add comment. Call assert on pass value.
6518 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6520 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6521 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6522 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6523 (La_x86_64_vector): Add zmm.
6524 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6525 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6526 ($(objpfx)tst-audit10): New target.
6527 ($(objpfx)tst-audit10.out): Likewise.
6528 (tst-audit10-ENV): New.
6529 (AVX512-CFLAGS): Likewise.
6530 (CFLAGS-tst-audit10.c): Likewise.
6531 (CFLAGS-tst-auditmod10a.c): Likewise.
6532 (CFLAGS-tst-auditmod10b.c): Likewise.
6533 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6534 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6535 * sysdeps/x86_64/configure: Regenerated.
6536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6537 AVX-512 zmm register support.
6538 (_dl_x86_64_save_sse): Likewise.
6539 (_dl_x86_64_restore_sse): Likewise.
6540 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6541 size vector registers.
6542 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6543 (ZMM_SIZE): Likewise.
6544 * sysdeps/x86_64/tst-audit10.c: New file.
6545 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6546 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6548 2014-03-13 Roland McGrath <roland@hack.frob.com>
6550 * configure.ac (HAVE_EHDR_START): New check.
6551 * configure: Regenerated.
6552 * config.h.in (HAVE_EHDR_START): New #undef.
6553 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6554 assuming the lowest-addressed segment maps the start of the file.
6556 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6558 * INSTALL: Regenerated.
6560 2014-03-13 Will Newton <will.newton@linaro.org>
6562 * manual/setjmp.texi (System V contexts): Improve
6563 clarity and grammar of documentation.
6565 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6568 * elf/Makefile (tests): Add tst-pie2.
6569 (tests-pie): Add tst-pie2.
6570 * elf/tst-pie2.c: New file.
6571 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6573 * elf/rtld.c (map_doit): Load executable as lt_executable.
6574 (dl_main): Likewise.
6576 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6580 (__ASSUME_PSELECT): Undefine.
6582 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6585 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6586 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6588 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6589 selector for static builds.
6591 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6594 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6597 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6599 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6600 IFUNC selector for static builds.
6602 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6604 * sysdeps/mips/math_private.h [__mips_hard_float]
6605 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6606 libc_feresetround_mips_ctx.
6607 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6608 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6609 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6612 * math/s_nextafter.c (__nextafter): Do not return value from
6613 overflowing computation.
6614 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6615 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6616 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6618 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6620 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6621 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6623 2014-03-11 Roland McGrath <roland@hack.frob.com>
6625 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6626 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6627 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6628 the new mov targetting sp.
6630 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6634 Define it for static builds as well.
6635 (NO_BZERO_IMPL): Likewise.
6637 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6639 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6640 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6641 multiarch strspn for PPC64.
6642 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6643 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6645 (__libc_ifunc_impl_list): Likewise.
6646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6647 multiarch optimizations
6648 * string/strspn.c (strspn): Using macro to redefine symbol name.
6650 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6651 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6653 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6654 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6655 multiarch strncat for PPC64.
6656 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6657 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6659 (__libc_ifunc_impl_list): Likewise.
6660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6661 multiarch optimizations
6663 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6666 * nscd/nscd.service: Make service type forking.
6668 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6670 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6671 sign in non default rounding modes.
6672 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6674 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6676 * math/libm-test.inc (ALL_RM_TEST): New macro.
6677 (ceil_test): Use ALL_RM_TEST.
6678 (cimag_test): Likewise.
6679 (conj_test): Likewise.
6680 (copysign_test): Likewise.
6681 (cproj_test): Likewise.
6682 (creal_test): Likewise.
6683 (fabs_test): Likewise.
6684 (floor_test): Likewise.
6685 (fmax_test): Likewise.
6686 (fmin_test): Likewise.
6687 (fmod_test): Likewise.
6688 (fpclassify_test): Likewise.
6689 (frexp_test): Likewise.
6690 (ilogb_test): Likewise.
6691 (isfinite_test): Likewise.
6692 (finite_test): Likewise.
6693 (isgreater_test): Likewise.
6694 (isgreaterequal_test): Likewise.
6695 (isinf_test): Likewise.
6696 (isless_test): Likewise.
6697 (islessequal_test): Likewise.
6698 (islessgreater_test): Likewise.
6699 (isnan_test): Likewise.
6700 (isnormal_test): Likewise.
6701 (issignaling_test): Likewise.
6702 (isunordered_test): Likewise.
6703 (logb_test): Likewise.
6704 (logb_downward_test_data): Remove.
6705 (logb_test_downward): Likewise.
6706 (lround_test): Use ALL_RM_TEST.
6707 (llround_test): Likewise.
6708 (modf_test): Likewise.
6709 (nexttoward_test): Likewise.
6710 (remainder_test): Likewise.
6711 (drem_test): Likewise.
6712 (remainder_tonearest_test_data): Likewise.
6713 (remainder_test_tonearest): Likewise.
6714 (drem_test_tonearest): Likewise.
6715 (remainder_towardzero_test_data): Likewise.
6716 (remainder_test_towardzero): Likewise.
6717 (drem_test_towardzero): Likewise.
6718 (remainder_downward_test_data): Likewise.
6719 (remainder_test_downward): Likewise.
6720 (drem_test_downward): Likewise.
6721 (remainder_upward_test_data): Likewise.
6722 (remainder_test_upward): Likewise.
6723 (drem_test_upward): Likewise.
6724 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6725 (round_test): Use ALL_RM_TEST.
6726 (signbit_test): Likewise.
6727 (trunc_test): Likewise.
6728 (significand_test): Likewise.
6729 (main): Don't call removed functions.
6731 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6734 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6736 (ILL_ILLOPN): Likewise.
6737 (ILL_ILLADR): Likewise.
6738 (ILL_ILLTRP): Likewise.
6739 (ILL_PRVOPC): Likewise.
6740 (ILL_PRVREG): Likewise.
6741 (ILL_COPROC): Likewise.
6742 (ILL_BADSTK): Likewise.
6743 (FPE_INTDIV): Likewise.
6744 (FPE_INTOVF): Likewise.
6745 (FPE_FLTDIV): Likewise.
6746 (FPE_FLTOVF): Likewise.
6747 (FPE_FLTUND): Likewise.
6748 (FPE_FLTRES): Likewise.
6749 (FPE_FLTINV): Likewise.
6750 (FPE_FLTSUB): Likewise.
6751 (SEGV_MAPERR): Likewise.
6752 (SEGV_ACCERR): Likewise.
6753 (BUS_ADRALN): Likewise.
6754 (BUS_ADRERR): Likewise.
6755 (BUS_OBJERR): Likewise.
6756 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6757 (TRAP_TRACE): Likewise.
6758 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6760 (CLD_KILLED): Likewise.
6761 (CLD_DUMPED): Likewise.
6762 (CLD_TRAPPED): Likewise.
6763 (CLD_STOPPED): Likewise.
6764 (CLD_CONTINUED): Likewise.
6765 (POLL_IN): Likewise.
6766 (POLL_OUT): Likewise.
6767 (POLL_MSG): Likewise.
6768 (POLL_ERR): Likewise.
6769 (POLL_PRI): Likewise.
6770 (POLL_HUP): Likewise.
6771 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6773 (ILL_ILLOPN): Likewise.
6774 (ILL_ILLADR): Likewise.
6775 (ILL_ILLTRP): Likewise.
6776 (ILL_PRVOPC): Likewise.
6777 (ILL_PRVREG): Likewise.
6778 (ILL_COPROC): Likewise.
6779 (ILL_BADSTK): Likewise.
6780 (FPE_INTDIV): Likewise.
6781 (FPE_INTOVF): Likewise.
6782 (FPE_FLTDIV): Likewise.
6783 (FPE_FLTOVF): Likewise.
6784 (FPE_FLTUND): Likewise.
6785 (FPE_FLTRES): Likewise.
6786 (FPE_FLTINV): Likewise.
6787 (FPE_FLTSUB): Likewise.
6788 (SEGV_MAPERR): Likewise.
6789 (SEGV_ACCERR): Likewise.
6790 (BUS_ADRALN): Likewise.
6791 (BUS_ADRERR): Likewise.
6792 (BUS_OBJERR): Likewise.
6793 (BUS_MCEERR_AR): Likewise.
6794 (BUS_MCEERR_AO): Likewise.
6795 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6796 (TRAP_TRACE): Likewise.
6797 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6799 (CLD_KILLED): Likewise.
6800 (CLD_DUMPED): Likewise.
6801 (CLD_TRAPPED): Likewise.
6802 (CLD_STOPPED): Likewise.
6803 (CLD_CONTINUED): Likewise.
6804 (POLL_IN): Likewise.
6805 (POLL_OUT): Likewise.
6806 (POLL_MSG): Likewise.
6807 (POLL_ERR): Likewise.
6808 (POLL_PRI): Likewise.
6809 (POLL_HUP): Likewise.
6810 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6811 (ILL_ILLOPN): Likewise.
6812 (ILL_ILLADR): Likewise.
6813 (ILL_ILLTRP): Likewise.
6814 (ILL_PRVOPC): Likewise.
6815 (ILL_PRVREG): Likewise.
6816 (ILL_COPROC): Likewise.
6817 (ILL_BADSTK): Likewise.
6818 (FPE_INTDIV): Likewise.
6819 (FPE_INTOVF): Likewise.
6820 (FPE_FLTDIV): Likewise.
6821 (FPE_FLTOVF): Likewise.
6822 (FPE_FLTUND): Likewise.
6823 (FPE_FLTRES): Likewise.
6824 (FPE_FLTINV): Likewise.
6825 (FPE_FLTSUB): Likewise.
6826 (SEGV_MAPERR): Likewise.
6827 (SEGV_ACCERR): Likewise.
6828 (BUS_ADRALN): Likewise.
6829 (BUS_ADRERR): Likewise.
6830 (BUS_OBJERR): Likewise.
6831 (BUS_MCEERR_AR): Likewise.
6832 (BUS_MCEERR_AO): Likewise.
6833 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6834 (TRAP_TRACE): Likewise.
6835 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6837 (CLD_KILLED): Likewise.
6838 (CLD_DUMPED): Likewise.
6839 (CLD_TRAPPED): Likewise.
6840 (CLD_STOPPED): Likewise.
6841 (CLD_CONTINUED): Likewise.
6842 (POLL_IN): Likewise.
6843 (POLL_OUT): Likewise.
6844 (POLL_MSG): Likewise.
6845 (POLL_ERR): Likewise.
6846 (POLL_PRI): Likewise.
6847 (POLL_HUP): Likewise.
6848 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6850 (ILL_ILLOPN): Likewise.
6851 (ILL_ILLADR): Likewise.
6852 (ILL_ILLTRP): Likewise.
6853 (ILL_PRVOPC): Likewise.
6854 (ILL_PRVREG): Likewise.
6855 (ILL_COPROC): Likewise.
6856 (ILL_BADSTK): Likewise.
6857 (ILL_BADIADDR): Likewise.
6858 (ILL_BREAK): Likewise.
6859 (FPE_INTDIV): Likewise.
6860 (FPE_INTOVF): Likewise.
6861 (FPE_FLTDIV): Likewise.
6862 (FPE_FLTOVF): Likewise.
6863 (FPE_FLTUND): Likewise.
6864 (FPE_FLTRES): Likewise.
6865 (FPE_FLTINV): Likewise.
6866 (FPE_FLTSUB): Likewise.
6867 (FPE_DECOVF): Likewise.
6868 (FPE_DECDIV): Likewise.
6869 (FPE_DECERR): Likewise.
6870 (FPE_INVASC): Likewise.
6871 (FPE_INVDEC): Likewise.
6872 (SEGV_MAPERR): Likewise.
6873 (SEGV_ACCERR): Likewise.
6874 (SEGV_PSTKOVF): Likewise.
6875 (BUS_ADRALN): Likewise.
6876 (BUS_ADRERR): Likewise.
6877 (BUS_OBJERR): Likewise.
6878 (BUS_MCEERR_AR): Likewise.
6879 (BUS_MCEERR_AO): Likewise.
6880 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6881 (TRAP_TRACE): Likewise.
6882 (TRAP_BRANCH): Likewise.
6883 (TRAP_HWBKPT): Likewise.
6884 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6886 (CLD_KILLED): Likewise.
6887 (CLD_DUMPED): Likewise.
6888 (CLD_TRAPPED): Likewise.
6889 (CLD_STOPPED): Likewise.
6890 (CLD_CONTINUED): Likewise.
6891 (POLL_IN): Likewise.
6892 (POLL_OUT): Likewise.
6893 (POLL_MSG): Likewise.
6894 (POLL_ERR): Likewise.
6895 (POLL_PRI): Likewise.
6896 (POLL_HUP): Likewise.
6897 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6898 (ILL_ILLOPN): Likewise.
6899 (ILL_ILLADR): Likewise.
6900 (ILL_ILLTRP): Likewise.
6901 (ILL_PRVOPC): Likewise.
6902 (ILL_PRVREG): Likewise.
6903 (ILL_COPROC): Likewise.
6904 (ILL_BADSTK): 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 (SEGV_MAPERR): Likewise.
6914 (SEGV_ACCERR): Likewise.
6915 (BUS_ADRALN): Likewise.
6916 (BUS_ADRERR): Likewise.
6917 (BUS_OBJERR): Likewise.
6918 (BUS_MCEERR_AR): Likewise.
6919 (BUS_MCEERR_AO): Likewise.
6920 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6921 (TRAP_TRACE): Likewise.
6922 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6924 (CLD_KILLED): Likewise.
6925 (CLD_DUMPED): Likewise.
6926 (CLD_TRAPPED): Likewise.
6927 (CLD_STOPPED): Likewise.
6928 (CLD_CONTINUED): Likewise.
6929 (POLL_IN): Likewise.
6930 (POLL_OUT): Likewise.
6931 (POLL_MSG): Likewise.
6932 (POLL_ERR): Likewise.
6933 (POLL_PRI): Likewise.
6934 (POLL_HUP): Likewise.
6935 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6936 (ILL_ILLOPN): Likewise.
6937 (ILL_ILLADR): Likewise.
6938 (ILL_ILLTRP): Likewise.
6939 (ILL_PRVOPC): Likewise.
6940 (ILL_PRVREG): Likewise.
6941 (ILL_COPROC): Likewise.
6942 (ILL_BADSTK): Likewise.
6943 (FPE_INTDIV): Likewise.
6944 (FPE_INTOVF): Likewise.
6945 (FPE_FLTDIV): Likewise.
6946 (FPE_FLTOVF): Likewise.
6947 (FPE_FLTUND): Likewise.
6948 (FPE_FLTRES): Likewise.
6949 (FPE_FLTINV): Likewise.
6950 (FPE_FLTSUB): Likewise.
6951 (SEGV_MAPERR): Likewise.
6952 (SEGV_ACCERR): Likewise.
6953 (BUS_ADRALN): Likewise.
6954 (BUS_ADRERR): Likewise.
6955 (BUS_OBJERR): Likewise.
6956 (BUS_MCEERR_AR): Likewise.
6957 (BUS_MCEERR_AO): Likewise.
6958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6959 (TRAP_TRACE): Likewise.
6960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6962 (CLD_KILLED): Likewise.
6963 (CLD_DUMPED): Likewise.
6964 (CLD_TRAPPED): Likewise.
6965 (CLD_STOPPED): Likewise.
6966 (CLD_CONTINUED): Likewise.
6967 (POLL_IN): Likewise.
6968 (POLL_OUT): Likewise.
6969 (POLL_MSG): Likewise.
6970 (POLL_ERR): Likewise.
6971 (POLL_PRI): Likewise.
6972 (POLL_HUP): Likewise.
6973 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6974 (ILL_ILLOPN): Likewise.
6975 (ILL_ILLADR): Likewise.
6976 (ILL_ILLTRP): Likewise.
6977 (ILL_PRVOPC): Likewise.
6978 (ILL_PRVREG): Likewise.
6979 (ILL_COPROC): Likewise.
6980 (ILL_BADSTK): Likewise.
6981 (FPE_INTDIV): Likewise.
6982 (FPE_INTOVF): Likewise.
6983 (FPE_FLTDIV): Likewise.
6984 (FPE_FLTOVF): Likewise.
6985 (FPE_FLTUND): Likewise.
6986 (FPE_FLTRES): Likewise.
6987 (FPE_FLTINV): Likewise.
6988 (FPE_FLTSUB): Likewise.
6989 (SEGV_MAPERR): Likewise.
6990 (SEGV_ACCERR): Likewise.
6991 (BUS_ADRALN): Likewise.
6992 (BUS_ADRERR): Likewise.
6993 (BUS_OBJERR): Likewise.
6994 (BUS_MCEERR_AR): Likewise.
6995 (BUS_MCEERR_AO): Likewise.
6996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6997 (TRAP_TRACE): Likewise.
6998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7000 (CLD_KILLED): Likewise.
7001 (CLD_DUMPED): Likewise.
7002 (CLD_TRAPPED): Likewise.
7003 (CLD_STOPPED): Likewise.
7004 (CLD_CONTINUED): Likewise.
7005 (POLL_IN): Likewise.
7006 (POLL_OUT): Likewise.
7007 (POLL_MSG): Likewise.
7008 (POLL_ERR): Likewise.
7009 (POLL_PRI): Likewise.
7010 (POLL_HUP): Likewise.
7011 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7012 (ILL_ILLOPN): Likewise.
7013 (ILL_ILLADR): Likewise.
7014 (ILL_ILLTRP): Likewise.
7015 (ILL_PRVOPC): Likewise.
7016 (ILL_PRVREG): Likewise.
7017 (ILL_COPROC): Likewise.
7018 (ILL_BADSTK): Likewise.
7019 (ILL_DBLFLT): Likewise.
7020 (ILL_HARDWALL): Likewise.
7021 (FPE_INTDIV): Likewise.
7022 (FPE_INTOVF): Likewise.
7023 (FPE_FLTDIV): Likewise.
7024 (FPE_FLTOVF): Likewise.
7025 (FPE_FLTUND): Likewise.
7026 (FPE_FLTRES): Likewise.
7027 (FPE_FLTINV): Likewise.
7028 (FPE_FLTSUB): Likewise.
7029 (SEGV_MAPERR): Likewise.
7030 (SEGV_ACCERR): Likewise.
7031 (BUS_ADRALN): Likewise.
7032 (BUS_ADRERR): Likewise.
7033 (BUS_OBJERR): Likewise.
7034 (BUS_MCEERR_AR): Likewise.
7035 (BUS_MCEERR_AO): Likewise.
7036 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7037 (TRAP_TRACE): Likewise.
7038 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7040 (CLD_KILLED): Likewise.
7041 (CLD_DUMPED): Likewise.
7042 (CLD_TRAPPED): Likewise.
7043 (CLD_STOPPED): Likewise.
7044 (CLD_CONTINUED): Likewise.
7045 (POLL_IN): Likewise.
7046 (POLL_OUT): Likewise.
7047 (POLL_MSG): Likewise.
7048 (POLL_ERR): Likewise.
7049 (POLL_PRI): Likewise.
7050 (POLL_HUP): Likewise.
7051 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7052 (ILL_ILLOPN): Likewise.
7053 (ILL_ILLADR): Likewise.
7054 (ILL_ILLTRP): Likewise.
7055 (ILL_PRVOPC): Likewise.
7056 (ILL_PRVREG): Likewise.
7057 (ILL_COPROC): Likewise.
7058 (ILL_BADSTK): Likewise.
7059 (FPE_INTDIV): Likewise.
7060 (FPE_INTOVF): Likewise.
7061 (FPE_FLTDIV): Likewise.
7062 (FPE_FLTOVF): Likewise.
7063 (FPE_FLTUND): Likewise.
7064 (FPE_FLTRES): Likewise.
7065 (FPE_FLTINV): Likewise.
7066 (FPE_FLTSUB): Likewise.
7067 (SEGV_MAPERR): Likewise.
7068 (SEGV_ACCERR): Likewise.
7069 (BUS_ADRALN): Likewise.
7070 (BUS_ADRERR): Likewise.
7071 (BUS_OBJERR): Likewise.
7072 (BUS_MCEERR_AR): Likewise.
7073 (BUS_MCEERR_AO): Likewise.
7074 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7075 (TRAP_TRACE): Likewise.
7076 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7078 (CLD_KILLED): Likewise.
7079 (CLD_DUMPED): Likewise.
7080 (CLD_TRAPPED): Likewise.
7081 (CLD_STOPPED): Likewise.
7082 (CLD_CONTINUED): Likewise.
7083 (POLL_IN): Likewise.
7084 (POLL_OUT): Likewise.
7085 (POLL_MSG): Likewise.
7086 (POLL_ERR): Likewise.
7087 (POLL_PRI): Likewise.
7088 (POLL_HUP): Likewise.
7089 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7090 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7093 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7094 before #include of <time.h>.
7095 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7096 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7097 (test-xfail-UNIX98/sched.h/conform): Likewise.
7099 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7101 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7102 error absence of trapping exception support.
7103 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7105 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7107 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7108 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7109 * timezone/Makefile (testdata): Move definition above include of
7111 (test-zones): New variable.
7112 (tests-special): Add zone files.
7113 (build-testdata): Use $(evaluate-test).
7115 * elf/Makefile (tests-special): Rename tests to end with .out.
7116 ($(objpfx)noload-mem): Likewise.
7117 ($(objpfx)tst-leaks1-mem): Likewise.
7118 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7119 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7120 $(objpfx)test-iconvconfig.out.
7121 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7122 set -e inside subshell and redirect output to file.
7123 * iconvdata/Makefile (generated): Rename tests to end with .out.
7125 (tests-special): Rename tests to end with .out.
7126 ($(objpfx)mtrace-tst-loading): Likewise.
7127 * intl/Makefile (generated): Likewise.
7128 (tests-special): Likewise.
7129 ($(objpfx)mtrace-tst-gettext): Likewise.
7130 * misc/Makefile (generated): Likewise.
7131 (tests-special): Likewise.
7132 ($(objpfx)tst-error1-mem): Likewise.
7133 * nptl/Makefile (tests-special): Likewise.
7134 ($(objpfx)tst-stack3-mem): Likewise.
7135 (generated): Likewise.
7136 * posix/Makefile (generated): Likewise.
7137 (tests-special): Likewise.
7138 (xtests-special): Likewise.
7139 ($(objpfx)tst-fnmatch-mem): Likewise.
7140 ($(objpfx)bug-regex2-mem): Likewise.
7141 ($(objpfx)bug-regex14-mem): Likewise.
7142 ($(objpfx)bug-regex21-mem): Likewise.
7143 ($(objpfx)bug-regex31-mem): Likewise.
7144 ($(objpfx)tst-vfork3-mem): Likewise.
7145 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7146 ($(objpfx)tst-pcre-mem): Likewise.
7147 ($(objpfx)tst-boost-mem): Likewise.
7148 ($(objpfx)bug-ga2-mem): Likewise.
7149 ($(objpfx)bug-glob2-mem): Likewise.
7150 * resolv/Makefile (generate): Likewise.
7151 (tests-special): Likewise.
7152 (xtests-special): Likewise.
7153 (generated): Likewise.
7154 ($(objpfx)mtrace-tst-leaks): Likewise.
7155 ($(objpfx)mtrace-tst-leaks2): Likewise.
7157 * scripts/merge-test-results.sh: New file.
7158 * Makefile (tests-special-notdir): New variable.
7159 (tests): Run merge-test-results.sh.
7161 * Rules (tests-special-notdir): New variable.
7162 (xtests-special-notdir): Likewise.
7163 (tests): Run merge-test-results.sh
7166 * Makeconfig (test-xfail-name): New variable.
7167 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7168 compute variable name for expected failures.
7169 * conform/Makefile (conformtest-headers-data): New variable.
7170 (conformtest-standards): Likewise.
7171 (conformtest-headers-ISO): Likewise.
7172 (conformtest-headers-ISO99): Likewise.
7173 (conformtest-headers-ISO11): Likewise.
7174 (conformtest-headers-POSIX): Likewise.
7175 (conformtest-headers-XPG3): Likewise.
7176 (conformtest-headers-XPG4): Likewise.
7177 (conformtest-headers-UNIX98): Likewise.
7178 (conformtest-headers-XOPEN2K): Likewise.
7179 (conformtest-headers-POSIX2008): Likewise.
7180 (conformtest-headers-XOPEN2K8): Likewise.
7181 (conformtest-header-list-base): Likewise.
7182 (conformtest-header-list-tests): Likewise.
7183 (conformtest-header-base): Likewise.
7184 (conformtest-header-tests): Likewise.
7185 (tests-special): Add $(conformtest-header-list-tests). If
7186 [$(fast-check) && !$(cross-compiling)], add
7187 $(conformtest-header-tests) instead of
7188 $(objpfx)run-conformtest.out.
7189 (generated): Add $(conformtest-header-list-base). If
7190 [$(fast-check) && !$(cross-compiling)], add
7191 $(conformtest-header-base). Remove previous setting.
7192 ($(conformtest-header-list-tests)): New target.
7193 (test-xfail-run-conformtest): Remove variable.
7194 ($(objpfx)run-conformtest.out): Remove target.
7195 (test-xfail-ISO11/complex.h/conform): New variable.
7196 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7197 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7198 (test-xfail-XPG3/varargs.h/conform): Likewise.
7199 (test-xfail-XPG4/varargs.h/conform): Likewise.
7200 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7201 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7202 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7203 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7204 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7205 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7206 (test-xfail-XPG3/ftw.h/conform): Likewise.
7207 (test-xfail-XPG3/grp.h/conform): Likewise.
7208 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7209 (test-xfail-XPG3/limits.h/conform): Likewise.
7210 (test-xfail-XPG3/pwd.h/conform): Likewise.
7211 (test-xfail-XPG3/search.h/conform): Likewise.
7212 (test-xfail-XPG3/signal.h/conform): Likewise.
7213 (test-xfail-XPG3/stdio.h/conform): Likewise.
7214 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7215 (test-xfail-XPG3/string.h/conform): Likewise.
7216 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7217 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7218 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7219 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7220 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7221 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7222 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7223 (test-xfail-XPG3/termios.h/conform): Likewise.
7224 (test-xfail-XPG3/time.h/conform): Likewise.
7225 (test-xfail-XPG3/unistd.h/conform): Likewise.
7226 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7227 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7228 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7229 (test-xfail-XPG4/netdb.h/conform): Likewise.
7230 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7231 (test-xfail-XPG4/signal.h/conform): Likewise.
7232 (test-xfail-XPG4/stdio.h/conform): Likewise.
7233 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7234 (test-xfail-XPG4/stropts.h/conform): Likewise.
7235 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7236 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7237 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7238 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7239 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7240 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7241 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7242 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7243 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7244 (test-xfail-XPG4/termios.h/conform): Likewise.
7245 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7246 (test-xfail-XPG4/unistd.h/conform): Likewise.
7247 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7248 (test-xfail-POSIX/sched.h/conform): Likewise.
7249 (test-xfail-POSIX/signal.h/conform): Likewise.
7250 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7251 (test-xfail-POSIX/tar.h/conform): Likewise.
7252 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7253 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7254 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7255 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7256 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7257 (test-xfail-UNIX98/sched.h/conform): Likewise.
7258 (test-xfail-UNIX98/signal.h/conform): Likewise.
7259 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7260 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7261 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7262 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7263 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7264 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7265 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7266 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7267 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7268 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7269 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7270 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7271 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7272 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7273 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7274 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7275 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7276 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7277 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7278 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7279 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7280 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7281 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7282 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7283 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7284 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7285 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7286 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7287 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7288 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7289 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7290 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7291 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7292 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7293 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7294 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7295 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7296 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7297 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7298 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7299 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7300 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7301 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7302 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7303 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7304 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7305 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7306 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7307 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7308 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7309 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7310 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7311 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7312 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7313 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7314 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7315 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7316 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7317 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7318 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7319 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7320 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7321 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7322 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7323 (conformtest-cc-flags): Likewise.
7324 ($(conformtest-header-tests): New target.
7325 * conform/check-header-lists.sh: New file.
7326 * conform/run-conformtest.sh: Remove.
7328 * conform/conformtest.pl: Allow ' and \ in values given for
7330 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7332 [POSIX] (sys/types.h): Likewise.
7333 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7335 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7337 * conform/data/signal.h-data (SIGIO): Remove expectation.
7338 [XPG3] (SIGBUS): Do not expect.
7339 [POSIX || XPG3] (SIGPOLL): Likewise.
7340 [POSIX || XPG3] (SIGPROF): Likewise.
7341 [POSIX || XPG3] (SIGSYS): Likewise.
7342 [XPG3] (SIGTRAP): Likewise.
7343 [POSIX || XPG3] (SIGURG): Likewise.
7344 [POSIX || XPG3] (SIGVTALRM): Likewise.
7345 [POSIX || XPG3] (SIGXCPU): Likewise.
7346 [POSIX || XPG3] (SIGXFSZ): Likewise.
7347 [POSIX] (SA_SIGINFO): Expect.
7348 [XPG3] (siginfo_t): Do not expect type or contents.
7349 [POSIX] (si_pid): Do not expect element.
7350 [POSIX] (si_uid): Likewise.
7351 [POSIX] (si_addr): Likewise.
7352 [POSIX] (si_status): Likewise.
7353 [POSIX] (si_band): Likewise.
7354 [XPG4] (si_value): Likewise.
7355 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7356 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7357 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7358 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7359 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7360 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7361 [POSIX || XPG3] (ILL_COPROC): Likewise.
7362 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7363 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7364 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7365 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7366 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7367 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7368 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7369 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7370 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7371 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7372 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7373 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7374 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7375 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7376 [POSIX || XPG3] (CLD_EXITED): Likewise.
7377 [POSIX || XPG3] (CLD_KILLED): Likewise.
7378 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7379 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7380 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7381 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7382 [POSIX || XPG3] (POLL_IN): Likewise.
7383 [POSIX || XPG3] (POLL_OUT): Likewise.
7384 [POSIX || XPG3] (POLL_MSG): Likewise.
7385 [POSIX || XPG3] (POLL_ERR): Likewise.
7386 [POSIX || XPG3] (POLL_PRI): Likewise.
7387 [POSIX || XPG3] (POLL_HUP): Likewise.
7388 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7389 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7390 (SIG*): Do not allow.
7391 [XPG3] (si_*): Likewise.
7392 [XPG3] (SI_*): Likewise.
7393 [XPG3 || XPG4] (sigev_*): Likewise.
7394 [XPG3 || XPG4] (SIGEV_*): Likewise.
7395 [XPG3 || XPG4] (sival_*): Likewise.
7396 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7397 [POSIX || XPG3] (BUS_*): Likewise.
7398 [POSIX || XPG3] (CLD_*): Likewise.
7399 [POSIX || XPG3] (FPE_*): Likewise.
7400 [POSIX || XPG3] (ILL_*): Likewise.
7401 [POSIX || XPG3] (POLL_*): Likewise.
7402 [POSIX || XPG3] (SEGV_*): Likewise.
7403 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7404 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7405 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7406 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7407 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7408 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7409 Specify type and value.
7410 (TVERSLEN): Likewise.
7411 (REGTYPE): Likewise.
7412 (AREGTYPE): Likewise.
7413 (LNKTYPE): Likewise.
7414 (SYMTYPE): Likewise.
7415 (CHRTYPE): Likewise.
7416 (BLKTYPE): Likewise.
7417 (DIRTYPE): Likewise.
7418 (FIFOTYPE): Likewise.
7419 (CONTTYPE): Likewise.
7424 (TUWRITE): Likewise.
7427 (TGWRITE): Likewise.
7430 (TOWRITE): Likewise.
7432 [POSIX] (TSVTX): Expect constant.
7434 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7436 * Makefile (tests): Change dependencies to ....
7437 (tests-special): ... additions to this variable.
7438 (tests): Depend on $(tests-special).
7439 * Makerules (check-abi-list): New variable.
7440 (check-abi): Depend on $(check-abi-list).
7441 [$(subdir) = elf] (tests-special): Add
7442 $(objpfx)check-abi-libc.out.
7443 [$(build-shared) = yes && subdir] (tests-special): Add
7445 [$(build-shared) = yes && subdir] (tests): Do not depend on
7447 * Rules (tests): Depend on $(tests-special).
7448 (xtests): Depend on $(xtests-special).
7449 * catgets/Makefile (tests): Change dependencies to ....
7450 (tests-special): ... additions to this variable.
7451 * conform/Makefile (tests): Change dependencies to ....
7452 (tests-special): ... additions to this variable.
7453 * elf/Makefile (tests): Change dependencies to ....
7454 (tests-special): ... additions to this variable.
7455 * grp/Makefile (tests): Change dependencies to ....
7456 (tests-special): ... additions to this variable.
7457 * iconv/Makefile (xtests): Change dependencies to ....
7458 (xtests-special): ... additions to this variable.
7459 * iconvdata/Makefile (tests): Change dependencies to ....
7460 (tests-special): ... additions to this variable.
7461 * intl/Makefile (tests): Change dependencies to ....
7462 (tests-special): ... additions to this variable. Also add
7463 $(objpfx)tst-gettext.out.
7464 * io/Makefile (tests): Change dependencies to ....
7465 (tests-special): ... additions to this variable.
7466 * libio/Makefile (tests): Change dependencies to ....
7467 (tests-special): ... additions to this variable.
7468 * malloc/Makefile (tests): Change dependencies to ....
7469 (tests-special): ... additions to this variable.
7470 * misc/Makefile (tests): Change dependencies to ....
7471 (tests-special): ... additions to this variable.
7472 * nptl/Makefile (tests): Change dependencies to ....
7473 (tests-special): ... additions to this variable.
7474 * nptl_db/Makefile (tests): Change dependencies to ....
7475 (tests-special): ... additions to this variable.
7476 * posix/Makefile (tests): Change dependencies to ....
7477 (tests-special): ... additions to this variable.
7478 (xtests): Change dependencies to ....
7479 (xtests-special): ... additions to this variable.
7480 * resolv/Makefile (tests): Change dependencies to ....
7481 (tests-special): ... additions to this variable.
7482 (xtests): Change dependencies to ....
7483 (xtests-special): ... additions to this variable.
7484 * stdio-common/Makefile (tests): Change dependencies to ....
7485 (tests-special): ... additions to this variable.
7486 (do-tst-unbputc): Remove target.
7487 (do-tst-printf): Likewise.
7488 * stdlib/Makefile (tests): Change dependencies to ....
7489 (tests-special): ... additions to this variable.
7490 * string/Makefile (tests): Change dependencies to ....
7491 (tests-special): ... additions to this variable.
7492 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7493 (tests-special): ... additions to this variable.
7495 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7497 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7499 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7500 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7502 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7503 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7504 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7505 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7506 * conform/data/libgen.h-data [XPG3]: Likewise.
7507 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7508 * conform/data/ndbm.h-data [XPG3]: Likewise.
7509 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7510 * conform/data/netdb.h-data [XPG3]: Likewise.
7511 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7512 * conform/data/poll.h-data [XPG3]: Likewise.
7513 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7514 * conform/data/strings.h-data [XPG3]: Likewise.
7515 * conform/data/stropts.h-data [XPG3]: Likewise.
7516 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7517 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7518 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7520 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7521 * conform/data/sys/time.h-data [XPG3]: Likewise.
7522 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7523 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7524 * conform/data/sys/un.h-data [XPG3]: Likewise.
7525 * conform/data/syslog.h-data [XPG3]: Likewise.
7526 * conform/data/ucontext.h-data [XPG3]: Likewise.
7527 * conform/data/utmpx.h-data [XPG3]: Likewise.
7528 * conform/data/varargs.h-data [UNIX98]: Enable file.
7530 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7532 * math/libm-test.inc (struct test_f_f_data): Move expected results
7533 into structure for each rounding mode.
7534 (struct test_ff_f_data): Likewise.
7535 (struct test_ff_f_data_nexttoward): Likewise.
7536 (struct test_fi_f_data): Likewise.
7537 (struct test_fl_f_data): Likewise.
7538 (struct test_if_f_data): Likewise.
7539 (struct test_fff_f_data): Likewise.
7540 (struct test_c_f_data): Likewise.
7541 (struct test_f_f1_data): Likewise.
7542 (struct test_fF_f1_data): Likewise.
7543 (struct test_ffI_f1_data): Likewise.
7544 (struct test_c_c_data): Likewise.
7545 (struct test_cc_c_data): Likewise.
7546 (struct test_f_i_data): Likewise.
7547 (struct test_ff_i_data): Likewise.
7548 (struct test_f_l_data): Likewise.
7549 (struct test_f_L_data): Likewise.
7550 (struct test_fFF_11_data): Likewise.
7552 (RM_FE_DOWNWARD): Likewise.
7553 (RM_FE_TONEAREST): Likewise.
7554 (RM_FE_TOWARDZERO): Likewise.
7555 (RM_FE_UPWARD): Likewise.
7556 (RUN_TEST_LOOP_f_f): Update references to expected results.
7557 (RUN_TEST_LOOP_2_f): Likewise.
7558 (RUN_TEST_LOOP_fff_f): Likewise.
7559 (RUN_TEST_LOOP_c_f): Likewise.
7560 (RUN_TEST_LOOP_f_f1): Likewise.
7561 (RUN_TEST_LOOP_fF_f1): Likewise.
7562 (RUN_TEST_LOOP_fI_f1): Likewise.
7563 (RUN_TEST_LOOP_ffI_f1): Likewise.
7564 (RUN_TEST_LOOP_c_c): Likewise.
7565 (RUN_TEST_LOOP_cc_c): Likewise.
7566 (RUN_TEST_LOOP_f_i): Likewise.
7567 (RUN_TEST_LOOP_f_i_tg): Likewise.
7568 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7569 (RUN_TEST_LOOP_f_b): Likewise.
7570 (RUN_TEST_LOOP_f_b_tg): Likewise.
7571 (RUN_TEST_LOOP_f_l): Likewise.
7572 (RUN_TEST_LOOP_f_L): Likewise.
7573 (RUN_TEST_LOOP_fFF_11): Likewise.
7574 * math/gen-libm-test.pl (parse_args): Output four copies of
7575 expected results for each test.
7577 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7578 (__ASSUME_UTIMES): Remove.
7579 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7580 (__ASSUME_UTIMES): Likewise.
7582 * math/gen-auto-libm-tests.c: Update comment on output format.
7583 (output_for_one_input_case): Generate before-rounding and
7584 after-rounding information as conditions on output flags not
7585 floating-point format.
7586 * math/auto-libm-test-out: Regenerated.
7587 * math/gen-libm-test.pl (cond_value): New function.
7588 (or_cond_value): Use cond_value.
7589 (generate_testfile): Handle conditional exceptions.
7591 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7593 * math/libm-test.inc (max_valid_error): New variable.
7594 (init_max_error): Take new argument specifying whether function
7595 results are exactly determined. Set max_valid_error and bound
7596 other variables for errors based on this argument.
7597 (set_max_error): Do not record results above max_valid_error.
7598 (check_float_internal): Only accept errors of up to 0.5ulps if
7599 also at most max_valid_error.
7600 (START): Take new argument EXACT and pass it to init_max_error.
7601 (acos_test): Update call to START.
7602 (acos_test_tonearest): Likewise.
7603 (acos_test_towardzero): Likewise.
7604 (acos_test_downward): Likewise.
7605 (acos_test_upward): Likewise.
7606 (acosh_test): Likewise.
7607 (asin_test): Likewise.
7608 (asin_test_tonearest): Likewise.
7609 (asin_test_towardzero): Likewise.
7610 (asin_test_downward): Likewise.
7611 (asin_test_upward): Likewise.
7612 (asinh_test): Likewise.
7613 (atan_test): Likewise.
7614 (atanh_test): Likewise.
7615 (atan2_test): Likewise.
7616 (cabs_test): Likewise.
7617 (cacos_test): Likewise.
7618 (cacosh_test): Likewise.
7619 (carg_test): Likewise.
7620 (casin_test): Likewise.
7621 (casinh_test): Likewise.
7622 (catan_test): Likewise.
7623 (catanh_test): Likewise.
7624 (cbrt_test): Likewise.
7625 (ccos_test): Likewise.
7626 (ccosh_test): Likewise.
7627 (ceil_test): Likewise.
7628 (cexp_test): Likewise.
7629 (cimag_test): Likewise.
7630 (clog_test): Likewise.
7631 (clog10_test): Likewise.
7632 (conj_test): Likewise.
7633 (copysign_test): Likewise.
7634 (cos_test): Likewise.
7635 (cos_test_tonearest): Likewise.
7636 (cos_test_towardzero): Likewise.
7637 (cos_test_downward): Likewise.
7638 (cos_test_upward): Likewise.
7639 (cosh_test): Likewise.
7640 (cosh_test_tonearest): Likewise.
7641 (cosh_test_towardzero): Likewise.
7642 (cosh_test_downward): Likewise.
7643 (cosh_test_upward): Likewise.
7644 (cpow_test): Likewise.
7645 (cproj_test): Likewise.
7646 (creal_test): Likewise.
7647 (csin_test): Likewise.
7648 (csinh_test): Likewise.
7649 (csqrt_test): Likewise.
7650 (ctan_test): Likewise.
7651 (ctan_test_tonearest): Likewise.
7652 (ctan_test_towardzero): Likewise.
7653 (ctan_test_downward): Likewise.
7654 (ctan_test_upward): Likewise.
7655 (ctanh_test): Likewise.
7656 (ctanh_test_tonearest): Likewise.
7657 (ctanh_test_towardzero): Likewise.
7658 (ctanh_test_downward): Likewise.
7659 (ctanh_test_upward): Likewise.
7660 (erf_test): Likewise.
7661 (erfc_test): Likewise.
7662 (exp_test): Likewise.
7663 (exp_test_tonearest): Likewise.
7664 (exp_test_towardzero): Likewise.
7665 (exp_test_downward): Likewise.
7666 (exp_test_upward): Likewise.
7667 (exp10_test): Likewise.
7668 (exp10_test_tonearest): Likewise.
7669 (exp10_test_towardzero): Likewise.
7670 (exp10_test_downward): Likewise.
7671 (exp10_test_upward): Likewise.
7672 (pow10_test): Likewise.
7673 (exp2_test): Likewise.
7674 (expm1_test): Likewise.
7675 (expm1_test_tonearest): Likewise.
7676 (expm1_test_towardzero): Likewise.
7677 (expm1_test_downward): Likewise.
7678 (expm1_test_upward): Likewise.
7679 (fabs_test): Likewise.
7680 (fdim_test): Likewise.
7681 (floor_test): Likewise.
7682 (fma_test): Likewise.
7683 (fma_test_towardzero): Likewise.
7684 (fma_test_downward): Likewise.
7685 (fma_test_upward): Likewise.
7686 (fmax_test): Likewise.
7687 (fmin_test): Likewise.
7688 (fmod_test): Likewise.
7689 (fpclassify_test): Likewise.
7690 (frexp_test): Likewise.
7691 (hypot_test): Likewise.
7692 (ilogb_test): Likewise.
7693 (isfinite_test): Likewise.
7694 (finite_test): Likewise.
7695 (isgreater_test): Likewise.
7696 (isgreaterequal_test): Likewise.
7697 (isinf_test): Likewise.
7698 (isless_test): Likewise.
7699 (islessequal_test): Likewise.
7700 (islessgreater_test): Likewise.
7701 (isnan_test): Likewise.
7702 (isnormal_test): Likewise.
7703 (issignaling_test): Likewise.
7704 (isunordered_test): Likewise.
7705 (j0_test): Likewise.
7706 (j1_test): Likewise.
7707 (jn_test): Likewise.
7708 (ldexp_test): Likewise.
7709 (lgamma_test): Likewise.
7710 (gamma_test): Likewise.
7711 (lrint_test): Likewise.
7712 (lrint_test_tonearest): Likewise.
7713 (lrint_test_towardzero): Likewise.
7714 (lrint_test_downward): Likewise.
7715 (lrint_test_upward): Likewise.
7716 (llrint_test): Likewise.
7717 (llrint_test_tonearest): Likewise.
7718 (llrint_test_towardzero): Likewise.
7719 (llrint_test_downward): Likewise.
7720 (llrint_test_upward): Likewise.
7721 (log_test): Likewise.
7722 (log10_test): Likewise.
7723 (log1p_test): Likewise.
7724 (log2_test): Likewise.
7725 (logb_test): Likewise.
7726 (logb_test_downward): Likewise.
7727 (lround_test): Likewise.
7728 (llround_test): Likewise.
7729 (modf_test): Likewise.
7730 (nearbyint_test): Likewise.
7731 (nextafter_test): Likewise.
7732 (nexttoward_test): Likewise.
7733 (pow_test): Likewise.
7734 (pow_test_tonearest): Likewise.
7735 (pow_test_towardzero): Likewise.
7736 (pow_test_downward): Likewise.
7737 (pow_test_upward): Likewise.
7738 (remainder_test): Likewise.
7739 (drem_test): Likewise.
7740 (remainder_test_tonearest): Likewise.
7741 (drem_test_tonearest): Likewise.
7742 (remainder_test_towardzero): Likewise.
7743 (drem_test_towardzero): Likewise.
7744 (remainder_test_downward): Likewise.
7745 (drem_test_downward): Likewise.
7746 (remainder_test_upward): Likewise.
7747 (drem_test_upward): Likewise.
7748 (remquo_test): Likewise.
7749 (rint_test): Likewise.
7750 (rint_test_tonearest): Likewise.
7751 (rint_test_towardzero): Likewise.
7752 (rint_test_downward): Likewise.
7753 (rint_test_upward): Likewise.
7754 (round_test): Likewise.
7755 (scalb_test): Likewise.
7756 (scalbn_test): Likewise.
7757 (scalbln_test): Likewise.
7758 (signbit_test): Likewise.
7759 (sin_test): Likewise.
7760 (sin_test_tonearest): Likewise.
7761 (sin_test_towardzero): Likewise.
7762 (sin_test_downward): Likewise.
7763 (sin_test_upward): Likewise.
7764 (sincos_test): Likewise.
7765 (sinh_test): Likewise.
7766 (sinh_test_tonearest): Likewise.
7767 (sinh_test_towardzero): Likewise.
7768 (sinh_test_downward): Likewise.
7769 (sinh_test_upward): Likewise.
7770 (sqrt_test): Likewise.
7771 (sqrt_test_tonearest): Likewise.
7772 (sqrt_test_towardzero): Likewise.
7773 (sqrt_test_downward): Likewise.
7774 (sqrt_test_upward): Likewise.
7775 (tan_test): Likewise.
7776 (tan_test_tonearest): Likewise.
7777 (tan_test_towardzero): Likewise.
7778 (tan_test_downward): Likewise.
7779 (tan_test_upward): Likewise.
7780 (tanh_test): Likewise.
7781 (tgamma_test): Likewise.
7782 (trunc_test): Likewise.
7783 (y0_test): Likewise.
7784 (y1_test): Likewise.
7785 (yn_test): Likewise.
7786 (significand_test): Likewise.
7788 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7789 individual tests in comment.
7790 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7791 (prev_max_error): New variable.
7792 (prev_real_max_error): Likewise.
7793 (prev_imag_max_error): Likewise.
7794 (compare_ulp_data): Don't refer to test names in comment.
7795 (find_test_ulps): Remove function.
7796 (find_function_ulps): Likewise.
7797 (find_complex_function_ulps): Likewise.
7798 (init_max_error): Take function name as argument. Look up ulps
7800 (print_ulps): Remove function.
7801 (print_max_error): Use prev_max_error instead of calling
7803 (print_complex_max_error): Use prev_real_max_error and
7804 prev_imag_max_error instead of calling find_complex_function_ulps.
7805 (check_float_internal): Take max_ulp parameter instead of calling
7806 find_test_ulps. Don't call print_ulps.
7807 (check_float): Update call to check_float_internal.
7808 (check_complex): Update calls to check_float_internal.
7809 (START): Pass argument to init_max_error.
7810 * math/gen-libm-test.pl (%results): Don't include "kind"
7812 (parse_ulps): Don't handle ulps of individual tests.
7813 (print_ulps_file): Likewise.
7814 (output_ulps): Likewise.
7815 * math/README.libm-test: Update.
7816 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7818 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7819 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7820 * sysdeps/arm/libm-test-ulps: Likewise.
7821 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7822 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7823 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7824 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7825 * sysdeps/microblaze/libm-test-ulps: Likewise.
7826 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7827 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7828 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7829 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7830 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7831 * sysdeps/sh/libm-test-ulps: Likewise.
7832 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7833 * sysdeps/tile/libm-test-ulps: Likewise.
7834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7836 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7838 * math/libm-test.inc (print_complex_max_error): Check separately
7839 whether real and imaginary errors are within allowed range and
7840 pass 0 to print_complex_function_ulps instead of value within
7843 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7845 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7847 (get_handles_fopen): Likewise.
7848 (do_write_test): Likewise.
7850 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7852 * libio/fileops.c (do_ftell): Use cached offset when
7854 * libio/iofwide.c (do_ftell_wide): Likewise.
7855 * libio/iofdopen.c (_IO_new_fdopen): Don't use
7857 * libio/wfileops.c (_IO_fwide): Don't cache offset.
7860 * libio/libioP.h (get_file_offset): New function.
7861 * libio/fileops.c (get_file_offset): Likewise.
7862 (do_ftell): Likewise.
7863 (_IO_new_file_seekoff): Split out ftell logic.
7864 * libio/wfileops.c (do_ftell_wide): Likewise.
7865 (_IO_wfile_seekoff): Split out ftell logic.
7866 * libio/tst-ftell-active-handler.c: New test case.
7867 * libio/Makefile (tests): Add it.
7869 2014-03-03 Roland McGrath <roland@hack.frob.com>
7871 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7872 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7874 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7877 * nscd/connections.c (nscd_init): Call do_exit.
7878 (start_threads): Call do_exit and notify_parent.
7879 (begin_drop_privileges): Call do_exit.
7880 (finish_drop_privileges): Likewise.
7881 * nscd/selinux.c (preserve_capabilities): Likewise.
7882 (install_real_capabilities): Likewise.
7883 (nscd_selinux_enabled): Likewise.
7884 (avc_create_thread): Likewise.
7885 (avc_alloc_lock): Likewise.
7886 (nscd_avc_init): Likewise.
7887 * nscd/nscd.c (parent_fd): New static variable.
7888 (main): Create a pipe between parent and child processes.
7889 Skip closing parent_fd.
7890 (monitor_child): New function.
7891 (do_exit): Likewise.
7892 (notify_parent): Likewise.
7893 * nscd/nscd.h (notify_parent): Likewise.
7894 (do_exit): Likewise.
7896 2014-03-03 Carlos O'Donell <carlos@redhat.com>
7898 * malloc/malloc.c (__libc_calloc): Revert last change.
7900 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7904 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7906 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7907 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7909 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7910 (__libc_ifunc_impl_list): Likewise.
7911 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7912 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7913 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7914 * string/strrchr.c: Define STRRCHR.
7916 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
7918 * benchtest/bench-strtok.c (simple_strtok): Delete.
7919 (strtok_string): Use as benchmark.
7920 * string/strtok (STRTOK): New macro.
7922 2014-02-28 Carlos O'Donell <carlos@redhat.com>
7924 * manual/threads.texi: Add header and standard comments to all
7927 * elf/dl-lookup.c (check_match): New function.
7928 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7929 (do_lookup_x): Remove nested function check_match. Use non-nested
7930 function check_match.
7932 2014-02-28 Roland McGrath <roland@hack.frob.com>
7934 * csu/Makefile (generated, before-compile): Use += rather than =.
7935 * catgets/Makefile (generated, generated-dirs): Likewise.
7936 * debug/Makefile (generated): Likewise.
7937 * dlfcn/Makefile (generated): Likewise.
7938 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7939 * iconvdata/Makefile (before-compile, generated): Likewise.
7940 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7941 * libio/Makefile (generated): Likewise.
7942 * malloc/Makefile (generated): Likewise.
7943 * manual/Makefile (generated, generated-dirs): Likewise.
7944 * misc/Makefile (generated): Likewise.
7945 * posix/Makefile (generated): Likewise.
7946 * resolv/Makefile (generated): Likewise.
7947 * sunrpc/Makefile (generated, generated-dirs): Likewise.
7948 * timezone/Makefile (generated, generated-dirs): Likewise.
7950 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7952 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7954 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7955 power8 implementation.
7956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7957 file: POWER8 llround ifunc implementation.
7958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7959 (__lllround): Add POWER8 implementation.
7960 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7961 POWER8 llround implementation.
7963 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7964 power8 implementation.
7965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7966 file: POWER8 llrint ifunc implementation.
7967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7968 Add POWER8 implementation.
7969 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7970 POWER8 llrint implementation.
7972 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7973 power8 implementation.
7974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7975 file: POWER8 finite ifunc implementation.
7976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7977 Add POWER8 implementation.
7978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7980 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7981 POWER8 finite implementation.
7982 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7984 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7985 power8 implementation.
7986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7987 file: POWER8 isinf ifunc implementation.
7988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7989 POWER8 implementation.
7990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7992 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7993 isinf implementation.
7994 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7996 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7997 (INIT_ARCH): Add hwcap2 initialization.
7998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7999 power8 implementation.
8000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8001 file: POWER8 isnan ifunc implementation.
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8003 POWER8 implementation.
8004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8006 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8007 isnan implementation.
8008 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8010 2014-02-27 Joey Ye <joey.ye@arm.com>
8012 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8013 (_FP_NANFRAC_Q): Set to zero.
8015 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8018 * math/auto-libm-test-in: New test inputs.
8019 * math/auto-libm-test-out: Regenerate.
8020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8023 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8025 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8027 * scripts/evaluate-test.sh: Take new argument indicating whether
8028 failure is expected.
8029 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8030 indicating whether failure is expected.
8031 * conform/Makefile (test-xfail-run-conformtest): New variable.
8032 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8034 * posix/Makefile (test-xfail-annexc): New variable.
8035 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8037 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8039 * argp/Makefile: Include Makeconfig immediately after defining
8041 * assert/Makefile: Likewise.
8042 * benchtests/Makefile: Likewise.
8043 * catgets/Makefile: Likewise.
8044 * conform/Makefile: Likewise.
8045 * crypt/Makefile: Likewise.
8046 * csu/Makefile: Likewise.
8047 (all): Remove target.
8048 * ctype/Makefile: Include Makeconfig immediately after defining
8050 * debug/Makefile: Likewise.
8051 * dirent/Makefile: Likewise.
8052 * dlfcn/Makefile: Likewise.
8053 * gmon/Makefile: Likewise.
8054 * gnulib/Makefile: Likewise.
8055 * grp/Makefile: Likewise.
8056 * gshadow/Makefile: Likewise.
8057 * hesiod/Makefile: Likewise.
8058 * hurd/Makefile: Likewise.
8059 (all): Remove target.
8060 * iconvdata/Makefile: Include Makeconfig immediately after
8062 * inet/Makefile: Likewise.
8063 * intl/Makefile: Likewise.
8064 * io/Makefile: Likewise.
8065 * libio/Makefile: Likewise.
8066 (all): Remove target.
8067 * locale/Makefile: Include Makeconfig immediately after defining
8069 * login/Makefile: Likewise.
8070 * mach/Makefile: Likewise.
8071 (all): Remove target.
8072 * malloc/Makefile: Include Makeconfig immediately after defining
8074 (all): Remove target.
8075 * manual/Makefile: Include Makeconfig immediately after defining
8077 * math/Makefile: Likewise.
8078 * misc/Makefile: Likewise.
8079 * nis/Makefile: Likewise.
8080 * nss/Makefile: Likewise.
8081 * po/Makefile: Likewise.
8082 (all): Remove target.
8083 * posix/Makefile: Include Makeconfig immediately after defining
8085 * pwd/Makefile: Likewise.
8086 * resolv/Makefile: Likewise.
8087 * resource/Makefile: Likewise.
8088 * rt/Makefile: Likewise.
8089 * setjmp/Makefile: Likewise.
8090 * shadow/Makefile: Likewise.
8091 * signal/Makefile: Likewise.
8092 * socket/Makefile: Likewise.
8093 * soft-fp/Makefile: Likewise.
8094 * stdio-common/Makefile: Likewise.
8095 * stdlib/Makefile: Likewise.
8096 * streams/Makefile: Likewise.
8097 * string/Makefile: Likewise.
8098 * sunrpc/Makefile: Likewise.
8099 (all): Remove target.
8100 * sysvipc/Makefile: Include Makeconfig immediately after defining
8102 * termios/Makefile: Likewise.
8103 * time/Makefile: Likewise.
8104 * timezone/Makefile: Likewise.
8105 (all): Remove target.
8106 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8108 * wctype/Makefile: Likewise.
8110 2014-02-26 Steve Ellcey <sellcey@mips.com>
8112 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8113 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8114 (libc_feholdexcept_setround_mips): Ditto.
8115 (libc_feholdsetround): New.
8116 (libc_feholdsetroundf): New.
8117 (libc_feholdsetroundl): New.
8118 (libc_feupdateenv_test_mips): New.
8119 (libc_feupdateenv_test): New.
8120 (libc_feupdateenv_testf): New.
8121 (libc_feupdateenv_testl): New.
8122 (libc_feresetround): New.
8123 (libc_feresetroundf): New.
8124 (libc_feresetroundl): New.
8125 (libc_fetestexcept_mips): New.
8126 (libc_fetestexcept): New.
8127 (libc_fetestexceptf): New.
8128 (libc_fetestexceptl): New.
8130 (libc_feholdexcept_setround_mips_ctx): New.
8131 (libc_feholdexcept_setround_ctx): New.
8132 (libc_feholdexcept_setroundf_ctx): New.
8133 (libc_feholdexcept_setroundl_ctx): New.
8134 (libc_fesetenv_mips_ctx): New.
8135 (libc_fesetenv_ctx): New.
8136 (libc_fesetenv_ctxf): New.
8137 (libc_fesetenv_ctxl): New.
8138 (libc_feupdateenv_mips_ctx): New.
8139 (libc_feupdateenv_ctx): New.
8140 (libc_feupdateenvf_ctx): New.
8141 (libc_feupdateenvl_ctx): New.
8142 (libc_feholdsetround_mips_ctx): New.
8143 (libc_feholdsetround_ctx): New.
8144 (libc_feholdsetroundf_ctx): New.
8145 (libc_feholdsetroundl_ctx): New.
8146 (libc_feresetround_mips_ctx): New.
8147 (libc_feresetround_ctx): New.
8148 (libc_feresetroundf_ctx): New.
8149 (libc_feresetroundl_ctx): New.
8151 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8153 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8155 * manual/ipc.texi: New file.
8156 * manual/Makefile (chapters): Add ipc.
8157 * manual/job.texi: Add "Inter-Process Communication" to next.
8158 * manual/process.texi: Add "Inter-Process Communication" to prev.
8160 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8164 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8166 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8168 * manual/arith.texi: Fix spaces after sentences.
8169 * manual/charset.texi: Likewise.
8170 * manual/errno.texi: Likewise.
8171 * manual/install.texi: Likewise.
8172 * manual/llio.texi: Likewise.
8173 * manual/locale.texi: Likewise.
8174 * manual/maint.texi: Likewise.
8175 * manual/math.texi: Likewise.
8176 * manual/memory.texi: Likewise.
8177 * manual/message.texi: Likewise.
8178 * manual/probes.texi: Likewise.
8179 * manual/resource.texi: Likewise.
8180 * manual/signal.texi: Likewise.
8181 * manual/socket.texi: Likewise.
8182 * manual/stdio.texi: Likewise.
8183 * manual/string.texi: Likewise.
8184 * manual/time.texi: Likewise.
8185 * manual/users.texi: Likewise.
8187 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8190 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8191 _DEFAULT_SOURCE is defined.
8193 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8194 Carlos O'Donell <carlos@redhat.com>
8197 * elf/dl-tls.c (_dl_count_modids): New function.
8198 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8199 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8200 audit library and increment generation counter.
8201 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8202 * elf/tst-audit9.c: New file.
8203 * elf/tst-auditmod9a.c: New file.
8204 * elf/tst-auditmod9b.c: New file.
8205 * elf/Makefile: Add rules to build and run tst-audit9.
8207 2014-02-25 Florian Weimer <fweimer@redhat.com>
8210 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8212 2014-02-25 Will Newton <will.newton@linaro.org>
8214 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8215 (__longjmp): Restore sp and lr before restoring callee
8216 saved registers. Add longjmp and longjmp_target
8217 SystemTap probe point.
8218 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8219 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8220 Define to zero to match jmpbuf layout.
8221 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8222 (__sigsetjmp): Save sp and lr before saving callee
8223 saved registers. Add setjmp SystemTap probe point.
8225 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8227 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8229 2014-02-24 Andreas Schwab <schwab@suse.de>
8232 * elf/pldd.c (wait_for_ptrace_stop): New function.
8233 (main): Call it after attaching.
8235 2014-02-22 Roland McGrath <roland@hack.frob.com>
8237 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8238 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8239 Versions files is now verboten.
8240 * hurd/Versions (libc: GLIBC_2.0):
8241 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8242 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8243 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8244 * mach/Versions: Likewise.
8246 * csu/Versions: Remove unused %include.
8247 * resolv/Versions: Likewise.
8249 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8251 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8252 ($(objpfx)check-local-headers.out): Likewise.
8253 ($(objpfx)begin-end-check.out): Likewise.
8254 * Makerules (check-abi-%.out): Likewise.
8255 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8256 ($(objpfx)test2.cat): Likewise.
8257 ($(objpfx)de/libc.cat): Likewise.
8258 ($(objpfx)test-gencat.out): Likewise.
8259 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8260 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8261 ($(objpfx)noload-mem): Likewise.
8262 ($(objpfx)tst-pathopt.out): Likewise.
8263 ($(objpfx)tst-rtld-load-self.out): Likewise.
8264 ($(objpfx)tst-array1-cmp.out): Likewise.
8265 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8266 ($(objpfx)tst-array2-cmp.out): Likewise.
8267 ($(objpfx)tst-array3-cmp.out): Likewise.
8268 ($(objpfx)tst-array4-cmp.out): Likewise.
8269 ($(objpfx)tst-array5-cmp.out): Likewise.
8270 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8271 ($(objpfx)check-textrel.out): Likewise.
8272 ($(objpfx)check-execstack.out): Likewise.
8273 ($(objpfx)check-localplt.out): Likewise.
8274 ($(objpfx)order2-cmp.out): Likewise.
8275 ($(objpfx)tst-leaks1-mem): Likewise.
8276 ($(objpfx)tst-leaks1-static-mem): Likewise.
8277 ($(objpfx)tst-initorder-cmp.out): Likewise.
8278 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8279 ($(objpfx)tst-unused-dep.out): Likewise.
8280 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8281 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8282 * iconv/Makefile (test-iconvconfig): Likewise.
8283 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8284 ($(objpfx)iconv-test.out): Likewise.
8285 ($(objpfx)tst-tables.out): Likewise.
8286 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8287 ($(objpfx)tst-gettext.out): Likewise.
8288 ($(objpfx)tst-translit.out): Likewise.
8289 ($(objpfx)tst-gettext2.out): Likewise.
8290 ($(objpfx)tst-gettext4.out): Likewise.
8291 ($(objpfx)tst-gettext6.out): Likewise.
8292 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8293 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8294 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8295 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8296 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8297 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8298 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8299 ($(objpfx)wordexp-tst.out): Likewise.
8300 ($(objpfx)annexc.out): Likewise.
8301 ($(objpfx)tst-fnmatch-mem): Likewise.
8302 ($(objpfx)bug-regex2-mem): Likewise.
8303 ($(objpfx)bug-regex14-mem): Likewise.
8304 ($(objpfx)bug-regex21-mem): Likewise.
8305 ($(objpfx)bug-regex31-mem): Likewise.
8306 ($(objpfx)tst-vfork3-mem): Likewise.
8307 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8308 ($(objpfx)tst-pcre-mem): Likewise.
8309 ($(objpfx)tst-boost-mem): Likewise.
8310 ($(objpfx)tst-getconf.out): Likewise.
8311 ($(objpfx)bug-ga2-mem): Likewise.
8312 ($(objpfx)bug-glob2-mem): Likewise.
8313 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8314 ($(objpfx)mtrace-tst-leaks2): Likewise.
8315 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8316 ($(objpfx)tst-printf.out): Likewise.
8317 ($(objpfx)tst-setvbuf1.out): Likewise.
8318 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8319 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8320 ($(objpfx)tst-fmtmsg.out): Likewise.
8321 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8322 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8324 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8325 * bits/sigaction.h [__USE_MISC]: Likewise.
8326 * bits/waitstatus.h: Update #endif comments.
8327 * ctype/ctype.h: Likewise.
8328 * dirent/dirent.h: Likewise.
8329 [__USE_MISC]: Remove redundant conditionals.
8330 * grp/grp.h: Update #endif comments.
8331 [__USE_GNU]: Remove redundant conditionals.
8332 [__USE_MISC]: Likewise.
8333 * inet/netinet/in.h [__USE_GNU]: Likewise.
8334 * io/sys/stat.h [__USE_MISC]: Likewise.
8335 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8336 * libio/bits/stdio.h: Update #endif comments.
8337 [__USE_MISC]: Remove redundant conditionals.
8338 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8339 * libio/stdio.h: Update #endif comments.
8340 [__USE_MISC]: Remove redundant conditionals.
8341 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8342 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8343 * math/math.h: Update #else and #endif comments.
8344 [__USE_MISC]: Remove redundant conditionals.
8345 * misc/sys/uio.h: Update #endif comments.
8346 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8347 * posix/glob.h [__USE_MISC]: Likewise.
8348 * posix/sys/types.h: Update #endif comments.
8349 [__USE_MISC]: Remove redundant conditionals.
8350 * posix/sys/wait.h: Update #endif comments.
8351 [__USE_MISC]: Remove redundant conditionals.
8352 * posix/unistd.h: Update #endif comments.
8353 [__USE_MISC]: Remove redundant conditionals.
8354 * pwd/pwd.h [__USE_GNU]: Likewise.
8355 [__USE_MISC]: Likewise.
8356 * resolv/netdb.h [__USE_GNU]: Likewise.
8357 * signal/signal.h: Update #endif comments.
8358 [__USE_MISC]: Remove redundant conditionals.
8359 * stdlib/stdlib.h: Update #else and #endif comments.
8360 [__USE_MISC]: Remove redundant conditionals.
8361 [__USE_GNU]: Likewise.
8362 * string/bits/string2.h [__USE_MISC]: Likewise.
8363 * string/string.h: Update #endif comments.
8364 [__USE_MISC]: Remove redundant conditionals.
8365 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8367 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8368 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8369 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8371 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8373 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8375 [__USE_MISC]: Remove redundant conditionals.
8376 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8377 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8378 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8379 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8380 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8382 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8383 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8385 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8386 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8388 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8390 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8391 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8393 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8395 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8396 * sysdeps/x86/bits/string.h: Update #endif comments.
8397 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8399 * time/sys/time.h: Update #endif comments.
8400 * time/time.h: Likewise.
8401 [__USE_MISC]: Remove redundant conditionals.
8403 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8406 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8408 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8410 * Versions.def (librt): Add GLIBC_2.17.
8412 2014-02-21 Adam Conrad <adconrad@0c3.net>
8414 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8415 synonym for _SYS_AUXV_H to allow direct inclusion.
8416 * sysdeps/sparc/bits/hwcap.h: Likewise.
8417 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8418 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8419 * sysdeps/sparc/sysdep.h: Likewise.
8421 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8425 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8427 * benchtests/bench-strrchr.c: Print length instead of position.
8429 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8432 * sysdeps/unix/sysv/linux/kernel-features.h
8433 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8434 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8435 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8436 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8438 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8439 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8440 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8441 (__ASSUME_SENDMMSG): Define instead of using previous
8442 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8443 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8444 (__ASSUME_SENDMMSG_SYSCALL): Define.
8445 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8446 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8448 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8449 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8451 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8452 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8454 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8455 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8456 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8457 [__ASSUME_SENDMMSG]: Change conditionals to
8458 [__ASSUME_SENDMMSG_SOCKETCALL].
8459 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8460 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8462 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8463 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8465 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8466 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8467 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8468 [!__ASSUME_SENDMMSG]: Change conditional to
8469 [!__ASSUME_SENDMMSG_SOCKETCALL].
8470 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8471 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8475 * sysdeps/unix/sysv/linux/kernel-features.h
8476 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8477 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8478 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8479 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8480 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8481 [__i386__ || __sparc__]
8482 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8483 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8484 (__ASSUME_RECVMMSG): Define instead of using previous
8485 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8486 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8487 (__ASSUME_RECVMMSG_SYSCALL): Define.
8488 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8489 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8491 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8494 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8495 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8497 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8498 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8499 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8500 [__ASSUME_RECVMMSG]: Change condition to
8501 [__ASSUME_RECVMMSG_SOCKETCALL].
8502 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8503 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8505 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8506 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8507 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8509 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8510 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8511 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8512 [!__ASSUME_RECVMMSG]: Change condition to
8513 [!__ASSUME_RECVMMSG_SOCKETCALL].
8514 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8515 (__ASSUME_RECVMMSG_SYSCALL): Define.
8518 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8519 __powerpc__ || __s390__ || __sh__ || __sparc__]
8520 (__ASSUME_SOCKETCALL): Define.
8521 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8522 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8523 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8524 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8525 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8526 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8527 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8528 (__ASSUME_ACCEPT4): Define instead of using previous
8529 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8530 __powerpc__ || __sparc__ || __s390__)] condition.
8531 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8532 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8533 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8534 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8535 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8536 [!__ASSUME_ACCEPT4]: Change condition to
8537 [!__ASSUME_ACCEPT4_SOCKETCALL].
8538 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8539 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8540 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8542 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8543 __ASSUME_ACCEPT4_SYSCALL.
8544 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8545 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8546 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8547 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8548 __ASSUME_ACCEPT4_SYSCALL.
8549 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8550 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8551 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8552 [__ASSUME_ACCEPT4]: Change condition to
8553 [__ASSUME_ACCEPT4_SOCKETCALL].
8554 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8555 (__ASSUME_SOCKETCALL): Define.
8556 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8557 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8558 (__ASSUME_SOCKETCALL): Define.
8559 (__ASSUME_ACCEPT4): Remove.
8560 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8562 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8563 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8565 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8566 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8568 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8570 (HWCAP_ARM_LPAE): Likewise.
8571 (HWCAP_ARM_EVTSTRM): Likewise.
8572 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8573 Add vpfd32, lpae and evtstrm.
8574 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8577 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8579 * math/auto-libm-test-in: Add tests of clog10.
8580 * math/auto-libm-test-out: Regenerated.
8581 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8582 * sysdeps/i386/fpu/libm-test-ulps: Update.
8583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585 2014-02-18 Andreas Schwab <schwab@suse.de>
8588 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8589 Store non-zero if the second buffer was newly allocated.
8590 (send_dg): Likewise.
8591 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8592 to send_vc and send_dg.
8593 (res_nsend): Pass NULL for ansp2_malloced.
8594 * resolv/res_query.c (__libc_res_nquery): Add parameter
8595 answerp2_malloced and pass it down to __libc_res_nsend.
8596 (res_nquery): Pass additional NULL to __libc_res_nquery.
8597 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8598 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8599 second answer buffer if answerp2_malloced was set.
8600 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8601 (__libc_res_nquerydomain): Add parameter
8602 answerp2_malloced and pass it down to __libc_res_nquery.
8603 (res_nquerydomain): Pass additional NULL to
8604 __libc_res_nquerydomain.
8605 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8606 additional NULL to __libc_res_nsend and __libc_res_nquery.
8607 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8608 additional NULL to __libc_res_nsearch.
8609 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8610 parameter of __libc_res_nsearch to check for separately allocated
8612 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8614 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8615 additional NULL to __libc_res_nquery.
8616 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8618 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8619 * include/resolv.h: Update prototypes of __libc_res_nquery,
8620 __libc_res_nsearch, __libc_res_nsend.
8622 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8624 * math/auto-libm-test-in: Add tests of fma.
8625 * math/auto-libm-test-out: Regenerated.
8626 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8627 (fma_towardzero_test_data): Likewise.
8628 (fma_downward_test_data): Likewise.
8629 (fma_upward_test_data): Likewise.
8630 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8632 (rounding_modes): Add values for new field.
8633 (func_calc_method): Add value mpfr_fff_f.
8634 (func_calc_desc): Add mpfr_fff_f union field.
8635 (test_function): Add field exact_args.
8636 (FUNC): Add macro argument EXACT_ARGS.
8637 (FUNC_mpfr_f_f): Update call to FUNC.
8638 (FUNC_mpfr_f_f): Likewise.
8639 (FUNC_mpfr_ff_f): Likewise.
8640 (FUNC_mpfr_if_f): Likewise.
8641 (FUNC_mpc_c_f): Likewise.
8642 (FUNC_mpc_c_c): Likewise.
8643 (test_functions): Add fma. Update calls to FUNC.
8644 (handle_input_arg): Add argument exact_args.
8645 (add_test): Update call to handle_input_arg.
8646 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8647 (output_for_one_input_case): Update call to calc_generic_results.
8648 Recalculate exact zero results in each rounding mode.
8650 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8651 non-negative before setting low bit.
8652 * math/auto-libm-test-in: Mark one asin test possibly having
8654 * math/auto-libm-test-out: Regenerated.
8655 * sysdeps/i386/fpu/libm-test-ulps: Update.
8656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8660 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8661 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8662 ports/sysdeps/unix/sysv/linux/microblaze.
8663 * README: Add missing listing for microblaze*-*-linux-gnu.
8665 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8667 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8668 * sysdeps/unix/sysv/linux/ia64: Move directory from
8669 ports/sysdeps/unix/sysv/linux/ia64.
8670 * README: Update listing for ia64-*-linux-gnu.
8672 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8673 Joseph Myers <joseph@codesourcery.com>
8675 * Makeconfig (test-name): New variable.
8676 (evaluate-test): Likewise.
8677 * Makerules (do-test-clean): Remove .test-result files.
8678 (common-mostlyclean): Likewise.
8679 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8680 * scripts/evaluate-test.sh: New file.
8682 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8684 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8685 separate $(objpfx)tst-fopenloc-cmp.out and
8686 $(objpfx)tst-fopenloc-mem.out targets.
8687 (tests): Update dependencies.
8688 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8689 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8690 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8691 (tst-rxspencer-no-utf8-ARGS): New variable.
8692 (tst-rxspencer-no-utf8-ENV): Likewise.
8693 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8694 instead of $(objpfx)tst-rxspencer-mem.
8695 ($(objpfx)tst-rxspencer-mem): Change target to
8696 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8697 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8698 * posix/tst-rxspencer-no-utf8.c: New file.
8700 * elf/Makefile ($(objpfx)order.out): Remove rule.
8701 [$(run-built-tests) = yes] (tests): Depend on
8702 $(objpfx)order-cmp.out.
8703 ($(objpfx)order-cmp.out): New rule.
8704 [$(run-built-tests) = yes] (tests): Depend on
8705 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8706 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8707 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8708 $(objpfx)tst-array5-static-cmp.out.
8709 ($(objpfx)tst-array1.out): Remove rule.
8710 ($(objpfx)tst-array1-cmp.out): New rule.
8711 ($(objpfx)tst-array1-static.out): Remove rule.
8712 ($(objpfx)tst-array1-static-cmp.out): New rule.
8713 ($(objpfx)tst-array2.out): Remove rule.
8714 ($(objpfx)tst-array2-cmp.out): New rule.
8715 ($(objpfx)tst-array3.out): Remove rule.
8716 ($(objpfx)tst-array3-cmp.out): New rule.
8717 ($(objpfx)tst-array4.out): Remove rule.
8718 ($(objpfx)tst-array4-cmp.out): New rule.
8719 ($(objpfx)tst-array5.out): Remove rule.
8720 ($(objpfx)tst-array5-cmp.out): New rule.
8721 ($(objpfx)tst-array5-static.out): Remove rule.
8722 ($(objpfx)tst-array5-static-cmp.out): New rule.
8723 [$(run-built-tests) = yes] (tests): Depend on
8724 $(objpfx)order2-cmp.out.
8725 ($(objpfx)order2.out): Remove rule.
8726 ($(objpfx)order2-cmp.out): New rule.
8727 ($(objpfx)tst-initorder.out): Remove rule.
8728 [$(run-built-tests) = yes] (tests): Depend on
8729 $(objpfx)tst-initorder-cmp.out.
8730 ($(objpfx)tst-initorder-cmp.out): New rule.
8731 ($(objpfx)tst-initorder2.out): Remove rule.
8732 [$(run-built-tests) = yes] (tests): Depend on
8733 $(objpfx)tst-initorder2-cmp.out.
8734 ($(objpfx)tst-initorder2-cmp.out): New rule.
8735 [$(run-built-tests) = yes] (tests): Depend on
8736 $(objpfx)tst-unused-dep-cmp.out.
8737 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8738 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8739 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8740 on $(objpfx)tst-setvbuf1-cmp.out.
8741 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8742 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8743 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8744 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8745 ($(objpfx)tst-svc.out): Remove rule.
8746 ($(objpfx)tst-svc-cmp.out): New rule.
8748 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8750 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8751 * ctype/ctype.h [__USE_MISC]: Likewise.
8752 * dirent/dirent.h [__USE_MISC]: Likewise.
8753 * grp/grp.h [__USE_MISC]: Likewise.
8754 * io/fcntl.h [__USE_MISC]: Likewise.
8755 * io/sys/stat.h [__USE_MISC]: Likewise.
8756 * libio/stdio.h [__USE_MISC]: Likewise.
8757 * posix/unistd.h [__USE_MISC]: Likewise.
8758 * pwd/pwd.h [__USE_MISC]: Likewise.
8759 * stdlib.h [__USE_MISC]: Likewise.
8760 * string/bits/string2.h [__USE_MISC]: Likewise.
8761 * string/string.h [__USE_MISC]: Likewise.
8762 * time/time.h [__USE_MISC]: Likewise.
8764 2014-02-13 Andreas Schwab <schwab@suse.de>
8767 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8768 second answer buffer if it was separately allocated.
8770 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8772 * sysdeps/mips/math-tests.h: Include <features.h>.
8773 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8774 (ROUNDING_TESTS_long_double): Do not define.
8775 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8776 (EXCEPTION_TESTS_long_double): Likewise.
8777 * sysdeps/mips/mips64/libm-test-ulps: Update.
8779 * include/features.h (__USE_BSD): Remove macro definitions.
8780 (__USE_SVID): Likewise.
8781 (_BSD_SOURCE): Likewise.
8782 (_SVID_SOURCE): Likewise.
8783 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8784 from definition of _DEFAULT_SOURCE.
8785 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8787 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8788 * bits/mman.h [__USE_BSD]: Likewise.
8789 * bits/termios.h [__USE_BSD]: Likewise.
8790 * bits/waitstatus.h [__USE_BSD]: Likewise.
8791 * ctype/ctype.h [__USE_SVID]: Likewise.
8792 * dirent/dirent.h [__USE_BSD]: Likewise.
8793 * grp/grp.h [__USE_SVID]: Likewise.
8794 [__USE_BSD]: Likewise.
8795 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8796 * io/fcntl.h [__USE_BSD]: Likewise.
8797 * io/ftw.h [__USE_BSD]: Likewise.
8798 * io/sys/stat.h [__USE_BSD]: Likewise.
8799 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8800 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8801 * libio/stdio.h [__USE_SVID]: Likewise.
8802 [__USE_BSD]: Likewise.
8803 * math/math.h [__USE_SVID]: Likewise.
8804 [__USE_BSD]: Likewise.
8805 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8806 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8807 * misc/search.h [__USE_SVID]: Likewise.
8808 * misc/sys/mman.h [__USE_BSD]: Likewise.
8809 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8810 * misc/sys/uio.h [__USE_BSD]: Likewise.
8811 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8812 * posix/glob.h [__USE_BSD]: Likewise.
8813 * posix/regex.h [__USE_BSD]: Likewise.
8814 * posix/sys/types.h [__USE_BSD]: Likewise.
8815 [__USE_SVID]: Likewise.
8816 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8817 * posix/sys/wait.h [__USE_BSD]: Likewise.
8818 [__USE_SVID]: Likewise.
8819 * posix/unistd.h [__USE_BSD]: Likewise.
8820 [__USE_SVID]: Likewise.
8821 * pwd/pwd.h [__USE_SVID]: Likewise.
8822 * resolv/netdb.h [__USE_BSD]: Likewise.
8823 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8824 * signal/signal.h [__USE_BSD]: Likewise.
8825 [__USE_SVID]: Likewise.
8826 * socket/sys/socket.h [__USE_BSD]: Likewise.
8827 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8828 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8829 [__USE_SVID]: Likewise.
8830 * string/bits/string2.h [__USE_BSD]: Likewise.
8831 [__USE_SVID]: Likewise.
8832 * string/bits/string3.h [__USE_BSD]: Likewise.
8833 * string/endian.h [__USE_BSD]: Likewise.
8834 * string/string.h [__USE_SVID]: Likewise.
8835 [__USE_BSD]: Likewise.
8836 * string/strings.h [__USE_BSD]: Likewise.
8837 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8838 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8839 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8840 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8841 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8842 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8846 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8847 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8849 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8850 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8852 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8854 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8855 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8856 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8858 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8860 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8861 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8862 * termios/termios.h [__USE_BSD]: Likewise.
8863 * time/sys/time.h [__USE_BSD]: Likewise.
8864 * time/time.h [__USE_BSD]: Likewise.
8865 [__USE_SVID]: Likewise.
8867 * Makefile (subdir_targets): Remove subdir_lint.out.
8869 * stdio-common/Makefile (do-tst-unbputc): Remove target.
8870 (do-tst-printf): Likewise.
8871 (tests): Depend directly on $(objpfx)tst-unbputc.out and
8872 $(objpfx)tst-printf.out.
8874 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8876 * Makerules (check-abi-%): Change target to
8877 $(objpfx)check-abi-%.out.
8878 (check-abi target): Update dependencies.
8879 (check-abi-pattern variable): Redirect output of diff to $@.
8880 (check-abi variable): Likewise.
8881 * elf/Makefile (check-abi): Update dependencies.
8883 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8885 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8886 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8888 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8889 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8890 value has largest subnormal exponent.
8891 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8892 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8893 * sysdeps/aarch64/soft-fp/sfp-machine.h
8894 (_FP_TININESS_AFTER_ROUNDING): New macro.
8895 * sysdeps/alpha/soft-fp/sfp-machine.h
8896 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8897 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8899 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8900 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8901 * sysdeps/mips/soft-fp/sfp-machine.h
8902 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8903 * sysdeps/powerpc/soft-fp/sfp-machine.h
8904 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8905 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8908 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8910 (_FP_TININESS_AFTER_ROUNDING): Likewise.
8911 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8914 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
8917 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8920 2014-02-12 Richard Henderson <rth@redhat.com>
8922 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8923 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8924 * sysdeps/unix/sysv/linux/alpha: Move directory from
8925 ports/sysdeps/unix/sysv/linux/alpha.
8926 * README: Update listing for alpha-*-linux-gnu.
8928 2014-02-11 Joseph Myers <joseph@codesourcery.com>
8930 * include/features.h: Update comment documenting feature test
8932 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
8934 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8935 (_SVID_SOURCE): Likewise.
8936 (_DEFAULT_SOURCE): Update description of default features.
8937 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8939 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8940 (S_ISVTX): Likewise.
8941 * manual/math.texi (Mathematical Constants): Likewise.
8942 * manual/signal.texi (Interrupted Primitives): Likewise.
8943 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8944 * math/test-matherr.c (_SVID_SOURCE): Do not define.
8945 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8946 Don't refer to _SVID_SOURCE in warning text.
8948 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8950 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8952 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8953 * sysdeps/mips/dl-lookup.c: Remove.
8954 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8956 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8959 * math/auto-libm-test-in: Add testcase for expl.
8960 * math/auto-libm-test-out: Regenerate.
8961 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8962 calculation of unsafe.
8963 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8965 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
8967 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8968 * sysdeps/unix/sysv/linux/aarch64: Move directory from
8969 ports/sysdeps/unix/sysv/linux/aarch64.
8970 * README: Update listing for aarch64*-*-linux-gnu.
8972 2014-02-11 Will Newton <will.newton@linaro.org>
8974 * manual/probes.texi (Mathematical Function Probes): Use
8975 "triggered" instead of "hit".
8977 * manual/probes.texi (Internal Probes): Add documentation
8978 of setjmp, longjmp and longjmp_target probes.
8980 * include/stap-probe.h: Add comment about probe argument
8983 * malloc/mtrace.c (attribute_hidden): Remove unused macro
8984 definition. (tr_where, tr_freehook, tr_mallochook,
8985 tr_reallochook, tr_memalignhook): Use ANSI protoype.
8987 2014-02-11 David S. Miller <davem@davemloft.net>
8989 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8990 processing int_tests.
8992 2014-02-10 Joseph Myers <joseph@codesourcery.com>
8994 * sysdeps/mips: Move directory from ports/sysdeps/mips.
8995 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8996 * sysdeps/unix/sysv/linux/mips: Move directory from
8997 ports/sysdeps/unix/sysv/linux/mips.
8998 * README: Update listing for mips-*-linux-gnu and
9001 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9003 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9004 * sysdeps/unix/sysv/linux/m68k: Move directory from
9005 ports/sysdeps/unix/sysv/linux/m68k.
9006 * README: Update listing for m68k-*-linux-gnu.
9008 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9010 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9011 * sysdeps/unix/sysv/linux/generic: Move directory from
9012 ports/sysdeps/unix/sysv/linux/generic.
9013 * sysdeps/unix/sysv/linux/tile: Move directory from
9014 ports/sysdeps/unix/sysv/linux/tile.
9015 * README: Update listing for tile*-*-linux-gnu.
9017 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9019 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9021 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9022 * catgets/open_catalog.c (__open_catalog): Likewise.
9023 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9024 * debug/confstr_chk.c: Likewise.
9025 * debug/fread_chk.c (__fread_chk): Likewise.
9026 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9027 * debug/getgroups_chk.c: Likewise.
9028 * debug/mbsnrtowcs_chk.c: Likewise.
9029 * debug/mbsrtowcs_chk.c: Likewise.
9030 * debug/mbstowcs_chk.c: Likewise.
9031 * debug/memcpy_chk.c: Likewise.
9032 * debug/memmove_chk.c: Likewise.
9033 * debug/mempcpy_chk.c: Likewise.
9034 * debug/memset_chk.c: Likewise.
9035 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9036 * debug/strcat_chk.c (__strcat_chk): Likewise.
9037 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9038 * debug/strncat_chk.c (__strncat_chk): Likewise.
9039 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9040 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9041 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9042 * debug/wcpncpy_chk.c: Likewise.
9043 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9044 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9045 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9046 * debug/wcsncpy_chk.c: Likewise.
9047 * debug/wcsnrtombs_chk.c: Likewise.
9048 * debug/wcsrtombs_chk.c: Likewise.
9049 * debug/wcstombs_chk.c: Likewise.
9050 * debug/wmemcpy_chk.c: Likewise.
9051 * debug/wmemmove_chk.c: Likewise.
9052 * debug/wmempcpy_chk.c: Likewise.
9053 * debug/wmemset_chk.c: Likewise.
9054 * dirent/scandirat.c (SCANDIRAT): Likewise.
9055 * dlfcn/dladdr1.c (dladdr1): Likewise.
9056 * dlfcn/dladdr.c (dladdr): Likewise.
9057 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9058 * dlfcn/dlerror.c (__dlerror): Likewise.
9059 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9060 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9061 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9062 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9063 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9064 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9065 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9066 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9068 * elf/dl-conflict.c: Likewise.
9069 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9070 * elf/dl-dst.h: Likewise.
9071 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9072 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9073 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9074 * elf/dl-init.c (call_init, _dl_init): Likewise.
9075 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9076 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9077 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9079 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9081 * elf/dl-minimal.c (__libc_memalign): Likewise.
9082 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9083 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9084 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9085 * elf/dl-sym.c (do_sym): Likewise.
9086 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9087 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9088 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9089 * elf/dl-writev.h (_dl_writev): Likewise.
9090 * elf/ldconfig.c (search_dir): Likewise.
9091 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9092 (dl_main): Likewise.
9093 * elf/setup-vdso.h (setup_vdso): Likewise.
9094 * grp/compat-initgroups.c (compat_call): Likewise.
9095 * grp/fgetgrent.c (fgetgrent): Likewise.
9096 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9097 * grp/putgrent.c (putgrent): Likewise.
9098 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9100 * hurd/hurdinit.c: Likewise.
9101 * iconvdata/8bit-gap.c (struct): Likewise.
9102 * iconvdata/ansi_x3.110.c : Likewise.
9103 * iconvdata/big5.c : Likewise.
9104 * iconvdata/big5hkscs.c : Likewise.
9105 * iconvdata/cp1255.c: Likewise.
9106 * iconvdata/cp1258.c : Likewise.
9107 * iconvdata/cp932.c : Likewise.
9108 * iconvdata/euc-cn.c: Likewise.
9109 * iconvdata/euc-jisx0213.c : Likewise.
9110 * iconvdata/euc-jp.c: Likewise.
9111 * iconvdata/euc-jp-ms.c : Likewise.
9112 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9113 * iconvdata/gb18030.c : Likewise.
9114 * iconvdata/gbbig5.c (const): Likewise.
9115 * iconvdata/gbgbk.c: Likewise.
9116 * iconvdata/gbk.c : Likewise.
9117 * iconvdata/ibm1364.c : Likewise.
9118 * iconvdata/ibm930.c : Likewise.
9119 * iconvdata/ibm932.c: Likewise.
9120 * iconvdata/ibm933.c : Likewise.
9121 * iconvdata/ibm935.c : Likewise.
9122 * iconvdata/ibm937.c : Likewise.
9123 * iconvdata/ibm939.c : Likewise.
9124 * iconvdata/ibm943.c: Likewise.
9125 * iconvdata/iso_11548-1.c: Likewise.
9126 * iconvdata/iso-2022-cn.c : Likewise.
9127 * iconvdata/iso-2022-cn-ext.c : Likewise.
9128 * iconvdata/iso-2022-jp-3.c: Likewise.
9129 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9130 * iconvdata/iso-2022-kr.c : Likewise.
9131 * iconvdata/iso646.c (gconv_end): Likewise.
9132 * iconvdata/iso_6937-2.c : Likewise.
9133 * iconvdata/iso_6937.c : Likewise.
9134 * iconvdata/iso8859-1.c: Likewise.
9135 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9136 * iconvdata/shift_jisx0213.c : Likewise.
9137 * iconvdata/sjis.c : Likewise.
9138 * iconvdata/t.61.c : Likewise.
9139 * iconvdata/tcvn5712-1.c : Likewise.
9140 * iconvdata/tscii.c: Likewise.
9141 * iconvdata/uhc.c : Likewise.
9142 * iconvdata/unicode.c (gconv_end): Likewise.
9143 * iconvdata/utf-16.c (gconv_end): Likewise.
9144 * iconvdata/utf-32.c (gconv_end): Likewise.
9145 * iconvdata/utf-7.c (base64): Likewise.
9146 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9147 * iconv/gconv_close.c (__gconv_close): Likewise.
9148 * iconv/gconv_open.c (__gconv_open): Likewise.
9149 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9150 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9151 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9152 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9153 (ucs4le_internal_loop_single): Likewise.
9154 * iconv/iconv.c (iconv): Likewise.
9155 * iconv/iconv_close.c: Likewise.
9156 * iconv/loop.c (SINGLE): Likewise.
9157 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9158 * include/atomic.h: Likewise.
9159 * inet/inet6_option.c (option_alloc): Likewise.
9160 * intl/bindtextdom.c (set_binding_values): Likewise.
9161 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9162 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9163 * intl/localealias.c (read_alias_file): Likewise.
9164 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9165 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9166 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9167 * libio/fmemopen.c (fmemopen): Likewise.
9168 * libio/iofgets.c (_IO_fgets): Likewise.
9169 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9170 * libio/iofgetws.c (fgetws): Likewise.
9171 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9172 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9173 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9174 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9175 * locale/findlocale.c (_nl_find_locale): Likewise.
9176 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9177 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9179 * locale/setlocale.c (setlocale): Likewise.
9180 * login/programs/pt_chown.c (main): Likewise.
9181 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9182 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9183 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9184 (mmap, mmap64, mremap, munmap): Likewise.
9185 * math/e_exp2l.c: Likewise.
9186 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9187 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9188 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9189 * math/s_catan.c (__catan): Likewise.
9190 * math/s_catanf.c (__catanf): Likewise.
9191 * math/s_catanh.c (__catanh): Likewise.
9192 * math/s_catanhf.c (__catanhf): Likewise.
9193 * math/s_catanhl.c (__catanhl): Likewise.
9194 * math/s_catanl.c (__catanl): Likewise.
9195 * math/s_ccosh.c (__ccosh): Likewise.
9196 * math/s_ccoshf.c (__ccoshf): Likewise.
9197 * math/s_ccoshl.c (__ccoshl): Likewise.
9198 * math/s_cexp.c (__cexp): Likewise.
9199 * math/s_cexpf.c (__cexpf): Likewise.
9200 * math/s_cexpl.c (__cexpl): Likewise.
9201 * math/s_clog10.c (__clog10): Likewise.
9202 * math/s_clog10f.c (__clog10f): Likewise.
9203 * math/s_clog10l.c (__clog10l): Likewise.
9204 * math/s_clog.c (__clog): Likewise.
9205 * math/s_clogf.c (__clogf): Likewise.
9206 * math/s_clogl.c (__clogl): Likewise.
9207 * math/s_csin.c (__csin): Likewise.
9208 * math/s_csinf.c (__csinf): Likewise.
9209 * math/s_csinh.c (__csinh): Likewise.
9210 * math/s_csinhf.c (__csinhf): Likewise.
9211 * math/s_csinhl.c (__csinhl): Likewise.
9212 * math/s_csinl.c (__csinl): Likewise.
9213 * math/s_csqrt.c (__csqrt): Likewise.
9214 * math/s_csqrtf.c (__csqrtf): Likewise.
9215 * math/s_csqrtl.c (__csqrtl): Likewise.
9216 * math/s_ctan.c (__ctan): Likewise.
9217 * math/s_ctanf.c (__ctanf): Likewise.
9218 * math/s_ctanh.c (__ctanh): Likewise.
9219 * math/s_ctanhf.c (__ctanhf): Likewise.
9220 * math/s_ctanhl.c (__ctanhl): Likewise.
9221 * math/s_ctanl.c (__ctanl): Likewise.
9222 * math/w_pow.c: Likewise.
9223 * math/w_powf.c: Likewise.
9224 * math/w_powl.c: Likewise.
9225 * math/w_scalb.c (sysv_scalb): Likewise.
9226 * math/w_scalbf.c (sysv_scalbf): Likewise.
9227 * math/w_scalbl.c (sysv_scalbl): Likewise.
9228 * misc/error.c (error_tail): Likewise.
9229 * misc/pselect.c (__pselect): Likewise.
9230 * nis/nis_callback.c (__nis_create_callback): Likewise.
9231 * nis/nis_call.c (__nisfind_server): Likewise.
9232 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9233 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9234 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9235 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9236 * nis/nis_lookup.c (nis_lookup): Likewise.
9237 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9238 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9239 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9240 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9241 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9242 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9243 * nis/nss_compat/compat-initgroups.c (add_group)
9244 (internal_getgrent_r): Likewise.
9245 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9246 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9247 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9248 (internal_getspnam_r): Likewise.
9249 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9250 (_nss_nis_getaliasbyname_r): Likewise.
9251 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9252 (_nss_nis_getntohost_r): Likewise.
9253 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9254 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9255 (_nss_nis_getgrgid_r): Likewise.
9256 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9257 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9258 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9259 (_nss_nis_gethostbyname4_r): Likewise.
9260 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9261 (initgroups_netid): Likewise.
9262 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9263 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9264 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9265 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9266 (_nss_nis_getprotobynumber_r): Likewise.
9267 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9268 (_nss_nis_getsecretkey): Likewise.
9269 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9270 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9271 (_nss_nis_getpwuid_r): Likewise.
9272 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9273 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9274 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9275 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9276 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9277 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9278 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9280 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9281 (_nss_nisplus_getntohost_r): Likewise.
9282 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9283 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9284 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9285 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9287 * nis/nss_nisplus/nisplus-initgroups.c
9288 (_nss_nisplus_initgroups_dyn): Likewise.
9289 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9290 (_nss_nisplus_getnetbyaddr_r): Likewise.
9291 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9292 (_nss_nisplus_getprotobynumber_r): Likewise.
9293 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9294 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9295 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9297 * nis/nss_nisplus/nisplus-service.c
9298 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9299 (_nss_nisplus_getservbyport_r): Likewise.
9300 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9301 (_nss_nisplus_getspnam_r): Likewise.
9302 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9304 * nscd/aicache.c (addhstaiX): Likewise.
9305 * nscd/cache.c (cache_search, prune_cache): Likewise.
9306 * nscd/connections.c (register_traced_file, send_ro_fd)
9307 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9308 (main_loop_epoll): Likewise.
9309 * nscd/grpcache.c (addgrbyX): Likewise.
9310 * nscd/hstcache.c (addhstbyX): Likewise.
9311 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9312 * nscd/mem.c (gc, mempool_alloc): Likewise.
9313 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9314 (addinnetgrX): Likewise.
9315 * nscd/nscd-client.h (__nscd_acquire_maplock)
9316 (__nscd_drop_map_ref): Likewise.
9317 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9318 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9319 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9321 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9322 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9323 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9324 (__nscd_get_map_ref): Likewise.
9325 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9326 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9328 * nscd/pwdcache.c (addpwbyX): Likewise.
9329 * nscd/selinux.c (preserve_capabilities): Likewise.
9330 * nscd/servicescache.c (addservbyX): Likewise.
9331 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9332 * posix/fnmatch.c (fnmatch): Likewise.
9333 * posix/getopt.c (_getopt_internal_r): Likewise.
9334 * posix/glob.c (glob, glob_in_dir): Likewise.
9335 * posix/wordexp.c (exec_comm_child): Likewise.
9336 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9337 (getanswer_r, gaih_getanswer_slice): Likewise.
9338 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9339 * resolv/res_init.c: Likewise.
9340 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9341 * resolv/res_query.c (__libc_res_nquery): Likewise.
9342 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9344 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9345 * stdio-common/perror.c (perror): Likewise.
9346 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9347 * stdio-common/tmpnam.c (tmpnam): Likewise.
9348 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9349 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9350 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9352 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9353 * stdlib/putenv.c (putenv): Likewise.
9354 * stdlib/setenv.c (__add_to_environ): Likewise.
9355 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9356 * stdlib/strtol_l.c (INTERNAL): Likewise.
9357 * string/memmem.c (memmem): Likewise.
9358 * string/strerror.c (strerror): Likewise.
9359 * string/strnlen.c (__strnlen): Likewise.
9360 * string/test-memmem.c (simple_memmem): Likewise.
9361 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9362 * sunrpc/pm_getport.c (__get_socket): Likewise.
9363 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9364 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9365 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9366 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9368 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9369 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9370 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9371 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9372 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9373 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9375 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9377 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9378 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9379 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9380 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9381 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9383 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9385 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9386 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9387 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9388 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9390 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9392 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9394 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9396 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9398 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9399 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9400 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9401 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9402 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9403 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9404 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9406 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9407 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9409 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9411 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9413 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9417 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9418 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9419 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9421 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9422 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9423 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9424 * sysdeps/posix/sleep.c: Likewise.
9425 * sysdeps/posix/tempname.c: Likewise.
9426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9427 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9429 * sysdeps/powerpc/powerpc32/dl-machine.h
9430 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9431 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9432 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9433 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9434 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9436 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9437 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9438 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9439 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9440 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9441 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9442 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9443 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9444 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9445 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9446 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9447 (elf_machine_lazy_rel): Likewise.
9448 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9450 (elf_machine_lazy_rel): Likewise.
9451 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9452 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9453 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9454 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9455 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9456 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9457 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9458 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9460 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9461 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9462 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9463 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9464 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9465 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9466 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9467 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9469 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9470 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9472 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9473 (__posix_fallocate64_l64): Likewise.
9474 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9475 (posix_fallocate): Likewise.
9476 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9478 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9479 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9480 (getifaddrs_internal): Likewise.
9481 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9482 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9483 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9484 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9485 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9486 (__posix_fallocate64_l64): Likewise.
9487 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9489 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9490 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9491 (__get_clockfreq): Likewise.
9492 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9493 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9494 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9496 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9497 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9498 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9499 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9501 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9502 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9503 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9504 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9505 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9506 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9507 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9509 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9510 (posix_fallocate): Likewise.
9511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9512 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9513 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9514 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9515 (elf_machine_rela, elf_machine_rela_relative)
9516 (elf_machine_lazy_rel): Likewise.
9517 * time/asctime.c (asctime_internal): Likewise.
9518 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9519 * time/tzset.c (__tzset_parse_tz): Likewise.
9520 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9521 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9522 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9523 * wcsmbs/wcsmbsload.h: Likewise.
9526 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9528 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9529 (arena_get2): Remove THREAD_STATS conditionals.
9530 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9531 (__malloc_stats, int): Likewise.
9533 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9535 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9536 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9538 * manual/setjmp.texi: Fix typos/grammar errors.
9540 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9541 Only return early when n is <= 0. Delete unused return statement.
9543 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9544 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9545 * debug/tst-longjmp_chk3.c: New file.
9547 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9548 (test_main): Replace code with set_fortify_handler call.
9549 * debug/test-strcpy_chk.c: Likewise.
9550 * debug/tst-chk1.c: Likewise.
9551 * debug/tst-longjmp_chk.c: Likewise.
9552 * test-skeleton.c: Include fcntl.h & paths.h
9553 (set_fortify_handler): Define.
9555 * debug/tst-longjmp_chk.c: Add header comment and include
9557 (do_test): Mark static.
9558 (TEST_FUNCTION): Define.
9560 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9561 (IP_PMTUDISC_INTERFACE): Likewise.
9562 (IP_MULTICAST_IF): Likewise.
9563 (IP_MULTICAST_TTL): Likewise.
9564 (IP_MULTICAST_LOOP): Likewise.
9565 (IP_ADD_MEMBERSHIP): Likewise.
9566 (IP_DROP_MEMBERSHIP): Likewise.
9567 (IP_UNBLOCK_SOURCE): Likewise.
9568 (IP_BLOCK_SOURCE): Likewise.
9569 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9570 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9571 (IP_MSFILTER): Likewise.
9572 (MCAST_JOIN_GROUP): Likewise.
9573 (MCAST_BLOCK_SOURCE): Likewise.
9574 (MCAST_UNBLOCK_SOURCE): Likewise.
9575 (MCAST_LEAVE_GROUP): Likewise.
9576 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9577 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9578 (MCAST_MSFILTER): Likewise.
9579 (IP_MULTICAST_ALL): Likewise.
9580 (IP_UNICAST_IF): Likewise.
9582 * timezone/Makefile: Delete $(have-ksh) check.
9583 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9584 * timezone/tzselect.ksh: Add +x mode bits.
9586 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9587 (ANON_INODE_FS_MAGIC): Likewise.
9588 (BDEVFS_MAGIC): Likewise.
9589 (BINFMTFS_MAGIC): Likewise.
9590 (BTRFS_TEST_MAGIC): Likewise.
9591 (CRAMFS_MAGIC_WEND): Likewise.
9592 (DEBUGFS_MAGIC): Likewise.
9593 (ECRYPTFS_SUPER_MAGIC): Likewise.
9594 (EXT3_SUPER_MAGIC): Likewise.
9595 (EXT4_SUPER_MAGIC): Likewise.
9596 (FUTEXFS_SUPER_MAGIC): Likewise.
9597 (HOSTFS_SUPER_MAGIC): Likewise.
9598 (HUGETLBFS_MAGIC): Likewise.
9599 (MINIX3_SUPER_MAGIC): Likewise.
9600 (MTD_INODE_FS_MAGIC): Likewise.
9601 (NILFS_SUPER_MAGIC): Likewise.
9602 (OPENPROM_SUPER_MAGIC): Likewise.
9603 (PIPEFS_MAGIC): Likewise.
9604 (PSTOREFS_MAGIC): Likewise.
9605 (QNX6_SUPER_MAGIC): Likewise.
9606 (RAMFS_MAGIC): Likewise.
9607 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9608 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9609 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9610 (SECURITYFS_MAGIC): Likewise.
9611 (SELINUX_MAGIC): Likewise.
9612 (SMACK_MAGIC): Likewise.
9613 (SOCKFS_MAGIC): Likewise.
9614 (SQUASHFS_MAGIC): Likewise.
9615 (STACK_END_MAGIC): Likewise.
9616 (TMPFS_MAGIC): Likewise.
9617 (USBDEVICE_SUPER_MAGIC): Likewise.
9618 (V9FS_MAGIC): Likewise.
9619 (XENFS_SUPER_MAGIC): Likewise.
9620 (CRAMFS_MAGIC): Fix typo in comment.
9621 (EXT2_SUPER_MAGIC): Update comment.
9622 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9624 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9626 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9627 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9628 * sysdeps/unix/sysv/linux/arm: Move directory from
9629 ports/sysdeps/unix/sysv/linux/arm.
9630 * README: Update listing for arm-*-linux-gnueabi.
9632 * README: Remove mention of am33.
9634 2014-02-07 Roland McGrath <roland@hack.frob.com>
9636 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9637 than the comma operator, to avoid "rhs of comma has no effect"
9639 (__sigfillset, __sigandset, __sigorset): Likewise.
9640 * include/signal.h (__sigemptyset): Likewise.
9641 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9643 2014-02-07 Allan McRae <allan@archlinux.org>
9645 * version.h (RELEASE): Set to "development".
9646 (VERSION): Set to "2.19.90"
9647 * NEWS: Add 2.20 section.
9649 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9652 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9654 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9656 * manual/contrib.texi: Update entry for Carlos O'Donell,
9657 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9659 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9661 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9663 * sysdeps/unix/sysv/linux/kernel-features.h
9664 [__LINUX_KERNEL_VERSION >= 0x020621]
9665 (__ASSUME_PROC_PID_TASK_COMM): Define.
9667 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9670 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9671 conversion when destination buffer does not have enough space.
9672 * libio/tst-ftell-partial-wide.c: New test case.
9673 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9675 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9676 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9677 Leonard and Allan McRae.
9679 2014-02-04 David S. Miller <davem@davemloft.net>
9681 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9684 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9713 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9715 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9716 * shlib-versions: Likewise.
9718 2014-02-04 Roland McGrath <roland@hack.frob.com>
9719 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9721 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9722 (abilist-pattern): New variable, set to %-le.abilist.
9724 * Makerules (abilist-pattern): New variable.
9725 (vpath): Use $(abilist-pattern) in place of %.abilist.
9726 (check-abi-% pattern rule): Likewise.
9727 (check-abi, update-abi): Likewise.
9729 2014-02-04 Eric Wong <normalperson@yhbt.net>
9731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9733 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9735 * manual/startup.texi: Add next, previous, and top entries for
9736 the `Program Arguments' and `Environment Variables' nodes.
9738 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9740 * manual/macros.texi: Add comments before MTASC-safety macros.
9742 * manual/users.texi: Document MTASC-safety properties.
9744 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9745 (pthread_getspecific, pthread_setspecific): Format with
9746 @deftypefun, and add @safety note.
9747 * manual/signal.texi: Move comments that analyze the above
9748 functions to their home place.
9750 2014-02-03 Allan McRae <allan@archlinux.org>
9752 * po/sl.po: Update Slovenian translation from translation project.
9754 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9756 * manual/time.texi (timegm): Add missing blank after @c.
9757 Reported by Joseph Myers <joseph@codesourcery.com>.
9759 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9761 * manual/check-safety.sh: New.
9762 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9764 * manual/terminal.texi: Document MTASC-safety properties.
9766 * manual/filesys.texi: Document MTASC-safety properties.
9768 * manual/errno.texi: Document MTASC-safety properties.
9770 * manual/intro.texi: Document safety identifiers and
9773 * manual/string.texi (wcstok): Fix prototype.
9774 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9776 * manual/time.texi: Document MTASC-safety properties.
9778 * manual/string.texi: Document MTASC-safety properties.
9780 * manual/threads.texi: Document MTASC-safety properties.
9782 * manual/stdio.texi: Document MTASC-safety properties.
9784 * manual/syslog.texi: Document MTASC-safety properties.
9786 * manual/sysinfo.texi: Document MTASC-safety properties.
9788 * manual/startup.texi: Document MTASC-safety properties.
9790 * manual/socket.texi: Document MTASC-safety properties.
9792 * manual/signal.texi: Document MTASC-safety properties.
9794 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9796 * manual/setjmp.texi: Document MTASC-safety properties.
9798 * manual/search.texi: Document MTASC-safety properties.
9800 * manual/resource.texi: Document MTASC-safety properties.
9802 * manual/process.texi: Document MTASC-safety properties.
9804 * manual/platform.texi: Document MTASC-safety properties.
9806 * manual/pipe.texi: Document MTASC-safety properties.
9808 * manual/pattern.texi: Document MTASC-safety properties.
9810 * manual/message.texi: Document MTASC-safety properties.
9813 * manual/memory.texi: Document MTASC-safety properties.
9815 * manual/math.texi: Document MTASC-safety properties.
9817 * manual/locale.texi: Document MTASC-safety properties.
9819 * manual/llio.texi: Document MTASC-safety properties.
9821 * manual/libdl.texi: New.
9823 * manual/lang.texi: Document MTASC-safety properties.
9825 * manual/job.texi: Document MTASC-safety properties.
9827 * manual/getopt.texi: Document MTASC-safety properties.
9829 * manual/ctype.texi: Document MTASC-safety properties.
9831 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9834 * csu/libc-tls.c (static_map): Remove variable.
9835 (__libc_setup_tls): Use main executable's link map for TLS data.
9836 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9837 casing for LM_ID_BASE and GL(dl_nns).
9838 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9839 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9840 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9841 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9842 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9844 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9847 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9849 * manual/debug.texi: Document MTASC-safety properties.
9851 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
9854 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9855 of __x86_64__ when disabling x87 inline functions.
9857 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
9859 * manual/charset.texi: Document MTASC-safety properties.
9861 * manual/crypt.texi: Document MTASC-safety properties.
9863 * manual/conf.texi: Document MTASC-safety properties.
9865 * manual/arith.texi: Document MTASC-safety properties.
9867 * manual/argp.texi: Document MTASC-safety properties.
9869 * manual/macros.texi: Introduce macros to document multi
9870 thread, asynchronous signal and asynchronous cancellation
9872 * manual/intro.texi: Introduce the properties themselves.
9874 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9876 * sysdeps/sh/sh4/Makefile: New file.
9878 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
9880 * math/gen-libm-test.pl ($srcdir): New variable.
9881 ($auto_input): Use it.
9883 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9887 access beyond array bounds when parsing netgroups file.
9889 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9890 the old buffer before realloc.
9892 2014-01-27 Allan McRae <allan@archlinux.org>
9894 * po/fr.po: Update French translation from translation project.
9896 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9898 * sysdeps/sh/libm-test-ulps: Regenerate.
9900 2014-01-24 David S. Miller <davem@davemloft.net>
9902 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9904 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9906 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9907 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9909 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9912 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9913 string pointers after reallocation.
9915 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9917 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9918 __SH4A__ instead of __SH_FPU_ANY__.
9920 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9922 * sysdeps/sh/fpu_control.h: New file.
9923 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9924 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9925 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9926 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9927 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9928 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9929 * sysdeps/sh/sys/ucontext.h: Remove.
9930 * sysdeps/sh/sys: Remove directory.
9932 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9934 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9935 s390/sys/ucontext.h.
9936 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9937 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9939 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
9942 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9944 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9947 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9948 Adjust the vDSO correctly for internal calls.
9949 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9951 2014-01-20 Allan McRae <allan@archlinux.org>
9953 * po/ca.po: Update Catalan translation from translation project.
9955 2014-01-16 Mike Frysinger <vapier@gentoo.org>
9957 * sysdeps/s390/sotruss-lib.c: New file.
9959 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9962 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9963 (__GI___gettimeofday): Alias for a different internal symbol to avoid
9964 local calls issues by not having a PLT stub required for IFUNC calls.
9965 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9967 2014-01-16 Joseph Myers <joseph@codesourcery.com>
9969 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9970 * math/test-fpucw-static.c: Likewise.
9972 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9975 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9977 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9979 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9980 implementation for powerpc.
9982 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
9985 * sysdeps/posix/system.c (__libc_system): Do not enable
9986 asynchronous cancellation.
9988 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9991 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9992 handling only for numbers special also in the IEEE case.
9994 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9996 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9998 2014-01-11 Allan McRae <allan@archlinux.org>
10000 * po/bg.po: Update Bulgarian translation from translation project.
10002 * po/de.po: Update German translation from translation project.
10004 2014-01-10 Roland McGrath <roland@hack.frob.com>
10006 * sysdeps/generic/gcc-compat.h: New file.
10008 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10010 * benchtests/asin-inputs: Correct slow inputs.
10011 * benchtests/acos-inputs: Likewise.
10013 2014-01-10 Allan McRae <allan@archlinux.org>
10015 * po:sv.po: Update Swedish translation from translation project.
10017 * po/vi.po: Update Vietnamese translation from translation project.
10019 * po/eo.po: Update Esperanto translation from translation project.
10021 * po/cs.po: Update Czech translation from translation project.
10023 * po/nl.po: Update Dutch translation from translation project.
10025 * po/pl.po: Update Polish translation from translation project.
10027 * po/ru.po: Update Russian translation from translation project.
10029 * po/uk.po: Update Ukrainian translation from translation project.
10031 2014-01-08 Brooks Moses <bmoses@google.com>
10033 * elf/dl-load.c: Fix comment typo.
10035 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10037 * po/header.pot: Rename to...
10038 * po/pot.header: ... this.
10039 * po/Makefile: Use pot.header.
10041 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10042 Maxim Kuvyrkov <maxim@kugelworks.com>
10045 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10046 SRC and DEST against LEN.
10048 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10051 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10053 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10055 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10059 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10062 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10063 for large positive arguments.
10065 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10067 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10069 * math/auto-libm-test-in: Mark various tests with
10070 xfail-rounding:ldbl-128ibm.
10071 * math/auto-libm-test-out: Regenerated.
10074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10075 Increase overflow threshold.
10077 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10080 * stdio-common/vfprintf.c: Check for integer overflow.
10082 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10084 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10085 the first argument and return value of __tls_get_addr_internal.
10087 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10089 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10090 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10092 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10094 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10095 * sysdeps/s390/rtld-global-offsets.sym: New file.
10096 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10098 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10100 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10102 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10103 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10105 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10109 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10110 halfs of GPRs for high_gprs contexts.
10111 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10112 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10114 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10116 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10118 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10119 for high GPRs (uc_high_gprs) and for future extensions
10121 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10122 for future extensions (__reserved).
10123 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10125 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10126 SC_HIGHGPRS offset definition.
10127 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10128 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10130 * Versions.def: Add GLIBC_2.19 for libpthread.
10131 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10132 siglongjmp for libpthread with GLIBC_2.19 symver.
10133 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10134 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10135 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10136 * sysdeps/s390/__longjmp.c: New file.
10137 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10138 * sysdeps/s390/longjmp.c: New file.
10139 * sysdeps/s390/setjmp.S: New file.
10140 * sysdeps/s390/sigjmp.S: New file.
10141 * sysdeps/s390/v1-longjmp.c: New file.
10142 * sysdeps/s390/v1-setjmp.h: New file.
10143 * sysdeps/s390/v1-sigjmp.c: New file.
10144 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10145 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10146 GLIBC_2.19 version.
10147 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10148 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10149 versioned symbols for ____longjmp_chk.
10150 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10160 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10161 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10162 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10163 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10164 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10165 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10166 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10167 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10168 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10169 * sysdeps/s390/rtld-__longjmp.c: New file.
10170 * sysdeps/s390/rtld-setjmp.S: New file.
10172 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10175 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10176 Return -__logl (x) for small positive arguments without evaluating
10179 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10181 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10183 (__ptrace_peeksiginfo_args): ... this.
10184 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10185 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10188 2014-01-06 Allan McRae <allan@archlinux.org>
10190 * inet/netinet/in.h: Fix typo in comment.
10192 2014-01-05 Andreas Jaeger <aj@suse.de>
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10196 2014-01-05 Allan McRae <allan@archlinux.org>
10198 * po/libc.pot: Regenerated.
10200 * malloc/memusagestat.c: Fix gettext call formatting.
10202 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10204 * nscd/nscd.c: Improve usage() output.
10206 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10208 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10209 * sysdeps/unix/sysv/linux/configure: Regenerated.
10210 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10211 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10213 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10216 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10217 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10219 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10221 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10222 extra tokens at end of #undef directive.
10223 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10224 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10225 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10227 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10229 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10231 * math/auto-libm-test-in: Mark various tests with
10232 xfail-rounding:ldbl-128ibm.
10233 * math/auto-libm-test-out: Regenerated.
10235 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10239 numbers with subnormal high part when calculating exponent.
10242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10246 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10248 (__ieee754_acoshl): Use __log1pl not __log1p.
10250 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10252 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10253 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10254 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10255 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10256 (reused_arena, arena_get2): Convert to GNU style.
10257 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10258 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10259 (memalign_check, __malloc_set_state): Likewise.
10260 * malloc/mallocbug.c (main): Likewise.
10261 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10262 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10263 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10264 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10265 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10266 (__posix_memalign, malloc_info): Likewise.
10267 * malloc/malloc.h: Likewise.
10268 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10269 (mallochook, memalignhook, reallochook, mabort): Likewise.
10270 * malloc/mcheck.h: Likewise.
10271 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10272 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10273 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10274 * malloc/morecore.c (__default_morecore): Likewise.
10275 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10276 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10277 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10278 (print_and_abort): Likewise.
10279 * malloc/obstack.h: Likewise.
10280 * malloc/set-freeres.c (__libc_freeres): Likewise.
10281 * malloc/tst-mallocstate.c (main): Likewise.
10282 * malloc/tst-mtrace.c (main): Likewise.
10283 * malloc/tst-realloc.c (do_test): Likewise.
10285 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10288 * nscd/netgroupcache.c (do_notfound): New function.
10289 (addgetnetgrentX): Use it.
10292 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10293 NSS_STATUS_NOTFOUND.
10295 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10297 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10300 2014-01-01 Allan McRae <allan@archlinux.org>
10302 * scripts/update-copyrights: Update configure input file suffix.
10304 * NEWS: Update copyright year.
10305 * catgets/gencat.c: Likewise.
10306 * csu/version.c: Likewise.
10307 * debug/catchsegv.sh: Likewise.
10308 * debug/pcprofiledump.c: Likewise.
10309 * debug/xtrace.sh: Likewise.
10310 * elf/ldconfig.c: Likewise.
10311 * elf/ldd.bash.in: Likewise.
10312 * elf/pldd.c: Likewise.
10313 * elf/sotruss.ksh: Likewise.
10314 * elf/sprof.c: Likewise.
10315 * iconv/iconv_prog.c: Likewise.
10316 * iconv/iconvconfig.c: Likewise.
10317 * locale/programs/locale.c: Likewise.
10318 * locale/programs/localedef.c: Likewise.
10319 * login/programs/pt_chown.c: Likewise.
10320 * malloc/memusage.sh: Likewise.
10321 * malloc/memusagestat.c: Likewise.
10322 * malloc/mtrace.pl: Likewise.
10323 * manual/libc.texinfo: Likewise.
10324 * nscd/nscd.c: Likewise.
10325 * nss/getent.c: Likewise.
10326 * nss/makedb.c: Likewise.
10327 * posix/getconf.c: Likewise.
10328 * scripts/test-installation.pl: Likewise.
10330 * All files with FSF copyright notices: Update copyright dates
10331 using scripts/update-copyrights.
10332 * intl/plural.c: Regenerated.
10333 * locale/programs/charmap-kw.h: Likewise.
10334 * locale/programs/locfile-kw.h: Likewise.
10336 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10338 * sysdeps/unix/sysv/linux/configure: Regenerated.
10339 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10340 the linux/fanotify.h header.
10341 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10342 HAVE_LINUX_FANOTIFY_H is defined.
10344 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10346 * benchtests/cos-inputs: New inputs.
10347 * benchtests/sin-inputs: Likewise.
10349 * benchtests/atan-inputs: New inputs. Fix name of multiple
10350 precision fallback inputs.
10352 * benchtests/atanh-inputs: New inputs.
10353 * benchtests/tanh-inputs: Likewise.
10355 * benchtests/acosh-inputs: New inputs.
10356 * benchtests/asinh-inputs: Likewise.
10358 * benchtests/cosh-inputs: New inputs.
10359 * benchtests/sinh-inputs: Likewise.
10361 * benchtests/acos-inputs: Add more inputs.
10362 * benchtests/asin-inputs: Likewise.
10364 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10367 * manual/arith.texi: Fix spelling.
10368 * manual/charset.texi: Likewise.
10369 * manual/errno.texi: Likewise.
10370 * manual/filesys.texi: Likewise.
10371 * manual/lang.texi: Likewise.
10372 * manual/llio.texi: Likewise.
10373 * manual/locale.texi: Likewise.
10374 * manual/message.texi: Likewise.
10375 * manual/resource.texi: Likewise.
10376 * manual/search.texi: Likewise.
10377 * manual/setjmp.texi: Likewise.
10378 * manual/stdio.texi: Likewise.
10379 * manual/string.texi: Likewise.
10380 * manual/sysinfo.texi: Likewise.
10381 * manual/time.texi: Likewise.
10383 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10385 * po/sl.po: New file.
10387 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10389 * .gitignore: Add core/.gdbinit/.gdb_history.
10391 2013-12-27 Allan McRae <allan@archlinux.org>
10394 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10395 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10397 2013-12-24 Brooks Moses <bmoses@google.com>
10399 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10400 all compilers that claim C++98 compliance, not just GCC.
10401 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10404 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10406 * NEWS: Restore accidentally deleted bug-fix entries.
10408 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10409 Ondřej Bílka <neleai@seznam.cz>
10412 * malloc/malloc.c (_int_free): Perform sanity check only if we
10415 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10418 * manual/stdio.texi (String Input Conversions): Clarify that character
10419 classes are not supported.
10421 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10425 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10428 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10429 Calculate results for small negative arguments directly rather
10430 than using reflection formula with special underflow handling.
10432 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10433 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10434 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10435 (fchflags): Likewise.
10436 (revoke): Likewise.
10437 (setlogin): Likewise.
10438 (sigaltstack): Likewise.
10440 (sigblock): Remove.
10441 (sigsetmask): Likewise.
10443 (waitpid): Likewise.
10444 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10445 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10447 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10448 * sysdeps/unix/bsd/Makefile: ... here.
10449 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10450 * sysdeps/unix/bsd/Versions: ... here.
10451 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10452 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10453 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10454 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10455 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10456 * sysdeps/unix/bsd/sigblock.c: ... here.
10457 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10458 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10459 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10460 * sysdeps/unix/bsd/sigvec.c: ... here.
10461 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10462 * sysdeps/unix/bsd/tcdrain.c: ... here.
10463 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10464 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10465 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10466 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10467 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10468 * sysdeps/unix/bsd/wait.c: ... here.
10469 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10470 * sysdeps/unix/bsd/wait3.c: ... here.
10471 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10472 * sysdeps/unix/bsd/waitpid.c: ... here.
10474 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10478 round-to-nearest for [!USE_AS_EXPM1L].
10479 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10480 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10481 more tests of exp and exp10. Expect some exp10 tests to miss
10482 exceptions or fail in directed rounding modes.
10483 * math/auto-libm-test-out: Regenerated.
10484 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10485 (exp10_test_tonearest): New function.
10486 (exp10_towardzero_test_data): New array.
10487 (exp10_test_towardzero): New function.
10488 (exp10_downward_test_data): New array.
10489 (exp10_test_downward): New function.
10490 (exp10_upward_test_data): New array.
10491 (exp10_test_upward): New function.
10492 (main): Call the new functions.
10493 * sysdeps/i386/fpu/libm-test-ulps: Update.
10494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10496 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10498 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10499 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10500 * math/auto-libm-test-out: Regenerated.
10501 * math/libm-test.inc (acosh_test_data): Add more tests.
10502 (atanh_test_data): Likewise.
10503 (ceil_test_data): Likewise.
10504 (copysign_test_data): Likewise.
10505 * sysdeps/i386/fpu/libm-test-ulps: Update.
10506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10508 * timezone/checktab.awk: Update from tzcode 2013i.
10509 * timezone/private.h: Likewise.
10510 * timezone/scheck.c: Likewise.
10511 * timezone/tzfile.h: Likewise.
10512 * timezone/tzselect.ksh: Likewise.
10513 * timezone/zdump.c: Likewise.
10514 * timezone/zic.c: Likewise.
10516 * math/auto-libm-test-in: Add tests of cpow.
10517 * math/auto-libm-test-out: Regenerated.
10518 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10519 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10521 (func_calc_desc): Add mpc_cc_c union field.
10522 (test_functions): Add cpow.
10523 (special_fill_2pi): New function.
10524 (special_real_inputs): Add 2pi.
10525 (calc_generic_results): Handle mpc_cc_c.
10526 * sysdeps/i386/fpu/libm-test-ulps: Update.
10527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10529 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10530 csqrt, ctan and ctanh.
10531 * math/auto-libm-test-out: Regenerated.
10532 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10533 (TEST_COND_x86): Likewise.
10534 (ccos_test_data): Use AUTO_TESTS_c_c.
10535 (ccosh_test_data): Likewise.
10536 (cexp_test_data): Likewise.
10537 (clog_test_data): Likewise.
10538 (csqrt_test_data): Likewise.
10539 (ctan_test_data): Likewise.
10540 (ctan_tonearest_test_data): Likewise.
10541 (ctan_towardzero_test_data): Likewise.
10542 (ctan_downward_test_data): Likewise.
10543 (ctan_upward_test_data): Likewise.
10544 (ctanh_test_data): Likewise.
10545 (ctanh_tonearest_test_data): Likewise.
10546 (ctanh_towardzero_test_data): Likewise.
10547 (ctanh_downward_test_data): Likewise.
10548 (ctanh_upward_test_data): Likewise.
10549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10551 (func_calc_desc): Add mpc_c_c union field.
10552 (FUNC_mpc_c_c): New macro.
10553 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10554 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10556 (special_fill_min_subnorm_p120): New function.
10557 (special_real_inputs): Add min_subnorm_p120.
10558 (calc_generic_results): Handle mpc_c_c.
10559 * sysdeps/i386/fpu/libm-test-ulps: Update.
10560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10562 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10564 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10565 (do_sin_slow): New functions.
10566 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10567 (cslow2, csloww1, csloww2): Use the new functions.
10569 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10570 Use M to change sign of result instead of X. Assume X is
10572 (csloww1): Likewise.
10576 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10577 arguments A and DA.
10581 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10583 (sloww1): Don't adjust sign of DX.
10584 (csloww1): Likewise.
10585 (sloww2): Use X directly and don't adjust sign of DX.
10586 (csloww2): Likewise.
10588 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10590 * math/auto-libm-test-in: Add tests of cabs and carg.
10591 * math/auto-libm-test-out: Regenerated.
10592 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10593 (carg_test_data): Likewise.
10594 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10596 (func_calc_desc): Add mpc_c_f union field.
10597 (test_functions): Add cabs and carg.
10598 (calc_generic_results): Handle mpc_c_f.
10600 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10601 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10602 as a macro and a compat symbol.
10603 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10604 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10605 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10606 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10607 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10608 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10610 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10612 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10614 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10616 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10618 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10620 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10621 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10624 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10628 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10630 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10631 trailing whitespace removed.
10632 * scripts/config.guess: Update to version 2013-11-29.
10633 * scripts/config.sub: Update to version 2013-10-01.
10635 * math/auto-libm-test-in: Add tests of sincos.
10636 * math/auto-libm-test-out: Regenerated.
10637 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10638 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10640 (func_calc_desc): Add mpfr_f_11 union field.
10641 (test_functions): Add sincos.
10642 (calc_generic_results): Handle mpfr_f_11.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10646 2013-12-19 Andreas Schwab <schwab@suse.de>
10648 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10650 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10651 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10652 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10654 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10656 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10657 * sysdeps/i386/fpu/libm-test-ulps: Update.
10658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10662 round-to-nearest mode when using frndint.
10663 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10664 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10665 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10667 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10669 * math/auto-libm-test-out: Regenerated.
10670 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10671 (TEST_COND_x86): Likewise.
10672 (expm1_tonearest_test_data): New array.
10673 (expm1_test_tonearest): New function.
10674 (expm1_towardzero_test_data): New array.
10675 (expm1_test_towardzero): New function.
10676 (expm1_downward_test_data): New array.
10677 (expm1_test_downward): New function.
10678 (expm1_upward_test_data): New array.
10679 (expm1_test_upward): New function.
10680 (main): Run the new test functions.
10681 * sysdeps/i386/fpu/libm-test-ulps: Update.
10682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10684 * include/features.h: Update comment documenting feature test
10685 macros. Mention _DEFAULT_SOURCE in comment.
10686 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10687 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10688 _BSD_SOURCE and _SVID_SOURCE.
10689 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10690 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10691 !_SVID_SOURCE]: Likewise.
10692 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10693 (__USE_POSIX_IMPLICITLY): Define.
10694 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10695 (_POSIX_SOURCE): Undefine and redefine.
10696 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10697 (_POSIX_C_SOURCE): Likewise.
10698 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10699 (Feature Test Macros): Update documentation of default features.
10701 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10703 * benchtests/Makefile: Add bench-strtok.
10704 * benchtests/bench-strtok.c: New file: strtok benchtest.
10706 2013-12-19 Allan McRae <allan@archlinux.org>
10708 * manual/install.texi: Suppress menu for plain text output.
10709 * INSTALL: Regenerated.
10711 2013-12-18 Brooks Moses <bmoses@google.com>
10714 * misc/getauxval.c: Include errno.h.
10715 (__getauxval): Set errno to ENOENT if the requested type is not
10717 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10718 don't declare with __attribute_const__.
10719 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10720 * manual/startup.texi: Document that getauxval sets errno.
10722 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10724 * math/auto-libm-test-in: Add tests of jn and yn.
10725 * math/auto-libm-test-out: Regenerated.
10726 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10727 (yn_test_data): Likewise.
10728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10730 (func_calc_desc): Add mpfr_if_f union field.
10731 (FUNC_mpfr_if_f): New macro.
10732 (test_functions): Add jn and yn.
10733 (calc_generic_results): Assert type of second input for
10734 mpfr_ff_f. Handle mpfr_if_f.
10735 (output_for_one_input_case): Disable all checking for arguments
10736 fitting floating-point types in case of an integer argument.
10737 * sysdeps/i386/fpu/libm-test-ulps: Update.
10738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10741 Don't expect fegetround reference in libm.so.
10743 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10745 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10746 $(config-cflags-nofma).
10748 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10750 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10751 * math/auto-libm-test-out: Regenerated.
10754 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10755 to determine exponent and adjust argument to have exponent of -1.
10756 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10758 * math/auto-libm-test-out: Regenerated.
10759 * sysdeps/i386/fpu/libm-test-ulps: Update.
10760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10762 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10764 * manual/probes.texi: Remove cases when per-thread arenas are
10767 2013-12-18 Andreas Schwab <schwab@suse.de>
10769 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10770 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10771 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10772 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10773 * sysdeps/i386/i686/multiarch/Makefile: Update.
10774 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10776 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10778 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10779 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10781 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10784 Support TZ transition times < 00:00:00.
10785 This is needed for version-3 tz-format files; it supports time
10786 stamps past 2037 for America/Godthab (the only entry in the tz
10787 database for which this change is relevant).
10788 * manual/time.texi (TZ Variable): Document transition times
10789 from -167:59:59 through -00:00:01.
10790 * time/tzset.c (tz_rule): Time of day is now signed.
10791 (__tzset_parse_tz): Parse negative time of day.
10793 Document TZ transition times >= 25:00:00.
10794 * manual/time.texi (TZ Variable): Document transition times from
10795 25:00:00 through 167:59:59. These are already supported, and this
10796 support will help with version-3 tz-format files.
10798 * manual/time.texi (TZ Variable): Modernize North America example
10799 to reflect current (i.e., 2007-and-later) daylight saving rules.
10801 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10803 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10806 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10807 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10809 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10810 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10811 * sysdeps/unix/bsd/clock.c: Likewise.
10812 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10813 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10814 * sysdeps/unix/bsd/init-posix.c: Likewise.
10815 * sysdeps/unix/bsd/poll.c: Likewise.
10816 * sysdeps/unix/bsd/ptsname.c: Likewise.
10817 * sysdeps/unix/bsd/seekdir.c: Likewise.
10818 * sysdeps/unix/bsd/setegid.c: Likewise.
10819 * sysdeps/unix/bsd/seteuid.c: Likewise.
10820 * sysdeps/unix/bsd/setgid.c: Likewise.
10821 * sysdeps/unix/bsd/setrgid.c: Likewise.
10822 * sysdeps/unix/bsd/setruid.c: Likewise.
10823 * sysdeps/unix/bsd/setsid.c: Likewise.
10824 * sysdeps/unix/bsd/setuid.c: Likewise.
10825 * sysdeps/unix/bsd/sigaction.c: Likewise.
10826 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10827 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10828 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10829 * sysdeps/unix/bsd/telldir.c: Likewise.
10830 * sysdeps/unix/bsd/times.c: Likewise.
10831 * sysdeps/unix/bsd/usleep.c: Likewise.
10833 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10834 ($(objpfx)libbsd-compat.a): Remove rule.
10836 * include/features.h (__FAVOR_BSD): Do not define.
10837 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10838 features conflicting with POSIX.
10839 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10840 (_BSD_SOURCE): Remove description of not being a subset of other
10841 feature test macros.
10842 * manual/job.texi (getpgrp): Do not document BSD version.
10843 (getpgid): Do not document by reference to BSD getpgrp.
10844 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10845 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10846 * signal/signal.h [__FAVOR_BSD]: Likewise.
10847 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10848 instead of making contents conditional on [__FAVOR_BSD].
10849 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10851 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10855 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10858 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10859 values below 2**-450, not 2**-500.
10860 * math/auto-libm-test-in: Don't allow spurious underflow from
10862 * math/auto-libm-test-out: Regenerated.
10866 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10867 values of ha and hb and sort them after adjusting subnormal
10869 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10871 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10872 values of ea and eb and sort them after adjusting subnormal
10874 * math/auto-libm-test-in: Do not expect some hypot tests of
10875 subnormals to fail. Add more hypot tests.
10876 * math/auto-libm-test-out: Regenerated.
10878 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10881 * sysdeps/sh/s_fma.c: New file.
10882 * sysdeps/sh/s_fmaf.c: New file.
10883 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
10885 * sysdeps/sh/Implies: Add sh/soft-fp.
10887 2013-12-16 Roland McGrath <roland@hack.frob.com>
10889 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
10890 level of indirection to members `objname', `errstring', `malloced'.
10891 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10892 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
10893 it as the __longjmp argument (just pass 1 instead).
10894 (_dl_catch_error): Initialize C with argument pointers and address of
10895 volatile local ERRCODE rather than copying values out of C at return.
10897 2013-12-16 Joseph Myers <joseph@codesourcery.com>
10899 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10900 * math/auto-libm-test-out: Regenerated.
10901 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10902 (hypot_test_data): Likewise.
10903 (pow_test_data): Likewise.
10904 (pow_tonearest_test_data): Likewise.
10905 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10907 (func_calc_desc): Add mpfr_ff_f union field.
10908 (FUNC_mpfr_ff_f): New macro.
10909 (test_functions): Add atan2, hypot and pow.
10910 (special_fill_min): New function.
10911 (special_fill_minus_min): Likewise.
10912 (special_fill_min_subnorm): Likewise.
10913 (special_fill_minus_min_subnorm): Likewise.
10914 (special_real_inputs): Add min, -min, min_subnorm and
10916 (calc_generic_results): Handle mpfr_ff_f.
10917 * sysdeps/i386/fpu/libm-test-ulps: Update.
10918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10920 2013-12-16 Will Newton <will.newton@linaro.org>
10922 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10923 (Aligned Memory Blocks): Add documentation for aligned_alloc
10924 and suggest it as an alternative to posix_memalign.
10925 (Hooks for Malloc): Document __memalign_hook is also called
10926 for aligned_alloc. (Summary of Malloc): Add summary for
10927 aligned alloc. Document __memalign_hook is also called
10930 2013-12-16 Will Newton <will.newton@linaro.org>
10932 * manual/memory.texi (Malloc Examples): Clarify default
10933 alignment documentation. Suggest posix_memalign rather
10934 than memalign or valloc.
10935 (Aligned Memory Blocks): Remove suggestion to use memalign
10936 or valloc. Remove obsolete comment about BSD.
10937 Document memalign errno values and mark the function obsolete.
10938 Document posix_memalign returned error codes. Mark valloc
10939 as obsolete. (Hooks for Malloc): __memalign_hook is also
10940 called for posix_memalign and valloc.
10941 (Summary of Malloc): Add posix_memalign to function summary.
10942 __memalign_hook is also called for posix_memalign and valloc.
10944 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10946 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10950 (sloww): Use mynumber union. Expand ternary operator into
10951 if-else statements.
10952 (cslow): use mynumber union.
10954 2013-12-16 Allan McRae <allan@archlinux.org>
10956 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10957 * configure: Regenerated.
10959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10962 * configure.ac: Added --enable-maintainer-mode. Check for
10963 autoconf when enabled.
10964 * configure: Regenerated.
10966 * nscd/nscd.service: New file.
10967 * nscd/nscd.tmpfiles: New file.
10969 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
10972 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10973 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10974 * sysdeps/x86_64/multiarch/strstr.c: ... here.
10975 (strstr): Add __strstr_sse2_unaligned ifunc.
10976 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10977 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10978 (strcasestr): Remove __strcasestr_sse42 ifunc.
10979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10981 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10983 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10985 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10986 * sysdeps/sh/bits/fenv.h: ... here.
10987 * sysdeps/sh/sh4/fpu/bits: Remove directory.
10989 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10991 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10994 hypotf multiarch implementations.
10995 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10996 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10997 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10998 multiarch hypot for PPC64.
10999 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11000 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11001 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11002 multiarch hypotf for PPC64.
11004 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11005 modff multiarch implementations.
11006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11009 multiarch modf for PPC64.
11010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11013 multiarch modff for PPC64.
11015 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11016 and logl multiarch implementations.
11017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11020 multiarch logb for PPC64.
11021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11024 multiarch logb for PPC64.
11025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11028 multiarch logb for PPC64.
11030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11031 isinff multiarch implementation.
11032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11036 multiarch isinf for PPC64.
11037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11040 multiarch isinff for PPC64.
11042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11043 finitef multiarch implementation.
11044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11048 multiarch finite for PPC64.
11049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11052 multiarch finitef for PPC64.
11054 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11055 lrint multiarch implementation.
11056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11060 multiarch llrint for PPC64.
11061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11062 multiarch lrint for PPC64.
11064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11065 copysignf multiarch implementation.
11066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11071 multiarch copysign for PPC64.
11072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11073 multiarch copysignf for PPC64.
11075 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11076 multiarch implementation.
11077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11085 multiarch llround for PPC64.
11086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11087 multiarch trunc for PPC64.
11088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11089 multiarch truncf for PPC64.
11091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11092 multiarch implementation.
11093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11101 multiarch llround for PPC64.
11102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11103 multiarch round for PPC64.
11104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11105 multiarch roundf for PPC64.
11107 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11108 multiarch implementation.
11109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11117 multiarch llround for PPC64.
11118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11119 multiarch floor for PPC64.
11120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11121 multiarch floorf for PPC64.
11123 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11124 multiarch implementation.
11125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11133 multiarch llround for PPC64.
11134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11135 multiarch ceil for PPC64.
11136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11137 multiarch ceilf for PPC64.
11139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11140 multiarch implementation.
11141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11148 multiarch llround for PPC64.
11149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11150 multiarch lround for PPC64.
11152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11153 multiarch implementation.
11154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11161 multiarch isnan for PPC64.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11163 multiarch isnanf for PPC64.
11165 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11166 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11167 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11168 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11169 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11172 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11178 multiarch implementations.
11179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11180 (__libc_ifunc_impl_list): Likewise.
11181 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11182 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11183 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11184 multiarch stpcpy for PPC64.
11186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11187 multiarch implementations.
11188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11189 (__libc_ifunc_impl_list): Likewise.
11190 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11191 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11192 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11193 multiarch strcpy for PPC64.
11195 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11196 redefine function name.
11197 (_wordcopy_fwd_dest_aligned): Likewise.
11198 (_wordcopy_bwd_aligned): Likewise.
11199 (_wordcopy_bwd_dest_aligned): Likewise.
11200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11201 multiarch implementations.
11202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11203 (__libc_ifunc_impl_list): Likewise.
11204 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11205 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11206 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11207 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11208 multiarch wcscpy for PPC64.
11210 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11211 multiarch implementations.
11212 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11213 (__libc_ifunc_impl_list): Likewise.
11214 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11215 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11216 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11217 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11218 multiarch wcscpy for PPC64.
11220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11221 multiarch implementations.
11222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11223 (__libc_ifunc_impl_list): Likewise.
11224 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11225 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11226 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11227 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11228 multiarch wcsrchr for PPC64.
11230 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11231 multiarch implementations.
11232 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11233 (__libc_ifunc_impl_list): Likewise.
11234 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11235 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11236 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11237 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11238 multiarch wcschr for PPC64.
11240 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11241 multiarch implementations.
11242 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11243 (__libc_ifunc_impl_list): Likewise.
11244 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11245 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11246 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11247 multiarch strchrnul for PPC64.
11249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11252 (__libc_ifunc_impl_list): Likewise.
11253 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11254 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11255 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11256 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11262 (__libc_ifunc_impl_list): Likewise.
11263 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11264 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11265 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11266 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11270 multiarch implementations.
11271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11272 (__libc_ifunc_impl_list): Likewise.
11273 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11274 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11275 strncasecmp for PPC64.
11276 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11277 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11278 multiarch strncasecmp_l for PPC64.
11280 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11281 multiarch implementations.
11282 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11283 (__libc_ifunc_impl_list): Likewise.
11284 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11285 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11286 multiarch strcasecmp for PPC64.
11287 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11289 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11290 multiarch strcasecmp_l for PPC64.
11292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11295 (__libc_ifunc_impl_list): Likewise.
11296 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11297 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11298 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11304 (__libc_ifunc_impl_list): Likewise.
11305 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11306 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11307 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11313 (__libc_ifunc_impl_list): Likewise.
11314 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11315 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11316 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11317 rawmemrchr for PPC64.
11319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11322 (__libc_ifunc_impl_list): Likewise.
11323 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11324 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11325 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11330 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11331 (__libc_ifunc_impl_list): Likewise.
11332 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11333 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11334 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11340 (__libc_ifunc_impl_list): Likewise.
11341 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11342 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11343 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11346 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11347 avoid cretion of __bzero symbol.
11348 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11350 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11352 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11355 multiarch implementations.
11356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11357 (__libc_ifunc_impl_list): Likewise.
11358 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11359 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11360 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11361 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11363 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11364 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11365 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11366 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11367 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11369 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11371 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11375 (__libc_ifunc_impl_list): Likewise.
11376 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11377 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11378 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11379 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11383 multiarch for POWER/PPC64.
11384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11385 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11386 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11387 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11388 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11389 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11390 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11391 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11392 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11395 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11396 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11397 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11398 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11399 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11400 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11401 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11402 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11403 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11404 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11405 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11406 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11407 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11408 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11409 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11418 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11420 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11422 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11424 * benchtests/Makefile (bench): Add exp2 and log2.
11425 (LDLIBS-bench-exp2): Add -lm.
11426 (LDLIBS-bench-log2): Likewise.
11427 * benchtests/exp2-inputs: New inputs file.
11428 * benchtests/log2-inputs: New inputs file.
11429 * benchtests/log-inputs: Add new inputs.
11430 * benchtests/tan-inputs: Likewise.
11432 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11434 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11436 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11437 (csloww2): ... from here.
11439 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11440 instead of structures.
11441 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11442 (POLYNOMIAL): Likewise.
11443 (TAYLOR_SLOW): Likewise.
11449 (sloww1); Likewise.
11450 (sloww2): Likewise.
11451 (bsloww1): Likewise.
11452 (bsloww2): Likewise.
11453 (cslow2): Likewise.
11454 (csloww): Likewise.
11455 (csloww1): Likewise.
11456 (csloww2): Likewise.
11458 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11460 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11461 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11462 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11463 * malloc/hooks.c (realloc_check): Likewise.
11465 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11466 * malloc/arena.c: Remove PER_THREAD conditional.
11467 [!PER_THREAD]: Remove code.
11468 (ptmalloc_unlock_all2): Likewise.
11469 (ptmalloc_init): Likewise.
11470 (_int_new_arena): Likewise.
11471 (arena_get2): Likewise.
11472 * malloc/hooks.c (__malloc_get_state): Likewise.
11473 (__malloc_set_state): Likewise.
11474 * malloc/malloc.c: Likewise.
11475 (struct malloc_state): Likewise.
11476 (struct malloc_par): Likewise.
11477 (__libc_realloc): Likewise.
11478 (__libc_mallopt): Likewise.
11480 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11482 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11484 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11486 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11487 macro to a function. Check for zero perturb_byte.
11488 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11490 * malloc/malloc.c: (force_reg): Remove.
11491 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11492 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11493 force_reg by atomic_forced_read.
11494 * malloc/arena.c (ptmalloc_init): Likewise.
11495 * malloc/hooks.c (top_check): Likewise.
11497 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11501 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11505 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11507 * math/auto-libm-test-in: Add tests of lgamma.
11508 * math/auto-libm-test-out: Regenerated.
11509 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11510 (M_LOG_2_SQRT_PIl): Likewise.
11511 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11512 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11514 (func_calc_desc): Add mpfr_f_f1 union field.
11515 (ARGS1): New macro.
11523 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11524 (test_functions): Add lgamma.
11525 (calc_generic_results): Handle mpfr_f_f1.
11526 * sysdeps/i386/fpu/libm-test-ulps: Update.
11527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11529 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11531 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11532 __mpn_add_n for PowerPC64/POWER7.
11533 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11534 __mpn_sub_n for PowerPC64/POWER7.
11536 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11537 __mpn_addmul_1 for PowerPC64.
11538 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11539 __mpn_submul_1 for PowerPC64.
11540 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11542 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11545 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11548 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11550 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11552 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11554 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11555 add multiarch folders.
11556 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11557 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11558 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11559 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11560 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11561 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11562 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11563 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11564 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11565 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11566 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11575 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11581 multiarch __ieee754_hypot for PowerPC32.
11582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11587 multiarch __ieee754_hypotf for PowerPC32.
11589 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11590 long_double_symbol only if __logbl is defined.
11591 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11592 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11593 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11594 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11595 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11596 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11597 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11598 path for implementation.
11599 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11600 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11602 logb, and logbl multiarch implementations for PowerPC32.
11603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11608 multiarch logb for PowerPC32.
11609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11614 multiarch logbf for PowerPC32.
11615 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11619 multiarch logbl implementation for PowerPC32.
11621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11622 and modff multiarch implementations.
11623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11628 multiarch modf for PowerPC32.
11629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11634 multiarch modff for PowerPC32.
11636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11637 and lrintf multiarch implementations.
11638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11643 multiarch lrint for PowerPC32.
11644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11645 file: multiarch lrintf for PowerPC32.
11647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11648 and lroundf multiarch implementations.
11649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11656 multiarch lround for PowerPC32.
11657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11658 file: multiarch lroundf for PowerPC32.
11660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11661 copysign and copysignf multiarch implementations.
11662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11667 file: multiarch copysign for PowerPC32.
11668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11669 file: multiarch copysignf for PowerPC32.
11671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11672 and truncf multiarch implementations.
11673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11678 multiarch trunc for PowerPC32.
11679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11684 multiarch truncf for PowerPC32.
11686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11687 and roundf multiarch implementations.
11688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11693 multiarch round for PowerPC32.
11694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11699 multiarch roundf for PowerPC32.
11701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11702 and floorf multiarch implementations.
11703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11708 multiarch floor for PowerPC32.
11709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11714 multiarch floorf for PowerPC32.
11716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11717 and ceilf multiarch implementations.
11718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11723 multiarch ceil for PowerPC32.
11724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11729 multiarch ceilf for PowerPC32.
11731 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11733 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11734 FINITEF is defined.
11735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11736 and finitef multiarch implementations.
11737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11742 multiarch finite for PowerPC32.
11743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11746 file: multiarch finitef for PowerPC32.
11748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11749 and isinff multiarch implementations.
11750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11755 multiarch isinf for PowerPC32.
11756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11759 multiarch isinff for PowerPC32.
11761 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11762 alias when __isnan is defined.
11763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11764 and isnanf multiarch implementations.
11765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11774 multiarch isnan for PowerPC32.
11775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11780 multiarch isnanf for PowerPC32.
11782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11783 and sqrtf multiarch implementations.
11784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11789 multiarch sqrt for PowerPC32.
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11795 multiarch sqrtf for PowerPC32.
11797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11798 and llroundf multiarch implementations.
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11806 file: multiarch llround for PowerPC32.
11807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11808 file: multiarch llroundf for PowerPC32.
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11811 multiarch PowerPC32 fpu implementations.
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11817 multiarch llrint for PowerPC32.
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11827 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11829 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11831 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11833 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11834 multiarch wordcopy for PPC32.
11835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11838 (__libc_ifunc_impl_list): Likewise.
11839 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11840 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11841 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11842 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11843 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11844 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11846 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11854 multiarch wcscpy for PPC32.
11855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11857 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11858 (__libc_ifunc_impl_list): Likewise.
11859 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11860 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11861 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11862 sysdeps/powerpc/power6/wcscpy.c.
11864 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11865 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11867 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11869 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11871 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11872 multiarch wcsrchr for PPC32.
11873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11876 (__libc_ifunc_impl_list): Likewise.
11877 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11878 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11879 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11880 sysdeps/powerpc/power6/wcsrchr.c.
11882 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11887 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11888 multiarch wcschr for PPc32.
11889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11892 (__libc_ifunc_impl_list): Likewise.
11893 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11894 * sysdeps/powerpc/power6/wcschr.c: ... to here.
11895 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11896 sysdeps/powerpc/power6/wcschr.c.
11898 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11899 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11901 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11902 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11903 file: multiarch strchr for PPC32.
11904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11907 (__libc_ifunc_impl_list): Likewise.
11909 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11911 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11913 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11915 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11916 multiarch strchrnul for PPC32.
11917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11920 (__libc_ifunc_impl_list): Likewise.
11922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11925 multiarch strncasecmp for PPC32.
11926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11929 multiarch strncasecmp_l for PPC32.
11930 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11931 strncasecmp multiarch objects.
11932 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11933 (__libc_ifunc_impl_list): Likewise.
11935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11937 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11938 multiarch strncasecmp for PPC32.
11939 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11941 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11942 multiarch strcasecmp_l for PPC32.
11943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11946 (__libc_ifunc_impl_list): Likewise.
11948 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11953 multiarch strncmp for PPC32.
11954 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11956 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11957 (__libc_ifunc_impl_list): Likewise.
11959 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11960 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11962 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11963 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11967 (__libc_ifunc_impl_list): Likewise.
11969 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11971 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11973 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11977 (__libc_ifunc_impl_list): Likewise.
11979 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11981 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11984 multiarch rawmemchr for PPC32.
11985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11988 (__libc_ifunc_impl_list): Likewise.
11990 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11992 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11994 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11995 file: memrchr multiarch for PPC32.
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11999 (__libc_ifunc_impl_list): Likewise.
12001 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12002 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12004 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12005 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12006 multiarch memchr for PPC32.
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12010 (__libc_ifunc_impl_list): Likewise.
12012 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12013 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12018 file: multiarch mempcpy for PPC32.
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12022 (__libc_ifunc_impl_list): Likewise.
12024 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12025 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12026 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12027 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12028 multiarch bzero for PPC32.
12029 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12031 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12033 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12034 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12035 file: multiarch memset for PPC32.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12038 memset multiarch objects.
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12040 (__libc_ifunc_impl_list): Likewise.
12042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12044 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12051 (__libc_ifunc_impl_list): Likewise.
12053 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12055 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12057 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12059 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12062 multiarch memcpy for PPC32.
12063 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12065 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12066 (__libc_ifunc_impl_list): Likewise.
12068 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12069 support multiarch for POWER/PPC32.
12070 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12074 Implies file to make multiarch folder appers before the fpu and
12075 default folder for power4 configuration.
12077 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12079 * scripts/bench.pl: Append volatile keyword to type.
12081 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12083 * sysdeps/sh/sotruss-lib.c: New file.
12084 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12086 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12090 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12093 * math/w_tgamma.c: Include <errno.h>.
12094 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12095 * math/w_tgammaf.c: Include <errno.h>.
12096 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12097 * math/w_tgammal.c: Include <errno.h>.
12098 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12099 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12100 underflow. Add more tgamma tests.
12101 * math/auto-libm-test-out: Regenerated.
12102 * sysdeps/i386/fpu/libm-test-ulps: Update.
12103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12105 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12106 sin, sinh, tan, tanh, tgamma, y0 and y1.
12107 * math/auto-libm-test-out: Regenerated.
12108 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12109 (TEST_COND_x86): Likewise.
12110 (M_E2l): Remove macro.
12112 (M_2_SQRT_PIl): Likewise.
12113 (M_SQRT_PIl): Likewise.
12114 (M_1_DIV_El): Likewise.
12115 (log_test_data): Use AUTO_TESTS_f_f.
12116 (log10_test_data): Likewise.
12117 (log1p_test_data): Likewise.
12118 (log2_test_data): Likewise.
12119 (sin_test_data): Likewise.
12120 (sin_tonearest_test_data): Likewise.
12121 (sin_towardzero_test_data): Likewise.
12122 (sin_downward_test_data): Likewise.
12123 (sin_upward_test_data): Likewise.
12124 (sinh_test_data): Likewise.
12125 (sinh_tonearest_test_data): Likewise.
12126 (sinh_towardzero_test_data): Likewise.
12127 (sinh_downward_test_data): Likewise.
12128 (sinh_upward_test_data): Likewise.
12129 (tan_test_data): Likewise.
12130 (tan_tonearest_test_data): Likewise.
12131 (tan_towardzero_test_data): Likewise.
12132 (tan_downward_test_data): Likewise.
12133 (tan_upward_test_data): Likewise.
12134 (tanh_test_data): Likewise.
12135 (tgamma_test_data): Likewise.
12136 (y0_test_data): Likewise.
12137 (y1_test_data): Likewise.
12138 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12139 (special_real_inputs): Add pi/4.
12140 * sysdeps/i386/fpu/libm-test-ulps: Update.
12141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12143 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12145 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12146 "longjmp_target" static probes.
12147 (__longjmp): Rename to __longjmp_symbol.
12148 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12149 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12150 on which longjmp to generate.
12151 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12152 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12154 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12155 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12156 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12157 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12158 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12159 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12161 __longjmp_symbol based on which __longjmp to generate.
12162 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12164 (setjmp): Rename to setjmp_symbol.
12165 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12166 (_setjmp): Rename to _setjmp_symbol.
12167 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12168 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12169 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12170 which setjmp to generate.
12171 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12172 "longjmp_target" static probes.
12174 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12176 * benchtests/README: Add note about output arguments.
12177 * benchtests/bench-sincos.c: Remove file.
12178 * benchtests/sincos-inputs: New file.
12179 * scripts/bench.pl: Identify output arguments and define
12180 static variables for them.
12182 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12185 * Makefile (INSTALL): Add install-plain.texi as the primary
12187 * manual/install-plain.texi: New file.
12188 * manual/install.texi: Include node directive only for
12189 non-plaintext output.
12191 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12193 * stdlib/longlong.h: Update from GCC.
12197 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12198 * math/w_j0f.c (y0f): Likewise.
12199 * math/w_j0l.c (__y0l): Likewise.
12200 * math/w_j1.c (y1): Likewise.
12201 * math/w_j1f.c (y1f): Likewise.
12202 * math/w_j1l.c (__y1l): Likewise
12203 * math/w_jn.c (yn): Likewise.
12204 * math/w_jnf.c (ynf): Likewise.
12205 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12206 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12207 value for Bessel function domain errors outside _SVID_ mode.
12208 Adjust sign of return value for yn (negative integer, 0).
12209 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12210 by zero in return for negative x and set sign appropriately for
12212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12213 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12214 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12215 expectations in error cases.
12216 (y1_test_data): Likewise.
12217 (yn_test_data): Likewise.
12218 * sysdeps/i386/fpu/libm-test-ulps: Update.
12219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12221 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12223 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12224 "64" to "64-v1". Add "64-v2".
12225 (abi-64-options): Rename to ...
12226 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12227 (abi-64-condition): Rename to ...
12228 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12229 (abi-64-ld-soname): Rename to ...
12230 (abi-64-v1-ld-soname): ... this.
12231 (abi-64-v2-options): Define.
12232 (abi-64-v2-condition): Likewise.
12233 (abi-64-v2-ld-soname): Likewise.
12234 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12235 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12240 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12241 Alan Modra <amodra@gmail.com>
12243 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12244 New versions for use with the ELFv2 ABI.
12245 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12246 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12248 (struct La_ppc64v2_retval): Likewise.
12249 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12250 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12251 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12252 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12253 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12255 Do not save or restore CR.
12256 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12257 (_dl_profile_resolve): Do no save or restore CR. Support extended
12258 return values for ELFv2 ABI. Fix location of FPR return registers.
12259 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12260 updated values for _CALL_ELF == 2.
12261 (La_regs, La_retval, int_retval): Likewise.
12263 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12265 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12266 (FRAME_MIN_SIZE_PARM): Likewise.
12267 (FRAME_BACKCHAIN): Likewise.
12268 (FRAME_CR_SAVE): Likewise.
12269 (FRAME_LR_SAVE): Likewise.
12270 (FRAME_TOC_SAVE): Likewise.
12271 (FRAME_PARM_SAVE): Likewise.
12272 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12273 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12274 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12275 (call_mcount_parm_offset): New macro.
12276 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12277 (PROF): Use symbolic stack frame offsets.
12278 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12279 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12280 Redefine in terms of FRAME_MIN_SIZE.
12281 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12282 (_dl_profile_resolve): Likewise. Update comment.
12283 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12284 symbols stack frame offsets.
12285 (__sigsetjmp): Likewise.
12286 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12287 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12288 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12289 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12292 (FRAME_BACKCHAIN): Remove.
12293 (FRAME_CR_SAVE): Likewise.
12294 (FRAME_LR_SAVE): Likewise.
12295 (FRAME_COMPILER_DW): Likewise.
12296 (FRAME_LINKER_DW): Likewise.
12297 (FRAME_TOC_SAVE): Likewise.
12298 (FRAME_PARM_SAVE): Likewise.
12299 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12300 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12301 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12303 (CHECK_SP): Use symbolic stack frame offsets.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12305 zone" instead of caller's parameter save area for temp storage.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12307 Likewise. Also, use symbolic stack frame offsets.
12308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12309 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12310 our own stack frame instead of the caller's.
12311 (__socket): Use symbolic stack frame offsets.
12313 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12314 Alan Modra <amodra@gmail.com>
12316 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12318 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12319 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12320 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12322 (elf_machine_fixup_plt): Call it.
12323 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12325 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12326 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12327 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12328 r2 before calling target.
12330 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12331 Alan Modra <amodra@gmail.com>
12333 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12334 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12335 versions of macros to support ELFv2 ABI.
12336 (LOCALENTRY): New macro.
12337 (ENTRY, EALIGN): Use it.
12338 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12339 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12340 fall through into ENTRY entry point.
12341 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12342 Only define if _CALL_ELF != 2.
12344 (elf_machine_matches_host): Verify ABI version matches.
12345 (RTLD_START): Use LOCALENTRY.
12346 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12347 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12348 (PLT_ENTRY_WORDS): New macro.
12349 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12350 (elf_machine_runtime_setup): Support ELFv2 ABI.
12351 (elf_machine_fixup_plt): Likewise.
12352 (elf_machine_plt_conflict): Likewise.
12353 (resolve_ifunc): Likewise.
12354 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12355 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12358 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12360 (makecontext): Support ELFv2 ABI.
12361 * elf/elf.h (EF_PPC64_ABI): Define.
12363 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12365 * sysdeps/powerpc/powerpc64/sysdep.h
12366 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12367 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12368 (ENTRY) [ASSEMBLER]: ... but instead here ...
12369 (EALIGN) [ASSEMBLER]: ... and here.
12370 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12371 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12372 (ENTRY_2) [!ASSEMBLER]: Use it.
12373 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12374 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12375 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12376 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12377 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12379 Use PPC64_LOAD_FUNCPTR.
12381 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12383 2013-12-04 Alan Modra <amodra@gmail.com>
12385 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12386 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12387 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12388 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12390 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12391 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12392 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12393 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12394 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12395 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12397 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12400 (__makecontext): Fix incorrect CFI when backtracing out of
12401 context created via makecontext.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12403 (__setcontext): Fix incorrect CFI during switch to new context.
12404 (__novec_setcontext): Likewise.
12406 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12409 * time/strptime_l.c (__strptime_internal): Allow modifiers
12411 * time/tst-strptime.c (day_tests): Add testcase.
12413 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12415 * scripts/bench.pl: Skip over blank lines.
12417 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12420 * manual/time.texi (Calendar Time): Clarify what timezone functions
12423 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12427 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12429 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12431 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12432 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12433 * debug/memset_chk.c (__memset_chk): Likewise.
12434 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12435 * debug/strncpy_chk.c: Likewise.
12437 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12441 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12442 (__ieee754_exp): For possibly underflowing results, check size of
12443 result and force underflow exception if required.
12444 * math/auto-libm-test-in: Add more tests of exp.
12445 * math/auto-libm-test-out: Regenerated.
12446 * sysdeps/i386/fpu/libm-test-ulps: Update.
12447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12450 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12451 * math/w_exp2f.c (__exp2f): Likewise.
12452 * math/w_exp2l.c (__exp2l): Likewise.
12453 * math/auto-libm-test-in: Do not allow missing errno on exp2
12455 * math/auto-libm-test-out: Regenerated.
12457 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12460 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12461 handle filename validation.
12462 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12465 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12468 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12469 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12470 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12472 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12473 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12474 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12475 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12476 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12477 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12478 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12479 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12480 Add more erfc tests.
12481 * math/auto-libm-test-out: Regenerated.
12482 * sysdeps/i386/fpu/libm-test-ulps: Update.
12483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12485 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12486 exp2, expm1, j0 and j1.
12487 * math/auto-libm-test-out: Regenerated.
12488 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12489 (erfc_test_data): Likewise.
12490 (exp_test_data): Likewise.
12491 (exp_tonearest_test_data): Likewise.
12492 (exp_towardzero_test_data): Likewise.
12493 (exp_downward_test_data): Likewise.
12494 (exp_upward_test_data): Likewise.
12495 (exp10_test_data): Likewise.
12496 (exp2_test_data): Likewise.
12497 (expm1_test_data): Likewise.
12498 (j0_test_data): Likewise.
12499 (j1_test_data): Likewise.
12500 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12501 (input_flag_type): Add flag_xfail_rounding.
12502 (input_flags): Add xfail-rounding.
12503 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12504 (output_for_one_input_case): Handle flag_xfail_rounding.
12505 * sysdeps/i386/fpu/libm-test-ulps: Update.
12506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12511 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12514 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12517 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12518 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12519 (STAP_PROBE0): New macro.
12520 (STAP_PROBE1): Likewise.
12521 (STAP_PROBE2): Likewise.
12522 (STAP_PROBE3): Likewise.
12523 (STAP_PROBE4): Likewise.
12525 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12527 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12529 2013-12-02 Steve Ellcey <sellcey@mips.com>
12531 * benchtests/Makefile (bench): Add sqrt.
12532 (LDLIBS-bench-sqrt): New.
12533 * benchtests/sqrt-input: New.
12535 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12537 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12538 (GAIH_EAI): Likewise.
12539 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12540 (gaih_inet): Likewise.
12541 (getaddrinfo): Don't use GAIH_EAI.
12543 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12544 (struct gaih): Remove definition.
12546 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12548 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12549 Use HERRNOP directly.
12551 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12555 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12557 * math/gen-auto-libm-tests.c (test_functions): Add more
12558 single-argument functions.
12559 (special_fill_pi_2): New function.
12560 (special_fill_minus_pi_2): Likewise.
12561 (special_fill_pi_6): Likewise.
12562 (special_fill_minus_pi_6): Likewise.
12563 (special_fill_pi_3): Likewise.
12564 (special_fill_2pi_3): Likewise.
12565 (special_fill_e): Likewise.
12566 (special_fill_1_e): Likewise.
12567 (special_fill_e_minus_1): Likewise.
12568 (special_real_inputs): Add more special inputs.
12569 (output_for_one_input_case): Do not require ERANGE on underflow to
12570 zero if round-to-nearest result does not underflow to zero, unless
12571 exact results required.
12572 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12573 atan, atanh, cbrt, cos and cosh.
12574 * math/auto-libm-test-out: Regenerated.
12575 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12576 (acos_tonearest_test_data): Likewise.
12577 (acos_towardzero_test_data): Likewise.
12578 (acos_downward_test_data): Likewise.
12579 (acos_upward_test_data): Likewise.
12580 (acosh_test_data): Likewise.
12581 (asin_test_data): Likewise.
12582 (asin_tonearest_test_data): Likewise.
12583 (asin_towardzero_test_data): Likewise.
12584 (asin_upward_test_data): Likewise.
12585 (asinh_test_data): Likewise.
12586 (atan_test_data): Likewise.
12587 (atanh_test_data): Likewise.
12588 (cbrt_test_data): Likewise.
12589 (cos_test_data): Likewise.
12590 (cos_tonearest_test_data): Likewise.
12591 (cos_towardzero_test_data): Likewise.
12592 (cos_downward_test_data): Likewise.
12593 (cos_upward_test_data): Likewise.
12594 (cosh_test_data): Likewise.
12595 (cosh_tonearest_test_data): Likewise.
12596 (cosh_towardzero_test_data): Likewise.
12597 (cosh_downward_test_data): Likewise.
12598 (cosh_upward_test_data): Likewise.
12599 * sysdeps/i386/fpu/libm-test-ulps: Update.
12600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12602 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12605 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12606 * math/w_exp10f.c (__exp10f): Likewise.
12607 * math/w_exp10l.c (__exp10l): Likewise.
12608 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12609 errno settings in existing tests.
12612 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12613 precision control set to double precision.
12614 * sysdeps/i386/fpu/w_sqrt.c: New file.
12615 * math/auto-libm-test-in: Add more tests.
12616 * math/auto-libm-test-out: Update.
12618 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12619 (sqrt_test_tonearest): New function.
12620 (sqrt_towardzero_test_data): New variable.
12621 (sqrt_test_towardzero): New function.
12622 (sqrt_downward_test_data): New variable.
12623 (sqrt_test_downward): New function.
12624 (sqrt_upward_test_data): New variable.
12625 (sqrt_test_upward): New function.
12626 (main): Call the new functions.
12628 * math/gen-auto-libm-tests.c: New file.
12629 * math/auto-libm-test-in: Likewise.
12630 * math/auto-libm-test-out: New generated file.
12631 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12633 (%beautify): Add generated representations of zero.
12634 (top level): Set $auto_input and call parse_auto_input.
12635 (beautify): Remove trailing "f" from hex float constants.
12636 (parse_args): Handle XFAIL_TEST.
12637 (convert_condition): New function.
12638 (or_value): Likewise.
12639 (or_cond_value): Likewise.
12640 (generate_testfile): Handle AUTO_TESTS_* lines.
12641 (parse_auto_input): New function.
12642 * math/libm-test.inc (XFAIL_TEST): New macro.
12643 (ERRNO_UNCHANGED): Update value.
12644 (ERRNO_EDOM): Likewise.
12645 (ERRNO_ERANGE): Likewise.
12646 (IGNORE_RESULT): Likewise.
12647 (TEST_COND_flt_32): New macro.
12648 (TEST_COND_dbl_64): Likewise.
12649 (TEST_COND_ldbl_96_intel): Likewise.
12650 (TEST_COND_ldbl_96_m68k): Likewise.
12651 (TEST_COND_ldbl_128): Likewise.
12652 (TEST_COND_ldbl_128ibm): Likewise.
12653 (TEST_COND_long32): Likewise.
12654 (TEST_COND_long64): Likewise.
12655 (TEST_COND_before_rounding): Likewise.
12656 (TEST_COND_after_rounding): Likewise.
12657 (enable_test): Handle XFAIL_TEST flag.
12658 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12659 with finite results.
12660 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12661 auto-libm-test-out.
12663 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12664 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12667 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12668 __tls_get_addr_internal instead of __tls_get_offset in order to
12669 avoid GOT pointer dependency. Make rtld export
12670 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12671 __tls_get_addr since we are a __tls_get_offset platform.
12672 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12673 GOT pointer being set up before.
12674 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12676 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12678 * manual/math.texi (Errors in Math Functions): Document accuracy
12682 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12683 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12684 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12686 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12687 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12688 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12697 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12699 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12700 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12701 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12702 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12703 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12705 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12707 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12709 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12710 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12711 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12712 atomic-feupdateenv and flt-rounds.
12713 * sysdeps/powerpc/nofpu/Versions (libc): Add
12714 __atomic_feholdexcept, __atomic_feclearexcept,
12715 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12716 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12717 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12718 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12719 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12724 * manual/arith.texi (FP Exceptions): Document that exceptions may
12725 not be raised when matherr is used.
12726 (Math Error Reporting): Document overflow in directed rounding
12727 modes. Document that errno may not be set when finite values are
12728 returned on overflow. Document intent to set errno on underflow
12729 only for underflow to zero.
12732 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12733 round-to-nearest then adjust result for other rounding modes.
12734 * include/fenv.h (fegetround): Use libm_hidden_proto.
12735 * math/fegetround.c (fegetround): Use libm_hidden_def.
12736 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12737 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12738 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12739 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12741 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12742 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12743 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12744 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12746 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 * nss/Versions (libnss_files): Add
12750 _nss_files_gethostbyname3_r.
12751 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12753 (HOST_DB_LOOKUP): Remove macro.
12754 (_nss_files_gethostbyname_r): Implement function without the
12755 HOST_DB_LOOKUP macro.
12756 (_nss_files_gethostbyname2_r): Likewise.
12758 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12760 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12762 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12764 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12765 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12768 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12770 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12771 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12772 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12773 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12774 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12775 __fe_nomask_env_priv and attribute_hidden.
12776 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12777 (libc_feupdateenv_test_ppc): Likewise.
12778 (libc_feresetround_ppc): Likewise.
12779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12780 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12781 compat_symbol macro.
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12783 (__fe_nomask_env): Likewise.
12784 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12786 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12788 * string/Makefile: Remove ifunc tests.
12789 * string/test-string.h: Define TEST_IFUNC.
12790 * string/test-bcopy-ifunc.c: Remove.
12791 * string/test-bzero-ifunc.c: Likewise.
12792 * string/test-memccpy-ifunc.c: Likewise.
12793 * string/test-memchr-ifunc.c: Likewise.
12794 * string/test-memcmp-ifunc.c: Likewise.
12795 * string/test-memcpy-ifunc.c: Likewise.
12796 * string/test-memmem-ifunc.c: Likewise.
12797 * string/test-memmove-ifunc.c: Likewise.
12798 * string/test-mempcpy-ifunc.c: Likewise.
12799 * string/test-memrchr-ifunc.c: Likewise.
12800 * string/test-memset-ifunc.c: Likewise.
12801 * string/test-rawmemchr-ifunc.c: Likewise.
12802 * string/test-stpcpy-ifunc.c: Likewise.
12803 * string/test-stpncpy-ifunc.c: Likewise.
12804 * string/test-strcasecmp-ifunc.c: Likewise.
12805 * string/test-strcasestr-ifunc.c: Likewise.
12806 * string/test-strcat-ifunc.c: Likewise.
12807 * string/test-strchr-ifunc.c: Likewise.
12808 * string/test-strchrnul-ifunc.c: Likewise.
12809 * string/test-strcmp-ifunc.c: Likewise.
12810 * string/test-strcpy-ifunc.c: Likewise.
12811 * string/test-strcspn-ifunc.c: Likewise.
12812 * string/test-strlen-ifunc.c: Likewise.
12813 * string/test-strncasecmp-ifunc.c: Likewise.
12814 * string/test-strncat-ifunc.c: Likewise.
12815 * string/test-strncmp-ifunc.c: Likewise.
12816 * string/test-strncpy-ifunc.c: Likewise.
12817 * string/test-strnlen-ifunc.c: Likewise.
12818 * string/test-strpbrk-ifunc.c: Likewise.
12819 * string/test-strrchr-ifunc.c: Likewise.
12820 * string/test-strspn-ifunc.c: Likewise.
12821 * string/test-strstr-ifunc.c: Likewise.
12823 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12825 * benchtests/Makefile: Remove ifunc tests.
12826 * benchtests/bench-string.h: Define TEST_IFUNC.
12827 * benchtests/bench-bcopy-ifunc.c: Remove.
12828 * benchtests/bench-bzero-ifunc.c: Likewise.
12829 * benchtests/bench-memccpy-ifunc.c: Likewise.
12830 * benchtests/bench-memchr-ifunc.c: Likewise.
12831 * benchtests/bench-memcmp-ifunc.c: Likewise.
12832 * benchtests/bench-memcpy-ifunc.c: Likewise.
12833 * benchtests/bench-memmem-ifunc.c: Likewise.
12834 * benchtests/bench-memmove-ifunc.c: Likewise.
12835 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12836 * benchtests/bench-memrchr-ifunc.c: Likewise.
12837 * benchtests/bench-memset-ifunc.c: Likewise.
12838 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12839 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12840 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12841 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12842 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12843 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12844 * benchtests/bench-strcat-ifunc.c: Likewise.
12845 * benchtests/bench-strchr-ifunc.c: Likewise.
12846 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12847 * benchtests/bench-strcmp-ifunc.c: Likewise.
12848 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12849 * benchtests/bench-strcpy-ifunc.c: Likewise.
12850 * benchtests/bench-strcspn-ifunc.c: Likewise.
12851 * benchtests/bench-strlen-ifunc.c: Likewise.
12852 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12853 * benchtests/bench-strncat-ifunc.c: Likewise.
12854 * benchtests/bench-strncmp-ifunc.c: Likewise.
12855 * benchtests/bench-strncpy-ifunc.c: Likewise.
12856 * benchtests/bench-strnlen-ifunc.c: Likewise.
12857 * benchtests/bench-strpbrk-ifunc.c: Likewise.
12858 * benchtests/bench-strrchr-ifunc.c: Likewise.
12859 * benchtests/bench-strsep-ifunc.c: Likewise.
12860 * benchtests/bench-strspn-ifunc.c: Likewise.
12861 * benchtests/bench-strstr-ifunc.c: Likewise.
12863 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12865 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12867 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12869 * resolv/netdb.h: Use __glibc_reserved instead __unused.
12870 * rt/aio.h: Likewise.
12871 * sysdeps/gnu/bits/utmp.h: Likewise.
12872 * sysdeps/gnu/bits/utmpx.h: Likewise.
12873 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12874 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12875 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12876 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12877 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12878 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12879 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12880 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12881 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12882 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12883 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12884 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12885 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12887 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12888 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12889 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12890 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12891 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12892 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12893 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12894 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12895 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12896 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12897 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12899 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12901 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12903 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12904 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12905 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12906 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12907 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12908 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12909 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12910 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12911 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12912 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12913 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12914 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12916 2013-11-25 Carlos O'Donell <carlos@redhat.com>
12919 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12920 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12922 2013-11-25 Joseph Myers <joseph@codesourcery.com>
12924 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12925 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12928 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12930 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12931 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12932 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12933 (__fesetround): Remove define.
12934 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12935 rounding and exceptions handling.
12936 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12937 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12938 (__fe_nomask_env): Likewise.
12939 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12940 __fegetround instead of fegetround.
12941 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12942 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12944 2013-11-21 Roland McGrath <roland@hack.frob.com>
12946 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12949 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12951 2013-11-21 Meador Inge <meadori@codesourcery.com>
12954 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12955 (encrypt_r): Likewise.
12956 * malloc/obstack.h (obstack_free): Likewise.
12957 * posix/unistd.h (encrypt): Likewise.
12959 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
12961 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12962 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12963 DL_CALL_DT_FINI() that call the functions directly.
12964 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12965 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12966 * elf/dl-fini.c: Likewise.
12968 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
12970 * malloc/hooks.c (memalign_check): Add alignment rounding.
12971 * malloc/malloc.c (_mid_memalign): New function.
12972 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12973 Implement by calling _mid_memalign.
12974 * manual/probes.texi (Memory Allocation Probes): Remove
12975 memory_valloc_retry and memory_pvalloc_retry.
12977 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12979 * locale/programs/locarchive.c (open_archive): Add const
12980 qualifier to ARCHIVEFNAME and copy default fname to
12984 * libio/tst-widetext.input: Rename Oriya to Odia.
12985 * locale/iso-639.def: Likewise.
12987 * manual/probes.texi (Mathematical Function Probes): Add
12988 documentation for sin, cos, asin and acos probes.
12989 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12990 (__sin32): Add slowasin probe.
12991 (__cos32): Add slowacos probe.
12992 (__mpsin): Add slowsin probe.
12993 (__mpcos): Add slowcos probe.
12995 2013-11-19 Joseph Myers <joseph@codesourcery.com>
12998 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12999 thread-local __sim_exceptions_thread and global
13000 __sim_exceptions_global.
13001 (__sim_disabled_exceptions): Change to thread-local
13002 __sim_disabled_exceptions_thread and global
13003 __sim_disabled_exceptions_global.
13004 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13005 and global __sim_round_mode_global.
13006 (__simulate_exceptions): Use thread-local floating-point state and
13007 set global state from it as needed.
13008 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13009 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13010 __sim_round_mode_thread.
13011 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13012 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13013 and global __sim_exceptions_global.
13014 (__sim_disabled_exceptions): Change to thread-local
13015 __sim_disabled_exceptions_thread and global
13016 __sim_disabled_exceptions_global.
13017 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13018 and global __sim_round_mode_global.
13019 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13020 (SIM_SET_GLOBAL): Likewise.
13021 * sysdeps/powerpc/soft-fp/sfp-machine.h
13022 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13023 __sim_round_mode_thread.
13024 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13025 __sim_disabled_exceptions_thread.
13026 (__sim_exceptions): Change to __sim_exceptions_thread.
13027 (__sim_disabled_exceptions): Change to
13028 __sim_disabled_exceptions_thread.
13029 (__sim_round_mode): Change to __sim_round_mode_thread.
13030 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13031 thread-local floating-point state and set global state from it as
13033 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13034 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13035 (__sim_disabled_exceptions): Remove extern declaration.
13036 (feenableexcept): Use thread-local floating-point state and set
13037 global state from it as needed.
13038 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13039 extern declaration.
13040 (__sim_disabled_exceptions): Likewise.
13041 (__sim_round_mode): Likewise.
13042 (__fegetenv): Use thread-local floating-point state.
13043 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13044 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13045 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13046 floating-point state and set global state from it as needed.
13047 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13048 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13049 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13051 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13052 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13054 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13055 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13056 Use __sim_round_mode_thread.
13057 * math/test-fenv-tls.c: New file.
13058 * math/Makefile (tests): Add test-fenv-tls.
13059 ($(objpfx)test-fenv-tls): Depend on
13060 $(common-objpfx)nptl/libpthread.so.
13062 2013-11-19 Andreas Schwab <schwab@suse.de>
13064 * locale/programs/locale.c (show_info): Decode wordarray elements.
13065 * locale/categories.def (LC_MONETARY): Add element for
13066 _NL_MONETARY_CRNCYSTR.
13067 * locale/C-monetary.c (conversion_rate): New variable.
13068 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13071 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13073 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13074 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13076 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13078 * elf/Makefile (tst-auxv): New test.
13079 * elf/tst-auxv.c: New
13080 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13082 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13084 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13085 (hidden_proto): Caller changed.
13086 (hidden_tls_proto): New macro.
13087 (libc_hidden_tls_proto): Likewise.
13088 (rtld_hidden_tls_proto): Likewise.
13089 (libm_hidden_tls_proto): Likewise.
13090 (libresolv_hidden_tls_proto): Likewise.
13091 (librt_hidden_tls_proto): Likewise.
13092 (libdl_hidden_tls_proto): Likewise.
13093 (libnss_files_hidden_tls_proto): Likewise.
13094 (libnsl_hidden_tls_proto): Likewise.
13095 (libnss_nisplus_hidden_tls_proto): Likewise.
13096 (libutil_hidden_tls_proto): Likewise.
13098 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13101 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13102 (decompose_rpath): Defer expansion to fillin_rpath.
13103 (_dl_init_paths): Pass linkmap to fillin_rpath.
13105 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13107 * benchtests/Makefile: Add strsep.
13108 * benchtests/bench-strsep.c: New file: strsep benchtest.
13109 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13111 2013-11-18 Andreas Schwab <schwab@suse.de>
13113 * locale/programs/locale.c (show_info) [case byte]: Check for
13114 '\377' instead of '\177'.
13115 * locale/C-monetary.c (not_available): Always use "\377".
13116 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13117 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13118 detect unavailable sign_posn locale elements.
13119 * locale/localeconv.c (__localeconv): For grouping and
13120 mon_grouping handle "\177" and "\377" like no grouping.
13121 (INT_ELEM): New macro. Use it to set all numeric members.
13122 * locale/programs/ld-monetary.c (monetary_read)
13123 <tok_mon_grouping>: Normalize single -1 to the empty string.
13124 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13127 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13130 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13131 when we match (nil).
13132 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13134 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13136 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13137 (NO_TEST_INLINE): Update value.
13138 (ERRNO_UNCHANGED): Likewise.
13139 (ERRNO_EDOM): Likewise.
13140 (ERRNO_ERANGE): Likewise.
13141 (IGNORE_RESULT): Likewise.
13142 (check_float_internal): Check signs of NaN results if
13143 TEST_NAN_SIGN used.
13144 (check_complex): Pass TEST_NAN_SIGN flag through to second
13145 check_float_internal call.
13146 (copysign_test_data): Add tests with quiet NaNs as second
13147 argument. Use TEST_NAN_SIGN.
13148 (fabs_test_data): Add test of negative quiet NaN argument. Use
13150 (signbit_test_data): Add tests of quiet NaN argument.
13151 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13153 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13155 (parse_args): Handle function results specified as IGNORE.
13156 * math/libm-test.inc (IGNORE_RESULT): New macro.
13157 (check_float_internal): Do not check numerical result if flag
13159 (check_complex): Pass through IGNORE_RESULT to second
13160 check_float_internal call.
13161 (check_int): Do not check numerical result if flag IGNORE_RESULT
13163 (check_long): Likewise.
13164 (check_bool): Likewise.
13165 (check_longlong): Likewise.
13166 (lrint_test_data): Add tests of infinite and NaN arguments.
13167 (lrint_tonearest_test_data): Likewise.
13168 (lrint_towardzero_test_data): Likewise.
13169 (lrint_downward_test_data): Likewise.
13170 (lrint_upward_test_data): Likewise.
13171 (llrint_test_data): Likewise.
13172 (llrint_tonearest_test_data): Likewise.
13173 (llrint_towardzero_test_data): Likewise.
13174 (llrint_downward_test_data): Likewise.
13175 (llrint_upward_test_data): Likewise.
13176 (lround_test_data): Likewise.
13177 (llround_test_data): Likewise.
13179 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13180 (ERRNO_UNCHANGED): Update value.
13181 (ERRNO_EDOM): Likewise.
13182 (ERRNO_ERANGE): Likewise.
13183 (NO_TEST_INLINE_FLOAT): New macro.
13184 (NO_TEST_INLINE_DOUBLE): Likewise.
13185 (enable_test): New function.
13186 (RUN_TEST_f_f): Check enable_test before running test.
13187 (RUN_TEST_2_f): Likewise.
13188 (RUN_TEST_fff_f): Likewise.
13189 (RUN_TEST_c_f): Likewise.
13190 (RUN_TEST_f_f1): Likewise.
13191 (RUN_TEST_fF_f1): Likewise.
13192 (RUN_TEST_fI_f1): Likewise.
13193 (RUN_TEST_ffI_f1): Likewise.
13194 (RUN_TEST_c_c): Likewise.
13195 (RUN_TEST_cc_c): Likewise.
13196 (RUN_TEST_f_i): Likewise.
13197 (RUN_TEST_f_i_tg): Likewise.
13198 (RUN_TEST_ff_i_tg): Likewise.
13199 (RUN_TEST_f_b): Likewise.
13200 (RUN_TEST_f_b_tg): Likewise.
13201 (RUN_TEST_f_l): Likewise.
13202 (RUN_TEST_f_L): Likewise.
13203 (RUN_TEST_fFF_11): Likewise.
13204 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13206 (cosh_test_data): Likewise.
13207 (exp_test_data): Likewise.
13208 (expm1_test_data): Likewise.
13209 (hypot_test_data): Likewise.
13210 (pow_test_data): Likewise.
13211 (sinh_test_data): Likewise.
13212 (tanh_test_data): Likewise.
13213 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13216 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13217 tests with quiet NaN input and output.
13218 (acosh_test_data): Likewise.
13219 (asin_test_data): Likewise.
13220 (asinh_test_data): Likewise.
13221 (atan_test_data): Likewise.
13222 (atanh_test_data): Likewise.
13223 (atan2_test_data): Likewise.
13224 (cbrt_test_data): Likewise.
13225 (cos_test_data): Likewise.
13226 (cosh_test_data): Likewise.
13227 (erf_test_data): Likewise.
13228 (erfc_test_data): Likewise.
13229 (exp_test_data): Likewise.
13230 (exp10_test_data): Likewise.
13231 (exp2_test_data): Likewise.
13232 (expm1_test_data): Likewise.
13233 (hypot_test_data): Likewise.
13234 (j0_test_data): Likewise.
13235 (j1_test_data): Likewise.
13236 (jn_test_data): Likewise.
13237 (lgamma_test_data): Likewise.
13238 (log_test_data): Likewise.
13239 (log10_test_data): Likewise.
13240 (log1p_test_data): Likewise.
13241 (log2_test_data): Likewise.
13242 (pow_test_data): Likewise.
13243 (scalb_test_data): Likewise.
13244 (sin_test_data): Likewise.
13245 (sincos_test_data): Likewise.
13246 (sinh_test_data): Likewise.
13247 (tan_test_data): Likewise.
13248 (tanh_test_data): Likewise.
13249 (tgamma_test_data): Likewise.
13250 (y0_test_data): Likewise.
13251 (y1_test_data): Likewise.
13252 (yn_test_data): Likewise.
13255 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13256 argument being NaN and avoid computations with second argument in
13258 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13259 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13260 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13262 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13264 * locale/iso-639.def: Add Chitwani Tharu (the).
13266 2013-11-14 Andreas Schwab <schwab@suse.de>
13268 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13269 word instead of empty string.
13271 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13274 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13276 (__fe_nomask_env): Likewise.
13278 2013-11-13 Steve Ellcey <sellcey@mips.com>
13280 * benchtests/bench-timing.h: Include time.h.
13282 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13285 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13287 * sysdeps/unix/sysv/linux/configure: Regenerated.
13289 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13292 * stdlib/strtod_l.c (round_and_return): Do not consider
13293 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13294 exponent one less than half the least subnormal exponent.
13295 * stdlib/test-strtod-round-data: Add more tests.
13296 * stdlib/tst-strtod-round.c (tests): Regenerated.
13298 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13301 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13302 (__fe_mask_env): Likewise.
13303 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13304 libm_hidden_proto and add function prototype.
13305 (__fe_mask_env): Add function prototype.
13306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13307 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13309 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13311 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13313 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13315 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13316 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13318 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13320 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13321 of htab_find_slot().
13323 2013-11-11 David S. Miller <davem@davemloft.net>
13326 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13327 symbol in the non-vis3 case in static builds.
13328 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13329 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13330 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13331 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13333 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13336 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13339 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13341 * benchtests/Makefile: Add bench-strtod.
13342 * benchtests/bench-strtod.c: New file: strtod benchtest
13344 2013-11-11 Andreas Schwab <schwab@suse.de>
13347 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13348 terminating NUL in key length.
13350 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13353 Add artificial ODP entry for vDSO symbol for PPC64.
13354 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13355 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13357 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13360 * nss/getent.c (services_keys): Recognize services starting with digit.
13362 2013-11-06 David S. Miller <davem@davemloft.net>
13365 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13366 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13368 2013-11-06 Will Newton <will.newton@linaro.org>
13370 * manual/memory.texi (Malloc Examples): Remove register
13371 keyword from examples.
13373 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13375 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13377 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13380 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13381 depending on [__GCC_IEC_559 > 0].
13382 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13383 depending on [__GCC_IEC_559_COMPLEX > 0].
13385 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13387 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13390 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13392 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13394 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13397 * malloc/malloc (malloc_info): Do not handle first bin as
13400 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13402 * locale/iso-639.def: Add Central Nahuatl (nhn).
13404 2013-11-01 Bruno Haible <bruno@clisp.org>
13407 * manual/math.texi (BSD Random): Specify range upper bound as
13410 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13412 * locale/iso-639.def: Add Meadow Mari (mhr).
13414 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13416 [BZ #14752], [BZ #15763]
13417 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13419 * rt/tst_shm.c: Add test for escaping directory.
13421 2013-10-31 Andreas Schwab <schwab@suse.de>
13424 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13425 followed by 'x' as part of digit sequence.
13426 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13428 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13431 * configure.ac: allow GNU Make 4.0 and greater.
13432 * configure: Regenerated.
13434 2013-10-30 Will Newton <will.newton@linaro.org>
13437 * malloc/hooks.c (memalign_check): Limit alignment to the
13438 maximum representable power of two.
13439 * malloc/malloc.c (__libc_memalign): Likewise.
13440 * malloc/tst-memalign.c (do_test): Add test for very
13441 large alignment values.
13442 * malloc/tst-posix_memalign.c (do_test): Likewise.
13444 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13447 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13448 (munmap_chunk): Likewise.
13449 (mremap_chunk): Likewise.
13451 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13454 * stdlib/div.c (div): Remove obsolete code.
13455 * stdlib/ldiv.c (ldiv): Likewise.
13456 * stdlib/lldiv.c (lldiv): Likewise.
13458 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13461 * nss/nss_files/files-XXX.c (get_contents_ret): New
13463 (get_contents): New function.
13464 (internal_getent): Use it. Expand size of LINEBUFLEN.
13466 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13468 * configure.in: Moved to ...
13469 * configure.ac: ... here. Change reference to configure.in
13471 * sysdeps/arm/preconfigure.ac: ... here.
13472 configure.in to configure.ac.
13473 * sysdeps/gnu/configure.in: Moved to ...
13474 * sysdeps/gnu/configure.ac: ... here.
13475 * sysdeps/i386/configure.in: Moved to ...
13476 * sysdeps/i386/configure.ac: ... here.
13477 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13478 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13479 * sysdeps/mach/configure.in: Moved to ...
13480 * sysdeps/mach/configure.ac: ... here.
13481 * sysdeps/mach/hurd/configure.in: Moved to ...
13482 * sysdeps/mach/hurd/configure.ac: ... here.
13483 * sysdeps/powerpc/configure.in: Moved to ...
13484 * sysdeps/powerpc/configure.ac: ... here.
13485 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13486 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13487 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13488 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13489 * sysdeps/s390/s390-32/configure.in: Moved to ...
13490 * sysdeps/s390/s390-32/configure.ac: ... here.
13491 * sysdeps/s390/s390-64/configure.in: Moved to ...
13492 * sysdeps/s390/s390-64/configure.ac: ... here.
13493 * sysdeps/sh/configure.in: Moved to ...
13494 * sysdeps/sh/configure.ac: ... here.
13495 * sysdeps/sparc/configure.in: Moved to ...
13496 * sysdeps/sparc/configure.ac: ... here.
13497 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13498 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13499 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13500 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13501 * sysdeps/x86_64/configure.in: Moved to ...
13502 * sysdeps/x86_64/configure.ac: ... here.
13503 * sysdeps/x86_64/preconfigure.in: Moved to ...
13504 * sysdeps/x86_64/preconfigure.ac: ... here.
13505 * aclocal.m4: Change reference to configure.in to configure.ac.
13506 * config.h.in: Likewise.
13507 * manual/install.texi: Likewise.
13508 * manual/maint.texi: Likewise.
13509 * Makefile: Likewise.
13510 * malloc/Makefile: Likewise.
13511 * nscd/Makefile: Likewise.
13512 * Makeconfig: Change reference to configure.in and
13513 preconfigure.in to configure.ac and preconfigure.ac
13515 * INSTALL: Regenerated.
13516 * configure: Likewise.
13517 * sysdeps/gnu/configure: Likewise.
13518 * sysdeps/i386/configure: Likewise.
13519 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13520 * sysdeps/mach/configure: Likewise.
13521 * sysdeps/mach/hurd/configure: Likewise.
13522 * sysdeps/powerpc/configure: Likewise.
13523 * sysdeps/powerpc/powerpc32/configure: Likewise.
13524 * sysdeps/powerpc/powerpc64/configure: Likewise.
13525 * sysdeps/s390/s390-32/configure: Likewise.
13526 * sysdeps/s390/s390-64/configure: Likewise.
13527 * sysdeps/sh/configure: Likewise.
13528 * sysdeps/sparc/configure: Likewise.
13529 * sysdeps/unix/sysv/linux/configure: Likewise.
13530 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13531 * sysdeps/x86_64/configure: Likewise.
13532 * sysdeps/x86_64/preconfigure: Likewise.
13534 2013-10-29 Andreas Schwab <schwab@suse.de>
13536 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13538 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13540 * benchtests/pow-inputs: Add new inputs.
13542 * benchtests/exp-inputs: Add new inputs.
13544 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13545 conditional check for return value.
13546 (__cos32): Likewise.
13548 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13550 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13551 to provide a boost for large inputs with word alignment.
13552 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13553 implementation based on optimized PPC64 strcpy.
13554 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13555 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13556 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13557 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13559 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13562 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13564 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13567 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13568 * time/tst-strptime.c (day_tests): Add testcase.
13570 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13573 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13575 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13578 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13579 MAP_FAILED on error.
13581 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13584 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13585 heap for large requests.
13587 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13590 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13591 result if the result has no associated interface.
13592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13593 interface for all 127.X.Y.Z addresses.
13595 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13597 * locale/iso-639.def: Add Ligurian (lij)
13599 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13602 * sunrpc/rpc_main.c: Document rpcgen -5.
13604 2013-10-19 Michael Stahl <mstahl@redhat.com>
13606 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13608 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13611 * posix/glob.c: Match only directories when trailing slash is present.
13612 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13613 (main): Add testcase.
13615 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13618 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13620 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13622 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13623 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13624 AUTH_DES and cindex for FIPS 140-2.
13625 (DES Encryption): Add cindex FIPS 46-3.
13627 * locale/locarchive.h (struct locarhandle): Add fname.
13628 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13629 if an optional argument was specified to --list-archive,
13631 * locale/programs/locarchive.c (show_archive_content): Take new
13632 argument fname and pass it via ah.fname to open_archive.
13633 * locale/programs/localedef.h: Update decl.
13634 (open_archive): If AH->fname is non-null, open that file
13635 rather than the default file name, and don't ignore ENOENT.
13636 (create_archive): Set AH.fname to NULL.
13637 (delete_locales_from_archive): Likewise.
13638 (add_locales_to_archive): Likewise.
13639 * locale/programs/locfile.c (write_all_categories): Likewise.
13641 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13642 Aldy Hernandez <aldyh@redhat.com>
13644 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13645 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13646 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13647 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13648 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13649 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13650 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13651 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13652 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13653 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13654 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13655 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13656 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13657 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13658 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13660 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13662 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13664 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13666 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13667 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13669 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13670 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13671 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13672 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13674 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13675 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13676 * sysdeps/powerpc/preconfigure: Likewise.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13679 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13680 Replace contents of file by #include of <fenv_libc.h>.
13681 * sysdeps/powerpc/soft-fp/sfp-machine.h
13682 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13684 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13685 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13686 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13687 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13688 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13689 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13690 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13691 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13692 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13693 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13694 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13695 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13697 Allow copysignl PLT reference to be missing.
13699 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13700 Joseph Myers <joseph@codesourcery.com
13703 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13705 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13707 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13709 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13710 * elf/tst-tls1.c: Likewise.
13711 * elf/tst-tls10.h: Likewise.
13712 * elf/tst-tls14.c: Likewise.
13713 * elf/tst-tls2.c: Likewise.
13714 * elf/tst-tls3.c: Likewise.
13715 * elf/tst-tls4.c: Likewise.
13716 * elf/tst-tls5.c: Likewise.
13717 * elf/tst-tls6.c: Likewise.
13718 * elf/tst-tls7.c: Likewise.
13719 * elf/tst-tls8.c: Likewise.
13720 * elf/tst-tls9.c: Likewise.
13721 * elf/tst-tlsmod1.c: Likewise.
13722 * elf/tst-tlsmod13.c: Likewise.
13723 * elf/tst-tlsmod13a.c: Likewise.
13724 * elf/tst-tlsmod14a.c: Likewise.
13725 * elf/tst-tlsmod16a.c: Likewise.
13726 * elf/tst-tlsmod16b.c: Likewise.
13727 * elf/tst-tlsmod2.c: Likewise.
13728 * elf/tst-tlsmod3.c: Likewise.
13729 * elf/tst-tlsmod4.c: Likewise.
13730 * elf/tst-tlsmod5.c: Likewise.
13731 * elf/tst-tlsmod6.c: Likewise.
13733 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13736 * malloc/malloc.c: remove checks for statistics.
13738 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13741 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13742 * inet/tst-network.c: Add testcase.
13744 2013-10-17 Andreas Schwab <schwab@suse.de>
13747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13748 to determine canonical name.
13750 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13752 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13753 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13754 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13755 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13758 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13760 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13761 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13762 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13763 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13764 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13769 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13770 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13775 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13776 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13779 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13780 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13781 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13782 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13783 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13784 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13785 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13786 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13787 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13788 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13789 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13790 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13792 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13793 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13794 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13795 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13796 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13797 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13798 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13799 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13800 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13801 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13802 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13803 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13804 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13805 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13806 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13807 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13808 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13809 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13811 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13814 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13815 make result into a quiet NaN.
13817 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13819 * soft-fp/adddf3.c: Fix horizontal whitespace.
13820 * soft-fp/addsf3.c: Likewise.
13821 * soft-fp/addtf3.c: Likewise.
13822 * soft-fp/divdf3.c: Likewise.
13823 * soft-fp/divsf3.c: Likewise.
13824 * soft-fp/divtf3.c: Likewise.
13825 * soft-fp/double.h: Likewise.
13826 * soft-fp/eqdf2.c: Likewise.
13827 * soft-fp/eqsf2.c: Likewise.
13828 * soft-fp/eqtf2.c: Likewise.
13829 * soft-fp/extenddftf2.c: Likewise.
13830 * soft-fp/extended.h: Likewise.
13831 * soft-fp/extendsfdf2.c: Likewise.
13832 * soft-fp/extendsftf2.c: Likewise.
13833 * soft-fp/extendxftf2.c: Likewise.
13834 * soft-fp/fixdfdi.c: Likewise.
13835 * soft-fp/fixdfsi.c: Likewise.
13836 * soft-fp/fixdfti.c: Likewise.
13837 * soft-fp/fixsfdi.c: Likewise.
13838 * soft-fp/fixsfsi.c: Likewise.
13839 * soft-fp/fixsfti.c: Likewise.
13840 * soft-fp/fixtfdi.c: Likewise.
13841 * soft-fp/fixtfsi.c: Likewise.
13842 * soft-fp/fixtfti.c: Likewise.
13843 * soft-fp/fixunsdfdi.c: Likewise.
13844 * soft-fp/fixunsdfsi.c: Likewise.
13845 * soft-fp/fixunsdfti.c: Likewise.
13846 * soft-fp/fixunssfdi.c: Likewise.
13847 * soft-fp/fixunssfsi.c: Likewise.
13848 * soft-fp/fixunssfti.c: Likewise.
13849 * soft-fp/fixunstfdi.c: Likewise.
13850 * soft-fp/fixunstfsi.c: Likewise.
13851 * soft-fp/fixunstfti.c: Likewise.
13852 * soft-fp/floatdidf.c: Likewise.
13853 * soft-fp/floatdisf.c: Likewise.
13854 * soft-fp/floatditf.c: Likewise.
13855 * soft-fp/floatsidf.c: Likewise.
13856 * soft-fp/floatsisf.c: Likewise.
13857 * soft-fp/floatsitf.c: Likewise.
13858 * soft-fp/floattidf.c: Likewise.
13859 * soft-fp/floattisf.c: Likewise.
13860 * soft-fp/floattitf.c: Likewise.
13861 * soft-fp/floatundidf.c: Likewise.
13862 * soft-fp/floatundisf.c: Likewise.
13863 * soft-fp/floatunditf.c: Likewise.
13864 * soft-fp/floatunsidf.c: Likewise.
13865 * soft-fp/floatunsisf.c: Likewise.
13866 * soft-fp/floatunsitf.c: Likewise.
13867 * soft-fp/floatuntidf.c: Likewise.
13868 * soft-fp/floatuntisf.c: Likewise.
13869 * soft-fp/floatuntitf.c: Likewise.
13870 * soft-fp/fmadf4.c: Likewise.
13871 * soft-fp/fmasf4.c: Likewise.
13872 * soft-fp/fmatf4.c: Likewise.
13873 * soft-fp/gedf2.c: Likewise.
13874 * soft-fp/gesf2.c: Likewise.
13875 * soft-fp/getf2.c: Likewise.
13876 * soft-fp/ledf2.c: Likewise.
13877 * soft-fp/lesf2.c: Likewise.
13878 * soft-fp/letf2.c: Likewise.
13879 * soft-fp/muldf3.c: Likewise.
13880 * soft-fp/mulsf3.c: Likewise.
13881 * soft-fp/multf3.c: Likewise.
13882 * soft-fp/negdf2.c: Likewise.
13883 * soft-fp/negsf2.c: Likewise.
13884 * soft-fp/negtf2.c: Likewise.
13885 * soft-fp/op-1.h: Likewise.
13886 * soft-fp/op-2.h: Likewise.
13887 * soft-fp/op-4.h: Likewise.
13888 * soft-fp/op-8.h: Likewise.
13889 * soft-fp/op-common.h: Likewise.
13890 * soft-fp/quad.h: Likewise.
13891 * soft-fp/single.h: Likewise.
13892 * soft-fp/soft-fp.h: Likewise.
13893 * soft-fp/sqrtdf2.c: Likewise.
13894 * soft-fp/sqrtsf2.c: Likewise.
13895 * soft-fp/sqrttf2.c: Likewise.
13896 * soft-fp/subdf3.c: Likewise.
13897 * soft-fp/subsf3.c: Likewise.
13898 * soft-fp/subtf3.c: Likewise.
13899 * soft-fp/truncdfsf2.c: Likewise.
13900 * soft-fp/trunctfdf2.c: Likewise.
13901 * soft-fp/trunctfsf2.c: Likewise.
13902 * soft-fp/trunctfxf2.c: Likewise.
13903 * soft-fp/unorddf2.c: Likewise.
13904 * soft-fp/unordsf2.c: Likewise.
13905 * soft-fp/unordtf2.c: Likewise.
13907 2013-10-15 Joseph Myers <joseph@codesourcery.com>
13909 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13910 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13912 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
13914 * elf/dl-libc.c: Clear initfini list after freeing.
13916 2013-10-14 Joseph Myers <joseph@codesourcery.com>
13918 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13919 * soft-fp/addsf3.c: Likewise.
13920 * soft-fp/addtf3.c: Likewise.
13921 * soft-fp/divdf3.c: Likewise.
13922 * soft-fp/divsf3.c: Likewise.
13923 * soft-fp/divtf3.c: Likewise.
13924 * soft-fp/double.h: Likewise.
13925 * soft-fp/eqdf2.c: Likewise.
13926 * soft-fp/eqsf2.c: Likewise.
13927 * soft-fp/eqtf2.c: Likewise.
13928 * soft-fp/extenddftf2.c: Likewise.
13929 * soft-fp/extended.h: Likewise.
13930 * soft-fp/extendsfdf2.c: Likewise.
13931 * soft-fp/extendsftf2.c: Likewise.
13932 * soft-fp/extendxftf2.c: Likewise.
13933 * soft-fp/fixdfdi.c: Likewise.
13934 * soft-fp/fixdfsi.c: Likewise.
13935 * soft-fp/fixdfti.c: Likewise.
13936 * soft-fp/fixsfdi.c: Likewise.
13937 * soft-fp/fixsfsi.c: Likewise.
13938 * soft-fp/fixsfti.c: Likewise.
13939 * soft-fp/fixtfdi.c: Likewise.
13940 * soft-fp/fixtfsi.c: Likewise.
13941 * soft-fp/fixtfti.c: Likewise.
13942 * soft-fp/fixunsdfdi.c: Likewise.
13943 * soft-fp/fixunsdfsi.c: Likewise.
13944 * soft-fp/fixunsdfti.c: Likewise.
13945 * soft-fp/fixunssfdi.c: Likewise.
13946 * soft-fp/fixunssfsi.c: Likewise.
13947 * soft-fp/fixunssfti.c: Likewise.
13948 * soft-fp/fixunstfdi.c: Likewise.
13949 * soft-fp/fixunstfsi.c: Likewise.
13950 * soft-fp/fixunstfti.c: Likewise.
13951 * soft-fp/floatdidf.c: Likewise.
13952 * soft-fp/floatdisf.c: Likewise.
13953 * soft-fp/floatditf.c: Likewise.
13954 * soft-fp/floatsidf.c: Likewise.
13955 * soft-fp/floatsisf.c: Likewise.
13956 * soft-fp/floatsitf.c: Likewise.
13957 * soft-fp/floattidf.c: Likewise.
13958 * soft-fp/floattisf.c: Likewise.
13959 * soft-fp/floattitf.c: Likewise.
13960 * soft-fp/floatundidf.c: Likewise.
13961 * soft-fp/floatundisf.c: Likewise.
13962 * soft-fp/floatunsidf.c: Likewise.
13963 * soft-fp/floatunsisf.c: Likewise.
13964 * soft-fp/floatuntidf.c: Likewise.
13965 * soft-fp/floatuntisf.c: Likewise.
13966 * soft-fp/floatuntitf.c: Likewise.
13967 * soft-fp/fmadf4.c: Likewise.
13968 * soft-fp/fmasf4.c: Likewise.
13969 * soft-fp/fmatf4.c: Likewise.
13970 * soft-fp/gedf2.c: Likewise.
13971 * soft-fp/gesf2.c: Likewise.
13972 * soft-fp/getf2.c: Likewise.
13973 * soft-fp/ledf2.c: Likewise.
13974 * soft-fp/lesf2.c: Likewise.
13975 * soft-fp/letf2.c: Likewise.
13976 * soft-fp/muldf3.c: Likewise.
13977 * soft-fp/mulsf3.c: Likewise.
13978 * soft-fp/multf3.c: Likewise.
13979 * soft-fp/negdf2.c: Likewise.
13980 * soft-fp/negsf2.c: Likewise.
13981 * soft-fp/negtf2.c: Likewise.
13982 * soft-fp/op-1.h: Likewise.
13983 * soft-fp/op-2.h: Likewise.
13984 * soft-fp/op-4.h: Likewise.
13985 * soft-fp/op-8.h: Likewise.
13986 * soft-fp/op-common.h: Likewise.
13987 * soft-fp/quad.h: Likewise.
13988 * soft-fp/single.h: Likewise.
13989 * soft-fp/soft-fp.h: Likewise.
13990 * soft-fp/sqrtdf2.c: Likewise.
13991 * soft-fp/sqrtsf2.c: Likewise.
13992 * soft-fp/sqrttf2.c: Likewise.
13993 * soft-fp/subdf3.c: Likewise.
13994 * soft-fp/subsf3.c: Likewise.
13995 * soft-fp/subtf3.c: Likewise.
13996 * soft-fp/truncdfsf2.c: Likewise.
13997 * soft-fp/trunctfdf2.c: Likewise.
13998 * soft-fp/trunctfsf2.c: Likewise.
13999 * soft-fp/trunctfxf2.c: Likewise.
14000 * soft-fp/unorddf2.c: Likewise.
14001 * soft-fp/unordsf2.c: Likewise.
14002 * soft-fp/unordtf2.c: Likewise.
14004 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14007 * misc/error.c (error_tail): Fix possible buffer overflow.
14009 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14012 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14015 2013-10-14 P. J. McDermott <pj@pehjota.net>
14018 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14019 testing pipefail option.
14021 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14023 * soft-fp/double.h: Indent preprocessor directives inside #if.
14024 * soft-fp/extended.h: Likewise.
14025 * soft-fp/op-2.h: Likewise.
14026 * soft-fp/op-4.h: Likewise.
14027 * soft-fp/op-common.h: Likewise.
14028 * soft-fp/quad.h: Likewise.
14029 * soft-fp/single.h: Likewise.
14030 * soft-fp/soft-fp.h: Likewise.
14032 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14034 * iconv/iconv_prog.c: Fix typos.
14035 * stdio-common/psiginfo-data.h: Likewise.
14037 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14040 * locale/setlocale.c: Fix typo.
14042 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14045 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14046 signaling NaN arguments.
14047 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14048 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14051 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14052 unordered operands.
14053 * soft-fp/gesf2.c (__gesf2): Likewise.
14054 * soft-fp/getf2.c (__getf2): Likewise.
14055 * soft-fp/ledf2.c (__ledf2): Likewise.
14056 * soft-fp/lesf2.c (__lesf2): Likewise.
14057 * soft-fp/letf2.c (__letf2): Likewise.
14059 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14060 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14061 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14062 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14063 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14064 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14065 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14066 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14067 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14068 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14069 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14070 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14071 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14072 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14073 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14074 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14075 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14076 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14077 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14078 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14079 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14080 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14081 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14082 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14083 * soft-fp/floattidf.c (__floattidf): Likewise.
14084 * soft-fp/floattisf.c (__floattisf): Likewise.
14085 * soft-fp/floattitf.c (__floattitf): Likewise.
14086 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14087 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14088 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14089 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14090 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14091 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14092 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14093 * soft-fp/gesf2.c (__gesf2): Likewise.
14094 * soft-fp/getf2.c (__getf2): Likewise.
14095 * soft-fp/ledf2.c (__ledf2): Likewise.
14096 * soft-fp/lesf2.c (__lesf2): Likewise.
14097 * soft-fp/letf2.c (__letf2): Likewise.
14099 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14100 Undefine and redefine.
14101 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14102 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14103 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14104 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14105 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14106 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14107 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14108 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14109 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14110 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14111 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14112 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14113 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14114 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14115 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14118 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14119 without decrementing exponent if mantissa >= that for the
14120 denominator, not >.
14121 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14122 denominator, not >. Decrement exponent in < case instead of
14123 incrementing in >= case.
14124 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14125 without decrementing exponent if mantissa >= that for the
14126 denominator, not >.
14128 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14129 computing saturated result for unsigned overflow.
14131 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14132 Jeff Law <law@redhat.com>
14134 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14135 (atan2Mp): Add systemtap probe marker.
14136 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14137 (__ieee754_log): Add systemtap probe marker.
14138 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14139 (atanMp): Add systemtap probe marker.
14140 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14141 (tanMp): Add systemtap probe marker.
14142 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14143 (__slowexp): Add systemtap probe marker.
14144 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14145 (__slowpow): Add systemtap probe marker.
14146 * manual/probes.texi: Document probes.
14148 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14151 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14153 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14155 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14156 written to buffer but not flushed.
14157 * libio/iofwrite_u.c: Likewise.
14158 * libio/iopadn.c: Return bytes returned even if EOF was
14160 * libio/iowpadn.c: Likewise.
14161 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14162 if _IO_padn does not write the whole buffer.
14163 [!COMPILE_WPRINTF] (PAD): Likewise.
14165 2013-10-10 David S. Miller <davem@davemloft.net>
14167 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14170 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14172 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14173 instead of FSF address.
14174 * soft-fp/fixdfti.c: Likewise.
14175 * soft-fp/fixsfti.c: Likewise.
14176 * soft-fp/fixtfti.c: Likewise.
14177 * soft-fp/fixunsdfti.c: Likewise.
14178 * soft-fp/fixunssfti.c: Likewise.
14179 * soft-fp/fixunstfti.c: Likewise.
14180 * soft-fp/floattidf.c: Likewise.
14181 * soft-fp/floattisf.c: Likewise.
14182 * soft-fp/floattitf.c: Likewise.
14183 * soft-fp/floatuntidf.c: Likewise.
14184 * soft-fp/floatuntisf.c: Likewise.
14185 * soft-fp/floatuntitf.c: Likewise.
14186 * soft-fp/trunctfxf2.c: Likewise.
14188 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14189 * soft-fp/fixdfti.c: Likewise.
14190 * soft-fp/fixsfti.c: Likewise.
14191 * soft-fp/fixtfti.c: Likewise.
14192 * soft-fp/fixunsdfti.c: Likewise.
14193 * soft-fp/fixunssfti.c: Likewise.
14194 * soft-fp/fixunstfti.c: Likewise.
14195 * soft-fp/floattidf.c: Likewise.
14196 * soft-fp/floattisf.c: Likewise.
14197 * soft-fp/floattitf.c: Likewise.
14198 * soft-fp/floatuntidf.c: Likewise.
14199 * soft-fp/floatuntisf.c: Likewise.
14200 * soft-fp/floatuntitf.c: Likewise.
14201 * soft-fp/trunctfxf2.c: Likewise.
14203 2013-10-10 David S. Miller <davem@davemloft.net>
14205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14207 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14209 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14210 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14211 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14212 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14213 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14214 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14215 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14217 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14218 for NaNs before doing comparisons on argument.
14219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14222 2013-10-10 Will Newton <will.newton@linaro.org>
14224 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14225 passed to _int_memalign does not overflow.
14227 2013-10-10 Torvald Riegel <triegel@redhat.com>
14229 * scripts/bench.pl: Add include-sources directive.
14230 * benchtests/README: Update documentation.
14232 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14234 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14235 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14236 instead of FP_INIT_ROUNDMODE.
14237 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14238 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14241 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14242 copy class of input value.
14243 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14244 not handle exceptions.
14245 * soft-fp/negsf2.c (__negsf2): Likewise.
14246 * soft-fp/negtf2.c (__negtf2): Likewise.
14247 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14249 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14251 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14252 semicolon. From Linux kernel.
14254 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14256 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14258 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14261 * manual/socket.texi: Added statement about buffer
14262 for gethostbyname2_r.
14264 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14266 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14267 Use .p2align directive instead, throughout.
14268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14269 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14270 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14271 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14272 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14273 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14274 * sysdeps/x86_64/strchr.S: Likewise.
14275 * sysdeps/x86_64/strrchr.S: Likewise.
14277 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14279 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14281 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14283 * sysdeps/generic/math_private.h (__mpsin1): Remove
14285 (__mpcos1): Likewise.
14286 (__mpsin): New argument __range_reduce.
14287 (__mpcos): Likewise.
14288 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14289 (slow): Use __mpsin and __mpcos.
14293 (sloww1): Likewise.
14294 (sloww2): Likewise.
14295 (bsloww): Likewise.
14296 (bsloww1): Likewise.
14297 (bsloww2): Likewise.
14298 (cslow2): Likewise.
14299 (csloww): Likewise.
14300 (csloww1): Likewise.
14301 (csloww2): Likewise.
14302 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14303 range_reduce. Merge in __mpsin1.
14304 (__mpcos): Likewise.
14305 (__mpsin1): Remove.
14306 (__mpcos1): Likewise.
14308 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14310 * locale/loadlocale.c (_nl_intern_locale_data): Use
14312 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14313 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14314 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14315 obstack data is appropriately aligned.
14316 (obstack_int32_grow_fast): Likewise.
14317 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14318 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14319 (add_locale_uint32_array): Likewise.
14321 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14323 * benchtests/Makefile: Remove ARGLIST and RET variables.
14324 ($(objpfx)bench-%.c): Pass only function name to the script.
14325 * benchtests/README: Update documentation.
14326 * benchtests/acos-inputs: Add new directives.
14327 * benchtests/acosh-inputs: Likewise.
14328 * benchtests/asin-inputs: Likewise.
14329 * benchtests/asinh-inputs: Likewise.
14330 * benchtests/atan-inputs: Likewise.
14331 * benchtests/atanh-inputs: Likewise.
14332 * benchtests/cos-inputs: Likewise.
14333 * benchtests/cosh-inputs: Likewise.
14334 * benchtests/exp-inputs: Likewise.
14335 * benchtests/log-inputs: Likewise.
14336 * benchtests/pow-inputs: Likewise.
14337 * benchtests/rint-inputs: Likewise.
14338 * benchtests/sin-inputs: Likewise.
14339 * benchtests/sinh-inputs: Likewise.
14340 * benchtests/tan-inputs: Likewise.
14341 * benchtests/tanh-inputs: Likewise.
14342 * scripts/bench.pl: Add support for new directives.
14344 2013-10-07 Alan Modra <amodra@gmail.com>
14346 * README: Fix careless merge.
14348 2013-10-05 Alan Modra <amodra@gmail.com>
14350 * NEWS: Mention powerpc64le support and bugs fixed.
14351 * README: Both big-endian and little-endian powerpc64 supported.
14353 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14355 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14356 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14357 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14358 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14360 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14362 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14365 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14367 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14368 Move -mhard-float appending from
14369 ports/sysdeps/powerpc/powerpc32/Makefile.
14370 [$(with-fp) = yes] (ASFLAGS): Likewise.
14371 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14372 * sysdeps/powerpc/nofpu: Move directory from
14373 ports/sysdeps/powerpc/nofpu.
14374 * sysdeps/powerpc/soft-fp: Move directory from
14375 ports/sysdeps/powerpc/soft-fp.
14376 * sysdeps/powerpc/powerpc32/405: Move directory from
14377 ports/sysdeps/powerpc/powerpc32/405.
14378 * sysdeps/powerpc/powerpc32/440: Move directory from
14379 ports/sysdeps/powerpc/powerpc32/440.
14380 * sysdeps/powerpc/powerpc32/464: Move directory from
14381 ports/sysdeps/powerpc/powerpc32/464.
14382 * sysdeps/powerpc/powerpc32/476: Move directory from
14383 ports/sysdeps/powerpc/powerpc32/476.
14384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14385 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14387 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14389 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14391 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14393 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14394 * README: Update for powerpc-*-linux-gnu software floating point
14397 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14398 case to powerpc/powerpc32*.
14399 * sysdeps/unix/sysv/linux/configure: Regenerated.
14401 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14402 (_FPU_MASK_OM): Define as 0x04.
14403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14408 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14411 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14414 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14417 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14418 and setcontext_e500.
14420 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14422 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14424 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14426 * manual/threads.texi (Default Thread Attributes): Fix typo.
14428 2013-10-04 Will Newton <will.newton@linaro.org>
14430 * malloc/Makefile: Add tst-memalign.
14431 * malloc/tst-memalign.c: New file.
14433 * malloc/tst-posix_memalign.c: Add comments.
14434 (do_test): Add comments and call free on all potentially
14435 allocated pointers. Add space after cast.
14437 * malloc/tst-pvalloc.c: Add comments.
14438 (do_test): Add comments and call free on all potentially
14439 allocated pointers. Remove duplicate check for NULL pointer.
14440 Add space after cast.
14442 * malloc/tst-valloc.c: Add comments.
14443 (do_test): Add comments and call free on all potentially
14444 allocated pointers. Remove duplicate check for NULL pointer.
14445 Add space after cast.
14447 2013-10-04 Alan Modra <amodra@gmail.com>
14449 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14450 Use stdint types in rather than __attribute__((mode())).
14451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14453 2013-10-04 Alan Modra <amodra@gmail.com>
14455 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14456 Correct handling of unaligned relocs for little-endian.
14457 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14459 2013-10-04 Alan Modra <amodra@gmail.com>
14461 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14462 * configure: Regenerate.
14463 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14464 * shlib-versions: Likewise.
14466 2013-10-04 Alan Modra <amodra@gmail.com>
14468 * string/tester.c (test_memrchr): Increment reported test cycle.
14470 2013-10-04 Alan Modra <amodra@gmail.com>
14472 * string/test-memcpy.c (do_one_test): When reporting errors, print
14473 string address and don't overrun end of string.
14475 2013-10-04 Alan Modra <amodra@gmail.com>
14477 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14478 insrdi. Make better use of reg selection to speed exit slightly.
14479 Schedule entry path a little better. Remove useless "are we done"
14480 checks on entry to main loop. Handle wrapping around zero address.
14481 Correct main loop count. Handle single left-over word from main
14482 loop inline rather than by using loop_small. Remove extra word
14483 case in loop_small caused by wrong loop count. Add little-endian
14485 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14486 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14488 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14489 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14490 support. Avoid rlwimi.
14491 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14493 2013-10-04 Alan Modra <amodra@gmail.com>
14495 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14496 insrdi. Formatting.
14497 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14498 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14499 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14500 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14501 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14502 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14504 2013-10-04 Alan Modra <amodra@gmail.com>
14506 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14507 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14508 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14509 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14510 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14514 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14515 use of regs. Use power7 mtocrf. Tidy function tails.
14517 2013-10-04 Alan Modra <amodra@gmail.com>
14519 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14520 Formatting. Consistently use rXXX register defines or rN defines.
14521 Use early exit labels that avoid restoring unused non-volatile regs.
14522 Make cr field use more consistent with rWORDn compares. Rename
14523 regs used as shift registers for unaligned loop, using rN defines
14524 for short lifetime/multiple use regs.
14525 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14526 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14527 addi 1,1,64 to pop stack frame. Simplify return value code.
14528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14530 2013-10-04 Alan Modra <amodra@gmail.com>
14532 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14533 support. Correct typos, formatting. Optimize tail. Use insrdi
14534 rather than rlwimi.
14535 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14536 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14537 little-endian support. Correct typos.
14538 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14539 rather than rlwimi.
14540 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14541 in loop and entry code to keep "and." results.
14542 (strchr): Add little-endian support. Comment. Move cntlzd
14544 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14546 2013-10-04 Alan Modra <amodra@gmail.com>
14548 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14549 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14550 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14551 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14553 2013-10-04 Alan Modra <amodra@gmail.com>
14555 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14556 (rTMP): Define as r11.
14557 (strcmp): Add little-endian support. Optimise tail.
14558 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14559 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14560 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14561 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14562 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14564 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14566 2013-10-04 Alan Modra <amodra@gmail.com>
14568 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14569 little-endian support. Remove unnecessary "are we done" tests.
14570 Handle "s" wrapping around zero and extremely large "size".
14571 Correct main loop count. Handle single left-over word from main
14572 loop inline rather than by using small_loop. Correct comments.
14573 Delete "zero" tail, use "end_max" instead.
14574 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14576 2013-10-04 Alan Modra <amodra@gmail.com>
14578 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14579 support. Don't branch over align.
14580 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14581 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14582 support. Rearrange tmp reg use to suit. Comment.
14583 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14585 2013-10-04 Alan Modra <amodra@gmail.com>
14587 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14589 2013-10-04 Alan Modra <amodra@gmail.com>
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14592 conditional form of branch and link when obtaining pc.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14595 2013-10-04 Alan Modra <amodra@gmail.com>
14597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14602 2013-10-04 Alan Modra <amodra@gmail.com>
14604 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14605 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14606 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14607 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14608 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14609 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14610 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14611 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14612 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14613 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14615 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14616 Alistair Popple <alistair@ozlabs.au.ibm.com>
14617 Alan Modra <amodra@gmail.com>
14620 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14621 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14622 _dl_hwcap access for little-endian.
14623 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14624 destroy vmx regs when saving unaligned.
14625 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14627 destroy vmx regs when saving unaligned.
14629 2013-10-04 Alan Modra <amodra@gmail.com>
14631 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14632 Don't use a union to pack hi/low value.
14634 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14636 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14638 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14639 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14640 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14641 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14642 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14644 2013-10-04 Alan Modra <amodra@gmail.com>
14646 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14647 constants to usual value for .cst8 section, and remove redundant
14649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14650 constant for 0x1p52. Load little-endian words of double from
14651 correct stack offsets.
14653 2013-10-04 Alan Modra <amodra@gmail.com>
14655 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14656 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14657 words of double from correct stack offsets.
14658 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14659 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14660 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14661 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14663 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14664 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14665 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14666 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14667 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14668 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14669 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14670 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14671 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14672 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14673 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14674 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14676 2013-10-04 Alan Modra <amodra@gmail.com>
14678 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14679 64-bit int/double union.
14680 (_FPU_SETCW): Likewise.
14681 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14682 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14684 2013-10-04 Alan Modra <amodra@gmail.com>
14686 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14687 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14689 2013-10-04 Alan Modra <amodra@gmail.com>
14691 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14692 use vector int constants.
14693 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14695 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14697 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14698 array with long long.
14699 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14700 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14701 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14702 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14703 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14704 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14705 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14706 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14707 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14708 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14709 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14710 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14711 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14713 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14715 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14716 (__signbit): Likewise. Correct for little-endian.
14717 (__signbitl): Call __signbit.
14718 (lrint): Correct for little-endian.
14719 (lrintf): Call lrint.
14721 2013-10-04 Alan Modra <amodra@gmail.com>
14723 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14724 union 32-bit int array member with 64-bit int array.
14725 (t515, tm256): Double rather than long double.
14726 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14728 2013-10-04 Alan Modra <amodra@gmail.com>
14730 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14732 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14733 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14734 version of math_ldbl.h.
14736 2013-10-04 Alan Modra <amodra@gmail.com>
14738 [BZ #15734], [BZ #15735]
14739 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14740 all uses of ieee875 long double macros and unions. Simplify test
14741 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14742 ldbl_extract_mantissa value for ix,iy exponents. Properly
14743 normalize after ldbl_extract_mantissa, and don't add hidden bit
14744 already handled. Don't treat low word of ieee854 mantissa like
14745 low word of IBM long double and mask off bit when testing for
14747 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14748 all uses of ieee875 long double macros and unions. Simplify tests
14749 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14750 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14751 two1022, instead use their values. Recognise that tests for large
14752 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14753 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14754 Rewrite all uses of ieee875 long double macros and unions. Simplify
14755 test for 0.0L and nan. Correct negation.
14756 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14757 ieee875 long double macros and unions. Correct output for large
14758 magnitude x. Correct absolute value calculation.
14759 (__erfcl): Likewise.
14760 * math/libm-test.inc: Add tests for errors discovered in IBM long
14761 double versions of fmodl, remainderl, erfl and erfcl.
14763 2013-10-04 Alan Modra <amodra@gmail.com>
14765 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14766 all uses of ieee854 long double macros and unions. Simplify tests
14767 for long doubles that are fully specified by the high double.
14768 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14770 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14771 Remove dead code too.
14772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14773 (__ieee754_ynl): Likewise.
14774 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14775 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14777 Remove dead code too.
14778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14779 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14780 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14781 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14783 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14785 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14786 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14787 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14788 Comment on variable precision.
14789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14792 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14795 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14796 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14798 2013-10-04 Alan Modra <amodra@gmail.com>
14800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14801 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14802 all uses of ieee854 long double macros and unions.
14803 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14804 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14805 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14806 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14807 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14813 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14814 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14815 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14816 Simplify sign and nan test too.
14817 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14818 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14819 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14820 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14822 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14823 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14826 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14827 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14828 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14829 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14832 2013-10-04 Alan Modra <amodra@gmail.com>
14834 * stdio-common/printf_size.c (__printf_size): Don't use
14835 union ieee854_long_double in fpnum union.
14836 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14837 signbit macro to retrieve sign from long double.
14838 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14839 retrieve sign from long double.
14840 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14841 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14842 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14843 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14844 * math/test-misc.c (main): Don't use union ieee854_long_double.
14846 2013-10-04 Alan Modra <amodra@gmail.com>
14849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14850 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14851 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14852 calculation. Remove unnecessary test for denormal exponent.
14853 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14854 Correct handling of denormals. Avoid undefined shift behaviour.
14855 Correct normalisation of low mantissa when low double is denormal.
14856 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14857 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
14858 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14859 Correct normalisation of low mantissa. Test for overflow of high
14860 mantissa and normalise.
14861 (ldbl_nearbyint): Use more readable constant for two52.
14862 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14863 (__mpn_construct_long_double): Fix test for overflow of high
14864 mantissa and correct normalisation. Avoid undefined shift.
14866 2013-10-04 Alan Modra <amodra@gmail.com>
14868 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14869 (union ibm_extended_long_double): Define as an array of ieee754_double.
14870 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14871 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14872 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14873 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14874 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14877 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14878 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14879 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14880 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14882 2013-10-03 Joseph Myers <joseph@codesourcery.com>
14884 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14885 page size instead of calling getpagesize.
14887 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14888 (LOCFILE_ALIGN_MASK): Likewise.
14889 (LOCFILE_ALIGN_UP): Likewise.
14890 (LOCFILE_ALIGNED_P): Likewise.
14891 * locale/programs/ld-collate.c (collate_output): Use the new
14892 macros instead of __alignof__ (int32_t).
14893 * locale/weight.h (findidx): Likewise.
14895 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
14898 * manual/string.texi: Fix strncat and wcsncat.
14900 2013-10-03 Brooks Moses <bmoses@google.com>
14903 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14904 * Makerules: ...here, and adjust associated comments.
14906 2013-10-02 Will Newton <will.newton@linaro.org>
14908 * malloc/Makefile: Add tst-pvalloc.
14909 * malloc/tst-pvalloc.c: New file.
14911 2013-10-02 Will Newton <will.newton@linaro.org>
14913 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14914 improve test coverage.
14916 2013-10-02 Will Newton <will.newton@linaro.org>
14918 * malloc/Makefile: Add tst-posix_memalign.
14919 * malloc/tst-posix_memalign.c: New file.
14921 2013-10-01 Eric Blake <eblake@redhat.com>
14923 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14924 Use __THROWNL rather than __THROW on static functions.
14926 2013-09-30 Petr Machata <pmachata@redhat.com>
14928 * elf/elf.h (R_AARCH64_ABS16): New macro.
14929 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14930 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14931 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14932 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14933 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14934 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14935 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14936 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14937 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14938 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14939 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14940 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14941 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14942 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14943 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14944 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14945 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14946 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14947 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14948 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14949 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14950 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14951 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14952 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14953 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14954 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14955 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14956 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14957 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14958 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14959 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14960 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14961 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14962 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14963 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14964 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14965 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14966 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14967 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14968 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14969 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14970 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14971 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14972 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14973 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14974 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14975 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14976 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14977 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14978 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14979 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14980 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14981 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14982 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14983 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14984 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14985 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14986 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14987 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14988 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14989 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14990 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14991 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14992 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14993 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14994 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14995 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14996 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14997 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14998 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14999 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15000 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15001 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15002 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15003 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15004 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15005 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15006 (R_AARCH64_TLSDESC_LDR): Likewise.
15007 (R_AARCH64_TLSDESC_ADD): Likewise.
15008 (R_AARCH64_TLSDESC_CALL): Likewise.
15010 2013-09-30 Andreas Schwab <schwab@suse.de>
15013 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15014 the nss database lookup.
15015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15018 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15020 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15022 2013-09-28 P. J. McDermott <pj@pehjota.net>
15024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15025 ${Bash-specific parameter/pattern/string} parameter expansion.
15026 * sysdeps/unix/make-syscalls.sh: Likewise.
15028 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15030 * sysdeps/sh/stackguard-macros.h: New file.
15032 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15036 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15037 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15038 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15039 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15041 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15043 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15044 Fix thread ID register.
15046 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15048 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15049 [POSIX || UNIX98]: Require rather than permitting all symbols from
15051 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15052 element of struct sched_param.
15053 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15054 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15055 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15056 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15059 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15061 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15062 argument calculation.
15064 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15066 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15068 [POSIX] (pthread_attr_t): Do not require type.
15069 [POSIX] (pthread_cond_t): Likewise.
15070 [POSIX] (pthread_condattr_t): Likewise.
15071 [POSIX] (pthread_key_t): Likewise.
15072 [POSIX] (pthread_mutex_t): Likewise.
15073 [POSIX] (pthread_mutexattr_t): Likewise.
15074 [POSIX] (pthread_once_t): Likewise.
15075 [POSIX] (pthread_t): Likewise.
15076 [POSIX-based standards] (pthread_atfork): Expect function.
15078 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15079 Richard Sandiford <richard@codesourcery.com>
15081 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15082 (swap_endianness_p): New extern variable.
15083 (set_big_endian): New inline function.
15084 (maybe_swap_uint32): Likewise.
15085 (maybe_swap_uint32_array): Likewise.
15086 (maybe_swap_uint32_obstack): Likewise.
15087 * locale/programs/locfile.c: Include <stdbool.h>.
15088 (swap_endianness_p): New variable.
15089 (add_locale_uint32): Call maybe_swap_uint32.
15090 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15091 (write_locale_data): Call maybe_swap_uint32_array.
15092 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15094 (obstack_int32_grow_fast): Likewise.
15095 (output_weightwc): Call maybe_swap_uint32_obstack.
15096 (collate_output): Likewise.
15097 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15098 (OPT_LITTLE_ENDIAN): Likewise.
15099 (options): Add --little-endian and --big-endian options.
15100 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15101 * locale/programs/locarchive.c: Include "locfile.h".
15105 (create_archive): Use the new macros to access fields of
15106 structures directly mapped from or written to locale archives.
15107 (oldlocrecentcmp): Likewise.
15108 (enlarge_archive): Likewise.
15109 (insert_name): Likewise.
15110 (add_alias): Likewise.
15111 (add_locale): Likewise.
15112 (delete_locales_from_archive): Likewise.
15113 (show_archive_content): Likewise.
15114 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15117 2013-09-24 Roland McGrath <roland@hack.frob.com>
15119 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15120 http://www.gnu.org/doc/freemanuals.texi.
15121 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15123 2013-09-24 Will Newton <will.newton@linaro.org>
15125 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15128 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15130 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15133 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15135 * manual/threads.texi (POSIX Threads): Fix a typo.
15137 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15140 * string/tst-strcoll-overflow.c: New test case.
15141 * string/Makefile (xtests): Add tst-strcoll-overflow.
15142 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15143 cache if string sizes may cause integer overflow.
15146 * string/strcoll_l.c (coll_seq): New members rule, idx,
15147 save_idx and back_us.
15148 (get_next_seq_nocache): New function.
15149 (do_compare_nocache): New function.
15150 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15153 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15156 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15157 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15158 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15161 * elf/Makefile (tests): Add tst-ptrguard1.
15162 (tests-static): Add tst-ptrguard1-static.
15163 (tst-ptrguard1-ARGS): Define.
15164 (tst-ptrguard1-static-ARGS): Define.
15165 * elf/tst-ptrguard1.c: New file.
15166 * elf/tst-ptrguard1-static.c: New file.
15167 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15168 * sysdeps/i386/stackguard-macros.h: Likewise.
15169 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15170 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15171 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15172 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15173 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15174 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15176 2013-09-23 Hector Marco <hecmargi@upv.es>
15177 Ismael Ripoll <iripoll@disca.upv.es>
15178 Carlos O'Donell <carlos@redhat.com>
15181 * sysdeps/generic/stackguard-macros.h: Define
15182 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15183 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15184 Define __pointer_chk_guard_local.
15185 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15186 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15188 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15191 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15193 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15195 * include/string.h (__ffs): Declare as hidden.
15196 * string/ffs.c (__ffs): Define as hidden.
15197 * sysdeps/i386/ffs.c (__ffs): Likewise.
15198 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15199 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15200 * sysdeps/s390/ffs.c (__ffs): Likewise.
15201 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15203 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15205 * NEWS: Mention malloc probes.
15207 * malloc/arena.c (new_heap): New memory_heap_new probe.
15208 (grow_heap): New memory_heap_more probe.
15209 (shrink_heap): New memory_heap_less probe.
15210 (heap_trim): New memory_heap_free probe.
15211 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15212 (systrim): New memory_sbrk_less probe.
15213 * manual/probes.texi: Document them.
15215 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15216 * manual/probes.texi: Document it.
15218 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15219 (__libc_realloc): Add memory_realloc_retry probe.
15220 (__libc_memalign): Add memory_memalign_retry probe.
15221 (__libc_valloc): Add memory_valloc_retry probe.
15222 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15223 (__libc_calloc): Add memory_calloc_retry probe.
15224 * manual/probes.texi: Document them.
15226 * malloc/arena.c (get_free_list): Add probe
15227 memory_arena_reuse_free_list.
15228 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15229 and memory_arena_reuse.
15230 (arena_get2) [!PER_THREAD]: Likewise.
15231 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15232 memory_arena_reuse_realloc.
15233 * manual/probes.texi: Document them.
15235 * malloc/malloc.c (__libc_free): Add
15236 memory_mallopt_free_dyn_thresholds probe.
15237 (__libc_mallopt): Add multiple memory_mallopt probes.
15238 * manual/probes.texi: Document them.
15240 * malloc/malloc.c: Include stap-probe.h.
15241 (__libc_mallopt): Add memory_mallopt probe.
15242 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15243 * manual/probes.texi: New.
15244 * manual/Makefile (chapters): Add probes.
15245 * manual/threads.texi: Set next node.
15247 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15249 [BZ #15963, #13985]
15250 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15251 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15252 Add `Chinese' to `nan' entry name.
15254 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15256 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15257 (POLYNOMIAL): Likewise.
15258 (TAYLOR_SINCOS): Likewise.
15259 (TAYLOR_SLOW): Likewise.
15260 (__sin): Use TAYLOR_SINCOS.
15262 (slow): Use TAYLOR_SLOW.
15264 (bsloww): Likewise.
15265 (csloww): Likewise.
15267 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15269 * stdlib/strtod_l.c: Fix buffer overrun.
15271 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15273 * benchtests/Makefile (bench): Add sincos.
15274 * benchtests/bench-sincos.c: New file.
15276 * math/libm-test.inc (cos_test_data): New test inputs.
15277 (sin_test_data): Likewise.
15279 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15285 (sloww1): Likewise.
15286 (sloww2): Likewise.
15287 (bsloww1): Likewise.
15288 (bsloww2): Likewise.
15289 (cslow2): Likewise.
15290 (csloww1): Likewise.
15291 (csloww2): Likewise.
15293 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15298 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15302 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15304 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15305 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15306 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15307 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15308 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15309 * elf/cache.c (print_entry): Handle the new cache flags.
15311 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15312 Aldy Hernandez <aldyh@redhat.com>
15314 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15315 Change condition to [_SOFT_FLOAT].
15316 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15328 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15331 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15334 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15336 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15337 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15338 (__longjmp): Use LOAD_GP to load saved GPRs.
15339 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15340 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15341 (__sigsetjmp): Use SAVE_GP to save GPRs.
15343 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15344 Do not append -msoft-float.
15345 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15347 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15349 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15351 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15354 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15355 (_FPU_GETCW): Use initial "__" on variable and field names but not
15356 on macro parameter name.
15357 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15358 parentheses around reference to macro parameter.
15360 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15362 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15364 (ctype_startup): Use uint32_t in cast and sizeof for
15367 2013-09-11 Jia Liu <proljc@gmail.com>
15369 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15371 [__FreeBSD__]: Likewise.
15373 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15375 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15376 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15377 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15378 (strchr): Remove __strchr_sse42 ifunc selection.
15379 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15380 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15382 2013-09-11 Will Newton <will.newton@linaro.org>
15384 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15385 parameter to RES. Remove hardcoded 1000 value.
15386 * benchtests/bench-skeleton.c (main): Pass RES parameter
15387 to TIMING_INIT and multiply result by 1000.
15389 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15393 2013-09-11 Andreas Schwab <schwab@suse.de>
15395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15397 (O_TMPFILE) [__USE_GNU]: Define.
15398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15401 2013-09-11 Will Newton <will.newton@linaro.org>
15404 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15407 2013-09-11 Will Newton <will.newton@linaro.org>
15410 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15413 2013-09-11 Will Newton <will.newton@linaro.org>
15416 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15419 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15421 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15422 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15427 2013-09-10 Allan McRae <allan@archlinux.org>
15430 * manual/arith.texi (Parsing of Floats): Clarify
15434 * manual/install.texi (Running make install): Mention
15436 * INSTALL: Regenerated.
15438 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15440 * csu/init-first.c (_init): Remove the !SHARED condition around
15441 FPU control word initialization.
15442 * elf/dl-support.c (_dl_fpu_control): New variable.
15443 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15444 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15445 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15446 * math/test-fpucw-static.c: New file.
15447 * math/test-fpucw-ieee.c: New file.
15448 * math/test-fpucw-ieee-static.c: New file.
15449 * math/Makefile (tests): Add `test-fpucw-ieee' and
15451 (tests-static): New variable.
15452 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15454 [($(build-shared),yes)]
15455 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15457 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15460 2013-09-09 Allan McRae <allan@archlinux.org>
15463 * manual/string.texi (Collation Functions): Fix typo in
15465 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15468 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15471 * libio/memstream.c (open_memstream): Fix memory leak.
15472 * libio/wmemstream.c (open_wmemstream): Likewise.
15475 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15477 2013-09-09 Will Newton <will.newton@linaro.org>
15479 * malloc/Makefile: Add tst-realloc to tests.
15480 * malloc/tst-realloc.c: New file.
15482 2013-09-09 Allan McRae <allan@archlinux.org>
15485 * COPYING: Update from GNU website to fix FSF address.
15486 * COPYING.LIB: Likewise.
15488 2013-09-06 David S. Miller <davem@davemloft.net>
15490 * po/zh_TW.po: Update Chinese (traditional) translation from
15491 translation project.
15493 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15494 Joseph Myers <joseph@codesourcery.com>
15496 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15498 (obstack_chunk_alloc): New macro.
15499 (obstack_chunk_free): Likewise.
15500 (record_offset): New function.
15501 (init_locale_data): Likewise.
15502 (align_locale_data): Likewise.
15503 (add_locale_empty): Likewise.
15504 (add_locale_raw_data): Likewise.
15505 (add_locale_raw_obstack): Likewise.
15506 (add_locale_string): Likewise.
15507 (add_locale_wstring): Likewise.
15508 (add_locale_uint32): Likewise.
15509 (add_locale_uint32_array): Likewise.
15510 (add_locale_char): Likewise.
15511 (start_locale_structure): Likewise.
15512 (end_locale_structure): Likewise.
15513 (start_locale_prelude): Likewise.
15514 (end_locale_prelude): Likewise.
15515 (write_locale_data): Take locale_file structure rather than an
15517 * locale/programs/locfile.h: Include "obstack.h".
15518 (struct locale_file): Change to store locale file contents instead
15520 (init_locale_data): New prototype.
15521 (align_locale_data): Likewise.
15522 (add_locale_empty): Likewise.
15523 (add_locale_raw_data): Likewise.
15524 (add_locale_raw_obstack): Likewise.
15525 (add_locale_string): Likewise.
15526 (add_locale_wstring): Likewise.
15527 (add_locale_uint32): Likewise.
15528 (add_locale_uint32_array): Likewise.
15529 (add_locale_char): Likewise.
15530 (start_locale_structure): Likewise.
15531 (end_locale_structure): Likewise.
15532 (start_locale_prelude): Likewise.
15533 (end_locale_prelude): Likewise.
15534 (write_locale_data): Update prototype.
15535 * locale/programs/3level.h (struct TABLE): Remove result field.
15536 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15537 Use new locale_file interface.
15538 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15539 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15540 * locale/programs/ld-address.c (address_output): Use new
15541 locale_file interface.
15542 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15544 (collate_finish): Don't call collseq_table_finalize.
15545 (collate_output): Use new locale_file interface.
15546 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15548 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15549 (TABLE): Move defines earlier in file.
15550 (ELEMENT): Likewise.
15551 (DEFAULT): Likewise.
15552 (wctrans_table_add): Move macro and inline function earlier in
15554 (struct wctype_table): Move type earlier in file.
15555 (add_locale_wctype_table): New static prototype.
15556 (struct locale_ctype_t): Use logical types instead of struct iovec
15557 pointers for members.
15558 (ctype_output): Use new locale_file interface.
15559 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15560 new locale_file interface.
15561 (allocate_arrays): Update for use of new locale_file interface.
15562 * locale/programs/ld-identification.c (identification_output): Use
15563 new locale_file interface.
15564 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15565 * locale/programs/ld-messages.c (messages_output): Likewise.
15566 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15567 * locale/programs/ld-name.c (name_output): Likewise.
15568 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15569 * locale/programs/ld-paper.c (paper_output): Likewise.
15570 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15571 * locale/programs/ld-time.c (time_output): Likewise.
15573 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15575 * benchtests/Makefile: Add memrchr benchmark.
15576 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15577 benchmark as memrchr.
15578 * benchtests/bench-memrchr-ifunc.c: New file.
15579 * benchtests/bench-memrchr.c: New file.
15581 2013-09-06 Will Newton <will.newton@linaro.org>
15583 * benchtests/Makefile (string-bench): Add memcpy.
15585 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15586 Cong Wang <amwang@redhat.com>
15589 * sysdeps/unix/sysv/linux/bits/in.h
15590 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15591 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15592 before __USE_KERNEL_IPV6_DEFS uses.
15593 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15595 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15596 sockaddr_in6, or ipv6_mreq.
15598 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15600 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15601 memory access for final bytes in some large inputs.
15602 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15604 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15606 * string/test-memrchr.c: New file.
15607 * string/test-memrchr-ifunc.c: New file.
15608 * string/Makefile: Add new memrchr testcase.
15610 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15612 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15613 fanotify_init returns EPERM.
15615 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15617 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15619 (top level): Treat second token from macro or constant entries for
15620 allowed headers as allowed.
15621 * include/complex.h: Condition internal declarations on
15623 * include/fenv.h: Condition include of <stdbool.h> and internal
15624 declarations on [!_ISOMAC].
15626 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15629 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15631 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15633 * configure.in (--enable-versioning): Remove configure option.
15634 (libc_cv_asm_symver_directive): Remove configure test.
15635 (libc_cv_ld_version_script_option): Likewise.
15636 (VERSIONING): Remove variable and AC_SUBST.
15637 (DO_VERSIONING): Remove AC_DEFINE.
15638 * configure: Regenerated.
15639 * config.h.in (DO_VERSIONING): Remove macro.
15640 * Makerules [$(versioning) = yes]: Change conditionals to
15641 [$(build-shared) = yes].
15642 * config.make.in (versioning): Remove variable.
15643 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15644 [$(build-shared) = yes].
15645 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15646 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15647 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15648 [$(build-shared) = yes].
15649 * extra-lib.mk [$(versioning) = yes]: Likewise.
15650 * hurd/Makefile [$(versioning) = yes]: Likewise.
15651 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15653 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15655 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15656 [SHARED && !NO_HIDDEN].
15657 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15659 [SHARED && DO_VERSIONING]: Likewise..
15660 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15661 [$(build-shared) = yes].
15662 * manual/install.texi (--disable-versioning): Remove
15664 * INSTALL: Regenerated.
15665 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15667 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15668 [$(build-shared) = yes].
15669 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15670 * sysdeps/i386/i686/multiarch/strstr-c.c
15671 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15672 [SHARED && !NO_HIDDEN].
15673 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15674 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15675 * sysdeps/powerpc/powerpc32/dl-machine.c
15676 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15677 * sysdeps/powerpc/powerpc32/sysdep.h
15678 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15679 to [SHARED && PIC && !NO_HIDDEN].
15680 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15681 conditional to [SHARED].
15683 2013-09-04 Will Newton <will.newton@linaro.org>
15685 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15686 * benchtests/bench-string.h: Include bench-timing.h instead
15687 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15688 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15689 call to HP_TIMING_DIFF_INIT.
15690 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15691 instead of hp-timing.h macros.
15692 * benchtests/bench-memchr.c: Likewise.
15693 * benchtests/bench-memcmp.c: Likewise.
15694 * benchtests/bench-memcpy.c: Likewise.
15695 * benchtests/bench-memmem.c: Likewise.
15696 * benchtests/bench-memmove.c: Likewise.
15697 * benchtests/bench-memset.c: Likewise.
15698 * benchtests/bench-rawmemchr.c: Likewise.
15699 * benchtests/bench-strcasecmp.c: Likewise.
15700 * benchtests/bench-strcasestr.c: Likewise.
15701 * benchtests/bench-strcat.c: Likewise.
15702 * benchtests/bench-strchr.c: Likewise.
15703 * benchtests/bench-strcmp.c: Likewise.
15704 * benchtests/bench-strcpy.c: Likewise.
15705 * benchtests/bench-strcpy_chk.c: Likewise.
15706 * benchtests/bench-strlen.c: Likewise.
15707 * benchtests/bench-strncasecmp.c: Likewise.
15708 * benchtests/bench-strncat.c: Likewise.
15709 * benchtests/bench-strncmp.c: Likewise.
15710 * benchtests/bench-strncpy.c: Likewise.
15711 * benchtests/bench-strnlen.c: Likewise.
15712 * benchtests/bench-strpbrk.c: Likewise.
15713 * benchtests/bench-strrchr.c: Likewise.
15714 * benchtests/bench-strspn.c: Likewise.
15715 * benchtests/bench-strstr.c: Likewise.
15717 2013-09-04 Will Newton <will.newton@linaro.org>
15719 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15721 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15724 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15725 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15726 * math/libm-test.inc (lgamma_test_data): Add more tests.
15727 * sysdeps/i386/fpu/libm-test-ulps: Update.
15728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15730 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15732 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15735 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15736 Add strcmp-sse2-unaligned
15737 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15739 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15741 * Versions.def (libc): Add GLIBC_2.19.
15743 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15745 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15746 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15748 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15751 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15752 intermediate calculations in recurrence.
15753 (__ieee754_ynf): Likewise.
15754 * math/libm-test.inc (jn_test_data): Do not allow spurious
15755 underflow exception. Add more tests.
15756 (yn_test_data): Add more tests.
15757 * sysdeps/i386/fpu/libm-test-ulps: Update.
15758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15760 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15764 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15766 * csu/init-first.c: Fix then/than typos.
15767 * locale/programs/ld-collate.c: Likewise.
15768 * locale/programs/linereader.h: Likewise.
15769 * manual/charset.texi: Likewise.
15770 * manual/filesys.texi: Likewise.
15771 * manual/stdio.texi: Likewise.
15772 * manual/string.texi: Likewise.
15773 * stdlib/fmtmsg.c: Likewise.
15774 * sysdeps/i386/stpncpy.S: Likewise.
15775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15776 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15778 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15780 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15782 * elf/dl-open.c: Fix typos.
15783 * iconvdata/gbbig5.c: Likewise.
15784 * iconvdata/iso-2022-jp.c: Likewise.
15785 * iconv/gconv_int.h: Likewise.
15786 * iconv/loop.c: Likewise.
15787 * nis/rpcsvc/nis.h: Likewise.
15788 * resolv/ns_name.c: Likewise.
15789 * stdio-common/vfscanf.c: Likewise.
15790 * streams/stropts.h: Likewise.
15791 * sunrpc/rpc_thread.c: Likewise.
15792 * sysdeps/i386/strpbrk.S: Likewise.
15793 * sysdeps/ieee754/k_standard.c: Likewise.
15794 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15796 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15797 * sysdeps/mach/hurd/profil.c: Likewise.
15798 * sysdeps/s390/dl-procinfo.h: Likewise.
15799 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15801 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15802 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15805 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15807 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15808 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15810 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15812 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15813 aix specific files.
15814 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15815 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15816 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15817 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15818 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15819 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15820 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15821 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15823 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15824 Roland McGrath <roland@hack.frob.com>
15826 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15827 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15829 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15831 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15832 __executable_start symbol instead of _start.
15834 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15836 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15837 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15839 * sysdeps/gnu/ldsodefs.h: ... this new file.
15841 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15842 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15843 instead of ELFOSABI_LINUX.
15845 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15846 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15847 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15848 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15850 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15851 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15854 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15855 (ibm_extended_long_double): Add ieee_nan member.
15856 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15857 (do_test): New function.
15859 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15861 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15862 functions, renamed from truncdfsf_test, trunctfsf_test,
15864 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15866 (do_test): Run all these.
15868 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15870 * argp/argp-help.c: Fix typos.
15871 * argp/argp-parse.c: Likewise.
15872 * debug/backtracesyms.c: Likewise.
15873 * elf/elf.h: Likewise.
15874 * malloc/malloc.c: Likewise.
15875 * nis/nis_print.c: Likewise.
15876 * resolv/res_comp.c: Likewise.
15877 * stdlib/stdlib.h: Likewise.
15878 * sunrpc/clnt_tcp.c: Likewise.
15879 * sunrpc/clnt_udp.c: Likewise.
15880 * sunrpc/clnt_unix.c: Likewise.
15881 * sysdeps/unix/bsd/ptsname.c: Likewise.
15882 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15883 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15890 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15892 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15894 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15897 2013-08-27 Mike Frysinger <vapier@gentoo.org>
15900 * dlfcn/Makefile (tests): Add bug-dl-leaf.
15901 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15902 ($(objpfx)bug-dl-leaf): New rule.
15903 ($(objpfx)bug-dl-leaf.so): Likewise.
15904 ($(objpfx)bug-dl-leaf.out): Likewise.
15905 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15906 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15907 * dlfcn/bug-dl-leaf.c: New test.
15908 * dlfcn/bug-dl-leaf-lib.c: Likewise.
15909 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15910 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15911 (dlclose): Likewise.
15912 (dlmopen): Likewise.
15914 2013-08-27 Roland McGrath <roland@hack.frob.com>
15916 * include/netdb.h [!_ISOMAC]:
15917 Don't include <tls.h>.
15918 (h_errno, __libc_h_errno): Move declaration and macros out of
15921 * include/resolv.h [_RESOLV_H_]:
15922 Don't include <tls.h>.
15923 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15924 * resolv/res_libc.c: Don't include <tls.h>.
15925 (_res): Use __attribute__ ((nocommon)) in place of
15926 __attribute__ ((section (".bss"))).
15928 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15929 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15931 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15933 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15934 only under [SIOCGIFCONF && SIOCGIFNETMASK].
15936 * resolv/res_mkquery.c: Include <sys/time.h>.
15938 * inet/ifreq.c: Moved to ...
15939 * sysdeps/unix/ifreq.c: ... here.
15940 * inet/ifreq.c: New file, true stub version.
15942 * socket/sa_len.c: New file.
15943 * socket/Makefile (aux): Add it.
15944 * sysdeps/unix/sysv/linux/Makefile
15945 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15946 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15947 and #include <socket/sa_len.c>.
15948 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15949 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15951 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15952 * bits/socket.h: ... here.
15954 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15955 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15956 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15958 2013-08-27 Andreas Schwab <schwab@suse.de>
15961 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15962 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15963 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15964 * string/test-strcasecmp.c (test_main): Run tests in several
15966 * string/test-strncasecmp.c (test_main): Likewise.
15968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15969 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15970 to __strcasecmp_nonascii and __strncasecmp_nonascii.
15971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15972 (__strncasecmp_ssse3) [PIC]: Likewise.
15974 2013-08-26 Roland McGrath <roland@hack.frob.com>
15976 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15978 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15979 instead of explicitly declaring xdecrypt.
15980 * nis/nss_nis/nis-publickey.c: Likewise.
15982 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15985 * nscd/aicache.c: Include res_hconf.h.
15986 (addhstaiX): Initialize res_hconf.
15988 2013-08-26 Andreas Schwab <schwab@suse.de>
15990 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15991 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15993 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15995 * nscd/aicache.c (addhstaiX): Fix indentation.
15997 2013-08-25 Mike Frysinger <vapier@gentoo.org>
15999 * configure.ac: Quote $build_pt_chown test.
16000 * configure: Regenerated.
16002 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16005 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16006 * math/s_cexpf.c (__cexpf): Likewise.
16007 * math/s_cexpl.c (__cexpl): Likewise.
16008 * math/libm-test.inc (cexp_test_data): Correct expected return
16009 value for NaN + i0. Add another test.
16011 2013-08-22 David S. Miller <davem@davemloft.net>
16013 * po/ca.po: Update Catalan translation from translation project.
16014 * po/uk.po: Add Ukrainian translations from translation project.
16016 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16019 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16020 is infinite, not alongside NaN test.
16021 * math/s_fdimf.c (__fdimf): Likewise.
16022 * math/s_fdiml.c (__fdiml): Likewise.
16023 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16024 errno is unchanged.
16026 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16028 * argp/argp-help.c: Fix typos.
16029 * crypt/speeds.c: Likewise.
16030 * csu/check_fds.c: Likewise.
16031 * elf/dl-load.c: Likewise.
16032 * elf/dl-open.c: Likewise.
16033 * elf/reldep3.c: Likewise.
16034 * elf/reldep.c: Likewise.
16035 * elf/sprof.c: Likewise.
16036 * iconv/iconv_charmap.c: Likewise.
16037 * iconv/skeleton.c: Likewise.
16038 * iconv/strtab.c: Likewise.
16039 * io/lockf64.c: Likewise.
16040 * libio/libioP.h: Likewise.
16041 * resolv/gai_notify.c: Likewise.
16042 * resolv/ns_name.c: Likewise.
16043 * resolv/ns_samedomain.c: Likewise.
16044 * resolv/res_send.c: Likewise.
16045 * stdlib/random.c: Likewise.
16046 * sunrpc/rpc/xdr.h: Likewise.
16047 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16048 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16049 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16050 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16051 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16054 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16055 * sysdeps/mach/hurd/check_fds.c: Likewise.
16056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16057 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16058 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16059 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16060 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16061 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16062 * sysdeps/pthread/aio_notify.c: Likewise.
16063 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16064 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16065 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16067 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16069 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16071 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16072 version if bit_Slow_SSE4_2 is set.
16073 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16074 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16076 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16079 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16080 trampoline stack frame information.
16081 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16082 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16083 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16084 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16085 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16086 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16087 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16088 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16090 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16091 interrupting a syscall and set with option SA_SIGINFO.
16093 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16096 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16097 argument is infinite.
16098 * math/s_cprojf.c (__cprojf): Likewise.
16099 * math/s_cprojl.c (__cprojl): Likewise.
16100 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16101 * math/libm-test.inc (cproj_test_data): Add more tests.
16103 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16105 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16106 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16107 size. Use __ffs to determine corresponding shift.
16109 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16110 Roland McGrath <roland@hack.frob.com>
16112 * Makefile (INSTALL): Remove trailing blank lines from output of
16115 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16117 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16118 Align 32 bit compat elf_greg to 8 bytes.
16120 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16122 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16124 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16126 * string/strcoll_l.c (coll_seq): New structure.
16127 (get_next_seq_cached): New function.
16128 (get_next_seq): New function.
16129 (do_compare): New function.
16130 (STRCOLL): Use GNU style definition. Simplify implementation
16131 by using get_next_seq, get_next_seq_cached and do_compare.
16133 2013-08-16 Florian Weimer <fweimer@redhat.com>
16137 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16139 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16141 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16142 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16143 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16145 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16146 GETDENTS_64BIT_ALIGNED.
16147 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16148 * manual/filesys.texi (Reading/Closing Directory): Document
16149 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16151 * manual/conf.texi (Limits for Files): Add portability note to
16152 NAME_MAX, PATH_MAX.
16153 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16155 2013-08-13 Andreas Schwab <schwab@suse.de>
16158 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16160 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16161 LDBL_MAX_EXP >= 16384]: Add tests for it.
16163 2013-08-12 David S. Miller <davem@davemloft.net>
16165 * version.h (RELEASE): Set to "development".
16166 (VERSION): Set to "2.18.90".
16167 * NEWS: Add 2.19 section.
16169 2013-08-03 David S. Miller <davem@davemloft.net>
16171 * po/ko.po: Update Korean translation from translation project.
16173 2013-08-01 David S. Miller <davem@davemloft.net>
16175 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16176 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16179 2013-07-30 David S. Miller <davem@davemloft.net>
16181 * po/fr.po: Update French translation from translation project.
16183 2013-07-28 David S. Miller <davem@davemloft.net>
16185 * po/cs.po: Update Czech translation from translation project.
16187 * po/sv.po: Update Swedish translation from translation project.
16189 2013-07-27 David S. Miller <davem@davemloft.net>
16191 * po/eo.po: Update Esperanto translation from translation project.
16193 * po/vi.po: Update Vietnamese translation from translation project.
16195 * po/de.po: Update German translation from translation project.
16197 2013-07-26 David S. Miller <davem@davemloft.net>
16199 * po/bg.po: Update Bulgarian translation from translation project.
16201 * po/nl.po: Update Dutch translation from translation project.
16202 * po/pl.po: Update Polish translation from translation project.
16203 * po/ru.po: Update Russian translation from translation project.
16205 2013-07-24 David S. Miller <davem@davemloft.net>
16207 * po/libc.pot: Update.
16209 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16211 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16212 variable page size.
16213 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16215 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16217 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16219 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16221 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16222 Andreas Schwab <schwab@suse.de>
16223 Roland McGrath <roland@hack.frob.com>
16224 Joseph Myers <joseph@codesourcery.com>
16225 Carlos O'Donell <carlos@redhat.com>
16228 * config.h.in: Define HAVE_PT_CHOWN.
16229 * config.make.in (build-pt-chown): New variable.
16230 * configure.in (--enable-pt_chown): New configure option.
16231 * configure: Regenerate.
16232 * login/Makefile: Include Makeconfig. Build pt_chown only if
16233 build-pt-chown is enabled.
16234 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16235 pt_chown to fix pty ownership.
16236 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16238 * manual/install.texi (Configuring and compiling): Mention
16239 --enable-pt_chown. Add @findex for grantpt.
16240 * INSTALL: Regenerate.
16242 2013-07-20 David S. Miller <davem@davemloft.net>
16244 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16245 difference between 32-bit and 64-bit.
16247 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16250 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16251 Avoid system header dependency with -ffreestanding.
16252 ($(objpfx)bits/syscall%d): Likewise.
16254 2013-07-13 David S. Miller <davem@davemloft.net>
16256 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16257 underflows from atanl/atan2l due to bug 15319.
16258 (casinh_test_data): Likewise.
16260 2013-07-07 David S. Miller <davem@davemloft.net>
16262 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16264 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16266 * sysdeps/i386/fpu/libm-test-ulps: Update.
16267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16269 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16271 * configure.in (--enable-lock-elision): Fix message text.
16272 * INSTALL: Regenerate.
16273 * configure: Regenerate.
16275 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16279 2013-07-03 Andreas Jaeger <aj@suse.de>
16281 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16283 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16284 (ptrace_peeksiginfo_args): Add.
16285 (__ptrace_peeksiginfo_flags): Add.
16286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16290 2013-07-03 Allan McRae <allan@archlinux.org>
16292 * sysdeps/i386/fpu/libm-test-ulps: Update.
16294 2013-07-02 David S. Miller <davem@davemloft.net>
16296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16298 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16302 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16304 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16307 2013-07-02 Andi Kleen <ak@linux.intel.com>
16309 * config.h.in (ENABLE_LOCK_ELISION): Add.
16310 * configure.in (--enable-lock-elision): Add option.
16311 * manual/install.texi: Document --enable lock elision.
16312 * configure: Regenerate
16313 * INSTALL: Regenerate.
16315 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16317 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16318 SSE4.2 strcasecmp for libc.a.
16319 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16321 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16324 * soft-fp/op-common.h (_FP_FMA): New macro.
16325 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16326 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16327 (_FP_MUL_MEAT_1_imm): ... here.
16328 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16329 (_FP_MUL_MEAT_1_wide): ... here.
16330 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16331 (_FP_MUL_MEAT_1_hard): ... here.
16332 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16333 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16334 (_FP_MUL_MEAT_2_wide): ... here.
16335 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16336 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16337 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16338 (_FP_MUL_MEAT_2_gmp): ... here.
16339 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16340 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16341 (_FP_MUL_MEAT_4_wide): ... here.
16342 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16343 (_FP_MUL_MEAT_4_gmp): ... here.
16344 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16345 (_FP_WFRACBITS_DW_S): Likewise.
16346 (_FP_WFRACXBITS_DW_S): Likewise.
16347 (_FP_HIGHBIT_DW_S): Likewise.
16348 (FP_FMA_S): Likewise.
16349 (_FP_FRAC_HIGH_DW_S): Likewise.
16350 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16351 (_FP_WFRACBITS_DW_D): Likewise.
16352 (_FP_WFRACXBITS_DW_D): Likewise.
16353 (_FP_HIGHBIT_DW_D): Likewise.
16354 (FP_FMA_D): Likewise.
16355 (_FP_FRAC_HIGH_DW_D): Likewise.
16356 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16357 (_FP_WFRACBITS_DW_E): Likewise.
16358 (_FP_WFRACXBITS_DW_E): Likewise.
16359 (_FP_HIGHBIT_DW_E): Likewise.
16360 (FP_FMA_E): Likewise.
16361 (_FP_FRAC_HIGH_DW_E): Likewise.
16362 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16363 (_FP_WFRACBITS_DW_Q): Likewise.
16364 (_FP_WFRACXBITS_DW_Q): Likewise.
16365 (_FP_HIGHBIT_DW_Q): Likewise.
16366 (FP_FMA_Q): Likewise.
16367 (_FP_FRAC_HIGH_DW_Q): Likewise.
16368 * soft-fp/fmasf4.c: New file.
16369 * soft-fp/fmadf4.c: Likewise.
16370 * soft-fp/fmatf4.c: Likewise.
16372 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16375 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16377 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16379 (index_Slow_SSE4_2): Likewise.
16380 (index_Prefer_PMINUB_for_stringop): Likewise.
16381 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16382 bit_Slow_SSE4_2 is set.
16383 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16384 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16386 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16388 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16389 rtld_global._dl_hwcap2.
16390 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16392 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16393 POWER8 feature descriptions defined in _dl_hwcap2.
16394 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16395 string handling for POWER8 feature bits.
16396 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16397 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16398 _dl_powerpc_cap_flags.
16399 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16400 * sysdeps/powerpc/rtld-global-offsets.sym
16401 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16402 _dl_hwcap2 in the rtld_global_ro structure.
16404 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16406 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16407 hardware capabilities in support of AT_HWCAP2.
16408 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16409 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16411 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16412 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16413 explicitly the unknown a_type display mechanism is used.
16414 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16415 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16417 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16418 to macro prototype for AT_HWCAP2 support.
16419 * sysdeps/i386/dl-procinfo.h: Likewise.
16420 * sysdeps/s390/dl-procinfo.h: Likewise.
16421 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16422 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16423 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16424 return -1 for unknown a_type display fallback.
16425 * sysdeps/sparc/dl-procinfo.h: Likewise.
16426 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16427 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16429 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16431 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16432 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16434 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16437 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16438 mprotect making __stack_prot writable.
16440 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16441 Joseph Myers <joseph@codesourcery.com>
16443 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16444 as being properly aligned.
16446 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16448 * dlfcn/modstatic5.c: New file.
16449 * dlfcn/tststatic5.c: New file.
16450 * dlfcn/Makefile (tests): Add tststatic5.
16451 (tests-static): Likewise.
16452 (modules-names): Add modstatic5.
16453 (tststatic5-ENV): New variable.
16454 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16457 * elf/dl-support.c (_dl_main_map): New variable.
16458 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16459 (_dl_nns, _dl_load_adds): Set to 1.
16460 (_dl_initial_searchlist): Refer to _dl_main_map.
16461 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16462 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16463 call to _dl_get_origin.
16464 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16466 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16467 * dlfcn/modstatic3.c: New file.
16468 * dlfcn/tststatic3.c: New file.
16469 * dlfcn/tststatic4.c: New file.
16470 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16471 (tests-static): Likewise.
16472 (modules-names): Add modstatic3.
16473 (tststatic3-ENV, tststatic4-ENV): New variables.
16474 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16475 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16477 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16479 * configure.in (CC): Require GCC version 4.4 or later.
16480 * configure: Regenerated.
16481 * manual/install.texi (Tools for Compilation): Update GCC version
16483 * INSTALL: Regenerated.
16485 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16488 * string/test-memcmp.c (check2): New.
16489 (main): Call check2.
16491 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16493 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16496 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16498 (dl_open_worker) [!SHARED]: ... here.
16500 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16502 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16504 2013-06-25 Richard Henderson <rth@redhat.com>
16506 * locale/programs/locarchive.c: Include <libc-internal.h>
16508 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16510 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16511 trailing whitespace removed.
16513 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16516 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16517 * locale/programs/locarchive.c: Include libc-mmap.h.
16518 (prepare_address_space): Take two new outputs (the mmap base and len).
16519 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16521 (create_archive): Declare new mmap base and len values for
16522 prepare_address_space, and store the result in ah.
16523 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16524 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16525 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16526 Declare new mmap base and len values for
16527 prepare_address_space, and store the result in new_ah.
16528 (open_archive): Declare new mmap base and len values for
16529 prepare_address_space, and store the result in ah.
16530 (close_archive): If ah->mmap_base is not NULL, use that and
16531 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16532 * sysdeps/generic/libc-mmap.h: New file.
16534 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16536 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16537 (ALIGN_UP): Likewise.
16538 (PTR_ALIGN_DOWN): Likewise.
16539 (PTR_ALIGN_UP): Likewise.
16541 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16543 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16544 entry mapped to PPC_PLATFORM_POWER8.
16545 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16547 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16548 (_dl_string_platform): Add case for exporting platform position for
16550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16551 search path to sysdeps/powerpc/powerpc32/power8 directory.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16553 search path to sysdeps/powerpc/powerpc64/power8 directory.
16554 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16555 power7 directories.
16556 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16557 power7 directories.
16559 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16561 * INSTALL: Regenerate.
16563 * nscd/connections.c (nscd_init): Fix comment.
16565 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16567 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16570 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16571 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16573 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16575 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16577 (DL_DST_REQ_STATIC): Remove macro.
16579 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16582 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16583 with a shift of 0 bits.
16585 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16587 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16590 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16593 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16595 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16597 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16598 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16599 accepts -fno-tree-loop-distribute-patterns.
16600 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16601 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16603 * string/memset.c (memset): Likewise.
16604 * string/test-memmove.c (simple_memmove): Disable loop transformation
16606 * string/test-memset.c (simple_memset): Likewise.
16607 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16608 * benchtests/bench-memset.c (simple_memset): Likewise.
16609 * configure: Regenerated.
16611 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16613 * math/test-misc.c (main): Ignore fesetround failure when failures
16614 of subsequent rounding tests would be ignored.
16617 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16618 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16619 * math/fegetenv.c (__fegetenv): Return 0.
16620 * math/fegetexcept.c (fegetexcept): Return 0.
16621 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16623 * math/feholdexcpt.c (feholdexcept): Return 0.
16624 * math/fesetenv.c (__fesetenv): Return 0.
16625 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16626 argument FE_TONEAREST.
16627 * math/feupdateenv.c (__feupdateenv): Return 0.
16628 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16630 2013-06-18 Roland McGrath <roland@hack.frob.com>
16632 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16633 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16634 ($(objpfx)rtld-%.os rules): Use them.
16636 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16638 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16641 2013-06-17 Roland McGrath <roland@hack.frob.com>
16643 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16644 length of target pattern, then descending length of dependency pattern.
16645 * configure.in (AWK): Require gawk 3.1.2 or newer.
16646 * manual/install.texi (Tools for Compilation): Say that we do.
16647 * configure: Regenerated.
16649 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16650 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16651 * scripts/sysd-rules.awk: ... this new script.
16652 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16653 than a glob-style pattern.
16655 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16657 * math/test-misc.c (main): Do not treat incorrectly rounded
16658 conversions as failure unless ROUNDING_TESTS passes.
16660 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16663 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16664 restore exception state around main square root computation, then
16665 check for inexactness explicitly.
16667 * math/libm-test.inc (fma_test_data): Add another test.
16669 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16671 * manual/threads.texi (Non-POSIX Extensions): New document
16672 node. Document pthread_getattr_default_np and
16673 pthread_setattr_default_np.
16675 * Versions.def (libpthread): Add GLIBC_2.18.
16676 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16685 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16696 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16699 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16701 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16702 H.J. Lu <hjl.tools@gmail.com>
16705 * sysdeps/x86_64/rtld-memset.c: Remove file.
16706 * sysdeps/x86_64/rtld-memset.S: New file.
16708 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16710 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16711 (test_in_one_mode): Take arguments for whether the rounding mode
16712 is supported for each floating-point type.
16713 (do_test): Pass new arguments to test_in_one_mode using
16716 2013-06-13 Roland McGrath <roland@hack.frob.com>
16718 * posix/tst-waitid.c (do_test): Distinguish different instances of
16719 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16720 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16721 before entering the kernel for waitpid.
16723 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16725 * NEWS: Fix note on clock function precision. Text by Roland
16728 2013-06-13 Roland McGrath <roland@hack.frob.com>
16730 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16731 it into place only when and if the sanity check passes.
16733 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16735 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16736 output for whether conversion result is exact. Take argument
16737 indicating whether type is IBM long double.
16738 (round_for_all): Change need_exact field to ibm_ld.
16739 * stdlib/tst-strtod-round.c (struct exactness): New type.
16740 (struct test): Change bool ld_ok field to struct exactness exact.
16741 (TEST): Update all definitions for change to field.
16742 (tests): Regenerate array contents.
16743 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16744 field value. Check for IBM long double here.
16745 (do_test): Update calls to test_in_one_mode.
16747 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16750 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16751 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16753 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16756 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16757 generated by the compiler on loop optimizations.
16758 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16759 general definitions.
16761 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16763 * math/bug-nextafter.c: Include <math-tests.h>.
16764 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16766 * math/bug-nexttoward.c: Include <math-tests.h>.
16767 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16769 * math/test-misc.c: Include <math-tests.h>.
16770 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16773 2013-06-12 Andreas Jaeger <aj@suse.de>
16775 * po/ia.po: Update Interlingua translation from translation
16778 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16780 * include/fenv.h: Include stdbool.h.
16781 (struct rm_ctx): New structure.
16782 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16784 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16785 (SET_RESTORE_ROUNDF): Likewise.
16786 (SET_RESTORE_ROUNDL): Likewise.
16787 (SET_RESTORE_ROUND_NOEX): Likewise.
16788 (SET_RESTORE_ROUND_NOEXF): Likewise.
16789 (SET_RESTORE_ROUND_NOEXL): Likewise.
16790 (SET_RESTORE_ROUND_53BIT): Likewise.
16791 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16792 (libc_feresetround_noexf_ctx): Likewise.
16793 (libc_feresetround_noexl_ctx): Likewise.
16794 (libc_feholdsetround_53bit_ctx): Likewise.
16795 (libc_feresetround_53bit_ctx): Likewise.
16796 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16797 (libc_feholdexcept_setround_sse_ctx): New function.
16798 (libc_fesetenv_sse_ctx): Likewise.
16799 (libc_feupdateenv_sse_ctx): Likewise.
16800 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16801 (libc_feholdexcept_setround_387_ctx): Likewise.
16802 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16803 (libc_feholdsetround_387_prec_ctx): Likewise.
16804 (libc_feholdsetround_387_ctx): Likewise.
16805 (libc_feholdsetround_387_53bit_ctx): Likewise.
16806 (libc_feholdsetround_sse_ctx): Likewise.
16807 (libc_feresetround_sse_ctx): Likewise.
16808 (libc_feresetround_387_ctx): Likewise.
16809 (libc_feupdateenv_387_ctx): Likewise.
16810 (libc_feholdexcept_setroundf_ctx): Define macro.
16811 (libc_fesetenvf_ctx): Likewise.
16812 (libc_feupdateenvf_ctx): Likewise.
16813 (libc_feholdsetroundf_ctx): Likewise.
16814 (libc_feresetroundf_ctx): Likewise.
16815 (libc_feholdexcept_setround_ctx): Likewise.
16816 (libc_fesetenv_ctx): Likewise.
16817 (libc_feupdateenv_ctx): Likewise.
16818 (libc_feholdsetround_ctx): Likewise.
16819 (libc_feresetround_ctx): Likewise.
16820 (libc_feholdexcept_setroundl_ctx): Likewise.
16821 (libc_feupdateenvl_ctx): Likewise.
16822 (libc_feholdsetroundl_ctx): Likewise.
16823 (libc_feresetroundl_ctx): Likewise.
16824 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16825 (libc_feresetround_53bit_ctx): Likewise.
16827 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16829 * locale/iso-639.def: Convert to UTF-8.
16831 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16834 (EXCEPTION_TESTS_double): Likewise.
16835 (EXCEPTION_TESTS_long_double): Likewise.
16836 (EXCEPTION_TESTS): Likewise.
16837 * math/libm-test.inc (test_exceptions): Only test exceptions if
16838 EXCEPTION_TESTS (FLOAT).
16840 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16842 * benchtests/Makefile (string-bench): Add strcpy_chk and
16844 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16845 * benchtests/bench-stpcpy_chk.c: New file.
16846 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16847 * benchtests/bench-strcpy_chk.c: New file.
16848 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16850 (do_test): Likewise.
16852 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16854 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16855 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16856 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16857 with tabs where appropriate.
16858 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16860 [PPC_PLATFORM_PPC440]: Likewise.
16861 [PPC_PLATFORM_PPC464]: Likewise.
16862 [PPC_PLATFORM_PPC476]: Likewise.
16863 (_dl_string_platform): Add support for detecting ppc405, ppc440,
16864 ppc464, and ppc476 platform strings merging from ports/
16867 2013-06-11 Andreas Schwab <schwab@suse.de>
16870 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16871 (from_ucs4_idx): Regenerate.
16872 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16873 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16874 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16875 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16876 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16877 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16878 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16879 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16880 from FROM_LOOP and TO_LOOP specific macros.
16881 (BODY): Handle combining characters.
16882 * iconvdata/BIG5HKSCS.irreversible: Update.
16883 * iconvdata/BIG5HKSCS.precomposed: New file.
16884 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16886 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16888 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16890 * include/sys/time.h: Fix indentation and add copyright header.
16892 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16893 (do_test): Likewise.
16894 * string/test-memchr.c (do_one_test): Likewise.
16895 (do_test): Likewise.
16896 * string/test-memcmp.c (do_one_test): Likewise.
16897 (do_test): Likewise.
16898 * string/test-memcpy.c (do_one_test): Likewise.
16899 (do_test): Likewise.
16900 * string/test-memmem.c (do_one_test): Likewise.
16901 (do_test): Likewise.
16902 (do_random_tests): Likewise.
16903 * string/test-memmove.c (do_one_test): Likewise.
16904 (do_test): Likewise.
16905 * string/test-memset.c (do_one_test): Likewise.
16906 (do_test): Likewise.
16907 * string/test-rawmemchr.c (do_one_test): Likewise.
16908 (do_test): Likewise.
16909 * string/test-strcasecmp.c (do_one_test): Likewise.
16910 (do_test): Likewise.
16911 * string/test-strcasestr.c (do_one_test): Likewise.
16912 (do_test): Likewise.
16913 * string/test-strcat.c (do_one_test): Likewise.
16914 (do_test): Likewise.
16915 * string/test-strchr.c (do_one_test): Likewise.
16916 (do_test): Likewise.
16917 * string/test-strcmp.c (do_one_test): Likewise.
16918 (do_test): Likewise.
16919 * string/test-strcpy.c (do_one_test): Likewise.
16920 (do_test): Likewise.
16921 * string/test-string.h: Likewise.
16922 (test_init): Likewise.
16923 * string/test-strlen.c (do_one_test): Likewise.
16924 (do_test): Likewise.
16925 * string/test-strncasecmp.c (do_one_test): Likewise.
16926 (do_test): Likewise.
16927 * string/test-strncat.c (do_one_test): Likewise.
16928 (do_test): Likewise.
16929 * string/test-strncmp.c (do_one_test): Likewise.
16930 (do_test_limit): Likewise.
16931 (do_test): Likewise.
16932 * string/test-strncpy.c (do_one_test): Likewise.
16933 (do_test): Likewise.
16934 * string/test-strnlen.c (do_one_test): Likewise.
16935 (do_test): Likewise.
16936 * string/test-strpbrk.c (do_one_test): Likewise.
16937 (do_test): Likewise.
16938 * string/test-strrchr.c (do_one_test): Likewise.
16939 (do_test): Likewise.
16940 * string/test-strspn.c (do_one_test): Likewise.
16941 (do_test): Likewise.
16942 * string/test-strstr.c (do_one_test): Likewise.
16943 (do_test): Likewise.
16945 * benchtests/Makefile (string-bench): Add string benchmarks.
16946 * benchtests/bench-bcopy-ifunc.c: New file.
16947 * benchtests/bench-bcopy.c: New file.
16948 * benchtests/bench-bzero-ifunc.c: New file.
16949 * benchtests/bench-bzero.c: New file.
16950 * benchtests/bench-memccpy-ifunc.c: New file.
16951 * benchtests/bench-memccpy.c: New file.
16952 * benchtests/bench-memchr-ifunc.c: New file.
16953 * benchtests/bench-memchr.c: New file.
16954 * benchtests/bench-memcmp-ifunc.c: New file.
16955 * benchtests/bench-memcmp.c: New file.
16956 * benchtests/bench-memmem-ifunc.c: New file.
16957 * benchtests/bench-memmem.c: New file.
16958 * benchtests/bench-memmove-ifunc.c: New file.
16959 * benchtests/bench-memmove.c: New file.
16960 * benchtests/bench-mempcpy-ifunc.c: New file.
16961 * benchtests/bench-mempcpy.c: New file.
16962 * benchtests/bench-memset-ifunc.c: New file.
16963 * benchtests/bench-memset.c: New file.
16964 * benchtests/bench-rawmemchr-ifunc.c: New file.
16965 * benchtests/bench-rawmemchr.c: New file.
16966 * benchtests/bench-stpcpy-ifunc.c: New file.
16967 * benchtests/bench-stpcpy.c: New file.
16968 * benchtests/bench-stpncpy-ifunc.c: New file.
16969 * benchtests/bench-stpncpy.c: New file.
16970 * benchtests/bench-strcasecmp-ifunc.c: New file.
16971 * benchtests/bench-strcasecmp.c: New file.
16972 * benchtests/bench-strcasestr-ifunc.c: New file.
16973 * benchtests/bench-strcasestr.c: New file.
16974 * benchtests/bench-strcat-ifunc.c: New file.
16975 * benchtests/bench-strcat.c: New file.
16976 * benchtests/bench-strchr-ifunc.c: New file.
16977 * benchtests/bench-strchr.c: New file.
16978 * benchtests/bench-strchrnul-ifunc.c: New file.
16979 * benchtests/bench-strchrnul.c: New file.
16980 * benchtests/bench-strcmp-ifunc.c: New file.
16981 * benchtests/bench-strcmp.c: New file.
16982 * benchtests/bench-strcpy-ifunc.c: New file.
16983 * benchtests/bench-strcpy.c: New file.
16984 * benchtests/bench-strcspn-ifunc.c: New file.
16985 * benchtests/bench-strcspn.c: New file.
16986 * benchtests/bench-strlen-ifunc.c: New file.
16987 * benchtests/bench-strlen.c: New file.
16988 * benchtests/bench-strncasecmp-ifunc.c: New file.
16989 * benchtests/bench-strncasecmp.c: New file.
16990 * benchtests/bench-strncat-ifunc.c: New file.
16991 * benchtests/bench-strncat.c: New file.
16992 * benchtests/bench-strncmp-ifunc.c: New file.
16993 * benchtests/bench-strncmp.c: New file.
16994 * benchtests/bench-strncpy-ifunc.c: New file.
16995 * benchtests/bench-strncpy.c: New file.
16996 * benchtests/bench-strnlen-ifunc.c: New file.
16997 * benchtests/bench-strnlen.c: New file.
16998 * benchtests/bench-strpbrk-ifunc.c: New file.
16999 * benchtests/bench-strpbrk.c: New file.
17000 * benchtests/bench-strrchr-ifunc.c: New file.
17001 * benchtests/bench-strrchr.c: New file.
17002 * benchtests/bench-strspn-ifunc.c: New file.
17003 * benchtests/bench-strspn.c: New file.
17004 * benchtests/bench-strstr-ifunc.c: New file.
17005 * benchtests/bench-strstr.c: New file.
17007 * benchtests/Makefile: Disable parallel execution of targets.
17008 (string-bench): Add memcpy.
17009 (benchset): New variable to store a list of benchmark sets.
17010 (bench-func): Renamed from bench.
17011 (bench-set): New target.
17012 (bench): Depend on bench-func and bench-set.
17013 * benchtests/README: Add section on benchmark sets.
17014 * benchtests/bench-memcpy-ifunc.c: New file.
17015 * benchtests/bench-memcpy.c: New file.
17016 * benchtests/bench-string.h: New file.
17018 2013-06-11 Andreas Schwab <schwab@suse.de>
17021 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17022 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17023 values in the triple.
17024 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17025 terminator in the group key.
17027 2013-06-11 Andreas Jaeger <aj@suse.de>
17029 * po/zh_TW.po: Update Chinese (traditional) translation from
17030 translation project.
17032 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17034 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17035 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17036 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17037 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17038 (clock_getcpuclockid): Likewise.
17039 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17040 Add weak_alias and libc_hidden_def.
17041 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17042 * rt/clock_gettime.c (clock_gettime): Rename to
17043 __clock_gettime. Add weak_alias and libc_hidden_def.
17044 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17045 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17046 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17047 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17048 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17050 * rt/clock_settime.c (clock_settime): Rename to
17051 __clock_settime. Add weak_alias and libc_hidden_def.
17052 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17054 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17056 * mach/err_boot.sub: Remove trailing whitespace.
17057 * mach/err_ipc.sub: Likewise.
17058 * mach/err_mach.sub: Likewise.
17060 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17061 (ROUNDING_TESTS_double): Likewise.
17062 (ROUNDING_TESTS_long_double): Likewise.
17063 (ROUNDING_TESTS): Likewise.
17064 * math/libm-test.inc: Include <math-tests.h>.
17065 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17066 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17067 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17068 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17070 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17072 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17075 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17077 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17078 otherwise empty TRANS lines.
17079 * sysdeps/gnu/errlist.c: Regenerated.
17081 * catgets/gencat.c (error_print): Use (void) in function
17083 * crypt/crypt_util.c (__init_des): Likewise.
17084 * crypt/speeds.c (Stop): Likewise.
17086 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17087 * inet/ruserpass.c (token): Likewise.
17088 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17089 * intl/localealias.c (extend_alias_table): Likewise.
17090 * intl/plural-exp.c (init_germanic_plural): Likewise.
17091 * libio/fcloseall.c (__fcloseall): Likewise.
17092 * libio/genops.c (_IO_flush_all): Likewise.
17093 (_IO_flush_all_linebuffered): Likewise.
17094 (_IO_cleanup): Likewise.
17095 (_IO_iter_begin): Likewise.
17096 (_IO_iter_end): Likewise.
17097 (_IO_list_lock): Likewise.
17098 (_IO_list_unlock): Likewise.
17099 (_IO_list_resetlock): Likewise.
17100 * libio/getchar.c (getchar): Likewise.
17101 * libio/getchar_u.c (getchar_unlocked): Likewise.
17102 * libio/getwchar.c (getwchar): Likewise.
17103 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17104 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17105 * login/getpt.c (__getpt): Likewise.
17106 * login/tst-utmp.c (main): Likewise.
17107 * malloc/hooks.c (__malloc_check_init): Likewise.
17108 * malloc/malloc.c (__malloc_stats): Likewise.
17109 * malloc/mtrace.c (tr_break): Likewise.
17110 (mtrace): Likewise.
17111 (muntrace): Likewise.
17112 * misc/fstab.c (endfsent): Likewise.
17113 * misc/getclktck.c (__getclktck): Likewise.
17114 * misc/getdtsz.c (__getdtablesize): Likewise.
17115 * misc/gethostid.c (gethostid): Likewise.
17116 * misc/getpagesize.c (__getpagesize): Likewise.
17117 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17118 (__get_nprocs): Likewise.
17119 (__get_phys_pages): Likewise.
17120 (__get_avphys_pages): Likewise.
17121 * misc/getttyent.c (getttyent): Likewise.
17122 (setttyent): Likewise.
17123 (endttyent): Likewise.
17124 * misc/getusershell.c (getusershell): Likewise.
17125 (endusershell): Likewise.
17126 (setusershell): Likewise.
17127 (initshells): Likewise.
17128 * misc/hsearch.c (__hdestroy): Likewise.
17129 * misc/sync.c (sync): Likewise.
17130 * misc/syslog.c (closelog_internal): Likewise.
17131 (closelog): Likewise.
17132 * misc/ttyslot.c (ttyslot): Likewise.
17133 * misc/vhangup.c (vhangup): Likewise.
17134 * posix/fork.c (__fork): Likewise.
17135 * posix/getegid.c (__getegid): Likewise.
17136 * posix/geteuid.c (__geteuid): Likewise.
17137 * posix/getgid.c (__getgid): Likewise.
17138 * posix/getpid.c (__getpid): Likewise.
17139 * posix/getppid.c (__getppid): Likewise.
17140 * posix/getuid.c (__getuid): Likewise.
17141 * posix/pause.c (pause): Likewise.
17142 * posix/setpgrp.c (setpgrp): Likewise.
17143 * posix/setsid.c (__setsid): Likewise.
17144 * posix/test-vfork.c (noop): Likewise.
17145 * resolv/gethnamaddr.c (_endhtent): Likewise.
17146 (_gethtent): Likewise.
17147 (ht_endhostent): Likewise.
17148 (gethostent): Likewise.
17149 (dns_service): Likewise.
17150 * stdlib/drand48.c (drand48): Likewise.
17151 * stdlib/lrand48.c (lrand48): Likewise.
17152 * stdlib/mrand48.c (mrand48): Likewise.
17153 * stdlib/rand.c (rand): Likewise.
17154 * stdlib/random.c (__random): Likewise.
17155 * stdlib/setenv.c (clearenv): Likewise.
17156 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17157 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17158 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17159 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17160 (__get_nprocs): Likewise.
17161 (__get_phys_pages): Likewise.
17162 (__get_avphys_pages): Likewise.
17163 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17164 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17165 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17166 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17167 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17168 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17169 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17170 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17171 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17172 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17173 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17174 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17175 * sysdeps/posix/clock.c (clock): Likewise.
17176 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17177 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17178 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17179 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17180 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17181 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17182 (__get_nprocs_conf): Likewise.
17183 (__get_phys_pages): Likewise.
17184 (__get_avphys_pages): Likewise.
17185 * time/clock.c (clock): Likewise.
17186 * time/tzset.c (__tzname_max): Likewise.
17188 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17190 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17191 (__bswap_32): Do not use "register".
17192 * crypt/crypt.c (_ufc_doit_r): Likewise.
17193 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17194 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17195 * gmon/gmon.c (__monstartup): Likewise.
17196 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17197 * hurd/hurdmalloc.c (more_memory): Likewise.
17198 (malloc): Likewise.
17200 (realloc): Likewise.
17201 (malloc_fork_prepare): Likewise.
17202 (malloc_fork_parent): Likewise.
17203 (malloc_fork_child): Likewise.
17204 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17205 (_svcauth_des): Likewise.
17206 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17207 * inet/inet_net.c (inet_network): Likewise.
17208 * inet/inet_netof.c (inet_netof): Likewise.
17209 * inet/rcmd.c (__validuser2_sa): Likewise.
17210 * io/fts.c (fts_open): Likewise.
17211 (fts_load): Likewise.
17212 (fts_close): Likewise.
17213 (fts_read): Likewise.
17214 (fts_children): Likewise.
17215 (fts_build): Likewise.
17216 (fts_stat): Likewise.
17217 (fts_sort): Likewise.
17218 (fts_alloc): Likewise.
17219 (fts_lfree): Likewise.
17220 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17221 (_IO_file_xsgetn): Likewise.
17222 (_IO_file_xsgetn_mmap): Likewise.
17223 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17224 (_IO_cookie_write): Likewise.
17225 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17226 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17227 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17228 * malloc/obstack.c (_obstack_begin): Likewise.
17229 (_obstack_begin_1): Likewise.
17230 (_obstack_newchunk): Likewise.
17231 (_obstack_allocated_p): Likewise.
17232 (obstack_free): Likewise.
17233 (_obstack_memory_used): Likewise.
17234 * misc/getttyent.c (getttynam): Likewise.
17235 (getttyent): Likewise.
17238 * misc/getusershell.c (initshells): Likewise.
17239 * misc/syslog.c (__vsyslog_chk): Likewise.
17240 * misc/ttyslot.c (ttyslot): Likewise.
17241 * nis/nis_hash.c (__nis_hash): Likewise.
17242 * posix/fnmatch_loop.c (FCT): Likewise.
17243 * posix/getconf.c (print_all): Likewise.
17245 * posix/getopt.c (exchange): Likewise.
17246 * posix/glob.c (globfree): Likewise.
17247 (prefix_array): Likewise.
17248 (__glob_pattern_type): Likewise.
17249 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17250 (NS_GET32): Likewise.
17251 (NS_PUT16): Likewise.
17252 (NS_PUT32): Likewise.
17253 * resolv/gethnamaddr.c (getanswer): Likewise.
17254 (gethostbyname2): Likewise.
17255 (gethostbyaddr): Likewise.
17256 (_gethtent): Likewise.
17257 (_gethtbyname2): Likewise.
17258 (_gethtbyaddr): Likewise.
17259 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17260 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17261 * resolv/res_init.c (__res_vinit): Likewise.
17262 (net_mask): Likewise.
17263 * resolv/res_mkquery.c (outchar): Likewise.
17265 * stdio-common/printf_fp.c (outchar): Likewise.
17267 * stdio-common/printf_fphex.c (outchar): Likewise.
17269 * stdio-common/printf_size.c (outchar): Likewise.
17271 * stdio-common/test_rdwr.c (main): Likewise.
17272 * stdio-common/tfformat.c (matches): Likewise.
17273 * stdio-common/vfprintf.c (outchar): Likewise.
17274 (printf_unknown): Likewise.
17275 (buffered_vfprintf): Likewise.
17276 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17277 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17278 (ReadFile): Likewise.
17279 * stdlib/qsort.c (SWAP): Likewise.
17280 (_quicksort): Likewise.
17281 * stdlib/setenv.c (__add_to_environ): Likewise.
17282 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17283 * stdlib/strtol_l.c (__strtol_l): Likewise.
17284 * stdlib/tst-strtod.c (main): Likewise.
17285 * stdlib/tst-strtol.c (main): Likewise.
17286 * stdlib/tst-strtoll.c (main): Likewise.
17287 * string/bits/string2.h (__strcmp_cc): Likewise.
17288 (__strcmp_cg): Likewise.
17289 (__strcspn_c1): Likewise.
17290 (__strcspn_c2): Likewise.
17291 (__strcspn_c3): Likewise.
17292 (__strspn_c1): Likewise.
17293 (__strspn_c2): Likewise.
17294 (__strspn_c3): Likewise.
17295 (__strsep_1c): Likewise.
17296 (__strsep_2c): Likewise.
17297 (__strsep_3c): Likewise.
17298 * string/memccpy.c (__memccpy): Likewise.
17299 * string/stpcpy.c (__stpcpy): Likewise.
17300 * string/strcmp.c (strcmp): Likewise.
17301 * string/strrchr.c (strrchr): Likewise.
17302 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17304 * sysdeps/mach/hurd/getcwd.c
17305 (_hurd_canonicalize_directory_name_internal): Likewise.
17306 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17307 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17308 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17309 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17310 Likewise, in both definitions.
17311 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17313 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17314 64] (__bswap_64): Likewise.
17315 * time/test_time.c (main): Likewise.
17316 * time/tzfile.c (__tzfile_read): Likewise.
17317 (__tzfile_compute): Likewise.
17318 * time/tzset.c (__tzset_parse_tz): Likewise.
17319 (tzset_internal): Likewise.
17320 (compute_change): Likewise.
17321 * wcsmbs/wcscat.c (__wcscat): Likewise.
17322 * wcsmbs/wcschr.c (wcschr): Likewise.
17323 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17324 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17325 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17326 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17327 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17328 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17329 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17330 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17331 * wcsmbs/wmemset.c (wmemset): Likewise.
17333 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17335 * scripts/config.guess: Update to version 2013-05-16.
17336 * scripts/config.sub: Update to version 2013-04-24.
17337 * scripts/install-sh: Update to version 2011-11-20.07.
17338 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17339 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17341 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17343 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17344 * elf/sln.c: Likewise.
17345 * hurd/hurd/ioctl.h: Likewise.
17346 * hurd/hurdmalloc.c: Likewise.
17347 * hurd/xattr.c: Likewise.
17348 * include/shlib-compat.h: Likewise.
17349 * inet/ruserpass.c: Likewise.
17350 * libio/iofgets_u.c: Likewise.
17351 * libio/iofgetws_u.c: Likewise.
17352 * locale/programs/ld-identification.c: Likewise.
17353 * locale/programs/ld-time.c: Likewise.
17354 * mach/msg-destroy.c: Likewise.
17355 * nss/nss_files/files-netgrp.c: Likewise.
17356 * resolv/res_data.c: Likewise.
17357 * soft-fp/op-1.h: Likewise.
17358 * soft-fp/op-2.h: Likewise.
17359 * soft-fp/op-4.h: Likewise.
17360 * soft-fp/op-common.h: Likewise.
17361 * stdio-common/printf_fphex.c: Likewise.
17362 * stdlib/strtod_l.c: Likewise.
17363 * sunrpc/rpc/clnt.h: Likewise.
17364 * sysdeps/generic/framestate.c: Likewise.
17365 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17366 * sysdeps/i386/bsd-setjmp.S: Likewise.
17367 * sysdeps/i386/__longjmp.S: Likewise.
17368 * sysdeps/i386/setjmp.S: Likewise.
17369 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17370 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17387 * sysdeps/ieee754/support.c: Likewise.
17388 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17389 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17390 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17391 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17392 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17393 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17394 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17395 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17396 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17397 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17398 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17399 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17400 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17401 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17402 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17403 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17404 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17407 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17409 * posix/transbug.c: Remove executable mode.
17411 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17413 * crypt/speeds.c: Remove trailing whitespace.
17414 * dlfcn/default.c: Likewise.
17415 * elf/ifuncdep2.c: Likewise.
17416 * elf/ifuncmain1.c: Likewise.
17417 * elf/ifuncmain1vis.c: Likewise.
17418 * elf/testobj.h: Likewise.
17419 * elf/tst-stackguard1.c: Likewise.
17420 * gmon/sys/gmon.h: Likewise.
17421 * hurd/hurdmsg.c: Likewise.
17422 * hurd/new-fd.c: Likewise.
17423 * hurd/ports-get.c: Likewise.
17424 * iconvdata/ibm1008_420.c: Likewise.
17425 * inet/tst-getni1.c: Likewise.
17426 * inet/tst-getni2.c: Likewise.
17427 * libio/ioungetc.c: Likewise.
17428 * libio/wfiledoalloc.c: Likewise.
17429 * manual/libm-err-tab.pl: Likewise.
17430 * math/w_dremf.c: Likewise.
17431 * misc/ftruncate.c: Likewise.
17432 * posix/bug-glob2.c: Likewise.
17433 * posix/tst-pcre.c: Likewise.
17434 * posix/wait4.c: Likewise.
17435 * resolv/README: Likewise.
17436 * resolv/res_debug.h: Likewise.
17437 * resolv/tst-inet_ntop.c: Likewise.
17438 * setjmp/bug269-setjmp.c: Likewise.
17439 * soft-fp/extended.h: Likewise.
17440 * soft-fp/op-1.h: Likewise.
17441 * soft-fp/op-2.h: Likewise.
17442 * soft-fp/op-4.h: Likewise.
17443 * soft-fp/op-8.h: Likewise.
17444 * soft-fp/testit.c: Likewise.
17445 * stdio-common/bug16.c: Likewise.
17446 * stdlib/random.c: Likewise.
17447 * sunrpc/rpcsvc/rquota.x: Likewise.
17448 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17449 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17450 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17451 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17452 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17453 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17454 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17456 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17457 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17458 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17459 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17460 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17464 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17466 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17467 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17468 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17469 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17470 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17475 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17476 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17477 * sysdeps/ieee754/s_lib_version.c: Likewise.
17478 * sysdeps/mach/hurd/check_fds.c: Likewise.
17479 * sysdeps/mach/hurd/getsockname.c: Likewise.
17480 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17481 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17482 * sysdeps/powerpc/bits/link.h: Likewise.
17483 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17484 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17485 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17486 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17487 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17488 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17489 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17490 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17491 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17492 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17493 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17494 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17495 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17496 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17497 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17498 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17499 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17500 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17501 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17502 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17504 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17506 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17507 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17509 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17510 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17511 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17512 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17513 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17514 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17515 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17517 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17518 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17519 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17520 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17521 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17522 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17523 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17524 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17525 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17526 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17527 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17528 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17529 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17530 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17531 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17532 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17533 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17534 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17538 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17539 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17542 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17544 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17545 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17546 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17547 * sysdeps/powerpc/sysdep.h: Likewise.
17548 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17549 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17550 * sysdeps/sh/dl-trampoline.S: Likewise.
17551 * sysdeps/sh/memset.S: Likewise.
17552 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17553 * sysdeps/sh/strlen.S: Likewise.
17554 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17555 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17556 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17557 * sysdeps/sparc/sparc32/rem.S: Likewise.
17558 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17559 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17560 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17561 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17562 * sysdeps/sparc/sparc32/urem.S: Likewise.
17563 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17564 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17565 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17566 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17568 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17569 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17570 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17571 * sysdeps/unix/bsd/times.c: Likewise.
17572 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17573 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17577 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17578 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17579 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17580 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17581 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17582 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17583 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17584 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17585 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17586 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17587 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17588 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17589 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17590 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17591 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17592 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17593 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17594 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17595 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17596 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17597 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17598 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17599 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17600 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17601 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17602 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17603 * sysdeps/x86_64/strcspn.S: Likewise.
17605 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17607 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17608 generated file. Regenerate properly from gen-translit.pl.
17609 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17610 locale/C-translit.h.
17612 2013-06-05 Andreas Schwab <schwab@suse.de>
17615 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17616 week as 6 instead of -1.
17617 * time/tst-strptime.c (day_tests): Add test case.
17619 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17621 * sysdeps/generic/math_private.h
17622 (libc_feholdexcept_setround_53bit): Replace with
17623 libc_feholdsetround_53bit.
17624 (libc_feupdateenv_53bit): Replace with
17625 libc_feresetround_53bit.
17626 (SET_RESTORE_ROUND_53BIT): Adjust.
17628 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17630 * string/test-strchrnul.c: Add copyright header.
17632 * posix/tst-getaddrinfo4.c: Increase test timeout.
17634 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17637 * math/libm-test.inc (MAX_EXP): Remove
17639 (ulp): Use MIN_EXP - MANT_DIG.
17640 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17642 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17644 * po/be.po: Revert last change.
17645 * po/zh_CN.po: Likewise.
17646 * po/header.pot: Likewise.
17648 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17650 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17651 link-libc-deps to empty as target-specific variable.
17652 * Makerules (link-libc-args): New variable.
17653 (libc-for-link): Likewise.
17654 (link-libc-deps): Likewise.
17655 (lib%.so): Depend on $(link-libc-deps). Link with
17657 (build-module): Link with $(link-libc-args).
17658 (build-module-asneeded): Likewise.
17659 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17661 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17662 target-specific variable.
17663 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17664 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17665 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17667 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17669 ($(objpfx)libpcprofile.so): Likewise.
17670 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17672 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17673 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17674 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17676 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17677 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17678 * login/Makefile ($(objpfx)libutil.so): Likewise.
17679 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17680 * math/Makefile ($(objpfx)libm.so): Likewise.
17681 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17682 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17683 variable instead of depending directly on libc.
17684 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17685 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17687 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17689 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17690 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17691 ($(objpfx)libanl.so): Likewise.
17692 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17694 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17696 * sysdeps/i386/fpu/Makefile: Remove file.
17697 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17698 ($(objpfx)libm.so): Remove dependency on ld.so.
17700 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17703 * nis/yp_xdr.c (XDRMAXNAME): Define.
17704 (XDRMAXRECORD): Define.
17705 (xdr_domainname): Use XDRMAXNAME.
17706 (xdr_mapname): Likewise.
17707 (xdr_peername): Likewise.
17708 (xdr_keydat): Use XDRMAXRECORD.
17709 (xdr_valdat): Likewise.
17711 2013-05-30 Jeff Law <law@redhat.com>
17714 * manual/errno.texi (ESTALE): Update to account for more than
17715 just NFS file systems.
17716 * sysdeps/gnu/errlist.c: Regenerated.
17718 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17721 * elf/Makefile (tests): Add tst-null-argv.
17722 (modules-names): Add tst-null-argv-lib.
17723 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17724 (tst-null-argv-ENV): Set environment for tst-null-argv.
17725 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17726 (RTLD_PROGNAME): New macro.
17727 * elf/tst-null-argv.c: New test case.
17728 * elf/tst-null-argv-lib.c: Library for test case.
17729 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17730 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17731 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17732 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17733 * elf/dl-init.c (call_init): Likewise.
17734 (_dl_init): Likewise.
17735 * elf/dl-load.c (print_search_path): Likewise.
17736 (_dl_map_object): Likewise.
17737 * elf/dl-lookup.c (do_lookup_x): Likewise.
17738 (add_dependency): Likewise.
17739 (_dl_lookup_symbol_x): Likewise.
17740 (_dl_debug_bindings): Likewise.
17741 * elf/dl-open.c (_dl_show_scope): Likewise.
17742 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17743 * elf/dl-version.c (match_symbol): Likewise.
17744 (_dl_check_map_versions): Likewise.
17745 * elf/rtld.c (dl_main): Likewise.
17746 (print_unresolved): Use RTLD_PROGNAME.
17747 (print_missing_version): Likewise.
17748 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17749 (elf_machine_rela): Likewise.
17750 * sysdeps/powerpc/powerpc32/dl-machine.c
17751 (__process_machine_rela): Likewise.
17752 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17754 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17756 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17758 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17759 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17761 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17763 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17765 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17767 * po/be.po: Add descriptive title.
17768 * po/zh_CN.po: Likewise.
17769 * po/header.pot: Likewise.
17771 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17773 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17775 (enlarge_archive): Likewise.
17777 2013-05-28 Ben North <ben@redfrontdoor.org>
17779 * manual/arith.texi (frexp): It is the magnitude of the return
17780 value which lies in [0.5, 1), not the return value itself.
17782 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17786 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17788 * stdio-common/bug26.c (main): Correct fscanf template.
17790 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17791 declare _dl_skip_args.
17793 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17796 * manual/platform.texi: Add missing @end deftypefun.
17798 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17801 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17802 bit of mantissa of 2^16382.
17803 * math/libm-test.inc (hypot_test_data): Add more tests.
17805 * math/libm-test.inc: Add drem and pow10 to list of tested
17807 (pow10_test): New function.
17808 (drem_test): Likewise.
17809 (drem_test_tonearest): Likewise.
17810 (drem_test_towardzero): Likewise.
17811 (drem_test_downward): Likewise.
17812 (drem_test_upward): Likewise.
17813 (main): Call the new functions.
17815 * math/libm-test.inc (finite_test_data): Remove.
17816 (finite_test): Run tests from isfinite_test_data.
17817 (gamma_test_data): Remove.
17818 (gamma_test): Run tests from lgamma_test_data.
17819 * sysdeps/i386/fpu/libm-test-ulps: Update.
17820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17822 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17824 * manual/platform.texi: Add PowerPC PPR function set documentation.
17825 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17828 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17830 * math/libm-test.inc (MAX_EXP): Define.
17832 (ulp): New function.
17833 (check_float_internal): Use ULPDIFF.
17834 (cpow_test): Disable failing test.
17835 (check_ulp): Test ulp() implemetnation.
17836 (main): Call check_ulp before starting tests.
17838 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17840 * math/gen-libm-test.pl (generate_testfile): Do not handle
17841 START_DATA and END_DATA.
17842 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17844 (acos_tonearest_test_data): Likewise.
17845 (acos_towardzero_test_data): Likewise.
17846 (acos_downward_test_data): Likewise.
17847 (acos_upward_test_data): Likewise.
17848 (acosh_test_data): Likewise.
17849 (asin_test_data): Likewise.
17850 (asin_tonearest_test_data): Likewise.
17851 (asin_towardzero_test_data): Likewise.
17852 (asin_downward_test_data): Likewise.
17853 (asin_upward_test_data): Likewise.
17854 (asinh_test_data): Likewise.
17855 (atan_test_data): Likewise.
17856 (atanh_test_data): Likewise.
17857 (atan2_test_data): Likewise.
17858 (cabs_test_data): Likewise.
17859 (cacos_test_data): Likewise.
17860 (cacosh_test_data): Likewise.
17861 (carg_test_data): Likewise.
17862 (casin_test_data): Likewise.
17863 (casinh_test_data): Likewise.
17864 (catan_test_data): Likewise.
17865 (catanh_test_data): Likewise.
17866 (cbrt_test_data): Likewise.
17867 (ccos_test_data): Likewise.
17868 (ccosh_test_data): Likewise.
17869 (ceil_test_data): Likewise.
17870 (cexp_test_data): Likewise.
17871 (cimag_test_data): Likewise.
17872 (clog_test_data): Likewise.
17873 (clog10_test_data): Likewise.
17874 (conj_test_data): Likewise.
17875 (copysign_test_data): Likewise.
17876 (cos_test_data): Likewise.
17877 (cos_tonearest_test_data): Likewise.
17878 (cos_towardzero_test_data): Likewise.
17879 (cos_downward_test_data): Likewise.
17880 (cos_upward_test_data): Likewise.
17881 (cosh_test_data): Likewise.
17882 (cosh_tonearest_test_data): Likewise.
17883 (cosh_towardzero_test_data): Likewise.
17884 (cosh_downward_test_data): Likewise.
17885 (cosh_upward_test_data): Likewise.
17886 (cpow_test_data): Likewise.
17887 (cproj_test_data): Likewise.
17888 (creal_test_data): Likewise.
17889 (csin_test_data): Likewise.
17890 (csinh_test_data): Likewise.
17891 (csqrt_test_data): Likewise.
17892 (ctan_test_data): Likewise.
17893 (ctan_tonearest_test_data): Likewise.
17894 (ctan_towardzero_test_data): Likewise.
17895 (ctan_downward_test_data): Likewise.
17896 (ctan_upward_test_data): Likewise.
17897 (ctanh_test_data): Likewise.
17898 (ctanh_tonearest_test_data): Likewise.
17899 (ctanh_towardzero_test_data): Likewise.
17900 (ctanh_downward_test_data): Likewise.
17901 (ctanh_upward_test_data): Likewise.
17902 (erf_test_data): Likewise.
17903 (erfc_test_data): Likewise.
17904 (exp_test_data): Likewise.
17905 (exp_tonearest_test_data): Likewise.
17906 (exp_towardzero_test_data): Likewise.
17907 (exp_downward_test_data): Likewise.
17908 (exp_upward_test_data): Likewise.
17909 (exp10_test_data): Likewise.
17910 (exp2_test_data): Likewise.
17911 (expm1_test_data): Likewise.
17912 (fabs_test_data): Likewise.
17913 (fdim_test_data): Likewise.
17914 (finite_test_data): Likewise.
17915 (floor_test_data): Likewise.
17916 (fma_test_data): Likewise.
17917 (fma_towardzero_test_data): Likewise.
17918 (fma_downward_test_data): Likewise.
17919 (fma_upward_test_data): Likewise.
17920 (fmax_test_data): Likewise.
17921 (fmin_test_data): Likewise.
17922 (fmod_test_data): Likewise.
17923 (fpclassify_test_data): Likewise.
17924 (frexp_test_data): Likewise.
17925 (gamma_test_data): Likewise.
17926 (hypot_test_data): Likewise.
17927 (ilogb_test_data): Likewise.
17928 (isfinite_test_data): Likewise.
17929 (isgreater_test_data): Likewise.
17930 (isgreaterequal_test_data): Likewise.
17931 (isinf_test_data): Likewise.
17932 (isless_test_data): Likewise.
17933 (islessequal_test_data): Likewise.
17934 (islessgreater_test_data): Likewise.
17935 (isnan_test_data): Likewise.
17936 (isnormal_test_data): Likewise.
17937 (issignaling_test_data): Likewise.
17938 (isunordered_test_data): Likewise.
17939 (j0_test_data): Likewise.
17940 (j1_test_data): Likewise.
17941 (jn_test_data): Likewise.
17942 (ldexp_test_data): Likewise.
17943 (lgamma_test_data): Likewise.
17944 (lrint_test_data): Likewise.
17945 (lrint_tonearest_test_data): Likewise.
17946 (lrint_towardzero_test_data): Likewise.
17947 (lrint_downward_test_data): Likewise.
17948 (lrint_upward_test_data): Likewise.
17949 (llrint_test_data): Likewise.
17950 (llrint_tonearest_test_data): Likewise.
17951 (llrint_towardzero_test_data): Likewise.
17952 (llrint_downward_test_data): Likewise.
17953 (llrint_upward_test_data): Likewise.
17954 (log_test_data): Likewise.
17955 (log10_test_data): Likewise.
17956 (log1p_test_data): Likewise.
17957 (log2_test_data): Likewise.
17958 (logb_test_data): Likewise.
17959 (logb_downward_test_data): Likewise.
17960 (lround_test_data): Likewise.
17961 (llround_test_data): Likewise.
17962 (modf_test_data): Likewise.
17963 (nearbyint_test_data): Likewise.
17964 (nextafter_test_data): Likewise.
17965 (nexttoward_test_data): Likewise.
17966 (pow_test_data): Likewise.
17967 (pow_tonearest_test_data): Likewise.
17968 (pow_towardzero_test_data): Likewise.
17969 (pow_downward_test_data): Likewise.
17970 (pow_upward_test_data): Likewise.
17971 (remainder_test_data): Likewise.
17972 (remainder_tonearest_test_data): Likewise.
17973 (remainder_towardzero_test_data): Likewise.
17974 (remainder_downward_test_data): Likewise.
17975 (remainder_upward_test_data): Likewise.
17976 (remquo_test_data): Likewise.
17977 (rint_test_data): Likewise.
17978 (rint_tonearest_test_data): Likewise.
17979 (rint_towardzero_test_data): Likewise.
17980 (rint_downward_test_data): Likewise.
17981 (rint_upward_test_data): Likewise.
17982 (round_test_data): Likewise.
17983 (scalb_test_data): Likewise.
17984 (scalbn_test_data): Likewise.
17985 (scalbln_test_data): Likewise.
17986 (signbit_test_data): Likewise.
17987 (sin_test_data): Likewise.
17988 (sin_tonearest_test_data): Likewise.
17989 (sin_towardzero_test_data): Likewise.
17990 (sin_downward_test_data): Likewise.
17991 (sin_upward_test_data): Likewise.
17992 (sincos_test_data): Likewise.
17993 (sinh_test_data): Likewise.
17994 (sinh_tonearest_test_data): Likewise.
17995 (sinh_towardzero_test_data): Likewise.
17996 (sinh_downward_test_data): Likewise.
17997 (sinh_upward_test_data): Likewise.
17998 (sqrt_test_data): Likewise.
17999 (tan_test_data): Likewise.
18000 (tan_tonearest_test_data): Likewise.
18001 (tan_towardzero_test_data): Likewise.
18002 (tan_downward_test_data): Likewise.
18003 (tan_upward_test_data): Likewise.
18004 (tanh_test_data): Likewise.
18005 (tgamma_test_data): Likewise.
18006 (trunc_test_data): Likewise.
18007 (y0_test_data): Likewise.
18008 (y1_test_data): Likewise.
18009 (yn_test_data): Likewise.
18010 (significand_test_data): Likewise.
18012 * math/gen-libm-test.pl (@functions): Remove variable.
18013 (generate_testfile): Don't handle START and END lines.
18014 * math/libm-test.inc (START): New macro.
18016 (END_COMPLEX): Likewise.
18017 (acos_test): Use END macro without arguments.
18018 (acos_test_tonearest): Likewise.
18019 (acos_test_towardzero): Likewise.
18020 (acos_test_downward): Likewise.
18021 (acos_test_upward): Likewise.
18022 (acosh_test): Likewise.
18023 (asin_test): Likewise.
18024 (asin_test_tonearest): Likewise.
18025 (asin_test_towardzero): Likewise.
18026 (asin_test_downward): Likewise.
18027 (asin_test_upward): Likewise.
18028 (asinh_test): Likewise.
18029 (atan_test): Likewise.
18030 (atanh_test): Likewise.
18031 (atan2_test): Likewise.
18032 (cabs_test): Likewise.
18033 (cacos_test): Use END_COMPLEX macro without arguments.
18034 (cacosh_test): Likewise.
18035 (carg_test): Use END macro without arguments.
18036 (casin_test): Use END_COMPLEX macro without arguments.
18037 (casinh_test): Likewise.
18038 (catan_test): Likewise.
18039 (catanh_test): Likewise.
18040 (cbrt_test): Use END macro without arguments.
18041 (ccos_test): Use END_COMPLEX macro without arguments.
18042 (ccosh_test): Likewise.
18043 (ceil_test): Use END macro without arguments.
18044 (cexp_test): Use END_COMPLEX macro without arguments.
18045 (cimag_test): Use END macro without arguments.
18046 (clog_test): Use END_COMPLEX macro without arguments.
18047 (clog10_test): Likewise.
18048 (conj_test): Likewise.
18049 (copysign_test): Use END macro without arguments.
18050 (cos_test): Likewise.
18051 (cos_test_tonearest): Likewise.
18052 (cos_test_towardzero): Likewise.
18053 (cos_test_downward): Likewise.
18054 (cos_test_upward): Likewise.
18055 (cosh_test): Likewise.
18056 (cosh_test_tonearest): Likewise.
18057 (cosh_test_towardzero): Likewise.
18058 (cosh_test_downward): Likewise.
18059 (cosh_test_upward): Likewise.
18060 (cpow_test): Use END_COMPLEX macro without arguments.
18061 (cproj_test): Likewise.
18062 (creal_test): Use END macro without arguments.
18063 (csin_test): Use END_COMPLEX macro without arguments.
18064 (csinh_test): Likewise.
18065 (csqrt_test): Likewise.
18066 (ctan_test): Likewise.
18067 (ctan_test_tonearest): Likewise.
18068 (ctan_test_towardzero): Likewise.
18069 (ctan_test_downward): Likewise.
18070 (ctan_test_upward): Likewise.
18071 (ctanh_test): Likewise.
18072 (ctanh_test_tonearest): Likewise.
18073 (ctanh_test_towardzero): Likewise.
18074 (ctanh_test_downward): Likewise.
18075 (ctanh_test_upward): Likewise.
18076 (erf_test): Use END macro without arguments.
18077 (erfc_test): Likewise.
18078 (exp_test): Likewise.
18079 (exp_test_tonearest): Likewise.
18080 (exp_test_towardzero): Likewise.
18081 (exp_test_downward): Likewise.
18082 (exp_test_upward): Likewise.
18083 (exp10_test): Likewise.
18084 (exp2_test): Likewise.
18085 (expm1_test): Likewise.
18086 (fabs_test): Likewise.
18087 (fdim_test): Likewise.
18088 (finite_test): Likewise.
18089 (floor_test): Likewise.
18090 (fma_test): Likewise.
18091 (fma_test_towardzero): Likewise.
18092 (fma_test_downward): Likewise.
18093 (fma_test_upward): Likewise.
18094 (fmax_test): Likewise.
18095 (fmin_test): Likewise.
18096 (fmod_test): Likewise.
18097 (fpclassify_test): Likewise.
18098 (frexp_test): Likewise.
18099 (gamma_test): Likewise.
18100 (hypot_test): Likewise.
18101 (ilogb_test): Likewise.
18102 (isfinite_test): Likewise.
18103 (isgreater_test): Likewise.
18104 (isgreaterequal_test): Likewise.
18105 (isinf_test): Likewise.
18106 (isless_test): Likewise.
18107 (islessequal_test): Likewise.
18108 (islessgreater_test): Likewise.
18109 (isnan_test): Likewise.
18110 (isnormal_test): Likewise.
18111 (issignaling_test): Likewise.
18112 (isunordered_test): Likewise.
18113 (j0_test): Likewise.
18114 (j1_test): Likewise.
18115 (jn_test): Likewise.
18116 (ldexp_test): Likewise.
18117 (lgamma_test): Likewise.
18118 (lrint_test): Likewise.
18119 (lrint_test_tonearest): Likewise.
18120 (lrint_test_towardzero): Likewise.
18121 (lrint_test_downward): Likewise.
18122 (lrint_test_upward): Likewise.
18123 (llrint_test): Likewise.
18124 (llrint_test_tonearest): Likewise.
18125 (llrint_test_towardzero): Likewise.
18126 (llrint_test_downward): Likewise.
18127 (llrint_test_upward): Likewise.
18128 (log_test): Likewise.
18129 (log10_test): Likewise.
18130 (log1p_test): Likewise.
18131 (log2_test): Likewise.
18132 (logb_test): Likewise.
18133 (logb_test_downward): Likewise.
18134 (lround_test): Likewise.
18135 (llround_test): Likewise.
18136 (modf_test): Likewise.
18137 (nearbyint_test): Likewise.
18138 (nextafter_test): Likewise.
18139 (nexttoward_test): Likewise.
18140 (pow_test): Likewise.
18141 (pow_test_tonearest): Likewise.
18142 (pow_test_towardzero): Likewise.
18143 (pow_test_downward): Likewise.
18144 (pow_test_upward): Likewise.
18145 (remainder_test): Likewise.
18146 (remainder_test_tonearest): Likewise.
18147 (remainder_test_towardzero): Likewise.
18148 (remainder_test_downward): Likewise.
18149 (remainder_test_upward): Likewise.
18150 (remquo_test): Likewise.
18151 (rint_test): Likewise.
18152 (rint_test_tonearest): Likewise.
18153 (rint_test_towardzero): Likewise.
18154 (rint_test_downward): Likewise.
18155 (rint_test_upward): Likewise.
18156 (round_test): Likewise.
18157 (scalb_test): Likewise.
18158 (scalbn_test): Likewise.
18159 (scalbln_test): Likewise.
18160 (signbit_test): Likewise.
18161 (sin_test): Likewise.
18162 (sin_test_tonearest): Likewise.
18163 (sin_test_towardzero): Likewise.
18164 (sin_test_downward): Likewise.
18165 (sin_test_upward): Likewise.
18166 (sincos_test): Likewise.
18167 (sinh_test): Likewise.
18168 (sinh_test_tonearest): Likewise.
18169 (sinh_test_towardzero): Likewise.
18170 (sinh_test_downward): Likewise.
18171 (sinh_test_upward): Likewise.
18172 (sqrt_test): Likewise.
18173 (tan_test): Likewise.
18174 (tan_test_tonearest): Likewise.
18175 (tan_test_towardzero): Likewise.
18176 (tan_test_downward): Likewise.
18177 (tan_test_upward): Likewise.
18178 (tanh_test): Likewise.
18179 (tgamma_test): Likewise.
18180 (trunc_test): Likewise.
18181 (y0_test): Likewise.
18182 (y1_test): Likewise.
18183 (yn_test): Likewise.
18184 (significand_test): Likewise.
18186 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18189 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18191 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18194 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18195 __ppc_mdoio and __ppc_mdoom.
18196 * manual/platform.texi: Document new functions __ppc_yield,
18197 __ppc_mdoio and __ppc_mdoom.
18199 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18201 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18202 (main): Mention "tls" pseudo-hwcap is legacy.
18203 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18205 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18207 * math/gen-libm-test.pl (parse_args): Output only string of
18208 arguments as text for test name, not full call or descriptions of
18209 tests for extra outputs.
18210 (generate_testfile): Do not pass function name to parse_args.
18211 Generate this_func variable from START.
18212 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18214 (struct test_ff_f_data): Likewise.
18215 (test_ff_f_data_nexttoward): Likewise.
18216 (struct test_fi_f_data): Likewise.
18217 (struct test_fl_f_data): Likewise.
18218 (struct test_if_f_data): Likewise.
18219 (struct test_fff_f_data): Likewise.
18220 (struct test_c_f_data): Likewise.
18221 (struct test_f_f1_data): Likewise. Remove field extra_name.
18222 (struct test_fF_f1_data): Likewise.
18223 (struct test_ffI_f1_data): Likewise.
18224 (struct test_c_c_data): Rename test_name field to arg_str.
18225 (struct test_cc_c_data): Likewise.
18226 (struct test_f_i_data): Likewise.
18227 (struct test_ff_i_data): Likewise.
18228 (struct test_f_l_data): Likewise.
18229 (struct test_f_L_data): Likewise.
18230 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18232 (COMMON_TEST_SETUP): New macro.
18233 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18234 (COMMON_TEST_CLEANUP): Likewise.
18235 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18236 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18238 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18239 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18241 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18242 (RUN_TEST_fff_f): Take argument string. Call new setup and
18244 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18245 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18247 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18248 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18250 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18251 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18253 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18254 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18256 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18257 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18259 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18260 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18262 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18263 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18265 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18266 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18268 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18269 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18271 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18272 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18274 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18275 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18277 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18278 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18280 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18281 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18283 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18284 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18286 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18287 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18289 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18291 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18293 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18294 to _sifields.sigfault.
18295 (si_addr_lsb): Define new macro.
18296 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18298 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18300 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18303 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18305 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18307 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18308 loading the domain.
18310 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18312 * math/gen-libm-test.pl (parse_args): Do not include expected
18313 result in test name.
18314 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18316 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18317 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18318 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18321 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18323 * benchtests/Makefile: Sort function entries.
18325 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18326 tanh, asinh, acosh, atanh.
18327 * benchtests/acos-inputs: New file.
18328 * benchtests/acosh-inputs: New file.
18329 * benchtests/asin-inputs: New file.
18330 * benchtests/asinh-inputs: New file.
18331 * benchtests/atanh-inputs: New file.
18332 * benchtests/cosh-inputs: New file.
18333 * benchtests/log-inputs: New file.
18334 * benchtests/sinh-inputs: New file.
18335 * benchtests/tanh-inputs: New file.
18337 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18340 * posix/tst-getaddrinfo4.c: New test.
18341 * posix/Makefile (tests): Add it.
18343 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18346 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18347 when no services were used.
18348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18349 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18351 2013-05-21 Andreas Schwab <schwab@suse.de>
18354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18355 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18357 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18358 redundant variable declarations and reallocation of buffer when
18359 parsing as IPv6 address. Always set NSS status when called from
18360 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18361 buffer too small. Correct computation of needed size.
18362 * nss/Makefile (tests): Add test-digits-dots.
18363 * nss/test-digits-dots.c: New test.
18365 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18367 * benchtests/Makefile: Remove instructions for adding
18369 * benchtests/README: New file to explain how to execute and
18370 enhance the benchmark tests.
18372 2013-05-21 Andreas Schwab <schwab@suse.de>
18375 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18376 * setjmp/tst-sigsetjmp.c: New test.
18378 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18380 * sysdeps/x86_64/memset.S (memset): New implementation.
18381 (__bzero): Likewise.
18382 (__memset_tail): New function.
18384 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18386 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18387 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18388 __memcpy_sse2_unaligned ifunc selection.
18389 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18390 Add memcpy-sse2-unaligned.S.
18391 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18392 Add: __memcpy_sse2_unaligned.
18394 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18397 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18398 math_force_eval before restoring floating-point envrionment.
18399 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18404 (__nearbyintl): Use math_force_eval before restoring
18405 floating-point environment.
18406 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18408 * math/gen-libm-test.pl (special_functions): Remove.
18409 (parse_args): Don't handle TEST_extra. Handle functions with no
18411 * math/libm-test.inc (struct test_sincos_data): Replace with
18412 struct test_fFF_11_data.
18413 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18414 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18415 (sincos_test_data): Change element type to struct
18416 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18417 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18418 RUN_TEST_LOOP_sincos.
18419 * math/README.libm-test: Don't mention special handling of
18420 individual functions.
18421 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18424 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18425 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18428 * math/gen-libm-test.pl (get_variable): Remove function.
18429 (parse_args): Don't show pointer parameters to call in test
18430 names. Use "extra output N" in test names for extra outputs
18431 rather than naming variables.
18433 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18436 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18437 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18438 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18440 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18442 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18445 * math/gen-libm-test.pl (@tests): Remove variable.
18446 ($count): Likewise.
18447 (new_test): Remove function.
18448 (show_exceptions): New function.
18449 (special_functions): Use show_exceptions instead of new_test.
18450 (parse_args): Likewise.
18451 (generate_testfile): Pass only function name in generated call to
18452 print_max_error or print_complex_max_error.
18453 (get_ulps): Do not handle complex tests specially.
18454 (output_test): Rename to ...
18455 (get_all_ulps_for_test): ... this. Return a string rather than
18456 printing to a file. Require ulps to be present.
18457 (output_ulps): Generate arrays rather than #defines.
18458 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18459 (struct ulp_data): New type.
18460 (BUILD_COMPLEX_ULP): Remove macro.
18461 (compare_ulp_data): New function.
18462 (find_ulps): Likewise.
18463 (find_test_ulps): Likewise.
18464 (find_function_ulps): Likewise.
18465 (find_complex_function_ulps): Likewise.
18466 (print_max_error): Determine allowed ulps using
18467 find_function_ulps.
18468 (print_complex_max_error): Determine allowed ulps using
18469 find_complex_function_ulps.
18470 (check_float_internal): Determine max ulps using find_test_ulps.
18471 (check_float): Do not take max_ulp parameter. Update call to
18472 check_float_internal.
18473 (check_complex): Likewise.
18474 (check_int): Do not take max_ulp parameter.
18475 (check_long): Likewise.
18476 (check_bool): Likewise.
18477 (check_longlong): Likewise.
18478 (struct test_f_f_data): Remove max_ulp field.
18479 (struct test_ff_f_data): Likewise.
18480 (struct test_ff_f_data_nexttoward): Likewise.
18481 (struct test_fi_f_data): Likewise.
18482 (struct test_fl_f_data): Likewise.
18483 (struct test_if_f_data): Likewise.
18484 (struct test_fff_f_data): Likewise.
18485 (struct test_c_f_data): Likewise.
18486 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18487 (struct test_fF_f1_data): Likewise.
18488 (struct test_ffI_f1_data): Likewise.
18489 (struct test_c_c_data): Remove max_ulp field.
18490 (struct test_cc_c_data): Likewise.
18491 (struct test_f_i_data): Likewise.
18492 (struct test_ff_i_data): Likewise.
18493 (struct test_f_l_data): Likewise.
18494 (struct test_f_L_data): Likewise.
18495 (struct test_sincos_data): Likewise.
18496 (RUN_TEST_f_f): Do not handle ulps.
18497 (RUN_TEST_LOOP_f_f): Likewise.
18498 (RUN_TEST_2_f): Likewise.
18499 (RUN_TEST_LOOP_2_f): Likewise.
18500 (RUN_TEST_fff_f): Likewise.
18501 (RUN_TEST_LOOP_fff_f): Likewise.
18502 (RUN_TEST_c_f): Likewise.
18503 (RUN_TEST_LOOP_c_f): Likewise.
18504 (RUN_TEST_f_f1): Likewise.
18505 (RUN_TEST_LOOP_f_f1): Likewise.
18506 (RUN_TEST_fF_f1): Likewise.
18507 (RUN_TEST_LOOP_fF_f1): Likewise.
18508 (RUN_TEST_fI_f1): Likewise.
18509 (RUN_TEST_LOOP_fI_f1): Likewise.
18510 (RUN_TEST_ffI_f1): Likewise.
18511 (RUN_TEST_LOOP_ffI_f1): Likewise.
18512 (RUN_TEST_c_c): Likewise.
18513 (RUN_TEST_LOOP_c_c): Likewise.
18514 (RUN_TEST_cc_c): Likewise.
18515 (RUN_TEST_LOOP_cc_c): Likewise.
18516 (RUN_TEST_f_i): Likewise.
18517 (RUN_TEST_LOOP_f_i): Likewise.
18518 (RUN_TEST_f_i_tg): Likewise.
18519 (RUN_TEST_LOOP_f_i_tg): Likewise.
18520 (RUN_TEST_ff_i_tg): Likewise.
18521 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18522 (RUN_TEST_f_b): Likewise.
18523 (RUN_TEST_LOOP_f_b): Likewise.
18524 (RUN_TEST_f_b_tg): Likewise.
18525 (RUN_TEST_LOOP_f_b_tg): Likewise.
18526 (RUN_TEST_f_l): Likewise.
18527 (RUN_TEST_LOOP_f_l): Likewise.
18528 (RUN_TEST_f_L): Likewise.
18529 (RUN_TEST_LOOP_f_L): Likewise.
18530 (RUN_TEST_sincos): Likewise.
18531 (RUN_TEST_LOOP_sincos): Likewise.
18533 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18537 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18538 main case of finite arguments, set rounding mode to FE_TONEAREST
18539 and discard exceptions.
18540 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18542 (remainder_tonearest_test_data): New variable.
18543 (remainder_test_tonearest): New function.
18544 (remainder_towardzero_test_data): New variable.
18545 (remainder_test_towardzero): New function.
18546 (remainder_downward_test_data): New variable.
18547 (remainder_test_downward): New function.
18548 (remainder_upward_test_data): New variable.
18549 (remainder_test_upward): New function.
18550 (main): Call the new test functions.
18552 * math/libm-test.inc (struct test_f_f1_data): Remove field
18554 (struct test_fF_f1_data): Likewise.
18555 (struct test_ffI_f1_data): Likewise.
18556 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18557 based on value of EXTRA_EXPECTED.
18558 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18559 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18560 EXTRA_VAR based on value of EXTRA_EXPECTED.
18561 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18562 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18563 EXTRA_VAR based on value of EXTRA_EXPECTED.
18564 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18565 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18566 EXTRA_VAR based on value of EXTRA_EXPECTED.
18567 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18568 * math/gen-libm-test.pl (parse_args): Don't output initializers
18569 for extra output values.
18571 * math/libm-test.inc (check_int): Expect result to be exactly
18572 equal to expected value and do not handle ulps.
18573 (check_long): Likewise.
18574 (check_longlong): Likewise.
18576 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18578 (cimag_test_data): Likewise.
18579 (conj_test_data): Likewise.
18580 (copysign_test_data): Likewise.
18581 (cproj_test_data): Likewise.
18582 (creal_test_data): Likewise.
18583 (fabs_test_data): Likewise.
18584 (fdim_test_data): Likewise.
18585 (finite_test_data): Likewise.
18586 (floor_test_data): Likewise.
18587 (fmax_test_data): Likewise.
18588 (fmin_test_data): Likewise.
18589 (fmod_test_data): Likewise.
18590 (fpclassify_test_data): Likewise.
18591 (frexp_test_data): Likewise.
18592 (ilogb_test_data): Likewise.
18593 (isfinite_test_data): Likewise.
18594 (isgreater_test_data): Likewise.
18595 (isgreaterequal_test_data): Likewise.
18596 (isinf_test_data): Likewise.
18597 (isless_test_data): Likewise.
18598 (islessequal_test_data): Likewise.
18599 (islessgreater_test_data): Likewise.
18600 (isnan_test_data): Likewise.
18601 (isnormal_test_data): Likewise.
18602 (issignaling_test_data): Likewise.
18603 (isunordered_test_data): Likewise.
18604 (ldexp_test_data): Likewise.
18605 (lrint_test_data): Likewise.
18606 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18607 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18608 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18609 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18610 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18611 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18613 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18614 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18615 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18616 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18618 (lrint_downward_test_data): Test for "inexact" exceptions.
18619 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18620 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18621 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18623 (lrint_upward_test_data): Test for "inexact" exceptions.
18624 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18626 (llrint_test_data): Test for "inexact" exceptions.
18627 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18628 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18629 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18630 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18631 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18632 (llrint_downward_test_data): Test for "inexact" exceptions.
18633 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18634 (llrint_upward_test_data): Test for "inexact" exceptions.
18635 (logb_test_data): Likewise.
18636 (logb_downward_test_data): Likewise.
18637 (nextafter_test_data): Likewise.
18638 (nexttoward_test_data): Likewise.
18639 (remainder_test_data): Likewise.
18640 (remquo_test_data): Likewise.
18641 (scalbn_test_data): Likewise.
18642 (scalbln_test_data): Likewise.
18643 (signbit_test_data): Likewise.
18644 (sqrt_test_data): Likewise.
18645 (significand_test_data): Likewise.
18647 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18650 * benchtests/bench-modf.c (struct args): Mark arg0 as
18652 * scripts/bench.pl: Mark members of struct args as volatile.
18654 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18657 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18658 negative infinity on POWER6 or lower.
18659 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18661 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18664 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18665 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18666 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18667 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18668 (_FP_SETQNAN): New macro.
18669 (_FP_SETQNAN_SEMIRAW): Likewise.
18670 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18671 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18672 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18673 (FP_EXTEND): Use _FP_FRAC_SNANP.
18674 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18675 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18679 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18682 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18684 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18685 with DIVIDE_BY_ZERO_EXCEPTION.
18686 (gamma_test_data): Likewise.
18687 (lgamma_test_data): Likewise.
18688 (log_test_data): Likewise.
18689 (log10_test_data): Likewise.
18690 (log2_test_data): Likewise.
18691 (tgamma_test_data): Likewise.
18693 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18694 (acos_test_tonearest): Likewise.
18695 (acos_test_towardzero): Likewise.
18696 (acos_test_downward): Likewise.
18697 (acos_test_upward): Likewise.
18698 (acosh_test): Likewise.
18699 (asin_test): Likewise.
18700 (asin_test_tonearest): Likewise.
18701 (asin_test_towardzero): Likewise.
18702 (asin_test_downward): Likewise.
18703 (asin_test_upward): Likewise.
18704 (asinh_test): Likewise.
18705 (atan_test): Likewise.
18706 (atanh_test): Likewise.
18707 (atan2_test): Likewise.
18708 (cabs_test): Likewise.
18709 (cacos_test): Likewise.
18710 (cacosh_test): Likewise.
18711 (casin_test): Likewise.
18712 (casinh_test): Likewise.
18713 (catan_test): Likewise.
18714 (catanh_test): Likewise.
18715 (cbrt_test): Likewise.
18716 (ccos_test): Likewise.
18717 (ccosh_test): Likewise.
18718 (cexp_test): Likewise.
18719 (clog_test): Likewise.
18720 (clog10_test): Likewise.
18721 (cos_test): Likewise.
18722 (cos_test_tonearest): Likewise.
18723 (cos_test_towardzero): Likewise.
18724 (cos_test_downward): Likewise.
18725 (cos_test_upward): Likewise.
18726 (cosh_test): Likewise.
18727 (cosh_test_tonearest): Likewise.
18728 (cosh_test_towardzero): Likewise.
18729 (cosh_test_downward): Likewise.
18730 (cosh_test_upward): Likewise.
18731 (cpow_test): Likewise.
18732 (csin_test): Likewise.
18733 (csinh_test): Likewise.
18734 (csqrt_test): Likewise.
18735 (ctan_test): Likewise.
18736 (ctan_test_tonearest): Likewise.
18737 (ctan_test_towardzero): Likewise.
18738 (ctan_test_downward): Likewise.
18739 (ctan_test_upward): Likewise.
18740 (ctanh_test): Likewise.
18741 (ctanh_test_tonearest): Likewise.
18742 (ctanh_test_towardzero): Likewise.
18743 (ctanh_test_downward): Likewise.
18744 (ctanh_test_upward): Likewise.
18745 (erf_test): Likewise.
18746 (erfc_test): Likewise.
18747 (exp_test): Likewise.
18748 (exp_test_tonearest): Likewise.
18749 (exp_test_towardzero): Likewise.
18750 (exp_test_downward): Likewise.
18751 (exp_test_upward): Likewise.
18752 (exp10_test): Likewise.
18753 (exp2_test): Likewise.
18754 (expm1_test): Likewise.
18755 (fmod_test): Likewise.
18756 (gamma_test): Likewise.
18757 (hypot_test): Likewise.
18758 (j0_test): Likewise.
18759 (j1_test): Likewise.
18760 (jn_test): Likewise.
18761 (lgamma_test): Likewise.
18762 (log_test): Likewise.
18763 (log10_test): Likewise.
18764 (log1p_test): Likewise.
18765 (log2_test): Likewise.
18766 (logb_test_downward): Likewise.
18767 (pow_test): Likewise.
18768 (pow_test_tonearest): Likewise.
18769 (pow_test_towardzero): Likewise.
18770 (pow_test_downward): Likewise.
18771 (pow_test_upward): Likewise.
18772 (remainder_test): Likewise.
18773 (remquo_test): Likewise.
18774 (sin_test): Likewise.
18775 (sin_test_tonearest): Likewise.
18776 (sin_test_towardzero): Likewise.
18777 (sin_test_downward): Likewise.
18778 (sin_test_upward): Likewise.
18779 (sincos_test): Likewise.
18780 (sinh_test): Likewise.
18781 (sinh_test_tonearest): Likewise.
18782 (sinh_test_towardzero): Likewise.
18783 (sinh_test_downward): Likewise.
18784 (sinh_test_upward): Likewise.
18785 (sqrt_test): Likewise.
18786 (tan_test): Likewise.
18787 (tan_test_tonearest): Likewise.
18788 (tan_test_towardzero): Likewise.
18789 (tan_test_downward): Likewise.
18790 (tan_test_upward): Likewise.
18791 (tanh_test): Likewise.
18792 (tgamma_test): Likewise.
18793 (y0_test): Likewise.
18794 (y1_test): Likewise.
18795 (yn_test): Likewise.
18797 * math/gen-libm-test.pl (adjust_arg): Remove function.
18798 (special_function): Remove argument $in_func. Only handle
18799 generating output for tables of tests, not inside functions.
18800 (parse_args): Likewise.
18801 (generate_testfile): Remove variable $in_func. Update call to
18803 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18804 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18805 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18806 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18807 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18808 (MAX_VALUE_INIT): Rename macro to max_value.
18809 (MIN_VALUE_INIT): Rename macro to min_value.
18810 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18811 (plus_zero): Remove variable.
18812 (minus_zero): Likewise.
18813 (plus_infty): Likewise.
18814 (minus_infty): Likewise.
18815 (qnan_value): Likewise.
18816 (max_value): Likewise.
18817 (min_value): Likewise.
18818 (min_subnorm_value): Likewise.
18820 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18822 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18823 uint64_t or uint32_t usage.
18824 * crypt/sha256-block.c: Likewise.
18825 * crypt/sha256-crypt.c: Likewise.
18826 * crypt/sha256.c: Likewise.
18827 * crypt/sha512-block.c: Likewise.
18828 * crypt/sha512-crypt.c: Likewise.
18829 * crypt/sha512.c: Likewise.
18830 * debug/backtrace-tst.c: Likewise.
18831 * debug/pcprofiledump.c: Likewise.
18832 * elf/cache.c: Likewise.
18833 * elf/dl-cache.c: Likewise.
18834 * elf/dl-misc.c: Likewise.
18835 * elf/dl-profile.c: Likewise.
18836 * elf/dl-support.c: Likewise.
18837 * elf/ldconfig.c: Likewise.
18838 * elf/sprof.c: Likewise.
18839 * iconv/dummy-repertoire.c: Likewise.
18840 * iconv/iconv_charmap.c: Likewise.
18841 * iconv/skeleton.c: Likewise.
18842 * iconvdata/8bit-generic.c: Likewise.
18843 * iconvdata/cp737.h: Likewise.
18844 * iconvdata/cp775.h: Likewise.
18845 * iconvdata/ibm1008.h: Likewise.
18846 * iconvdata/ibm1025.h: Likewise.
18847 * iconvdata/ibm1046.h: Likewise.
18848 * iconvdata/ibm1097.h: Likewise.
18849 * iconvdata/ibm1112.h: Likewise.
18850 * iconvdata/ibm1122.h: Likewise.
18851 * iconvdata/ibm1123.h: Likewise.
18852 * iconvdata/ibm1124.h: Likewise.
18853 * iconvdata/ibm1129.h: Likewise.
18854 * iconvdata/ibm1130.h: Likewise.
18855 * iconvdata/ibm1132.h: Likewise.
18856 * iconvdata/ibm1133.h: Likewise.
18857 * iconvdata/ibm1137.h: Likewise.
18858 * iconvdata/ibm1140.h: Likewise.
18859 * iconvdata/ibm1141.h: Likewise.
18860 * iconvdata/ibm1142.h: Likewise.
18861 * iconvdata/ibm1143.h: Likewise.
18862 * iconvdata/ibm1144.h: Likewise.
18863 * iconvdata/ibm1145.h: Likewise.
18864 * iconvdata/ibm1146.h: Likewise.
18865 * iconvdata/ibm1147.h: Likewise.
18866 * iconvdata/ibm1148.h: Likewise.
18867 * iconvdata/ibm1149.h: Likewise.
18868 * iconvdata/ibm1153.h: Likewise.
18869 * iconvdata/ibm1154.h: Likewise.
18870 * iconvdata/ibm1155.h: Likewise.
18871 * iconvdata/ibm1156.h: Likewise.
18872 * iconvdata/ibm1157.h: Likewise.
18873 * iconvdata/ibm1158.h: Likewise.
18874 * iconvdata/ibm1160.h: Likewise.
18875 * iconvdata/ibm1161.h: Likewise.
18876 * iconvdata/ibm1162.h: Likewise.
18877 * iconvdata/ibm1163.h: Likewise.
18878 * iconvdata/ibm1164.h: Likewise.
18879 * iconvdata/ibm1166.h: Likewise.
18880 * iconvdata/ibm1167.h: Likewise.
18881 * iconvdata/ibm12712.h: Likewise.
18882 * iconvdata/ibm1390.h: Likewise.
18883 * iconvdata/ibm1399.h: Likewise.
18884 * iconvdata/ibm16804.h: Likewise.
18885 * iconvdata/ibm4517.h: Likewise.
18886 * iconvdata/ibm4899.h: Likewise.
18887 * iconvdata/ibm4909.h: Likewise.
18888 * iconvdata/ibm4971.h: Likewise.
18889 * iconvdata/ibm5347.h: Likewise.
18890 * iconvdata/ibm803.h: Likewise.
18891 * iconvdata/ibm856.h: Likewise.
18892 * iconvdata/ibm901.h: Likewise.
18893 * iconvdata/ibm902.h: Likewise.
18894 * iconvdata/ibm9030.h: Likewise.
18895 * iconvdata/ibm9066.h: Likewise.
18896 * iconvdata/ibm921.h: Likewise.
18897 * iconvdata/ibm922.h: Likewise.
18898 * iconvdata/ibm9448.h: Likewise.
18899 * iconvdata/isiri-3342.h: Likewise.
18900 * iconvdata/jis0201.h: Likewise.
18901 * include/link.h: Likewise.
18902 * include/netdb.h: Likewise.
18903 * inet/check_native.c: Likewise.
18904 * inet/check_pf.c: Likewise.
18905 * inet/getipv4sourcefilter.c: Likewise.
18906 * inet/getnameinfo.c: Likewise.
18907 * inet/getsourcefilter.c: Likewise.
18908 * inet/htonl.c: Likewise.
18909 * inet/setipv4sourcefilter.c: Likewise.
18910 * inet/setsourcefilter.c: Likewise.
18911 * inet/test-inet6_opt.c: Likewise.
18912 * inet/tst-network.c: Likewise.
18913 * locale/C-collate.c: Likewise.
18914 * locale/C-ctype.c: Likewise.
18915 * locale/C-time.c: Likewise.
18916 * locale/C-translit.h: Likewise.
18917 * locale/loadarchive.c: Likewise.
18918 * locale/programs/3level.h: Likewise.
18919 * locale/programs/charmap.c: Likewise.
18920 * locale/programs/charmap.h: Likewise.
18921 * locale/programs/ld-address.c: Likewise.
18922 * locale/programs/ld-collate.c: Likewise.
18923 * locale/programs/ld-ctype.c: Likewise.
18924 * locale/programs/ld-identification.c: Likewise.
18925 * locale/programs/ld-measurement.c: Likewise.
18926 * locale/programs/ld-messages.c: Likewise.
18927 * locale/programs/ld-monetary.c: Likewise.
18928 * locale/programs/ld-name.c: Likewise.
18929 * locale/programs/ld-numeric.c: Likewise.
18930 * locale/programs/ld-paper.c: Likewise.
18931 * locale/programs/ld-telephone.c: Likewise.
18932 * locale/programs/ld-time.c: Likewise.
18933 * locale/programs/linereader.c: Likewise.
18934 * locale/programs/locale.c: Likewise.
18935 * locale/programs/locarchive.c: Likewise.
18936 * locale/programs/locfile.h: Likewise.
18937 * locale/programs/repertoire.c: Likewise.
18938 * locale/programs/simple-hash.c: Likewise.
18939 * locale/programs/simple-hash.h: Likewise.
18940 * malloc/memusage.c: Likewise.
18941 * malloc/memusagestat.c: Likewise.
18942 * nis/nis_defaults.c: Likewise.
18943 * nis/nis_hash.c: Likewise.
18944 * nis/nis_print.c: Likewise.
18945 * nis/nis_xdr.c: Likewise.
18946 * nscd/connections.c: Likewise.
18947 * nscd/hstcache.c: Likewise.
18948 * nscd/nscd_gethst_r.c: Likewise.
18949 * nscd/nscd_getserv_r.c: Likewise.
18950 * nscd/nscd_helper.c: Likewise.
18951 * nscd/servicescache.c: Likewise.
18952 * nss/makedb.c: Likewise.
18953 * nss/nss_db/db-XXX.c: Likewise.
18954 * nss/nss_db/db-initgroups.c: Likewise.
18955 * nss/nss_db/db-netgrp.c: Likewise.
18956 * nss/nss_files/files-network.c: Likewise.
18957 * nss/nss_files/files-parse.c: Likewise.
18958 * posix/bug-regex5.c: Likewise.
18959 * posix/fnmatch_loop.c: Likewise.
18960 * posix/regcomp.c: Likewise.
18961 * posix/regexec.c: Likewise.
18962 * posix/tst-rfc3484-2.c: Likewise.
18963 * posix/tst-rfc3484-3.c: Likewise.
18964 * posix/tst-rfc3484.c: Likewise.
18965 * resolv/nss_dns/dns-canon.c: Likewise.
18966 * resolv/nss_dns/dns-network.c: Likewise.
18967 * resolv/res_init.c: Likewise.
18968 * resolv/res_mkquery.c: Likewise.
18969 * resolv/tst-aton.c: Likewise.
18970 * stdlib/cxa_atexit.c: Likewise.
18971 * stdlib/cxa_finalize.c: Likewise.
18972 * stdlib/gen-fpioconst.c: Likewise.
18973 * stdlib/strtol_l.c: Likewise.
18974 * string/tst-endian.c: Likewise.
18975 * sunrpc/auth_des.c: Likewise.
18976 * sunrpc/clnt_udp.c: Likewise.
18977 * sunrpc/rtime.c: Likewise.
18978 * sunrpc/svcauth_des.c: Likewise.
18979 * sunrpc/xdr.c: Likewise.
18980 * sunrpc/xdr_intXX_t.c: Likewise.
18981 * sunrpc/xdr_rec.c: Likewise.
18982 * sysdeps/generic/ldconfig.h: Likewise.
18983 * sysdeps/generic/ldsodefs.h: Likewise.
18984 * sysdeps/generic/memusage.h: Likewise.
18985 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18991 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18993 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18994 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18995 * sysdeps/posix/getaddrinfo.c: Likewise.
18996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18997 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18998 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19000 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19001 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19002 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19003 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19004 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19005 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19006 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19007 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19008 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19009 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19010 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19011 * sysdeps/x86_64/dl-tls.h: Likewise.
19012 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19013 * time/alt_digit.c: Likewise.
19014 * time/era.c: Likewise.
19015 * wcsmbs/tst-c16c32-1.c: Likewise.
19017 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19019 * math/libm-test.inc (struct test_sincos_data): New type.
19020 (RUN_TEST_LOOP_sincos): New macro.
19021 (sincos_test_data): New variable.
19022 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19024 2013-05-16 Richard Henderson <rth@redhat.com>
19026 * math/atest-exp2.c (LIMB64): New macro.
19027 (CONSTSZ): New macro.
19028 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19030 (print_mpn_fp): ... to function scope.
19031 (read_mpn_hex): Remove.
19032 (get_log2): Remove.
19033 (exp2_mpn): Use mp_log2.
19034 (main): Use mp_exp1.
19036 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19038 * math/libm-test.inc: Remove comment about not testing "inexact"
19040 (INEXACT_EXCEPTION): New macro.
19041 (NO_INEXACT_EXCEPTION): Likewise.
19042 (INVALID_EXCEPTION_OK): Update value.
19043 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19044 (OVERFLOW_EXCEPTION_OK): Likewise.
19045 (UNDERFLOW_EXCEPTION_OK): Likewise.
19046 (IGNORE_ZERO_INF_SIGN): Likewise.
19047 (ERRNO_UNCHANGED): Likewise.
19048 (ERRNO_EDOM): Likewise.
19049 (ERRNO_ERANGE): Likewise.
19050 (test_exceptions): Handle testing "inexact" exceptions.
19051 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19052 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19053 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19054 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19056 (rint_towardzero_test_data): Likewise.
19057 (rint_downward_test_data): Likewise.
19058 (rint_upward_test_data): Likewise.
19060 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19061 with OVERFLOW_EXCEPTION.
19062 (exp10_test_data): Likewise.
19063 (exp2_test_data): Likewise.
19064 (expm1_test_data): Likewise.
19065 (lgamma_test_data): Likewise.
19066 (pow_test_data): Likewise.
19067 (tgamma_test_data): Likewise.
19068 (yn_test_data): Remove duplicate test of overflow.
19070 * math/libm-test.inc (struct test_cc_c_data): New type.
19071 (RUN_TEST_LOOP_cc_c): New macro.
19072 (cpow_test_data): New variable.
19073 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19075 * math/libm-test.inc (struct test_f_L_data): New type.
19076 (RUN_TEST_LOOP_f_L): New macro.
19077 (llrint_test_data): New variable.
19078 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19079 (llrint_tonearest_test_data): New variable.
19080 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19081 (llrint_towardzero_test_data): New variable.
19082 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19083 (llrint_downward_test_data): New variable.
19084 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19085 (llrint_upward_test_data): New variable.
19086 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19087 (llround_test_data): New variable.
19088 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19090 2013-05-13 Peter Collingbourne <pcc@google.com>
19092 * math/atest-exp2.c (get_log2): Remove const attribute.
19094 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19096 * math/libm-test.inc (struct test_f_l_data): New type.
19097 (RUN_TEST_LOOP_f_l): New macro.
19098 (lrint_test_data): New variable.
19099 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19100 (lrint_tonearest_test_data): New variable.
19101 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19102 (lrint_towardzero_test_data): New variable.
19103 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19104 (lrint_downward_test_data): New variable.
19105 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19106 (lrint_upward_test_data): New variable.
19107 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19108 (lround_test_data): New variable.
19109 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19111 2013-05-15 Peter Collingbourne <pcc@google.com>
19113 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19114 (EXTRACT_WORDS64) Use where appropriate.
19115 (INSERT_WORDS64) Likewise.
19117 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19118 constraints with x constraints.
19119 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19121 * malloc/obstack.c (_obstack_compat): Add initializer.
19123 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19125 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19126 si_trapno and add si_addr_lsb to _sifields.sigfault.
19127 (si_trapno): Remove macro.
19128 (si_addr_lsb): Define new macro.
19129 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19131 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19133 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19134 instead of TEST_f_l.
19135 (llrint_test_tonearest): Likewise.
19136 (llrint_test_towardzero): Likewise.
19137 (llrint_test_downward): Likewise.
19138 (llrint_test_upward): Likewise.
19139 (llround_test): Likewise.
19141 * math/libm-test.inc (struct test_f_i_data): Add comment.
19142 (RUN_TEST_LOOP_f_b): New macro.
19143 (RUN_TEST_LOOP_f_b_tg): Likewise.
19144 (finite_test_data): New variable.
19145 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19146 (isfinite_test_data): New variable.
19147 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19148 (isinf_test_data): New variable.
19149 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19150 (isnan_test_data): New variable.
19151 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19152 (isnormal_test_data): New variable.
19153 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19154 (issignaling_test_data): New variable.
19155 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19156 (signbit_test_data): New variable.
19157 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19159 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19160 with INVALID_EXCEPTION.
19161 (acosh_test_data): Likewise.
19162 (asin_test_data): Likewise.
19163 (atanh_test_data): Likewise.
19164 (fmod_test_data): Likewise.
19165 (log_test_data): Likewise.
19166 (log10_test_data): Likewise.
19167 (log2_test_data): Likewise.
19168 (pow_test_data): Likewise.
19169 (sqrt_test_data): Likewise.
19170 (y0_test_data): Likewise.
19171 (y1_test_data): Likewise.
19172 (yn_test_data): Likewise.
19174 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19177 * math/libm-test.inc (struct test_ff_i_data): New type.
19178 (RUN_TEST_LOOP_ff_i_tg): New macro.
19179 (isgreater_test_data): New variable.
19180 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19181 (isgreaterequal_test_data): New variable.
19182 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19183 (isless_test_data): New variable.
19184 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19185 (islessequal_test_data): New variable.
19186 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19187 (islessgreater_test_data): New variable.
19188 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19189 (isunordered_test_data): New variable.
19190 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19192 2013-05-14 David S. Miller <davem@davemloft.net>
19194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19196 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19198 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19200 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19202 (struct test_f_i_data): Change type of max_ulp to int.
19204 * math/libm-test.inc (test_ffI_f1_data): New type.
19205 (RUN_TEST_LOOP_ffI_f1): New macro.
19206 (remquo_test_data): New variable.
19207 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19209 * setjmp/tst-setjmp-fp.c: New file.
19210 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19211 (link-libm): New variable.
19212 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19214 * math/libm-test.inc (struct test_f_i_data): New type.
19215 (RUN_TEST_LOOP_f_i): New macro.
19216 (RUN_TEST_LOOP_f_i_tg): Likewise.
19217 (fpclassify_test_data): New variable.
19218 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19219 (ilogb_test_data): New variable.
19220 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19222 * math/libm-test.inc (scalbln_test): Correct function name in END
19225 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19226 (RUN_TEST_LOOP_fI_f1): New macro.
19227 (frexp_test_data): New variable.
19228 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19230 * math/libm-test.inc (struct test_fF_f1_data): New type.
19231 (RUN_TEST_LOOP_fF_f1): New macro.
19232 (modf_test_data): New variable.
19233 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19235 * math/libm-test.inc (struct test_f_f1_data): New type.
19236 (RUN_TEST_LOOP_f_f1): New macro.
19237 (gamma_test_data): New variable.
19238 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19239 (lgamma_test_data): New variable.
19240 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19242 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19244 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19245 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19246 (main): Comment "tls" pseudo-hwcap.
19248 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19250 * math/libm-test.inc (struct test_fl_f_data): New type.
19251 (RUN_TEST_LOOP_fl_f): New variable.
19252 (scalbln_test_data): New variable.
19253 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19255 * math/libm-test.inc (struct test_fi_f_data): New type.
19256 (RUN_TEST_LOOP_fi_f): New macro.
19257 (ldexp_test_data): New variable.
19258 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19259 (scalbn_test_data): New variable.
19260 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19262 * math/libm-test.inc (struct test_c_f_data): New type.
19263 (RUN_TEST_LOOP_c_f): New macro.
19264 (cabs_test_data): New variable.
19265 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19266 (carg_test_data): New variable.
19267 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19268 (cimag_test_data): New variable.
19269 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19270 (creal_test_data): New variable.
19271 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19273 * math/libm-test.inc (struct test_if_f_data): New type.
19274 (RUN_TEST_LOOP_if_f): New macro.
19275 (jn_test_data): New variable.
19276 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19277 (yn_test_data): New variable.
19278 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19280 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19282 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19284 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19285 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19287 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19289 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19290 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19291 (bench-deps): Add bench-timing.h.
19292 * benchtests-bench-skeleton.c: Include bench-timing.h.
19293 (main): Use TIMING_* macros instead of clock_gettime.
19294 * benchtests/bench-timing.h: New file.
19297 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19298 Renamed from _LIB_VERSION.
19299 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19301 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19303 * math/libm-test.inc (struct test_fff_f_data): New type.
19304 (RUN_TEST_LOOP_fff_f): New macro.
19305 (fma_test_data): New variable.
19306 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19307 (fma_towardzero_test_data): New variable.
19308 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19309 (fma_downward_test_data): New variable.
19310 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19311 (fma_upward_test_data): New variable.
19312 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19314 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19315 (struct test_c_c_data): New type.
19316 (RUN_TEST_LOOP_c_c): New macro.
19317 (cacos_test_data): New variable.
19318 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19319 (cacosh_test_data): New variable.
19320 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19321 (casin_test_data): New variable.
19322 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19323 (casinh_test_data): New variable.
19324 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19325 (catan_test_data): New variable.
19326 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19327 (catanh_test_data): New variable.
19328 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19329 (ccos_test_data): New variable.
19330 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19331 (ccosh_test_data): New variable.
19332 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19333 (cexp_test_data): New variable.
19334 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19335 (clog_test_data): New variable.
19336 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19337 (clog10_test_data): New variable.
19338 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19339 (conj_test_data): New variable.
19340 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19341 (cproj_test_data): New variable.
19342 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19343 (csin_test_data): New variable.
19344 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19345 (csinh_test_data): New variable.
19346 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19347 (csqrt_test_data): New variable.
19348 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19349 (ctan_test_data): New variable.
19350 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19351 (ctan_tonearest_test_data): New variable.
19352 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19353 (ctan_towardzero_test_data): New variable.
19354 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19355 (ctan_downward_test_data): New variable.
19356 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19357 (ctan_upward_test_data): New variable.
19358 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19359 (ctanh_test_data): New variable.
19360 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19361 (ctanh_tonearest_test_data): New variable.
19362 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19363 (ctanh_towardzero_test_data): New variable.
19364 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19365 (ctanh_downward_test_data): New variable.
19366 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19367 (ctanh_upward_test_data): New variable.
19368 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19369 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19372 * math/libm-test.inc (struct test_ff_f_data): New type.
19373 (struct test_ff_f_data_nexttoward): Likewise.
19374 (RUN_TEST_LOOP_2_f): New macro.
19375 (RUN_TEST_LOOP_ff_f): Likewise.
19376 (atan2_test_data): New variable.
19377 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19378 (copysign_test_data): New variable.
19379 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19380 (fdim_test_data): New variable.
19381 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19382 (fmax_test_data): New variable.
19383 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19384 (fmin_test_data): New variable.
19385 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19386 (fmod_test_data): New variable.
19387 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19388 (hypot_test_data): New variable.
19389 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19390 (nextafter_test_data): New variable.
19391 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19392 (nexttoward_test_data): New variable.
19393 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19394 (pow_test_data): New variable.
19395 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19396 (pow_tonearest_test_data): New variable.
19397 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19398 (pow_towardzero_test_data): New variable.
19399 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19400 (pow_downward_test_data): New variable.
19401 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19402 (pow_upward_test_data): New variable.
19403 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19404 (remainder_test_data): New variable.
19405 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19406 (scalb_test_data): New variable.
19407 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19408 * sysdeps/i386/fpu/libm-test-ulps: Update.
19410 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19412 * math/libm-test.inc (fma_test): Use max_value instead of local
19414 (nextafter_test): Likewise.
19416 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19417 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19418 (acos_downward_test_data): New variable.
19419 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19420 (acos_upward_test_data): New variable.
19421 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19422 (acosh_test_data): New variable.
19423 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19424 (asin_test_data): New variable.
19425 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19426 (asin_tonearest_test_data): New variable.
19427 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19428 (asin_towardzero_test_data): New variable.
19429 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19430 (asin_downward_test_data): New variable.
19431 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19432 (asin_upward_test_data): New variable.
19433 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19434 (asinh_test_data): New variable.
19435 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19436 (atan_test_data): New variable.
19437 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19438 (atanh_test_data): New variable.
19439 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19440 (cbrt_test_data): New variable.
19441 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19442 (ceil_test_data): New variable.
19443 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19444 (cos_test_data): New variable.
19445 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19446 (cos_tonearest_test_data): New variable.
19447 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19448 (cos_towardzero_test_data): New variable.
19449 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19450 (cos_downward_test_data): New variable.
19451 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19452 (cos_upward_test_data): New variable.
19453 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19454 (cosh_test_data): New variable.
19455 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19456 (cosh_tonearest_test_data): New variable.
19457 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19458 (cosh_towardzero_test_data): New variable.
19459 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19460 (cosh_downward_test_data): New variable.
19461 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19462 (cosh_upward_test_data): New variable.
19463 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19464 (erf_test_data): New variable.
19465 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19466 (erfc_test_data): New variable.
19467 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19468 (exp_test_data): New variable.
19469 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19470 (exp_tonearest_test_data): New variable.
19471 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19472 (exp_towardzero_test_data): New variable.
19473 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19474 (exp_downward_test_data): New variable.
19475 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19476 (exp_upward_test_data): New variable.
19477 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19478 (exp10_test_data): New variable.
19479 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19480 (exp2_test_data): New variable.
19481 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19482 (expm1_test_data): New variable.
19483 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19484 (fabs_test_data): New variable.
19485 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19486 (floor_test_data): New variable.
19487 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19488 (j0_test_data): New variable.
19489 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19490 (j1_test_data): New variable.
19491 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19492 (log_test_data): New variable.
19493 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19494 (log10_test_data): New variable.
19495 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19496 (log1p_test_data): New variable.
19497 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19498 (log2_test_data): New variable.
19499 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19500 (logb_test_data): New variable.
19501 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19502 (logb_downward_test_data): New variable.
19503 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19504 (nearbyint_test_data): New variable.
19505 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19506 (rint_test_data): New variable.
19507 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19508 (rint_tonearest_test_data): New variable.
19509 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19510 (rint_towardzero_test_data): New variable.
19511 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19512 (rint_downward_test_data): New variable.
19513 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19514 (rint_upward_test_data): New variable.
19515 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19516 (round_test_data): New variable.
19517 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19518 (sin_test_data): New variable.
19519 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19520 (sin_tonearest_test_data): New variable.
19521 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19522 (sin_towardzero_test_data): New variable.
19523 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19524 (sin_downward_test_data): New variable.
19525 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19526 (sin_upward_test_data): New variable.
19527 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19528 (sinh_test_data): New variable.
19529 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19530 (sinh_tonearest_test_data): New variable.
19531 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19532 (sinh_towardzero_test_data): New variable.
19533 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19534 (sinh_downward_test_data): New variable.
19535 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19536 (sinh_upward_test_data): New variable.
19537 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19538 (sqrt_test_data): New variable.
19539 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19540 (tan_test_data): New variable.
19541 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19542 (tan_tonearest_test_data): New variable.
19543 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19544 (tan_towardzero_test_data): New variable.
19545 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19546 (tan_downward_test_data): New variable.
19547 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19548 (tan_upward_test_data): New variable.
19549 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19550 (tanh_test_data): New variable.
19551 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19552 (tgamma_test_data): New variable.
19553 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19554 (trunc_test_data): New variable.
19555 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19556 (y0_test_data): New variable.
19557 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19558 (y1_test_data): New variable.
19559 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19560 (significand_test_data): New variable.
19561 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19563 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19566 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19568 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19570 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19572 2013-05-10 Andreas Jaeger <aj@suse.de>
19575 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19576 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19578 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19580 * math/gen-libm-test.pl (adjust_arg): New function.
19581 (special_functions): Handle generating output in both functions
19583 (parse_args): Likewise.
19584 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19585 $in_func argument to parse_args.
19586 * math/libm-test.inc (struct test_f_f_data): New type.
19587 (IF_ROUND_INIT_): New macro.
19588 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19589 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19590 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19591 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19592 (ROUND_RESTORE_): Likewise.
19593 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19594 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19595 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19596 (ROUND_RESTORE_FE_UPWARD): Likewise.
19597 (RUN_TEST_LOOP_f_f): New macro.
19598 (acos_test_data): New variable.
19599 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19600 (acos_tonearest_test_data): New variable.
19601 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19603 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19605 * benchtests/bench-skeleton.c (startup): Fix coding style.
19607 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19610 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19611 negative infinity argument.
19612 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19613 negative infinity argument.
19614 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19615 negative infinity argument.
19616 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19619 2013-05-10 Florian Weimer <fweimer@redhat.com>
19621 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19622 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19623 * iconv/iconv_prog.c (main): Likewise.
19624 * locale/programs/charmap-dir.c (charmap_readdir)
19625 (fopen_uncompressed): Likewise.
19626 * locale/programs/locfile.c (siblings_uncached)
19627 (write_locale_data): Use lstat64 instead of lstat.
19628 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19631 2013-05-10 Andreas Jaeger <aj@suse.de>
19634 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19636 Include <locale.h>.
19638 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19640 * elf/dl-close.c (_dl_close_worker): Add comments.
19642 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19645 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19647 (__ieee754_rem_pio2l): Update comments.
19650 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19652 (__ieee754_rem_pio2l): Update comments.
19654 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19655 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19657 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19660 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19661 (M_PI_34_LOG10El): Likewise.
19662 (M_PI2_LOG10El): Likewise.
19663 (M_PI4_LOG10El): Likewise.
19664 (M_PI_LOG10El): Likewise.
19666 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19670 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19672 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19673 (MINUS_ZERO_INIT): Likewise.
19674 (PLUS_INFTY_INIT): Likewise.
19675 (MINUS_INFTY_INIT): Likewise.
19676 (QNAN_VALUE_INIT): Likewise.
19677 (MAX_VALUE_INIT): Likewise.
19678 (MIN_VALUE_INIT): Likewise.
19679 (MIN_SUBNORM_VALUE_INIT): Likewise.
19680 (plus_zero): Initialize with PLUS_ZERO_INIT.
19681 (minus_zero): Initialize with MINUS_ZERO_INIT.
19682 (plus_infty): Initialize with PLUS_INFTY_INIT.
19683 (minus_infty): Initialize with MINUS_INFTY_INIT.
19684 (qnan_value): Initialize with QNAN_VALUE_INIT.
19685 (max_value): Initialize with MAX_VALUE_INIT.
19686 (min_value): Initialize with MIN_VALUE_INIT.
19687 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19689 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19690 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19691 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19692 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19694 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19695 (RUN_TEST_2_f): Likewise.
19696 (RUN_TEST_ff_f): Likewise.
19697 (RUN_TEST_fi_f): Likewise.
19698 (RUN_TEST_fl_f): Likewise.
19699 (RUN_TEST_fff_f): Likewise.
19700 (RUN_TEST_c_f): Likewise.
19701 (RUN_TEST_f_f1): Likewise.
19702 (RUN_TEST_fF_f1): Likewise.
19703 (RUN_TEST_fI_f1): Likewise.
19704 (RUN_TEST_ffI_f1): Likewise.
19705 (RUN_TEST_c_c): Likewise.
19706 (RUN_TEST_cc_c): Likewise.
19707 (RUN_TEST_f_i): Likewise.
19708 (RUN_TEST_f_i_tg): Likewise.
19709 (RUN_TEST_ff_i_tg): Likewise.
19710 (RUN_TEST_f_b): Likewise.
19711 (RUN_TEST_f_b_tg): Likewise.
19712 (RUN_TEST_f_l): Likewise.
19713 (RUN_TEST_f_L): Likewise.
19714 (RUN_TEST_sincos): Likewise.
19715 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19716 whether to show exceptions. Do not include ");\n" in return
19718 (special_functions): Output call to RUN_TEST_sincos instead of
19719 check_float calls. Update calls to new_test.
19720 (parse_args): Output call to single RUN_TEST_* macro instead of
19721 check_* calls and other assignments. Update calls to new_test.
19727 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19728 input to result for tgamma overflow.
19729 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19730 (gamma_coeff): New variable.
19731 (NCOEFF): New macro.
19732 (gamma_positive): New function.
19733 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19734 underflow here. Use gamma_positive instead of exp (lgamma) for
19736 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19737 (gamma_coeff): New variable.
19738 (NCOEFF): New macro.
19739 (gammaf_positive): New function.
19740 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19741 underflow here. Use gamma_positive instead of exp (lgamma) for
19743 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19744 (gamma_coeff): New variable.
19745 (NCOEFF): New macro.
19746 (gammal_positive): New function.
19747 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19748 underflow here. Use gamma_positive instead of exp (lgamma) for
19750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19751 (gamma_coeff): New variable.
19752 (NCOEFF): New macro.
19753 (gammal_positive): New function.
19754 (__ieee754_gammal_r): Handle positive infinity, overflow and
19755 underflow here. Handle NaN the same as positive infinity. Remove
19756 check x < 0xffffffff for negative integers. Use gamma_positive
19757 instead of exp (lgamma) for other arguments.
19758 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19759 (gamma_coeff): New variable.
19760 (NCOEFF): New macro.
19761 (gammal_positive): New function.
19762 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19763 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19766 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19767 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19768 * sysdeps/generic/math_private.h (__gamma_productf): New
19770 (__gamma_product): Likewise.
19771 (__gamma_productl): Likewise.
19772 * math/Makefile (libm-calls): Add gamma_product.
19773 * math/libm-test.inc (tgamma_test): Add more tests.
19774 * sysdeps/i386/fpu/libm-test-ulps: Update.
19775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19777 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19779 * benchtests/bench-skeleton.c (main): Preheat CPU.
19781 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19783 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19785 2013-05-07 Roland McGrath <roland@hack.frob.com>
19787 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19788 and _dl_skip_args_internal.
19790 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19792 * manual/message.texi (Message Translation): Talk about users.
19793 Message to key mapping impacts design.
19795 2013-05-06 Roland McGrath <roland@hack.frob.com>
19797 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19799 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19801 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19802 * sysdeps/wordsize-64/glob64.c: ... here.
19804 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19805 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19808 * debug/getlogin_r_chk.c: Moved to ...
19809 * login/getlogin_r_chk.c: ... here.
19810 * debug/Makefile (routines): Move getlogin_r_chk to ...
19811 * login/Makefile (routines): ... here.
19812 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19813 * login/Versions (libc: GLIBC_2.4): ... here.
19815 * io/poll.c (__poll): Renamed from poll.
19816 Add libc_hidden_def.
19817 (poll): Define as weak alias.
19819 * debug/ptsname_r_chk.c: Moved to ...
19820 * login/ptsname_r_chk.c: ... here.
19821 * debug/Makefile (routines): Move ptsname_r_chk to ...
19822 * login/Makefile (routines): ... here.
19823 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19824 * login/Versions (libc: GLIBC_2.4): ... here.
19826 * posix/getlogin.c: Moved to ...
19827 * login/getlogin.c: ... here.
19828 * posix/getlogin_r.c: Moved to ...
19829 * login/getlogin_r.c: ... here.
19830 * posix/getlogin_r.c: Moved to ...
19831 * login/getlogin_r.c: ... here.
19832 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19833 * login/Makefile (routines): ... here.
19834 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19835 * login/Versions (libc: GLIBC_2.0): ... here.
19837 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19838 (setrlimit): Define as weak alias.
19840 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19841 Call __ names for open, ftruncate, and close.
19842 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19843 (truncate): Define as weak alias.
19845 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19847 * math/gen-libm-test.pl (parse_args): Initialize x before each
19848 test of frexp, modf and remquo.
19850 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19851 test signgam value.
19853 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19857 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19859 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19861 2013-05-06 Roland McGrath <roland@hack.frob.com>
19863 * elf/dl-writev.h: New file.
19864 * elf/dl-misc.c: Include it.
19865 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19866 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19868 2013-05-04 Joseph Myers <joseph@codesourcery.com>
19870 * math/libm-test.inc (noXFails): Remove variable.
19871 (noXPasses): Likewise.
19872 (BUILD_COMPLEX_INT): Remove macro.
19873 (print_screen): Remove xfail argument.
19874 (print_screen_max_error): Likewise.
19875 (update_stats): Likewise.
19876 (print_max_error): Likewise. Update calls to other affected
19878 (print_complex_max_error): Likewise.
19879 (test_single_exception): Update calls to print_screen.
19880 (test_single_errno): Likewise.
19881 (check_float_internal): Remove xfail argument. Update calls to
19882 other affected functions.
19883 (check_float): Likewise.
19884 (check_complex): Likewise.
19885 (check_int): Likewise.
19886 (check_long): Likewise.
19887 (check_bool): Likewise.
19888 (check_longlong): Likewise.
19889 (main): Don't print noXFails and noXPasses.
19890 * math/gen-libm-test.pl (top level): Don't mention expected
19891 failure handling in comment.
19892 (new_test): Don't handle expected failures.
19893 (parse_args): Don't mention expected failure handling in comment.
19894 (generate_testfile): Don't handle expected failures.
19895 (parse_ulps): Likewise.
19896 (print_ulps_file): Likewise.
19897 (get_failure): Remove function.
19898 (output_test): Don't handle expected failures.
19899 * make/README.libm-test: Don't mention expected failure handling.
19901 * math/libm-test.inc (plus_zero): Make const. Add initializer.
19902 (minus_zero): Likewise.
19903 (plus_infty): Likewise.
19904 (minus_infty): Likewise.
19905 (qnan_value): Likewise.
19906 (max_value): Likewise.
19907 (min_value): Likewise.
19908 (min_subnorm_value): Likewise.
19909 (initialize): Do not initialize those variables dynamically.
19911 2013-05-03 Roland McGrath <roland@hack.frob.com>
19913 * io/open.c (__open_2): Moved to ...
19914 * io/open_2.c: ... this new file.
19915 * io/open64.c (__open64_2): Moved to ...
19916 * io/open64_2.c: ... this new file.
19917 * io/openat.c (__openat_2): Moved to ...
19918 * io/openat_2.c: ... this new file.
19919 * io/openat64.c (__openat64_2): Moved to ...
19920 * io/openat64_2.c: ... this new file.
19921 * io/Makefile (routines): Add them.
19922 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19923 * sysdeps/unix/sysv/linux/open_2.c: File removed.
19924 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19925 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19926 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19927 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19928 (__openat64): Add hidden_ver.
19929 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19930 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19932 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19933 Separately conditionalize setting of GLRO(dl_sysinfo) so
19934 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19935 as well, but the actual setting is only under [NEED_DL_SYSINFO].
19937 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19939 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19940 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19942 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19943 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19944 (_libc_vdso_platform_setup): Add __vdso_time initialization.
19945 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19946 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19948 2013-05-03 Joseph Myers <joseph@codesourcery.com>
19950 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19951 test signgam value.
19953 * math/libm-test.inc (hypot_test): Do not use
19954 IGNORE_ZERO_INF_SIGN.
19956 2013-05-03 Andreas Jaeger <aj@suse.de>
19958 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19960 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19961 (PF_MAX): Adjust for VSOCK change.
19963 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19967 2013-05-02 Carlos O'Donell <carlos@redhat.com>
19970 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19971 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19972 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19974 2013-05-02 David S. Miller <davem@davemloft.net>
19976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19978 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
19980 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19982 2013-05-01 Roland McGrath <roland@hack.frob.com>
19984 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19986 2013-05-01 Richard Smith <richard@metafoo.co.uk>
19989 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19990 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19991 Use __attribute__ ((__gnu_inline__)).
19992 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19993 Don't use __attribute__ ((__gnu_inline__)).
19995 2013-05-01 Joseph Myers <joseph@codesourcery.com>
19998 * math/s_catan.c (__catan): Handle small real or imaginary part of
19999 input specially to avoid spurious underflow.
20000 * math/s_catanf.c (__catanf): Likewise.
20001 * math/s_catanh.c (__catanh): Likewise.
20002 * math/s_catanhf.c (__catanhf): Likewise.
20003 * math/s_catanhl.c (__catanhl): Likewise.
20004 * math/s_catanl.c (__catanl): Likewise.
20005 * math/libm-test.inc (catan_test): Add more tests.
20006 (catanh_test): Likewise.
20007 * sysdeps/i386/fpu/libm-test-ulps: Update.
20008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20010 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20014 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20017 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20018 accurately for denominator in atan2.
20019 * math/s_catanf.c (__catanf): Likewise.
20020 * math/s_catanh.c (__catanh): Likewise.
20021 * math/s_catanhf.c (__catanhf): Likewise.
20022 * math/s_catanhl.c (__catanhl): Likewise.
20023 * math/s_catanl.c (__catanl): Likewise.
20024 * math/libm-test.inc (catan_test): Add more tests.
20025 (catanh_test): Likewise.
20026 * sysdeps/i386/fpu/libm-test-ulps: Update.
20027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20031 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20033 * benchtests/Makefile (bench): Remove slow benchmarks.
20034 * benchtests/atan-inputs: Add slow benchmark inputs.
20035 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20036 (BENCH_FUNC): Accept variant offset.
20038 * benchtests/bench-skeleton.c (main): Run benchmark for each
20040 * benchtests/cos-inputs: Add slow benchmark inputs.
20041 * benchtests/exp-inputs: Likewise.
20042 * benchtests/pow-inputs: Likewise.
20043 * benchtests/sin-inputs: Likewise.
20044 * benchtests/slowatan-inputs: Remove.
20045 * benchtests/slowatan.c: Remove.
20046 * benchtests/slowcos-inputs: Remove.
20047 * benchtests/slowcos.c: Remove.
20048 * benchtests/slowexp-inputs: Remove.
20049 * benchtests/slowexp.c: Remove.
20050 * benchtests/slowpow-inputs: Remove.
20051 * benchtests/slowpow.c: Remove.
20052 * benchtests/slowsin-inputs: Remove.
20053 * benchtests/slowsin.c: Remove.
20054 * benchtests/slowtan-inputs: Remove.
20055 * benchtests/slowtan.c: Remove.
20056 * benchtests/tan-inputs: Add slow benchmark inputs.
20057 * scripts/bench.pl: Parse comments and directives.
20059 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20061 ($(objpfx)bench-%.c): Remove *-ITER.
20062 * benchtests/bench-modf.c: Remove definition of ITER.
20063 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20064 (main): Loop for DURATION seconds instead of fixed number of
20066 * scripts/bench.pl: Don't expect iterations in parameters.
20068 2013-04-29 Roland McGrath <roland@hack.frob.com>
20070 * io/fchdir.c (__fchdir): Renamed from fchdir.
20071 (fchdir): Define as weak alias.
20073 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20075 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20076 (ERRNO_EDOM): Likewise.
20077 (ERRNO_ERANGE): Likewise.
20078 (noErrnoTests): New variable.
20079 (init_max_error): Set errno to 0.
20080 (test_single_errno): New function.
20081 (test_errno): Likewise.
20082 (check_float_internal): Call test_errno. Set errno to 0.
20083 (check_complex): Refer to errno tests in comment.
20084 (check_int): Call test_errno. Set errno to 0.
20085 (check_long): Likewise.
20086 (check_bool): Likewise.
20087 (check_longlong): Likewise.
20088 (cos_test): Use ERRNO_* flags for errno tests instead of
20090 (expm1_test): Likewise.
20091 (fmod_test): Likewise.
20092 (ilogb_test): Likewise.
20093 (lgamma_test): Likewise.
20094 (pow_test): Likewise.
20095 (remainder_test): Likewise.
20096 (sin_test): Likewise.
20097 (tan_test): Likewise.
20098 (yn_test): Likewise.
20099 (initialize): Set errno to 0.
20100 (main): Print number of errno tests.
20101 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20103 2013-04-29 Andreas Jaeger <aj@suse.de>
20106 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20110 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20111 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20115 * stdlib/random.c (__initstate): Return NULL if
20119 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20120 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20123 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20127 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20129 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20130 of individual tests.
20131 (casin_test): Likewise.
20132 (casinh_test): Likewise.
20134 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20137 * math/s_catan.c (__catan): Handle arguments with large real or
20138 imaginary part separately without squaring.
20139 * math/s_catanf.c (__catanf): Likewise.
20140 * math/s_catanh.c (__catanh): Likewise.
20141 * math/s_catanhf.c (__catanhf): Likewise.
20142 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20144 (__catanhl): Handle arguments with large real or imaginary part
20145 separately without squaring.
20146 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20148 (__catanl): Handle arguments with large real or imaginary part
20149 separately without squaring.
20150 * math/libm-test.inc (catan_test): Add more tests.
20151 (catanh_test): Likewise.
20152 * sysdeps/i386/fpu/libm-test-ulps: Update.
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155 2013-04-27 Andreas Jaeger <aj@suse.de>
20158 * stdlib/stdlib.h: Update guards for qecvt.
20159 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20162 2013-04-27 Allan McRae <allan@archlinux.org>
20164 * sysdeps/i386/fpu/libm-test-ulps: Update.
20166 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20169 * math/s_catan.c: Include <float.h>.
20170 (__catan): Ensure underflow exception occurs for underflowed
20172 * math/s_catanf.c: Include <float.h>.
20173 (__catanf): Ensure underflow exception occurs for underflowed
20175 * math/s_catanh.c: Include <float.h>.
20176 (__catanh): Ensure underflow exception occurs for underflowed
20178 * math/s_catanhf.c: Include <float.h>.
20179 (__catanhf): Ensure underflow exception occurs for underflowed
20181 * math/s_catanhl.c: Include <float.h>.
20182 (__catanhl): Ensure underflow exception occurs for underflowed
20184 * math/s_catanl.c: Include <float.h>.
20185 (__catanl): Ensure underflow exception occurs for underflowed
20187 * math/libm-test.inc (catan_test): Add more tests.
20188 (catanh_test): Likewise.
20191 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20192 underflowed result.
20193 * math/s_ccoshf.c (__ccoshf): Likewise.
20194 * math/s_ccoshl.c (__ccoshl): Likewise.
20195 * math/s_csin.c (__csin): Likewise.
20196 * math/s_csinf.c (__csinf): Likewise.
20197 * math/s_csinh.c (__csinh): Likewise.
20198 * math/s_csinhf.c (__csinhf): Likewise.
20199 * math/s_csinhl.c (__csinhl): Likewise.
20200 * math/s_csinl.c (__csinl): Likewise.
20201 * math/libm-test.inc (ccos_test): Add more tests.
20202 (ccosh_test): Likewise.
20203 (csin_test): Likewise.
20204 (csinh_test): Likewise.
20206 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20208 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20209 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20210 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20211 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20212 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20213 powerpc/power5+/fpu folders.
20214 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20217 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20221 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20223 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20224 additions to variable.
20225 [$(config-machine) = x86_64] (modules-names): Likewise.
20226 ($(objpfx)tst-audit3): Remove dependency.
20227 ($(objpfx)tst-audit3.out): Likewise.
20228 ($(objpfx)tst-audit4): Likewise.
20229 ($(objpfx)tst-audit4.out): Likewise.
20230 ($(objpfx)tst-audit5): Likewise.
20231 ($(objpfx)tst-audit5.out): Likewise.
20232 ($(objpfx)tst-audit6): Likewise.
20233 ($(objpfx)tst-audit6.out): Likewise.
20234 ($(objpfx)tst-audit7): Likewise.
20235 ($(objpfx)tst-audit7.out): Likewise.
20236 (tst-audit3-ENV): Remove variable.
20237 (tst-audit4-ENV): Likewise.
20238 (tst-audit5-ENV): Likewise.
20239 (tst-audit6-ENV): Likewise.
20240 (tst-audit7-ENV): Likewise.
20241 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20242 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20243 addition to variable.
20244 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20245 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20246 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20247 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20248 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20249 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20250 tst-audit3, tst-audit4 and tst-audit5.
20251 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20252 tst-audit6 and tst-audit7.
20253 [$(subdir) = elf] (modules-names): Add audit modules for those
20255 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20256 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20257 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20258 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20259 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20260 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20261 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20262 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20263 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20264 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20265 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20266 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20267 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20268 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20269 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20270 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20272 [$(subdir) = elf && $(config-cflags-avx) = yes]
20273 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20274 [$(subdir) = elf && $(config-cflags-avx) = yes]
20275 (CFLAGS-tst-auditmod4a.c): Likewise.
20276 [$(subdir) = elf && $(config-cflags-avx) = yes]
20277 (CFLAGS-tst-auditmod4b.c): Likewise.
20278 [$(subdir) = elf && $(config-cflags-avx) = yes]
20279 (CFLAGS-tst-auditmod6b.c): Likewise.
20280 [$(subdir) = elf && $(config-cflags-avx) = yes]
20281 (CFLAGS-tst-auditmod6c.c): Likewise.
20282 [$(subdir) = elf && $(config-cflags-avx) = yes]
20283 (CFLAGS-tst-auditmod7b.c): Likewise.
20284 * elf/tst-audit3.c: Move to ...
20285 * sysdeps/x86_64/tst-audit3.c: ... here.
20286 * elf/tst-audit4.c: Move to ...
20287 * sysdeps/x86_64/tst-audit4.c: ... here.
20288 * elf/tst-audit5.c: Move to ...
20289 * sysdeps/x86_64/tst-audit5.c: ... here.
20290 * elf/tst-audit6.c: Move to ...
20291 * sysdeps/x86_64/tst-audit6.c: ... here.
20292 * elf/tst-audit7.c: Move to ...
20293 * sysdeps/x86_64/tst-audit7.c: ... here.
20294 * elf/tst-auditmod3a.c: Move to ...
20295 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20296 * elf/tst-auditmod3b.c: Move to ...
20297 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20298 * elf/tst-auditmod4a.c: Move to ...
20299 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20300 * elf/tst-auditmod4b.c: Move to ...
20301 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20302 * elf/tst-auditmod5a.c: Move to ...
20303 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20304 * elf/tst-auditmod5b.c: Move to ...
20305 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20306 * elf/tst-auditmod6a.c: Move to ...
20307 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20308 * elf/tst-auditmod6b.c: Move to ...
20309 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20310 * elf/tst-auditmod6c.c: Move to ...
20311 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20312 * elf/tst-auditmod7a.c: Move to ...
20313 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20314 * elf/tst-auditmod7b.c: Move to ...
20315 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20317 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20320 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20321 define unconditionally.
20322 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20323 define unconditionally.
20324 (INT8_C, INT16_C, etc.): Likewise.
20326 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20328 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20329 __ehdr_start with hidden visibility.
20331 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20333 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20335 * math/libm-test.inc (cos_test): Use accurate hex constants.
20336 (sincost_test): Likewise.
20338 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20340 * math/libm-test.inc (catan_test): Add more tests.
20341 (catanh_test): Likewise.
20343 * math/s_catanf.c (__catanf): Use suffixed floating-point
20345 * math/s_catanhf.c (__catanhf): Likewise.
20346 * math/s_catanhl.c (__catanhl): Likewise.
20347 * math/s_catanl.c (__catanl): Likewise.
20350 * math/s_catan.c (__catan): Calculate imaginary part of result
20351 with log1p not log unless computing log of number close to 0.
20352 * math/s_catanf.c (__catanf): Likewise.
20353 * math/s_catanl.c (__catanl): Likewise.
20354 * math/s_catanh.c (__catanh): Calculate real part of result with
20355 log1p not log unless computing log of number close to 0.
20356 * math/s_catanhf.c (__catanhf): Likewise.
20357 * math/s_catanhl.c (__catanhl): Likewise.
20358 * math/libm-test.inc (catan_test): Add more tests.
20359 (catanh_test): Likewise.
20360 * sysdeps/i386/fpu/libm-test-ulps: Update.
20361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20363 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20365 * benchtests/Makefile: Mention files in which fast and slow
20366 paths of math functions are implemented.
20368 2013-04-23 Roland McGrath <roland@hack.frob.com>
20370 * sysdeps/posix/timespec_get.c: New file.
20372 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20374 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20376 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20378 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20379 powerpc/power5/fpu folders.
20380 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20381 * benchtests/Makefile: Add modf testcase.
20382 * benchtests/bench-modf.c: New file: Benchmark test for mo
20384 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20387 * time/Makefile (tests): Add tst-strptime-whitespace.
20388 * time/strptime_l.c (get_number): Use ISSPACE.
20389 (__strptime_internal): Likewise.
20390 * time/tst-strptime-whitespace.c: New test case.
20392 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20394 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20396 (_nss_files_init): Set it here.
20398 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20400 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20401 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20404 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20406 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20408 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20413 2013-04-21 David S. Miller <davem@davemloft.net>
20415 * po/ru.po: Update Russion translation from translation project.
20417 2013-04-17 Adam Conrad <adconrad@0c3.net>
20419 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20422 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20424 * configure.in: Remove i386 configure warning. Remove i386 case.
20425 * configure: Regenerate.
20426 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20427 Add example to error message.
20428 * sysdeps/i386/configure: Regenerate.
20430 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20432 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20434 * benchtests/cos-inputs: New file.
20435 * benchtests/slowcos-inputs: New file.
20436 * benchtests/slowcos.c: New file.
20437 * benchtests/slowtan-inputs: New file.
20438 * benchtests/slowtan.c: New file.
20439 * benchtests/tan-inputs: New file.
20441 2013-04-16 Roland McGrath <roland@hack.frob.com>
20443 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20446 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20448 * benchtests/Makefile: Include cppflags-iterator.mk to add
20449 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20451 * Makefile.in (bench-clean): New target.
20452 * benchtests/Makefile (bench-clean): Likewise.
20454 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20456 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20458 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20460 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20462 2013-04-15 Andreas Schwab <schwab@suse.de>
20464 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20465 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20466 * nscd/pwdcache.c (cache_addpw): Likewise.
20467 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20470 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20472 * benchtests/Makefile (bench): Write all output to
20473 bench-out.tmp together.
20475 2013-04-15 Andreas Schwab <schwab@suse.de>
20477 * nscd/nscd.c (main): Don't fork again after closing files.
20479 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20481 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20483 * benchtests/Rules (bench-deps): Collect dependencies into a
20484 single variable. Add Makefile to dependencies.
20485 ($(objpfx)bench-%.c): Depend on bench-deps.
20487 2013-04-12 Roland McGrath <roland@hack.frob.com>
20488 Xavier Roche <roche+kml2@exalead.com>
20491 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20492 just that it's a file descriptor.
20493 * manual/llio.texi (Synchronizing AIO Operations): Update description
20494 for EBADF error from aio_fsync.
20496 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20498 * Rules (bench): Move target definition...
20499 * benchtests/Makefile: ... here.
20501 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20503 * math/libm-test.inc (cos_test): Fix PI/2 test.
20504 (sincos_test): Likewise.
20505 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20506 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20508 2013-04-11 Andreas Schwab <schwab@suse.de>
20511 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20512 accept exponent character only when digits were seen.
20513 * stdio-common/Makefile (tests): Add bug26.
20514 * stdio-common/bug26.c: New file.
20517 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20520 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20522 * Makeconfig (rtld-prefix): Define built linker prefix.
20523 * Rules (run-bench): Use it.
20524 * math/Makefile (run-regen-ulps): Likewise.
20526 * Rules (bench): Remove eval.
20528 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20529 Roland McGrath <roland@hack.frob.com>
20530 Ondrej Bilka <neleai@seznam.cz>
20533 * time/getdate.c: Include ctype.h and alloca.h.
20534 (__getdate_r): Trim leading and trailing spaces of input.
20535 * time/tst-getdate.c (tests): Add tests with leading and
20538 2013-04-08 Roland McGrath <roland@hack.frob.com>
20541 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20542 when computing value.
20544 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20546 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20547 Use testrun.sh to run libm tests.
20550 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20552 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20555 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20557 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20559 * Makefile.in (regen-ulps): New target.
20560 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20561 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20562 [ifneq (no,$(PERL)] (regen-ulps): New target.
20563 [ifeq (no,$(PERL)] (regen-ulps): New target.
20564 * math/libm-test.inc (ulps_file_name): Define.
20565 (output_dir): New variable.
20566 (options): Add "output-dir" option.
20567 (parse_opt): Handle 'o' case.
20568 (main): If output_dir is non-NULL use it as a prefix
20570 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20572 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20574 [BZ #10060, #10062]
20575 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20576 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20577 fail configure if __sync_val_compare_and_swap is not inlined.
20578 * sysdeps/i386/configure: Regenerate.
20579 * configure.in: Build for i686 when configured for i386.
20580 * configure: Regenerate.
20581 * README: Remove i386 reference.
20583 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20585 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20586 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20588 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20590 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20591 (lmsnanval): New variables.
20592 (F): Add conversion tests.
20593 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20594 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20596 * stdio-common/tstdiomisc.c (F): Properly collect individual
20599 [BZ #14686, #15336]
20600 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20601 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20602 Instead, use input NaN values or generate a qNaN by arithmetic
20603 operation. Also fix bugs to comply with the standard.
20604 * math/libm-test.inc (remainder_test): Add more tests.
20606 [BZ #15335, #15342]
20607 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20609 input NaN values or generate a qNaN by arithmetic operation.
20611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20614 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20617 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20620 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20621 underflowed result.
20622 * math/s_cexpf.c (__cexpf): Likewise.
20623 * math/s_cexpl.c (__cexpl): Likewise.
20624 * math/libm-test.inc (cexp_test): Add more tests.
20626 2013-04-03 Andreas Schwab <schwab@suse.de>
20629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20630 order arrays from heap if bigger than alloca cutoff.
20632 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20634 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20635 (SNAN_TESTS_double): Refer to GCC PR56831.
20636 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20639 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20641 * Rules (bench): Move bench.out after the run is complete.
20643 * Rules (bench): Echo currently running benchmark.
20645 * benchtests/Makefile (bench): Add atan and slowatan.
20646 * benchtests/atan-inputs: New file.
20647 * benchtests/slowatan-inputs: New file.
20648 * benchtests/slowatan.c: New file.
20650 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20655 * sysdeps/unix/sysv/linux/kernel-features.h
20656 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20657 __ASSUME_XFS_RESTRICTED_CHOWN.
20658 * sysdeps/unix/sysv/linux/pathconf.c
20659 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20660 Save and restore errno.
20662 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20665 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20666 arguments using __kernel_casinh.
20667 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20668 arguments using __kernel_casinhf.
20669 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20670 arguments using __kernel_casinhl.
20671 * math/libm-test.inc (cacosh_test): Add more tests.
20672 * sysdeps/i386/fpu/libm-test-ulps: Update.
20673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20675 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20677 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20678 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20680 * bench/Makefile (bench): Add sin and slowsin.
20681 * benchtests/sin-inputs: New file.
20682 * benchtests/slowsin-inputs: New file.
20683 * benchtests/slowsin.c: New file.
20685 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20686 (bench): Add slowexp and slowpow.
20687 (exp-ITER): Increase iterations.
20688 (pow-ITER): Likewise.
20689 * benchtests/exp-inputs: Change input.
20690 * benchtests/pow-inputs: Likewise.
20691 * benchtests/slowexp-inputs: New file.
20692 * benchtests/slowexp.c: New file.
20693 * benchtests/slowpow-inputs: New file.
20694 * benchtests/slowpow.c: New file.
20696 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20698 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20700 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20701 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20702 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20703 * benchtests/Makefile: Add rint benchtest.
20704 * benchtests/rint-inputs: Input for rint benchtest.
20706 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20708 * Versions.def (libm): Add GLIBC_2.18.
20709 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20710 hidden libm prototypes.
20711 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20712 * math/Makefile (libm-calls): Add s_issignaling.
20713 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20714 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20715 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20717 * math/math.h [__USE_GNU] (issignaling): New macro.
20718 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20719 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20720 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20721 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20722 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20723 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20724 * manual/arith.texi (issignaling): New section.
20725 * manual/libm-err-tab.pl (@all_functions): Update comment.
20726 * math/gen-libm-test.pl (parse_args): Apply special handling for
20728 * math/libm-test.inc (print_float, issignaling_test): New
20730 (check_float_internal): Add issignaling checks.
20731 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20732 default definition.
20733 * sysdeps/powerpc/math-tests.h: New file.
20734 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20736 * math/test-snan.c (TEST_FUNC): Likewise.
20738 2013-03-30 David S. Miller <davem@davemloft.net>
20740 * po/de.po: Update from translation team.
20742 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20745 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20746 imaginary part less than 1.0 and real part less than 0.5
20748 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20749 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20750 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20751 (cacos_test): Add more tests.
20752 (casin_test): Likewise.
20753 (casinh_test): Likewise.
20754 * sysdeps/i386/fpu/libm-test-ulps: Update.
20755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20757 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20759 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20760 ONE with its value.
20762 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20763 (__pow_mp): Replace ONE and MONE with their values.
20764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20765 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20766 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20767 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20768 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20771 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20773 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20774 (__pow_mp): Replace ZERO and MZERO with their values.
20775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20776 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20777 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20779 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20780 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20783 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20785 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20787 2013-03-28 Roland McGrath <roland@hack.frob.com>
20789 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20790 Declare with __attribute__ ((weak)).
20791 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20792 Call __call_tls_dtors only if it's not NULL.
20794 2013-03-28 Roland McGrath <roland@hack.frob.com>
20796 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20797 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20798 magic __ehdr_start linker symbol if it's defined.
20799 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20800 them up here if it was already done.
20802 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20803 (_dl_aux_init): Use const in cast when setting it.
20804 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20805 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20806 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20808 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20810 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20811 * csu/libc-tls.c: Nor here.
20812 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20814 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20815 (__libc_message): Never call vsyslog.
20817 2013-03-28 Alan Modra <amodra@gmail.com>
20819 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20821 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20824 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20827 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20831 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20834 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20835 Don't add gid passed as argument.
20837 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20839 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20842 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20843 imaginary part between 1.0 and 1.5 and real part less than 0.5
20845 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20846 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20847 * math/libm-test.inc (cacos_test): Add more tests.
20848 (casin_test): Likewise.
20849 (casinh_test): Likewise.
20850 * sysdeps/i386/fpu/libm-test-ulps: Update.
20851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20853 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20855 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20858 (denorm): Likewise.
20859 (__dbl_mp): Likewise.
20860 (add_magnitudes): Likewise.
20861 (sub_magnitudes): Likewise.
20869 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20871 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20872 (__dubcos): Likewise.
20873 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20874 (__ieee754_acos): Likewise.
20875 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20877 (__exp1): Likewise.
20878 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20881 (my_log2): Likewise.
20882 (checkint): Likewise.
20883 * sysdeps/ieee754/dbl-64/e_remainder.c
20884 (__ieee754_remainder): Likewise.
20885 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20886 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20887 (bsloww): Likewise.
20888 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20890 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20891 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20892 MANTISSA_STORE_T to store computations on mantissa. Use
20893 macros for rounding and division.
20894 (denorm): Likewise.
20895 (__dbl_mp): Likewise.
20896 (add_magnitudes): Likewise.
20897 (sub_magnitudes): Likewise.
20900 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20901 powers of two in terms of TWOPOW macro.
20902 (mp_no): Make type of mantissa as MANTISSA_T.
20903 [!RADIXI]: Define RADIXI.
20904 [!TWO52]: Define TWO52.
20905 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20907 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20909 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20910 llroundl symbol when building for PPC32.
20912 2013-03-24 Mark H Weaver <mhw@netris.org>
20914 * manual/arith.texi (Normalization Functions): Fix prototypes for
20915 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20917 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20920 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20921 high value to check if expl overflow.
20922 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20923 to check for underflow and overflow.
20924 * math/libm-test.inc: Add exp test.
20926 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
20929 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20932 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20934 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20937 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
20939 * math/gen-libm-test.pl (parse_args, special_functions): Properly
20940 wrap blocks consisting of several statements.
20942 * sysdeps/generic/math-tests.h: New file.
20943 * sysdeps/i386/fpu/math-tests.h: Likewise.
20944 * math/test-snan.c: Include it.
20945 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20947 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20950 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20951 (__ieee754_j0l): Do not improve calculations using cos of twice
20952 input for inputs above LDBL_MAX / 2.0L.
20953 (__ieee754_y0l): Likewise.
20954 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20955 (__ieee754_j1l): Do not improve calculations using cos of twice
20956 input for inputs above LDBL_MAX / 2.0L.
20957 (__ieee754_y1l): Likewise.
20958 * math/libm-test.inc (j0_test): Add another test.
20959 (j1_test): Likewise.
20960 (y0_test): Likewise.
20961 (y1_test): Likewise.
20962 * sysdeps/i386/fpu/libm-test-ulps: Update.
20964 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20966 * Rules ($(objpfx)bench-%.c): Include code from a C source
20969 2013-03-21 Joseph Myers <joseph@codesourcery.com>
20972 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20973 imaginary part 1.0 and real part less than 0.5 specially.
20974 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20975 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20976 * math/libm-test.inc (cacos_test): Add more tests.
20977 (casin_test): Likewise.
20978 (casinh_test): Likewise.
20979 * sysdeps/i386/fpu/libm-test-ulps: Update.
20980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20982 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20985 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20987 2013-03-20 Joseph Myers <joseph@codesourcery.com>
20989 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20990 * config.make.in (config-cflags-sse4): Remove variable.
20991 (config-cflags-avx): Likewise.
20992 (config-cflags-sse2avx): Likewise.
20993 (config-cflags-novzeroupper): Likewise.
20994 (config-asflags-i686): Likewise.
20995 (have-mfma4): Likewise.
20996 (have-as-vis3): Likewise.
20998 * configure.in (MIG): Do not AC_SUBST.
20999 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21000 (libc_cv_cc_sse4): Do not AC_SUBST.
21001 (libc_cv_cc_avx): Likewise.
21002 (libc_cv_cc_sse2avx): Likewise.
21003 (libc_cv_cc_novzeroupper): Likewise.
21004 (libc_cv_cc_fma4): Likewise.
21005 (libc_cv_as_i686): Likewise.
21006 (libc_cv_sparc_as_vis3): Likewise.
21007 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21009 (config-asflags-i686): Likewise.
21010 (config-cflags-avx): Likewise.
21011 (config-cflags-sse2avx): Likewise.
21012 (have-mfma4): Likewise.
21013 (config-cflags-novzeroupper): Likewise.
21014 * sysdeps/mach/configure.in (MIG): Likewise.
21015 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21016 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21018 (config-cflags-avx): Likewise.
21019 (config-cflags-sse2avx): Likewise.
21020 (have-mfma4): Likewise.
21021 (config-cflags-novzeroupper): Likewise.
21022 * configure: Regenerated.
21023 * sysdeps/i386/configure: Likewise.
21024 * sysdeps/mach/configure: Likewise.
21025 * sysdeps/sparc/configure: Likewise.
21026 * sysdeps/x86_64/configure: Likewise.
21028 2013-03-20 Roland McGrath <roland@hack.frob.com>
21031 * locale/programs/localedef.c (options): Put N_ translation marker
21032 on argument names, not just descriptions.
21034 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21036 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21038 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21041 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21043 2013-03-19 Roland McGrath <roland@hack.frob.com>
21045 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21046 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21047 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21048 [!BEFORE_ABORT] (before_abort): New function.
21049 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21050 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21051 (writev_for_fatal): New function.
21052 (WRITEV_FOR_FATAL): New macro; call that.
21053 (backtrace_and_maps): New function.
21054 (BEFORE_ABORT): New macro; call that.
21055 (struct str_list): Type removed.
21056 (__libc_message, __libc_fatal): Functions removed.
21057 Include <sysdeps/posix/libc_fatal.c> instead.
21059 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21061 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21063 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21066 2013-03-19 Andreas Schwab <schwab@suse.de>
21068 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21069 * sysdeps/gnu/configure: Regenerate.
21071 * configure.in: Substitute libc_cv_rtlddir.
21072 * configure: Regenerate.
21073 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21074 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21075 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21076 * elf/Makefile (install-others, CFLAGS-interp.c)
21077 (ldso_install, common-ldd-rewrite): Likewise.
21078 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21079 $(inst_slibdir)/$(rtld-installed-name).
21080 * scripts/rellns-sh: Add -p option.
21081 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21084 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21086 * manual/nptl.texi: Renamed to ...
21087 * manual/threads.texi: ... this.
21088 * manual/Makefile (chapters): Update.
21090 2013-03-18 Roland McGrath <roland@hack.frob.com>
21093 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21094 on argument names, not just descriptions.
21095 * malloc/memusagestat.c (options): Likewise.
21096 * nss/getent.c (options): Likewise.
21098 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21101 * iconv/iconv_prog.c (options): Put N_ translation marker
21102 on argument names, not just descriptions.
21103 * iconv/iconvconfig.c (options): Likewise.
21105 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21107 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21108 implementation which is faster on all x86_64 architectures.
21109 Tested on AMD, Intel Nehalem, SNB, IVB.
21110 * sysdeps/x86_64/strnlen.S: Likewise.
21112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21113 Remove all multiarch strlen and strnlen versions.
21114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21115 Remove strlen and strnlen related parts.
21117 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21118 Inline strlen part.
21119 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21121 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21122 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21123 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21124 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21125 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21126 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21128 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21130 * manual/memory.texi (Malloc Tunable Parameters):
21131 Sort parameters alphabetically. Add comments for missing entries.
21133 2013-03-17 David S. Miller <davem@davemloft.net>
21135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21137 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21140 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21141 for arguments at most half maximum finite value.
21142 * math/libm-test.inc (j0_test): Add more tests.
21143 (j1_test): Likewise.
21144 (y0_test): Likewise.
21145 (y1_test): Likewise.
21146 * sysdeps/i386/fpu/libm-test-ulps: Update.
21147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21150 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21151 1 / x and functions P and Q for arguments above 0x1p256L.
21152 (__ieee754_y0l): Likewise.
21153 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21154 (__ieee754_y1l): Likewise.
21155 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21156 (j1_test): Likewise.
21157 (y0_test): Likewise.
21158 (y1_test): Likewise.
21160 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21162 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21165 2013-03-15 Roland McGrath <roland@hack.frob.com>
21167 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21168 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21169 zero since it's initialized to EXEC_PAGESIZE.
21171 * sysdeps/unix/sysv/linux/ldsodefs.h
21172 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21173 * sysdeps/generic/ldsodefs.h: ... here.
21175 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21177 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21179 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21181 * math/test-snan.c: Renamed from
21182 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21183 * math/Makefile (tests): Add test-snan.
21184 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21187 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21188 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21190 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21191 __builtin_nan family of functions.
21192 * math/libm-test.inc (initialize): Initialize qnan_value with
21193 __builtin_nan family of functions.
21194 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21196 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21198 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21199 storage class. Initialize qNaN_var and sNaN_var with
21200 __builtin_nan and __builtin_nans families of functions,
21203 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21204 (sqrt_test): Remove duplicate test with qNaN input.
21205 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21206 (round_test, signbit_test, significand_test): Note missing +/-Inf
21207 as well as qNaN tests.
21209 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21210 qNaN_var. Fix a few strings, too.
21211 * math/libm-test.inc (nan_value): Rename to qnan_value.
21212 * math/gen-libm-test.pl (%beautify): Adjust to that.
21213 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21214 * math/test-misc.c (main): Likewise.
21215 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21216 to __qnan_bytes, and __qnan_union, respectively.
21217 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21219 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21220 and lqnanval, respectively.
21221 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21222 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21223 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21224 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21226 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21227 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21230 * math/test-misc.c (main): Fix copy'n'pastos.
21231 * misc/tst-efgcvt.c (special): Likewise.
21233 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21234 Remove declarations.
21236 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21238 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21239 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21240 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21243 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21246 macro to return vdso values correctly in IFUNC implementations.
21247 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21248 Optimization by using IFUNC.
21250 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21251 Richard Henderson <rth@redhat.com>
21252 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21254 * Makefile.in (bench): New target.
21255 * NEWS: Mention the benchmark framework.
21256 * Rules (bench): Likewise.
21257 (binaries-bench): Generate binaries for functions to
21259 * benchtests/Makefile: New makefile for benchmark tests.
21260 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21262 * benchtests/exp-inputs: New input file for EXP function.
21263 * benchtests/pow-inputs: New input file for POW function.
21264 * scripts/bench.pl: New script to generate source files for
21265 benchmark programs.
21267 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21269 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21270 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21271 computations on mantissa. Use macros for rounding and
21273 (denorm): Likewise.
21274 (__dbl_mp): Likewise.
21275 (add_magnitudes): Likewise.
21276 (sub_magnitudes): Likewise.
21279 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21280 powers of two in terms of TWOPOW macro.
21281 (mp_no): Make type of mantissa as MANTISSA_T.
21282 [!RADIXI]: Define RADIXI.
21283 [!TWO52]: Define TWO52.
21284 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21286 * manual/nptl.texi (cindex): Modify threads to pthreads.
21288 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21290 * sysdeps/x86_64/preconfigure: Regenerated.
21292 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21295 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21297 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21298 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21300 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21301 * math/libm-test.inc (j0_test): Do not allow one spurious
21302 underflow exception.
21303 (y1_test): Likewise.
21305 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21307 * manual/Makefile (chapters): Add nptl.
21308 * manual/debug.texi (Debugging Support): Add link to Threads
21310 * manual/nptl.texi: New file.
21312 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21314 2013-03-14 Petr Baudis <pasky@ucw.cz>
21316 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21317 for non-NULL pointer before the memory validity test. Pointed
21318 out by Holger Brunck <holger.brunck@keymile.com>.
21320 2013-03-13 Andreas Schwab <schwab@suse.de>
21322 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21325 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21327 * timezone/zic.c: Update from tzcode 2013b.
21329 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21331 * manual/install.texi (Configuring and compiling):
21332 Mention i686 and i586.
21333 * INSTALL: Regenerate.
21335 2013-03-12 Roland McGrath <roland@hack.frob.com>
21337 * sysdeps/init_array/elf-init.c: New file.
21339 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21340 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21342 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21343 __gmon_start__ as global, but as static with a .preinit_array pointer.
21344 * sysdeps/init_array/gmon-start.c: New file. Use that.
21345 * sysdeps/init_array/crti.S: New file, empty except for comments.
21346 * sysdeps/init_array/crtn.S: Likewise.
21348 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21350 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21353 Remove Prefer_SSE_for_memop.
21354 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21355 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21356 HAS_PREFER_SSE_FOR_MEMOP.
21357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21359 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21360 Remove bzero, memset ifunc support.
21361 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21362 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21363 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21364 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21366 2013-03-11 Andreas Schwab <schwab@suse.de>
21369 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21372 (GLIBC_2.16): Remove pthread_atfork.
21374 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21376 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21377 (ptestcases.h): Likewise.
21379 2013-03-08 Roland McGrath <roland@hack.frob.com>
21381 * Makeconfig ($(common-objpfx)config.status): Depend on
21382 sysdeps/*/preconfigure{,.in} too.
21384 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21386 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21387 (__free_hook): Use void * instead of __malloc_ptr_t.
21388 (__malloc_hook): Likewise.
21389 (__realloc_hook): Likewise.
21390 (__memalign_hook): Likewise.
21391 (__after_morecore_hook): Likewise.
21392 * malloc/arena.c (save_malloc_hook): Likewise.
21393 (save_free_hook): Likewise.
21394 * malloc/hooks.c (malloc_hook_ini): Likewise.
21395 (realloc_hook_ini): Likewise.
21396 (memalign_hook_ini): Likewise.
21397 * malloc/malloc.c (malloc_hook_ini): Likewise.
21398 (realloc_hook_ini): Likewise.
21399 (memalign_hook_ini): Likewise.
21400 (__free_hook): Likewise.
21401 (__malloc_hook): Likewise.
21402 (__realloc_hook): Likewise.
21403 (__memalign_hook): Likewise.
21404 (__libc_malloc): Likewise.
21405 (__libc_free): Likewise.
21406 (__libc_realloc): Likewise.
21407 (__libc_memalign): Likewise.
21408 (__libc_valloc): Likewise.
21409 (__libc_pvalloc): Likewise.
21410 (__libc_calloc): Likewise.
21411 (__posix_memalign): Likewise.
21412 * malloc/morecore.c (__sbrk): Likewise.
21413 (__default_morecore): Likewise.
21415 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21417 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21418 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21419 __malloc_ptrdiff_t.
21421 * malloc/malloc.h (__malloc_size_t): Remove macro.
21422 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21424 (old_memalign_hook): Likewise.
21425 (old_realloc_hook): Likewise.
21426 (struct hdr): Likewise.
21428 (mallochook): Likewise.
21429 (memalignhook): Likewise.
21430 (reallochook): Likewise.
21431 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21432 (tr_old_realloc_hook): Likewise.
21433 (tr_old_memalign_hook): Likewise.
21434 (tr_mallochook): Likewise.
21435 (tr_reallochook): Likewise.
21436 (tr_memalignhook): Likewise.
21438 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21440 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21441 default_ldbl_pack and using as default implementation.
21442 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21444 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21445 redundant definition.
21446 (ldbl_insert_mantissa): Likewise.
21447 (ldbl_canonicalize): Likewise.
21448 (ldbl_nearbyint): Likewise.
21449 (ldbl_pack): Rename to ldbl_pack_ppc.
21450 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21451 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21452 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21454 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21457 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21458 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21459 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21462 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21463 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21465 2013-03-07 Andreas Jaeger <aj@suse.de>
21467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21470 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21472 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21473 Include mpa.h and declare __MPEXP.
21474 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21475 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21476 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21477 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21478 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21479 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21480 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21482 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21483 (__slowpow): Use long double EXPL and LOGL functions to
21485 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21486 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21487 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21488 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21489 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21490 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21492 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21493 intermediate variable to calculate exponent.
21495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21499 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21500 [!NO__SQR]: Define __sqr.
21501 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21502 and NO__SQR. Remove all code except __mul and __sqr. Include
21503 sysdeps/ieee754/dbl-64/mpa.c.
21504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21507 * posix/Makefile (tests): Add tst-pathconf.
21508 * posix/tst-pathconf.c: New test case.
21509 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21511 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21513 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21515 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21517 2013-03-06 Andreas Jaeger <aj@suse.de>
21519 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21520 definition via __MAP_ANONYMOUS.
21522 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21523 it's not part of Linux headers.
21525 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21526 (MAP_HUGE_MASK): Define.
21528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21530 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21531 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21533 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21534 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21536 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21537 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21539 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21541 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21542 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21543 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21544 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21545 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21546 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21548 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21552 Handle f2fs and efivarfs.
21554 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21557 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21558 (EFIVARFS_MAGIC): Add.
21559 (F2FS_LINK_MAX): Add.
21561 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21563 * stdio-common/vfprintf.c: Replace __builtin_expect with
21566 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21569 * sysdeps/generic/bp-sym.h: Remove file.
21570 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21571 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21572 <bp-sym.h> and <bp-asm.h>.
21573 (__longjmp): Don't use BP_SYM.
21574 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21576 (memcpy): Don't use BP_SYM.
21577 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21578 <bp-sym.h> and <bp-asm.h>.
21579 (memcpy): Don't use BP_SYM.
21580 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21582 (memcpy): Don't use BP_SYM.
21583 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21585 (memset): Don't use BP_SYM.
21586 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21587 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21588 (__bzero): Don't use BP_SYM.
21589 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21590 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21591 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21592 <bp-sym.h> and <bp-asm.h>.
21593 (memcmp): Don't use BP_SYM. Remove comment about bounded
21595 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21596 <bp-sym.h> and <bp-asm.h>.
21597 (memcpy): Don't use BP_SYM.
21598 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21599 <bp-sym.h> and <bp-asm.h>.
21600 (memset): Don't use BP_SYM.
21601 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21602 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21603 (__bzero): Don't use BP_SYM.
21604 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21605 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21606 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21607 <bp-sym.h> and <bp-asm.h>.
21608 (strncmp): Don't use BP_SYM. Remove comment about bounded
21610 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21611 <bp-sym.h> and <bp-asm.h>.
21612 (memcpy): Don't use BP_SYM.
21613 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21614 <bp-sym.h> and <bp-asm.h>.
21615 (memset): Don't use BP_SYM.
21616 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21617 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21618 (__bzero): Don't use BP_SYM.
21619 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21620 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21621 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21622 <bp-sym.h> and <bp-asm.h>.
21623 (__memchr): Don't use BP_SYM.
21624 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21625 <bp-sym.h> and <bp-asm.h>.
21626 (memcmp): Don't use BP_SYM. Remove comment about bounded
21628 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21629 <bp-sym.h> and <bp-asm.h>.
21630 (memcpy): Don't use BP_SYM.
21631 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21632 <bp-sym.h> and <bp-asm.h>.
21633 (__mempcpy): Don't use BP_SYM.
21634 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21635 <bp-sym.h> and <bp-asm.h>.
21636 (__memrchr): Don't use BP_SYM.
21637 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21638 <bp-sym.h> and <bp-asm.h>.
21639 (memset): Don't use BP_SYM.
21640 (__bzero): Likewise.
21641 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21642 <bp-sym.h> and <bp-asm.h>.
21643 (__rawmemchr): Don't use BP_SYM.
21644 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21645 <bp-sym.h> and <bp-asm.h>.
21646 (__STRCMP): Don't use BP_SYM.
21647 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21648 <bp-sym.h> and <bp-asm.h>.
21649 (strchr): Don't use BP_SYM.
21650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21651 <bp-sym.h> and <bp-asm.h>.
21652 (__strchrnul): Don't use BP_SYM.
21653 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21654 <bp-sym.h> and <bp-asm.h>.
21655 (strlen): Don't use BP_SYM.
21656 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21657 <bp-sym.h> and <bp-asm.h>.
21658 (strncmp): Don't use BP_SYM. Remove comment about bounded
21660 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21661 <bp-sym.h> and <bp-asm.h>.
21662 (__strnlen): Don't use BP_SYM.
21663 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21664 <bp-sym.h> and <bp-asm.h>.
21665 (__GI__setjmp): Don't use BP_SYM.
21666 (_setjmp): Likewise.
21667 (__sigsetjmp): Likewise.
21668 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21669 (L(start_addresses)): Don't use BP_SYM.
21670 (_start): Likewise.
21671 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21673 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21674 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21675 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21676 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21677 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21679 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21680 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21681 about bounded pointers.
21682 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21683 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21684 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21686 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21687 about bounded pointers. Remove GKM FIXME comments.
21688 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21689 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21691 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21692 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21693 Remove GKM FIXME comments.
21694 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21695 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21696 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21698 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21699 about bounded pointers. Remove GKM FIXME comment.
21700 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21702 (strncmp): Don't use BP_SYM. Remove comment about bounded
21704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21705 <bp-sym.h> and <bp-asm.h>.
21706 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21708 <bp-sym.h> and <bp-asm.h>.
21709 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21712 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21714 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21717 2013-03-05 David S. Miller <davem@davemloft.net>
21719 * po/es.po: Update from translation team.
21721 2013-03-05 Andreas Jaeger <aj@suse.de>
21723 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21724 <bits/mman-linux.h>.
21725 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21727 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21728 <bits/mman-linux.h> to end of file.
21729 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21731 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21732 <bits/mman-linux.h> to end of file.
21733 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21735 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21736 <bits/mman-linux.h> to end of file.
21738 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21739 (MCL_CURRENT, MCL_FUTURE): Define here.
21741 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21744 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21748 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21750 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21751 fourth parameter needed for rt_sigprocmask syscall.
21752 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21753 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21754 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21755 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21756 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21757 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21759 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21762 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21763 comment about bounded pointers.
21764 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21765 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21767 2013-03-04 Andreas Jaeger <aj@suse.de>
21769 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21770 common definitions.
21772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21773 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21774 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21776 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21777 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21779 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21783 __ieee754_sqrl instead of __sqrl.
21785 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21787 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21788 * sysdeps/powerpc/fpu_control.h: ... here.
21789 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21790 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21791 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21792 * sysdeps/powerpc/bits/mathinline.h: ... here.
21794 2013-03-01 Roland McGrath <roland@hack.frob.com>
21796 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21797 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21798 to just [NEED_DL_SYSINFO_DSO].
21799 * elf/dl-support.c: Likewise.
21800 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21801 * elf/rtld.c (dl_main): Likewise.
21802 * elf/setup-vdso.h (setup_vdso): Likewise.
21803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21804 * sysdeps/unix/sysv/linux/dl-sysdep.c
21805 (_dl_discover_osversion): Likewise.
21807 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21809 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21810 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21812 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21814 * NEWS: Mention libm performance improvements and non-x86 PI
21817 * csu/libc-start.c (__pthread_initialize_minimal): Change
21818 function arguments.
21819 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21821 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21824 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21825 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21826 <bp-sym.h> and <bp-asm.h>.
21827 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21828 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21830 (memcpy): Don't use BP_SYM.
21831 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21833 (__mpn_add_n): Don't use BP_SYM.
21834 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21835 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21837 (__mpn_addmul_1): Don't use BP_SYM.
21838 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21839 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21841 (_setjmp): Don't use BP_SYM.
21842 (__novmx_setjmp): Likewise.
21843 (__GI__setjmp): Likewise.
21844 (__vmx_setjmp): Likewise.
21845 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21847 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21848 (__bzero): Don't use BP_SYM.
21849 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21850 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21851 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21852 <bp-sym.h> and <bp-asm.h>.
21853 (memcpy): Don't use BP_SYM.
21854 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21855 <bp-sym.h> and <bp-asm.h>.
21856 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21857 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21858 <bp-sym.h> and <bp-asm.h>.
21859 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21860 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21862 (__mpn_lshift): Don't use BP_SYM.
21863 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21864 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21866 (memset): Don't use BP_SYM.
21867 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21868 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21869 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21871 (__mpn_mul_1): Don't use BP_SYM.
21872 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21874 <bp-sym.h> and <bp-asm.h>.
21875 (memcmp): Don't use BP_SYM.
21876 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (memcpy): Don't use BP_SYM.
21879 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21880 <bp-sym.h> and <bp-asm.h>.
21881 (memset): Don't use BP_SYM.
21882 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21883 <bp-sym.h> and <bp-asm.h>.
21884 (strncmp): Don't use BP_SYM.
21885 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21886 <bp-sym.h> and <bp-asm.h>.
21887 (memcpy): Don't use BP_SYM.
21888 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21889 <bp-sym.h> and <bp-asm.h>.
21890 (memset): Don't use BP_SYM.
21891 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21892 <bp-sym.h> and <bp-asm.h>.
21893 (__memchr): Don't use BP_SYM.
21894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21895 <bp-sym.h> and <bp-asm.h>.
21896 (memcmp): Don't use BP_SYM.
21897 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21898 <bp-sym.h> and <bp-asm.h>.
21899 (memcpy): Don't use BP_SYM.
21900 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21901 <bp-sym.h> and <bp-asm.h>.
21902 (__mempcpy): Don't use BP_SYM.
21903 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21904 <bp-sym.h> and <bp-asm.h>.
21905 (__memrchr): Don't use BP_SYM.
21906 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21907 <bp-sym.h> and <bp-asm.h>.
21908 (memset): Don't use BP_SYM.
21909 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21910 <bp-sym.h> and <bp-asm.h>.
21911 (__rawmemchr): Don't use BP_SYM.
21912 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21913 <bp-sym.h> and <bp-asm.h>.
21914 (__STRCMP): Don't use BP_SYM.
21915 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21916 <bp-sym.h> and <bp-asm.h>.
21917 (strchr): Don't use BP_SYM.
21918 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21919 <bp-sym.h> and <bp-asm.h>.
21920 (__strchrnul): Don't use BP_SYM.
21921 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21922 <bp-sym.h> and <bp-asm.h>.
21923 (strlen): Don't use BP_SYM.
21924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21925 <bp-sym.h> and <bp-asm.h>.
21926 (strncmp): Don't use BP_SYM.
21927 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21928 <bp-sym.h> and <bp-asm.h>.
21929 (__strnlen): Don't use BP_SYM.
21930 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21932 (__mpn_rshift): Don't use BP_SYM.
21933 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21934 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21935 <bp-sym.h> and <bp-asm.h>.
21936 (__sigsetjmp): Don't use BP_SYM.
21937 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21938 (L(start_addresses)): Don't use BP_SYM.
21939 (_start): Likewise.
21940 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21942 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21943 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21944 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21945 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21947 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21948 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21949 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21950 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21952 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21954 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21955 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21957 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
21959 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21960 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21961 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21963 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
21965 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21967 (strncmp): Don't use BP_SYM,
21968 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21970 (__mpn_sub_n): Don't use BP_SYM.
21971 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21972 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21974 (__mpn_submul_1): Don't use BP_SYM.
21975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21977 <bp-sym.h> and <bp-asm.h>.
21978 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21980 <bp-sym.h> and <bp-asm.h>.
21981 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21984 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21987 Use ZK to minimize writes to Z.
21988 (sub_magnitudes): Simplify code a bit.
21989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21990 Use ZK to minimize writes to Z.
21991 (sub_magnitudes): Simplify code a bit.
21993 2013-02-27 Roland McGrath <roland@hack.frob.com>
21995 * csu/gmon-start.c: Add special exception to license text.
21997 2013-02-27 Richard Henderson <rth@redhat.com>
21999 * scripts/config.guess: Update from config.git.
22000 * scripts/config.sub: Likewise.
22002 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22004 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22006 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22008 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22010 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22012 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22014 2013-02-26 Roland McGrath <roland@hack.frob.com>
22016 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22017 [$(build-shared = yes].
22019 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22021 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22022 (__mul): Reduce iterations for calculating mantissa.
22024 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22026 (__mpranred): Likewise.
22029 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22030 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22032 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22034 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22035 Define __attribute__.
22037 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22039 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22041 * posix/regex_internal.h (__attribute): Remove.
22042 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22043 (re_string_context_at): Likewise.
22044 (bitset_not): Use __attribute__ and mark function as possibly
22046 (bitset_merge): Likewise.
22047 (bitset_mask): Likewise.
22048 (re_string_char_size_at): Likewise.
22049 (re_string_wchar_at): Likewise.
22050 (re_string_elem_size_at): Likewise.
22052 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22054 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22058 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22062 (denorm): Likewise.
22063 (__dbl_mp): Likewise.
22064 (add_magnitudes): Likewise.
22065 (sub_magnitudes): Likewise.
22069 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22072 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22075 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22078 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22079 up changes with default code.
22080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22083 2013-02-24 Allan McRae <allan@archlinux.org>
22085 * manual/socket.texi (The Internet Namespace): Order menu items
22086 to match that in the file.
22088 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22089 node listing of the info page menu.
22091 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22094 * sysdeps/i386/bp-asm.h: Remove file.
22095 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22096 (PARMS): Do not use macros from bp-asm.h.
22100 (__mpn_add_n): Do not use BP_SYM
22101 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22103 (PARMS): Do not use macros from bp-asm.h.
22106 (__mpn_addmul_1): Do not use BP_SYM
22107 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22109 (PARMS): Do not use macros from bp-asm.h.
22110 (SIGMSK): Likewise.
22111 (_setjmp): Likewise. Do not use BP_SYM.
22112 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22114 (PARMS): Do not use macros from bp-asm.h.
22115 (SIGMSK): Likewise.
22116 (setjmp): Likewise. Do not use BP_SYM.
22117 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22119 (PARMS): Do not use macros from bp-asm.h.
22120 (__frexp): Do not use BP_SYM.
22122 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22124 (PARMS): Do not use macros from bp-asm.h.
22125 (__frexpf): Do not use BP_SYM.
22126 (frexpf): Likewise.
22127 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22129 (PARMS): Do not use macros from bp-asm.h.
22130 (__frexpl): Do not use BP_SYM.
22131 (frexpl): Likewise.
22132 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22134 (PARMS): Do not use macros from bp-asm.h.
22135 (__remquo): Do not use BP_SYM.
22136 (remquo): Likewise.
22137 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22139 (PARMS): Do not use macros from bp-asm.h.
22140 (__remquof): Do not use BP_SYM.
22141 (remquof): Likewise.
22142 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22144 (PARMS): Do not use macros from bp-asm.h.
22145 (__remquol): Do not use BP_SYM.
22146 (remquol): Likewise.
22147 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22149 (PARMS): Do not use macros from bp-asm.h.
22152 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22153 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22155 (PARMS): Do not use macros from bp-asm.h.
22156 (strlen): Do not use BP_SYM.
22157 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22159 (PARMS): Do not use macros from bp-asm.h.
22163 (__mpn_add_n): Do not use BP_SYM.
22164 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22166 (PARMS): Do not use macros from bp-asm.h.
22169 (__mpn_addmul_1): Do not use BP_SYM.
22170 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22173 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22175 (PARMS): Do not use macros from bp-asm.h.
22178 (__mpn_lshift): Do not use BP_SYM.
22179 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22181 (PARMS): Do not use macros from bp-asm.h.
22185 (memcpy): Likewise. Do not use BP_SYM.
22186 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22187 libc_hidden_def and weak_alias.
22188 (mempcpy): Do not use BP_SYM in weak_alias.
22189 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22191 (PARMS): Do not use macros from bp-asm.h.
22194 [!BZERO_P] (CHR): Likewise.
22195 (memset): Likewise. Do not use BP_SYM.
22196 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22198 (PARMS): Do not use macros from bp-asm.h.
22201 (__mpn_mul_1): Do not use BP_SYM.
22202 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22204 (PARMS): Do not use macros from bp-asm.h.
22207 (__mpn_rshift): Do not use BP_SYM.
22208 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22210 (PARMS): Do not use macros from bp-asm.h.
22213 (strchr): Likewise. Do not use BP_SYM.
22214 (index): Do not use BP_SYM in weak_alias.
22215 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22217 (PARMS): Do not use macros from bp-asm.h.
22220 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22221 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22223 (PARMS): Do not use macros from bp-asm.h.
22224 (strlen): Do not use BP_SYM.
22225 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22227 (PARMS): Do not use macros from bp-asm.h.
22231 (__mpn_sub_n): Do not use BP_SYM.
22232 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22234 (PARMS): Do not use macros from bp-asm.h.
22237 (__mpn_submul_1): Do not use BP_SYM.
22238 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22240 (PARMS): Do not use macros from bp-asm.h.
22244 (__mpn_add_n): Do not use BP_SYM.
22245 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22248 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22250 (PARMS): Do not use macros from bp-asm.h.
22253 (memcmp): Do not use BP_SYM.
22254 (bcmp): Do not use BP_SYM in weak_alias.
22255 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22257 (PARMS): Do not use macros from bp-asm.h.
22261 (memcpy): Likewise. Do not use BP_SYM.
22262 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22264 (PARMS): Do not use macros from bp-asm.h.
22268 (memmove): Likewise. Do not use BP_SYM.
22269 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22271 (PARMS): Do not use macros from bp-asm.h.
22275 (__mempcpy): Likewise. Do not use BP_SYM.
22276 (mempcpy): Do not use BP_SYM in weak_alias.
22277 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22279 (PARMS): Do not use macros from bp-asm.h.
22282 [!BZERO_P] (CHR): Likewise.
22283 (memset): Likewise. Do not use BP_SYM.
22284 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22286 (PARMS): Do not use macros from bp-asm.h.
22288 (strcmp): Do not use BP_SYM.
22289 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22291 (PARMS): Do not use macros from bp-asm.h.
22294 [USE_AS_STRTOK_R] (SAVE): Likewise.
22295 (FUNCTION): Likewise. Do not use BP_SYM.
22296 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22298 (strtok_r): Likewise.
22299 (__GI___strtok_r): Likewise.
22300 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22301 (PARMS): Do not use macros from bp-asm.h.
22304 (__mpn_lshift): Do not use BP_SYM.
22305 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22306 (PARMS): Do not use macros from bp-asm.h.
22309 (__memchr): Do not use BP_SYM.
22310 (memchr): Do not use BP_SYM in weak_alias.
22311 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22312 (PARMS): Do not use macros from bp-asm.h.
22315 (memcmp): Do not use BP_SYM.
22316 (bcmp): Do not use BP_SYM in weak_alias.
22317 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22318 (PARMS): Do not use macros from bp-asm.h.
22321 (__mpn_mul_1): Do not use BP_SYM.
22322 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22324 (PARMS): Do not use macros from bp-asm.h.
22327 (__rawmemchr): Do not use BP_SYM.
22328 (rawmemchr): Do not use BP_SYM in weak_alias.
22329 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22330 (PARMS): Do not use macros from bp-asm.h.
22333 (__mpn_rshift): Do not use BP_SYM.
22334 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22335 (PARMS): Do not use macros from bp-asm.h.
22336 (SIGMSK): Likewise.
22337 (__sigsetjmp): Likewise. Do not use BP_SYM.
22338 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22339 (_start): Do not use BP_SYM.
22340 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22341 (PARMS): Do not use macros from bp-asm.h.
22344 (__stpcpy): Likewise. Do not use BP_SYM.
22345 (stpcpy): Do not use BP_SYM in weak_alias.
22346 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22348 (PARMS): Do not use macros from bp-asm.h.
22352 (__stpncpy): Likewise. Do not use BP_SYM.
22353 (stpncpy): Do not use BP_SYM in weak_alias.
22354 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22355 (PARMS): Do not use macros from bp-asm.h.
22358 (strchr): Likewise. Do not use BP_SYM.
22359 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22361 (PARMS): Do not use macros from bp-asm.h.
22364 (__strchrnul): Likewise. Do not use BP_SYM.
22365 (strchrnul): Do not use BP_SYM in weak_alias.
22366 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22368 (PARMS): Do not use macros from bp-asm.h.
22370 (strcspn): Do not use BP_SYM.
22371 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22373 (PARMS): Do not use macros from bp-asm.h.
22376 (strpbrk): Likewise. Do not use BP_SYM.
22377 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22379 (PARMS): Do not use macros from bp-asm.h.
22382 (strrchr): Likewise. Do not use BP_SYM.
22383 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22384 (PARMS): Do not use macros from bp-asm.h.
22386 (strspn): Do not use BP_SYM.
22387 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22388 (PARMS): Do not use macros from bp-asm.h.
22392 (FUNCTION): Likewise. Do not use BP_SYM.
22393 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22395 (strtok_r): Likewise.
22396 (__GI___strtok_r): Likewise.
22397 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22398 (PARMS): Do not use macros from bp-asm.h.
22402 (__mpn_sub_n): Do not use BP_SYM.
22403 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22405 (PARMS): Do not use macros from bp-asm.h.
22408 (__mpn_submul_1): Do not use BP_SYM.
22409 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22411 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22413 (PARMS): Do not use macros from bp-asm.h.
22418 (__clone): Do not use BP_SYM.
22419 (clone): Do not use BP_SYM in weak_alias.
22420 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22422 (PARMS): Do not use macros from bp-asm.h.
22424 (__mmap64): Do not use BP_SYM.
22425 (mmap64): Do not use BP_SYM in weak_alias.
22426 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22427 <bp-sym.h> and <bp-asm.h>.
22428 (PARMS): Do not use macros from bp-asm.h.
22429 (__posix_fadvise64_l64): Do not use BP_SYM.
22430 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22431 (PARMS): Do not use macros from bp-asm.h.
22433 (semtimedop): Do not use BP_SYM.
22434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22437 2013-02-21 Allan McRae <allan@archlinux.org>
22439 * manual/message.texi (Charset conversion in gettext):
22440 Move @end statement to beginning of line.
22442 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22449 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22450 (denorm): Likewise.
22451 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22454 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22456 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22457 tail-call to the resolved function if pltexit isn't needed.
22459 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22462 or Y being zero as being unlikely.
22463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22466 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22468 * manual/nss.texi (System Databases and Name Service Switch):
22469 Remove frobnicate @pxref.
22471 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22473 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22474 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22476 2013-02-20 Petr Machata <pmachata@redhat.com>
22478 * elf/elf.h (R_ARM_TARGET1): New macro.
22479 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22480 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22481 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22482 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22483 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22484 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22485 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22486 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22487 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22488 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22489 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22490 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22491 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22492 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22493 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22494 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22495 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22496 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22497 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22498 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22499 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22500 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22501 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22502 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22503 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22504 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22505 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22506 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22507 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22508 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22509 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22510 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22511 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22512 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22513 (R_ARM_THM_GOT_BREL12): Likewise.
22514 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22515 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22516 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22517 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22518 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22519 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22520 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22521 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22522 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22524 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22526 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22527 __attribute_used__ to __attribute__ ((unused)).
22529 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22531 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22534 comment formatting.
22535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22537 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22540 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22542 (ENTER): Remove both macro definitions.
22544 (CHECK_BOUNDS_LOW): Likewise.
22545 (CHECK_BOUNDS_HIGH): Likewise.
22546 (CHECK_BOUNDS_BOTH): Likewise.
22547 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22548 (RETURN_BOUNDED_POINTER): Likewise.
22549 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22550 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22551 (POP_ERRNO_LOCATION_RETURN): Likewise.
22552 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22553 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22554 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22556 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22557 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22558 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22559 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22560 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22561 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22562 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22563 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22564 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22565 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22566 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22567 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22568 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22569 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22571 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22572 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22575 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22576 * sysdeps/i386/i586/memset.S (memset): Likewise.
22577 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22578 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22579 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22581 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22582 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22583 Change uses of L(2) to L(out).
22584 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22585 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22586 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22587 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22588 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22590 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22591 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22593 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22594 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22595 (RETURN): Do not use macro LEAVE.
22596 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22597 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22598 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22599 * sysdeps/i386/i686/memset.S (memset): Likewise.
22600 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22601 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22602 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22603 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22605 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22606 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22607 L(1_2) and L(1_3) into L(1).
22608 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22609 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22611 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22612 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22613 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22614 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22615 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22616 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22618 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22619 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22620 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22621 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22622 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22623 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22624 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22625 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22626 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22627 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22628 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22629 * sysdeps/i386/strspn.S (strspn): Likewise.
22630 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22632 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22633 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22634 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22635 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22636 L(1_3) into L(1_1).
22637 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22638 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22639 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22641 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22643 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22645 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22648 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22650 * math/atest-exp.c (exp_mpn): Remove ROUND.
22651 * math/atest-exp2.c (exp_mpn): Likewise.
22652 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22654 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22655 * stdlib/tst-tls-atexit-lib.c: Likewise.
22656 * stdlib/tst-tls-atexit.c: Likewise.
22658 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22660 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22661 and __attribute_alloc_size__.
22663 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22665 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22666 __attribute_alloc_size__.
22667 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22668 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22670 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22672 * include/programs/xmalloc.h: New file.
22673 * catgets/gencat.c: Include it.
22674 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22675 * elf/pldd.c: Likewise.
22676 * iconv/iconv_charmap.c: Likewise.
22677 * iconv/iconvconfig.c: Likewise.
22678 * iconv/strtab.c: Likewise.
22679 * locale/programs/locale.c: Likewise.
22680 * locale/programs/localedef.h: Likewise.
22681 * locale/programs/simple-hash.c: Likewise.
22682 * nscd/nscd.h: Likewise.
22683 * nss/makedb.c: Likewise.
22684 * sysdeps/generic/ldconfig.h: Likewise.
22686 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22688 * Versions.def: Add GLIBC_2.18.
22689 * include/link.h (struct link_map): New member l_tls_dtor_count.
22690 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22691 (__call_tls_dtors): Likewise.
22692 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22693 __cxa_thread_atexit_impl.
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22702 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22710 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22711 (tests): Add test case tst-tls-atexit.
22712 (modules-names): Add shared library for tst-tls-atexit.
22713 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22714 (GLIBC_PRIVATE): Add __call_tls_dtors.
22715 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22717 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22718 * stdlib/tst-tls-atexit.c: New test case.
22719 * stdlib/tst-tls-atexit-lib.c: New test case.
22721 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22723 * elf/Versions (ld): Add _dl_find_dso_for_object.
22724 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22725 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22726 (dl_open_worker): Use _dl_find_dso_for_object.
22727 * elf/dl-sym.c (do_sym): Likewise.
22728 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22730 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22732 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22733 Syntactic changes only.
22734 (_dl_runtime_profile): Do a tail-call to the resolved function.
22736 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22739 * sysdeps/x86_64/bp-asm.h: Remove file.
22740 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22741 <bp-sym.h> and <bp-asm.h>.
22742 (__clone): Do not use BP_SYM.
22743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22744 <bp-sym.h> and <bp-asm.h>.
22745 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22746 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22748 (_setjmp): Do not use BP_SYM.
22749 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22751 (setjmp): Do not use BP_SYM.
22752 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22754 (mempcpy): Do not use BP_SYM in weak_alias.
22755 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22757 (strchr): Do not use BP_SYM.
22758 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22760 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22761 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22762 (_start): Do not use BP_SYM.
22763 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22765 (strcat): Do not use BP_SYM.
22766 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22768 (STRCMP): Do not use BP_SYM.
22769 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22771 (STRCPY): Do not use BP_SYM.
22772 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22774 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22776 (FUNCTION): Do not use BP_SYM.
22777 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22779 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22781 2013-02-17 Andreas Jaeger <aj@suse.de>
22783 * time/Versions: Sort entries.
22784 * string/Versions: Likewise.
22785 * resolv/Versions: Likewise.
22786 * posix/Versions: Likewise.
22787 * iconv/Versions: Likewise.
22788 * elf/Versions: Likewise.
22789 * wcsmbs/Versions: Likewise.
22791 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22793 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22794 loop termination condition.
22796 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22797 variable to calculate EZ.
22800 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22801 the lower precision input.
22803 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22806 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22807 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22808 (run-via-rtld-prefix): Do not handle %-bp tests.
22809 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22810 (all-object-suffixes): Remove .ob.
22811 (bppfx): Remove variable.
22812 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22813 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22814 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22815 [$(build-bounded) = yes] (libtype.ob): Likewise.
22816 * Makerules (elide-routines.ob): Remove variable.
22817 (do-tests-clean): Do not handle *-bp.out.
22818 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22819 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22820 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22821 (tests): Do not include $(tests-bp.out).
22822 (xtests): Do not include $(xtests-bp.out).
22823 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22824 [$(build-bounded) = yes] ($(addprefix
22825 $(objpfx),$(binaries-bounded))): Remove rule.
22826 ($(objpfx)%-bp.out): Remove rule.
22827 * config.make.in (build-bounded): Remove variable.
22828 * crypt/Makefile [$(build-bounded) = yes]
22829 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22830 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22831 append to variable.
22832 [$(build-bounded) = yes] (install-lib): Likewise.
22833 [$(build-bounded) = yes] (generated): Likewise.
22834 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22836 * intl/Makefile [$(build-bounded) = yes]
22837 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22838 * math/Makefile [$(build-bounded) = yes]
22839 ($(tests:%=$(objpfx)%-bp): Likewise.
22840 * misc/Makefile [$(build-bounded) = yes]
22841 ($(objpfx)tst-tsearch-bp): Likewise.
22842 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22843 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22845 * string/Makefile (o-objects.ob): Remove variable.
22846 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22847 (CFLAGS-.ob): Remove variable.
22848 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22849 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22850 both definitions of variable.
22851 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22852 (ASFLAGS-.ob): Remove variable.
22854 2013-02-14 Joseph Myers <joseph@codesourcery.com>
22857 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22858 Remove __BOUNDED_POINTERS__ from condition.
22859 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22860 * string/bits/string2.h [!__NO_STRING_INLINES &&
22861 !__BOUNDED_POINTERS__]: Likewise.
22862 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22864 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22865 Remove conditional code.
22866 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22867 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22868 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22872 * csu/libc-start.c: Do not include <bp-sym.h>.
22873 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22874 * elf/dl-open.c: Do not include <bp-sym.h>.
22875 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22876 * math/fegetenv.c: Do not include <bp-sym.h>.
22877 (fegetenv): Do not use BP_SYM in versioned symbols.
22878 * nptl/sysdeps/pthread/bits/libc-lockP.h
22879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22882 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22884 (__pthread_mutex_destroy): Likewise.
22885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22886 (__pthread_mutex_lock): Likewise.
22887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22888 (__pthread_mutex_trylock): Likewise.
22889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22890 (__pthread_mutex_unlock): Likewise.
22891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22892 (__pthread_mutexattr_init): Likewise.
22893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22894 (__pthread_mutexattr_destroy): Likewise.
22895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22896 (__pthread_mutexattr_settype): Likewise.
22897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22898 (__pthread_rwlock_init): Likewise.
22899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22900 (__pthread_rwlock_destroy): Likewise.
22901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22902 (__pthread_rwlock_rdlock): Likewise.
22903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22904 (__pthread_rwlock_tryrdlock): Likewise.
22905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22906 (__pthread_rwlock_wrlock): Likewise.
22907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22908 (__pthread_rwlock_trywrlock): Likewise.
22909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22910 (__pthread_rwlock_unlock): Likewise.
22911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22912 (__pthread_key_create): Likewise.
22913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22914 (__pthread_setspecific): Likewise.
22915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22916 (__pthread_getspecific): Likewise.
22917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22920 (_pthread_cleanup_push_defer): Likewise.
22921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22922 (_pthread_cleanup_pop_restore): Likewise.
22923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22924 (pthread_setcancelstate): Likewise.
22925 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22927 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22928 (memchr): Do not use BP_SYM in weak_alias.
22929 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22930 (fegetenv): Do not use BP_SYM in versioned symbols.
22931 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22932 (fesetenv): Do not use BP_SYM in versioned symbols.
22933 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22934 (feupdateenv): Do not use BP_SYM in versioned symbols.
22935 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22936 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22937 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22938 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22939 (open64): Do not use BP_SYM in weak_alias.
22940 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22941 (fegetenv): Do not use BP_SYM in versioned symbols.
22942 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22943 (fesetenv): Do not use BP_SYM in versioned symbols.
22944 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22945 (feupdateenv): Do not use BP_SYM in versioned symbols.
22946 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22947 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22948 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22949 (feraiseexcept): Do not use BP_SYM in versioned symbols.
22950 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22951 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22952 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22954 (__libc_start_main): Do not use BP_SYM.
22956 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22959 redundant return line.
22961 (denorm): Likewise.
22962 (dbl_mp): Likewise.
22963 (sub_magnitudes): Likewise.
22969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22971 (denorm): Likewise.
22972 (dbl_mp): Likewise.
22973 (sub_magnitudes): Likewise.
22980 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22982 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22983 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22986 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22987 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22988 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22989 of __mul for squares.
22990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22994 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22995 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22997 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23000 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23002 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23003 prototype or function definition. Rename ubp_* variables and
23004 parameters. Remove argv definitions conditional on
23005 [__BOUNDED_POINTERS__].
23006 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23007 * elf/dl-runtime.c (_dl_fixup): Likewise.
23008 * include/set-hooks.h (RUN_HOOK): Likewise.
23009 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23011 * string/strcpy.c (strcpy): Do not use __unbounded.
23012 * sysdeps/generic/frame.h (struct layout): Likewise.
23013 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23014 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23015 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23016 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23017 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23018 (__backtrace): Likewise.
23019 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23021 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23022 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23023 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23025 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23026 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23027 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23028 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23029 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23030 Do not use __unbounded.
23031 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23032 Rename __unboundedrlimits parameter to rlimits in prototype.
23033 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23034 Do not use __unbounded.
23035 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23036 not use __ptrvalue.
23037 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23038 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23039 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23040 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23041 __ptrvalue or __unbounded.
23042 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23043 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23045 (__new_msgctl): Do not use __ptrvalue.
23046 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23048 (__libc_msgrcv): Do not use __ptrvalue.
23049 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23050 startup_info): Do not use __unbounded.
23051 (__libc_start_main): Likewise. Rename ubp_* variables and
23052 parameters. Remove argv definitions conditional on
23053 [__BOUNDED_POINTERS__].
23054 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23056 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23058 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23060 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23062 (__new_shmctl): Do not use __ptrvalue.
23063 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23064 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23066 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23067 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23068 (__libc_sigaction): Likewise.
23069 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23070 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23072 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23074 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23076 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23078 * string/mempcpy.c: Implement by calling memcpy.
23080 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23087 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23088 values in the mantissa.
23090 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23091 minimize writes to Z.
23092 (sub_magnitudes): Simplify code a bit.
23094 2013-02-12 Roland McGrath <roland@hack.frob.com>
23096 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23097 from the message. The linker prefixes all warnings with that already.
23099 2013-02-12 Andreas Schwab <schwab@suse.de>
23102 * posix/regexec.c (extend_buffers): Add parameter min_len.
23103 (check_matching): Pass minimum needed length.
23104 (clean_state_log_if_needed): Likewise.
23105 (get_subexp): Likewise.
23106 * posix/Makefile (tests): Add bug-regex34.
23107 (bug-regex34-ENV): Define.
23108 * posix/bug-regex34.c: New file.
23111 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23112 elements compare against the byte sequence of it, not its name.
23113 * posix/Makefile (tests): Add bug-regex35.
23114 (bug-regex35-ENV): Define.
23115 * posix/bug-regex35.c: New file.
23117 2013-02-11 Tom de Vries <tom@codesourcery.com>
23119 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23121 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23122 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23123 (CHECK_EOL): Add undef.
23125 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23127 * bits/stdlib-bsearch.h: New file.
23128 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23129 * stdlib/stdlib.h: Likewise.
23131 2013-02-11 Roland McGrath <roland@hack.frob.com>
23133 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23134 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23136 * manual/search.texi (Array Search Function): Add missing const in
23138 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23139 declaration to use rlim_t.
23140 (Basic Scheduling Functions): Remove erroneous const from
23141 sched_getparam prototype. Remove erroneous * from
23142 sched_get_priority_max and sched_get_priority_min prototypes.
23143 (Resource Usage): Fix summary @comment on vtimes to refer to
23144 sys/vtimes.h rather than vtimes.h.
23145 Add missing *s in vtimes prototype.
23146 (Limits on Resources): Fix ulimit prototype to return long int.
23147 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23148 prototypes to use long int rather than double.
23149 (BSD Random): Fix initstate and setstate to use char *, not void *.
23150 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23151 prototype to make second argument 'struct aiocb64 *const[]'.
23152 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23153 (Status of AIO Operations): Remove erroneous const in aio_return and
23154 aio_return64 prototypes.
23155 (Synchronizing I/O): Fix sync prototype to return void.
23156 * manual/startup.texi (Suboptions): Remove an erroneous const in
23157 getsubopt prototype.
23158 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23159 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23160 use size_t rather than int.
23161 (Scanning All Users): Likewise for getpwent_r.
23162 (Setting Groups): Add missing const to setgroups prototype.
23163 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23164 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23165 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23166 'const void *' rather than 'const char *'.
23167 (Host Address Functions): Likewise for inet_ntop.
23168 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23169 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23170 ssize_t for return value.
23171 (Sending Data): Likewise for send, sendto, sendmsg.
23172 (Socket Option Functions): Add a missing const in setsockopt prototype.
23173 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23174 use wchar_t for the argument.
23175 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23176 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23178 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23179 double/float/long double for second argument.
23180 Fix return types of significand, significandf, significandl.
23181 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23182 argument in fchmod prototype.
23183 (File Owner): Use uid_t and gid_t in fchown prototype.
23184 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23185 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23186 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23187 use 'const struct dirent **' as argument types to CMP function pointer
23189 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23190 (File Times): Fix summary magic @comment for struct utimbuf and utime
23191 to refer to utime.h, not time.h.
23192 * manual/string.texi (Argz Functions): Add missing const in
23193 argz_extract and argz_next prototypes.
23194 (Finding Tokens in a String): Likewise for basename.
23195 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23196 (Copying and Concatenation): Fix typo in wmemmove prototype.
23197 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23198 (Signal Stack): Remove erroneous const in sigstack prototype.
23199 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23201 (Simple Calendar Time): Likewise for stime.
23202 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23204 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23205 say sys/sysctl.h instead.
23206 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23207 and vsyslog prototypes.
23209 2013-02-11 Tom de Vries <tom@codesourcery.com>
23211 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23214 2013-02-11 Roland McGrath <roland@hack.frob.com>
23216 * misc/sys/mman.h: Fix typo in mremap comment.
23218 2013-02-08 Roland McGrath <roland@hack.frob.com>
23220 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23221 the '\0' terminator.
23223 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23226 * debug/segfault.c: Don't include <bp-checks.h>.
23227 * sysdeps/generic/bp-checks.h: Remove file.
23228 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23229 (__GETDENTS): Don't use CHECK_N.
23230 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23231 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23232 (__getgroups): Don't use CHECK_N.
23233 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23234 (setgroups): Don't use CHECK_N.
23235 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23236 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23237 (__libc_msgrcv): Don't use CHECK_N.
23238 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23239 (__libc_msgsnd): Don't use CHECK_N.
23240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23242 (__libc_pread): Don't use CHECK_N.
23243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23244 include <bp-checks.h>.
23245 (__libc_pread64): Don't use CHECK_N.
23246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23247 include <bp-checks.h>.
23248 (__libc_pwrite): Don't use CHECK_N.
23249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23250 include <bp-checks.h>.
23251 (__libc_pwrite64): Don't use CHECK_N.
23252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23254 (__libc_pread): Don't use CHECK_N.
23255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23256 include <bp-checks.h>.
23257 (__libc_pread64): Don't use CHECK_N.
23258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23259 include <bp-checks.h>.
23260 (__libc_pwrite): Don't use CHECK_N.
23261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23262 include <bp-checks.h>.
23263 (__libc_pwrite64): Don't use CHECK_N.
23264 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23265 (do_pread): Don't use CHECK_N.
23266 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23267 (do_pread64): Don't use CHECK_N.
23268 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23269 (do_pwrite): Don't use CHECK_N.
23270 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23271 (do_pwrite64): Don't use CHECK_N.
23272 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23273 (__libc_readv): Don't use CHECK_N.
23274 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23275 (semop): Don't use CHECK_N.
23276 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23278 (semtimedop): Don't use CHECK_N.
23279 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23280 (__libc_pread): Don't use CHECK_N.
23281 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23283 (__libc_pread64): Don't use CHECK_N.
23284 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23286 (__libc_pwrite): Don't use CHECK_N.
23287 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23289 (__libc_pwrite64): Don't use CHECK_N.
23290 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23292 (__libc_msgrcv): Don't use CHECK_N.
23293 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23294 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23295 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23296 (__libc_writev): Don't use CHECK_N.
23298 2013-02-08 Roland McGrath <roland@hack.frob.com>
23300 * string/strcpy.c: Removed unused variable.
23302 * Makeconfig (+sysdep-includes): Define with := rather than =.
23303 Use an existing include/ subdir of each sysdeps dir before it.
23305 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23307 * nscd/connection.c (register_traced_file): Comment function.
23308 [HAVE_INOTIFY] (union __inev): Define.
23309 [HAVE_INOTIFY] (inotify_check_files): New function.
23310 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23311 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23313 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23315 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23317 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23318 loaded if not already and that a failure is permanent.
23320 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23323 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23324 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23326 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23329 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23330 (CHECK_1_NULL_OK): Likewise.
23331 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23332 (__fxstat): Do not use CHECK_1.
23333 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23335 (___fxstat64): Do not use CHECK_1.
23336 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23338 (__fxstatat): Do not use CHECK_1.
23339 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23341 (__fxstatat64): Do not use CHECK_1.
23342 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23344 (__fxstat): Do not use CHECK_1.
23345 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23347 (__fxstatat): Do not use CHECK_1.
23348 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23350 (__getresgid): Do not use CHECK_1.
23351 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23353 (__getresuid): Do not use CHECK_1.
23354 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23356 (__lxstat): Do not use CHECK_1.
23357 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23359 (__old_msgctl): Do not use CHECK_1.
23360 (__new_msgctl): Likewise.
23361 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23363 (__new_setrlimit): Do not use CHECK_1.
23364 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23366 (__old_shmctl): Do not use CHECK_1.
23367 (__new_shmctl): Likewise.
23368 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23370 (__xstat): Do not use CHECK_1.
23371 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23372 (__lxstat): Do not use CHECK_1.
23373 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23375 (___lxstat64): Do not use CHECK_1.
23376 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23377 (__old_msgctl): Do not use CHECK_1.
23378 (__new_msgctl): Likewise.
23379 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23381 (__gettimeofday): Do not use CHECK_1.
23382 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23383 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23384 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23386 (__gettimeofday): Do not use CHECK_1.
23387 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23388 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23389 (__new_shmctl): Do not use CHECK_1.
23390 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23392 (do_sigtimedwait): Do not use CHECK_1.
23393 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23395 (do_sigwaitinfo): Do not use CHECK_1.
23396 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23398 (msgctl): Do not use CHECK_1.
23399 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23401 (shmctl): Do not use CHECK_1.
23402 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23403 (ustat): Do not use CHECK_1.
23404 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23406 (__fxstat): Do not use CHECK_1.
23407 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23409 (__fxstatat): Do not use CHECK_1.
23410 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23412 (__lxstat): Do not use CHECK_1.
23413 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23415 (__xstat): Do not use CHECK_1.
23416 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23417 (__xstat): Do not use CHECK_1.
23418 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23419 (___xstat64): Do not use CHECK_1.
23422 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23424 (CHECK_BOUNDS_HIGH): Likewise.
23425 * string/strcpy.c: Do not include <bp-checks.h>.
23426 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23428 2013-02-07 Roland McGrath <roland@hack.frob.com>
23430 * nscd/nscd-client.h (__nscd_drop_map_ref):
23431 Add __attribute__ ((unused)).
23432 * nis/nss-nisplus.h (niserr2nss): Likewise.
23434 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23435 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23437 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23438 Remove inline keyword.
23439 * include/rounding-mode.h (round_away): Likewise.
23440 * libio/wfileops.c (adjust_wide_data): Likewise.
23441 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23442 (__m128i_strloadu_tolower): Likewise.
23443 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23444 (__m128i_strloadu_tolower): Likewise.
23445 * time/mktime.c (ydhms_diff): Likewise.
23446 * locale/elem-hash.h (elem_hash): Likewise.
23447 * locale/setlocale.c (setdata): Likewise.
23448 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23449 (re_string_wchar_at): Likewise.
23450 (bitset_not, bitset_merge, bitset_mask): Likewise.
23451 [!(__GNUC__ > 3)] (inline): Remove macro.
23452 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23453 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23454 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23455 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23456 * string/memcmp.c (memcmp_bytes): Likewise.
23457 * locale/programs/locarchive.c (compute_hashval): Likewise.
23458 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23459 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23460 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23461 * nss/getent.c (print_rpc, print_protocols): Likewise.
23462 (print_passwd, print_group, print_aliases): Likewise.
23463 * nis/nss-nisplus.h (niserr2nss): Likewise.
23464 * nscd/connections.c (restart_p): Likewise.
23465 Change return type to bool.
23467 2013-02-05 Roland McGrath <roland@hack.frob.com>
23469 * Makeconfig (all-Depend-files): Add existing
23470 $(sorted-subdirs:=/Depend) files.
23471 (all-subdirs): Remove nss.
23472 * sysdeps/unix/inet/Subdirs: Add it here instead.
23473 * hesiod/Depend: New file.
23475 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23476 instead of calling alloca.
23478 * io/lseek.c (__lseek): Rename to __libc_lseek.
23479 Define __lseek as an alias.
23481 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23483 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23485 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23486 else clause and remove check for non-standard endianness.
23488 2013-02-04 David S. Miller <davem@davemloft.net>
23490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23492 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23495 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23496 (__ubp_memchr): Remove prototype.
23497 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23498 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23499 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23500 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23501 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23503 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23504 (__ubp_memchr): Likewise.
23505 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23506 (__ubp_memchr): Likewise.
23507 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23508 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23509 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23510 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23512 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23513 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23514 (__getcwd): Do not use CHECK_STRING.
23515 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23517 (__real_chown): Do not use CHECK_STRING.
23518 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23520 (fchownat): Do not use CHECK_STRING.
23521 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23523 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23525 (__lchown): Do not use CHECK_STRING.
23526 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23527 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23528 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23529 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23531 include <bp-checks.h>.
23532 (truncate64): Do not use CHECK_STRING.
23533 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23535 (__real_chown): Do not use CHECK_STRING.
23536 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23538 (__lchown): Do not use CHECK_STRING.
23539 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23541 (__chown): Do not use CHECK_STRING.
23542 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23544 (truncate64): Do not use CHECK_STRING.
23545 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23547 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23548 (__xmknod): Do not use CHECK_STRING.
23549 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23551 (__xmknodat): Do not use CHECK_STRING.
23552 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23553 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23555 2013-02-04 Andreas Schwab <schwab@suse.de>
23558 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23559 * include/netdb.h: Likewise for h_errno.
23560 * elf/tst-stackguard1.c: Include <tls.h>.
23562 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23564 * elf/link.h (struct link_map): Extend the l_addr comment.
23565 * include/link.h (struct link_map): Likewise.
23567 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23570 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23571 (BOUNDED_1): Remove macro.
23572 * debug/backtrace.c: Don't include <bp-checks.h>.
23573 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23574 (__backtrace): Likewise.
23575 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23577 (__backtrace): Don't use BOUNDED_1.
23578 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23580 (__backtrace): Don't use BOUNDED_1.
23581 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23582 (__backtrace): Don't use BOUNDED_1.
23583 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23584 (shmat): Don't use BOUNDED_N.
23586 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23589 * sysdeps/generic/bp-start.h: Remove file.
23590 * csu/libc-start.c: Don't include <bp-start.h>.
23591 (LIBC_START_MAIN): Set up __environ directly instead of using
23592 INIT_ARGV_and_ENVIRON.
23593 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23597 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23599 (CHECK_FCNTL): Likewise.
23600 (CHECK_N_PAGES): Likewise.
23603 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23605 (CHECK_SIGSET_NULL_OK): Likewise.
23606 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23608 (sigpending): Don't use CHECK_SIGSET.
23609 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23611 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23612 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23614 (do_sigsuspend): Don't use CHECK_SIGSET.
23615 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23617 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23618 (do_sigwait): Don't use CHECK_SIGSET.
23619 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23621 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23622 include <bp-checks.h>.
23623 (sigpending): Don't use CHECK_SIGSET.
23624 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23625 include <bp-checks.h>.
23626 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23627 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23629 (sigpending): Don't use CHECK_SIGSET.
23630 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23632 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23635 * sysdeps/generic/bp-semctl.h: Remove file.
23636 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23637 <bp-checks.h> and <bp-semctl.h>.
23638 (__old_semctl): Don't use CHECK_SEMCTL.
23639 (__new_semctl): Likewise.
23640 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23642 (__old_semctl): Don't use CHECK_SEMCTL.
23643 (__new_semctl): Likewise.
23644 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23645 <bp-checks.h> and <bp-semctl.h>.
23646 (__old_semctl): Don't use CHECK_SEMCTL.
23647 (__new_semctl): Likewise.
23648 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23649 <bp-checks.h> and <bp-semctl.h>.
23650 (semctl): Don't use CHECK_SEMCTL.
23653 * Makerules (elide-bp-thunks): Remove variable.
23654 (elide-routines.oS): Don't use $(elide-bp-thunks).
23655 (elide-routines.os): Likewise.
23656 (elide-routines.o): Likewise.
23657 (elide-routines.op): Likewise.
23658 (elide-routines.og): Likewise.
23659 (objects): Don't use $(bp-thunks).
23660 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23662 (common-generated): Do not add s-proto-bp.d.
23663 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23666 Do not generate makefile rules for bounded-pointer thunks.
23667 * sysdeps/generic/bp-thunks.h: Remove file.
23668 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23669 * sysdeps/unix/s-proto-bp.S: Likewise.
23672 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23673 parts of result separately when argument is not close to line from
23674 -i to i and one part of argument is small.
23675 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23676 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23677 * math/libm-test.inc (cacos_test): Add more tests.
23678 (casin_test): Likewise.
23679 (casinh_test): Likewise.
23680 * sysdeps/i386/fpu/libm-test-ulps: Update.
23681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683 2013-01-31 David S. Miller <davem@davemloft.net>
23685 * po/de.po: Update from translation team.
23687 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23689 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23691 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23693 * configure.in (_AC_PROG_CC_C89): New definition.
23694 * configure: Regenerate.
23696 * configure.in (AC_PROG_CPP): New definition.
23697 * configure: Regenerate.
23699 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23701 * debug/tst-backtrace.h: New file.
23702 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23703 (ret): Remove variable.
23705 (FAIL): Remove macro.
23706 (NO_INLINE): Likewise.
23707 (fn1): Use match function instead of strstr.
23708 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23709 (ret): Remove variable.
23711 (FAIL): Remove macro.
23712 (NO_INLINE): Likewise.
23713 (fn): Use match function instead of strstr.
23714 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23715 (ret): Remove variable.
23717 (FAIL): Remove macro.
23718 (NO_INLINE): Likewise.
23719 (handle_signal): Use match function instead of strstr.
23720 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23721 (ret): Remove variable.
23723 (FAIL): Remove macro.
23724 (NO_INLINE): Likewise.
23725 (handle_signal): Use match function instead of strstr.
23727 2013-01-23 Roland McGrath <roland@hack.frob.com>
23729 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23731 2013-01-23 David S. Miller <davem@davemloft.net>
23733 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23734 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23735 argument of CAS if possible.
23736 * sysdeps/sparc/sparc64/bits/atomic.h
23737 (__arch_compare_and_exchange_val_32_acq): Likewise.
23738 (__arch_compare_and_exchange_val_64_acq): Likewise.
23740 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23742 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23743 * sysdeps/posix/ulimit.c: ... this.
23744 Include <limits.h>.
23745 * sysdeps/unix/bsd/ulimit.c: Remove file.
23747 2013-01-23 Adam Conrad <adconrad@0c3.net>
23749 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23750 (LDFLAGS-tst-array5): Likewise.
23752 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23755 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23756 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23757 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23758 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23760 2013-01-21 David S. Miller <davem@davemloft.net>
23762 * sysdeps/sparc/backtrace.c: New file.
23763 * sysdeps/sparc/sparc32/backtrace.h: New file.
23764 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23765 * sysdeps/sparc/sparc64/backtrace.h: New file.
23766 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23767 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23770 2013-01-21 Andreas Schwab <schwab@suse.de>
23773 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23776 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23782 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23783 Mark Mitchell <mark@codesourcery.com>
23784 Tom de Vries <tom@codesourcery.com>
23785 Paul Pluzhnikov <ppluzhnikov@google.com>
23787 * debug/tst-backtrace2.c: New file.
23788 * debug/tst-backtrace3.c: Likewise.
23789 * debug/tst-backtrace4.c: Likewise.
23790 * debug/tst-backtrace5.c: Likewise.
23791 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23792 (CFLAGS-tst-backtrace3.c): Likewise.
23793 (CFLAGS-tst-backtrace4.c): Likewise.
23794 (CFLAGS-tst-backtrace5.c): Likewise.
23795 (LDFLAGS-tst-backtrace2): Likewise.
23796 (LDFLAGS-tst-backtrace3): Likewise.
23797 (LDFLAGS-tst-backtrace4): Likewise.
23798 (LDFLAGS-tst-backtrace5): Likewise.
23799 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23800 tst-backtrace4 and tst-backtrace5.
23802 2013-01-18 Anton Blanchard <anton@samba.org>
23803 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23805 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23806 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23807 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23810 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23811 "+r" and remove output regs list as redundant. Add explicit inline
23812 asm to specify register of return val to work around compiler codegen
23813 bug. Remove (int) cast on return value. Add return type parameter to
23814 use in macro so that this macro does not truncate return value for
23816 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23817 pass to INTERNAL_VSYSCALL_NCS.
23818 (INLINE_VSYSCALL): Add 'long int' as return type to
23819 INTERNAL_VSYSCALL_NCS macro invocation.
23820 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23821 INTERNAL_VSYSCALL_NCS macro invocation.
23822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23824 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23827 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23828 Fix application of SIMD FP exception mask.
23830 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23831 mp_no from a power of two.
23832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23833 __mpexp_twomm1. Use __pow_mp.
23835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23838 2013-01-17 David S. Miller <davem@davemloft.net>
23840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23842 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23845 * include/complex.h: Condition contents on [!_COMPLEX_H].
23846 (__kernel_casinhf): New prototype.
23847 (__kernel_casinh): Likewise.
23848 (__kernel_casinhl): Likewise.
23849 * math/Makefile (libm_calls): Add k_casinh.
23850 * math/k_casinh.c: New file.
23851 * math/k_casinhf.c: Likewise.
23852 * math/k_casinhl.c: Likewise.
23853 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23854 finite nonzero arguments.
23855 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23856 finite nonzero arguments.
23857 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23858 finite nonzero arguments.
23859 * math/s_casinh.c: Do not include <float.h>.
23860 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23861 * math/s_casinhf.c: Do not include <float.h>.
23862 (__casinhf): Move code for finite nonzero arguments to
23864 * math/s_casinhl.c: Do not include <float.h>.
23865 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23867 (__casinhl): Move code for finite nonzero arguments to
23869 * math/libm-test.inc (cacos_test): Add more tests.
23870 * sysdeps/i386/fpu/libm-test-ulps: Update.
23871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23873 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
23875 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23876 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23877 [!HAVE_MREMAP]: Remove [defined linux] case.
23878 * malloc/arena.c: Do not include <malloc-sysdep.h>.
23880 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23882 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23884 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
23886 * elf/elf.h (R_386_SIZE32): New relocation.
23887 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23889 (elf_machine_rela): Likewise.
23890 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23891 R_X86_64_SIZE64 and R_X86_64_SIZE32.
23893 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23895 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23896 (FP_FAST_FMA): Do not define.
23897 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23898 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23899 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23900 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23901 !_SOFT_FLOAT]: Likewise.
23902 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23903 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23905 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23906 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23907 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23908 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23909 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23910 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23913 2013-01-16 Andreas Schwab <schwab@suse.de>
23916 * include/stdlib.h (__mktemp): Add declaration.
23917 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23918 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23920 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23922 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23924 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23925 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23926 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23928 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23929 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23931 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23933 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23934 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23935 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23937 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23938 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23940 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23942 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23944 2013-01-15 David S. Miller <davem@davemloft.net>
23946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23947 trunc{,f} to libm-sysdep_routes.
23948 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23958 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23959 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23960 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23961 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23962 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23963 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23966 nearbyint{,f} to libm-sysdep_routes.
23967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23978 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23980 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23981 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23983 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23984 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23985 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23987 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23988 libc_feholdexcept and libc_fesetenv.
23990 2013-01-15 Mike Frysinger <vapier@gentoo.org>
23992 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23994 2013-01-14 David S. Miller <davem@davemloft.net>
23996 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23997 (SPARC_ASM_VIS2_IFUNC): Likewise.
23998 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24000 use of 'siam' instruction.
24001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24007 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24008 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24009 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24010 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24021 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24029 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24030 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24031 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24032 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24034 routines to libm-sysdep_routines.
24035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24038 fdim/fdimf to libm-sysdep_routines.
24039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24047 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24048 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24049 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24050 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24052 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24055 to optimize copies.
24057 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24058 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24059 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24062 local variable MPTWO.
24063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24066 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24068 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24071 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24073 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24075 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24077 * manual/pattern.texi (glob_t): Document gl_flags.
24078 (glob64_t): Likewise.
24080 2013-01-11 David S. Miller <davem@davemloft.net>
24082 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24083 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24084 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24085 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24086 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24087 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24088 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24089 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24090 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24091 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24092 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24093 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24094 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24096 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24097 sparc V9 rather than using V8 code.
24098 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24099 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24103 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24106 2013-01-11 Roland McGrath <roland@hack.frob.com>
24108 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24109 not in the main loop.
24110 * configure: Regenerated.
24112 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24114 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24115 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24117 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24118 [!__GLIBC_HAVE_LONG_LONG] case.
24119 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24120 condition to just #else.
24121 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24122 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24123 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24124 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24126 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24127 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24128 #elif condition to just #else.
24129 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24130 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24131 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24132 #elif condition to just #else.
24134 2013-01-11 Steve Ellcey <sellcey@mips.com>
24136 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24137 (EF_MIPS_ARCH_64): Fix value.
24138 (EF_MIPS_ARCH_32R2): New.
24139 (EF_MIPS_ARCH_64R2): New.
24141 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24143 * Makeconfig (+link-pie-before-libc): New.
24144 (+link-pie-after-libc): Likewise.
24145 (+link-pie-tests): Likewise.
24146 (+link-pie): Rewritten.
24147 (link-before-libc): Remove $(config-LDFLAGS).
24148 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24149 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24150 (config-LDFLAGS): Renamed to ...
24151 (rtld-LDFLAGS): This.
24152 (rtld-tests-LDFLAGS): New macro.
24153 (link-libc-rpath-link): Likewise.
24154 (link-libc-tests-rpath-link): Likewise.
24155 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24156 (link-libc): Prepand $(link-libc-rpath-link).
24157 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24158 (test-program-prefix): New macro.
24159 (test-via-rtld-prefix): Likewise.
24160 (test-program-cmd): Likewise.
24161 (host-test-program-cmd): Likewise.
24162 * Makefile ($(common-objpfx)testrun.sh): Replace
24163 $(run-program-prefix) with $(test-program-prefix).
24164 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24166 ($(common-objpfx)shlib.lds): Likewise.
24167 (build-module-helper): Likewise.
24168 ($(common-objpfx)format.lds): Likewise.
24169 * Rules (binaries-pie-tests): New.
24170 (binaries-pie-notests): Likewise.
24171 (binaries-pie): Rewritten.
24172 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24173 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24174 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24175 (make-test-out): Replace $(host-built-program-cmd) with
24176 $(host-test-program-cmd).
24177 * config.make.in (build-hardcoded-path-in-tests): New variable.
24178 * configure.in (--enable-hardcoded-path-in-tests): New configure
24180 (hardcoded_path_in_tests): New AC_SUBST.
24181 * configure: Regenerated.
24182 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24183 $(built-program-cmd) with $(test-program-cmd).
24184 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24185 (test_program_cmd): This.
24186 * elf/Makefile ($(objpfx)order.out): Run test with
24187 $(test-program-prefix).
24188 ($(objpfx)order2.out): Likewise.
24189 ($(objpfx)tst-initorder.out): Likewise.
24190 ($(objpfx)tst-initorder2.out): Likewise.
24191 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24192 $(test-program-cmd).
24193 ($(objpfx)tst-array1-static.out): Likewise.
24194 ($(objpfx)tst-array2.out): Likewise.
24195 ($(objpfx)tst-array3.out): Likewise.
24196 ($(objpfx)tst-array4.out): Likewise.
24197 ($(objpfx)tst-array5.out): Likewise.
24198 ($(objpfx)tst-array5-static.out): Likewise.
24199 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24200 $(test-program-cmd).
24201 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24202 $(run-program-prefix) with $(test-program-prefix).
24203 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24204 (test_program_prefix): This.
24205 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24206 $(run-program-prefix) with $(test-program-prefix).
24207 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24208 (test_program_prefix): This.
24209 * iconvdata/tst-tables.sh: Likewise.
24210 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24211 $(run-program-prefix) with $(test-program-prefix).
24212 ($(objpfx)tst-translit.out): Likewise.
24213 ($(objpfx)tst-gettext2.out): Likewise.
24214 ($(objpfx)tst-gettext4.out): Likewise.
24215 ($(objpfx)tst-gettext6.out): Likewise.
24216 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24217 (test_program_prefix): This.
24218 * intl/tst-gettext2.sh: Likewise.
24219 * intl/tst-gettext4.sh Likewise.
24220 * intl/tst-gettext6.sh: Likewise.
24221 * intl/tst-translit.sh: Likewise.
24222 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24223 with $(test-program-cmd).
24224 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24225 $(run-program-prefix) with $(test-program-prefix).
24226 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24227 (test_program_prefix): This.
24228 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24229 $(run-program-prefix) with $(test-program-prefix).
24230 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24231 (test_program_prefix): This.
24232 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24233 * posix/Makefile ($(objpfx)globtest.out): Replace
24234 $(run-via-rtld-prefix) and $(test-wrapper) with
24235 $(test-program-prefix) and $(test-via-rtld-prefix).
24236 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24237 $(test-program-prefix).
24238 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24239 $(host-test-program-cmd).
24240 (tst-spawn-ARGS): Likewise.
24241 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24242 $(test-program-prefix).
24243 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24244 (test_via_rtld_prefix): This.
24245 (test_wrapper): Renamed to ...
24246 (test_program_prefix): This.
24247 (run_program_prefix): Replaced by test_program_prefix.
24248 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24249 (test_program_prefix): This.
24250 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24251 with $(host-test-program-cmd).
24252 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24253 $(run-program-prefix) with $(test-program-prefix).
24254 ($(objpfx)tst-printf.out): Likewise.
24255 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24256 $(test-program-cmd).
24257 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24258 (test_program_prefix): This.
24259 * stdio-common/tst-unbputc.sh: Likewise.
24260 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24261 $(run-program-prefix) with $(test-program-prefix).
24262 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24263 (test_program_prefix): This.
24264 * string/Makefile ($(objpfx)tst-svc.out): Replace
24265 $(built-program-cmd) with $(test-program-cmd).
24267 2013-01-11 Andreas Jaeger <aj@suse.de>
24270 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24271 value. Sync with Linux 3.7.
24273 2013-01-10 David S. Miller <davem@davemloft.net>
24275 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24276 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24277 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24279 2013-01-10 Roland McGrath <roland@hack.frob.com>
24281 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24283 * configure: Regenerated.
24285 2013-01-10 David S. Miller <davem@davemloft.net>
24287 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24288 sparc V9 rather than using V8 code.
24289 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24290 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24292 2013-01-10 Roland McGrath <roland@hack.frob.com>
24294 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24295 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24296 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24297 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24298 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24299 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24300 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24301 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24302 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24303 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24304 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24305 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24306 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24307 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24308 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24309 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24310 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24311 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24312 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24313 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24314 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24315 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24316 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24317 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24318 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24319 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24320 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24322 2013-01-10 David S. Miller <davem@davemloft.net>
24324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24326 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24328 * posix/Makefile (tests-static): New variable.
24329 (tests): Add $(tests-static).
24330 (tst-exec-static-ARGS): New variable.
24331 (tst-spawn-static-ARGS): Likewise.
24332 * posix/tst-exec-static.c: New file.
24333 * posix/tst-spawn-static.c: Likewise.
24334 * posix/tst-exec.c: Support run directly.
24335 * posix/tst-spawn.c: Likewise.
24337 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24339 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24341 * math/bits/mathcalls.h (llrint): Likewise.
24342 (llround): Likewise.
24343 * stdlib/stdlib.h (struct drand48_data): Likewise.
24344 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24345 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24346 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24348 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24350 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24351 (elf_greg_t): Likewise.
24352 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24353 (__jmp_buf): Likewise.
24354 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24356 (llrint): Likewise, for all definitions.
24357 (llrintl): Likewise.
24359 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24360 Remove [__GNUC__] condition.
24361 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24362 condition to just [__USE_ISOC99].
24363 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24365 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24368 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24369 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24371 (_POSIX_V6_ILP32_OFF32): Likewise.
24372 (_XBS5_ILP32_OFF32): Likewise.
24373 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24374 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24376 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24378 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24380 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24381 doubles __mpexp_twomm1. Adjust usage.
24382 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24385 2013-01-10 Andreas Schwab <schwab@suse.de>
24388 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24389 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24391 2013-01-09 David S. Miller <davem@davemloft.net>
24394 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24395 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24396 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24397 (TCP_FASTOPEN): Define.
24398 (tcp_repair_opt): New structure.
24399 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24401 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24402 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24403 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24404 (tcp_cookie_transactions): New structure.
24406 2013-01-09 Anton Blanchard <anton@samba.org>
24408 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24409 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24410 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24411 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24413 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24415 * include/features.h (__USE_ANSI): Remove.
24417 2013-01-09 Roland McGrath <roland@hack.frob.com>
24419 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24421 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24423 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24425 * sysdeps/s390/fpu/libm-test-ulps: Update.
24427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24429 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24433 (denorm): Likewise.
24434 (__mp_dbl): Likewise.
24435 (__dbl_mp): Likewise.
24436 (add_magnitudes): Likewise.
24437 (sub_magnitudes): Likewise.
24443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24447 (denorm): Likewise.
24448 (__mp_dbl): Likewise.
24449 (__dbl_mp): Likewise.
24450 (add_magnitudes): Likewise.
24451 (sub_magnitudes): Likewise.
24457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24461 (denorm): Likewise.
24462 (__mp_dbl): Likewise.
24463 (__dbl_mp): Likewise.
24464 (add_magnitudes): Likewise.
24465 (sub_magnitudes): Likewise.
24472 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24474 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24475 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24476 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24477 2 && __USE_EXTERN_INLINES]: Likewise.
24479 2013-01-08 Andreas Jaeger <aj@suse.de>
24482 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24484 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24485 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24487 2013-01-07 Anton Blanchard <anton@samba.org>
24489 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24490 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24491 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24492 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24493 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24494 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24495 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24496 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24499 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24500 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24501 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24503 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24505 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24507 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24508 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24509 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24510 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24512 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24513 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24514 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24515 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24516 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24518 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24519 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24520 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24521 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24522 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24523 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24524 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24525 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24527 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24531 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24533 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24535 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24536 (__MALLOC_PMT): Likewise.
24537 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24538 [__GNUC__], only on [_LIBC].
24539 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24540 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24541 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24542 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24543 forward declaration.
24544 (realloc_hook_ini): Likewise.
24545 (memalign_hook_ini): Likewise.
24546 (__libc_memalign): Do not use __MALLOC_PMT in variable
24548 (__libc_valloc): Likewise.
24549 (__libc_pvalloc): Likewise.
24550 (__libc_calloc): Likewise.
24551 (__posix_memalign): Likewise.
24554 * math/s_casinh.c: Include <float.h>.
24555 (__casinh): Do not do computation with squaring and square root
24556 for large arguments.
24557 * math/s_casinhf.c: Include <float.h>.
24558 (__casinhf): Do not do computation with squaring and square root
24559 for large arguments.
24560 * math/s_casinhl.c: Include <float.h>.
24561 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24562 (__casinhl): Do not do computation with squaring and square root
24563 for large arguments.
24564 * math/libm-test.inc (casin_test): Add more tests.
24565 (casinh_test): Likewise.
24566 * sysdeps/i386/fpu/libm-test-ulps: Update.
24567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24569 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24571 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24572 (__x86_64_raw_data_cache_size): Likewise.
24573 (__x86_64_data_cache_size_half): Likewise.
24574 (__x86_64_raw_data_cache_size_half): Likewise.
24575 (__x86_64_shared_cache_size): Likewise.
24576 (__x86_64_raw_shared_cache_size): Likewise.
24577 (__x86_64_shared_cache_size_half): Likewise.
24578 (__x86_64_raw_shared_cache_size_half): Likewise.
24579 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24581 (__x86_data_cache_size): This.
24582 (__x86_64_raw_data_cache_size): Renamed to ...
24583 (__x86_raw_data_cache_size): This.
24584 (__x86_64_data_cache_size_half): Renamed to ...
24585 (__x86_data_cache_size_half): This.
24586 (__x86_64_raw_data_cache_size_half): Renamed to ...
24587 (__x86_raw_data_cache_size_half): This.
24588 (__x86_64_shared_cache_size): Renamed to ...
24589 (__x86_shared_cache_size): This.
24590 (__x86_64_raw_shared_cache_size): Renamed to ...
24591 (__x86_raw_shared_cache_size): This.
24592 (__x86_64_shared_cache_size_half): Renamed to ...
24593 (__x86_shared_cache_size_half): This.
24594 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24595 (__x86_raw_shared_cache_size_half): This.
24596 * sysdeps/x86_64/memcpy.S: Updated.
24597 * sysdeps/x86_64/memset.S: Likewise.
24598 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24602 2013-01-04 David S. Miller <davem@davemloft.net>
24604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24606 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24608 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24609 1 to avoid redefinition warning.
24610 (__USE_GNU): Don't define.
24611 (init_signaling_nan): Protoize.
24613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24615 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24617 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24619 (__cpymn): Likewise.
24620 (norm): Remove commented code.
24621 (denorm): Likewise.
24622 (__mp_dbl): Likewise.
24624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24625 (__cpymn): Likewise.
24626 (norm): Remove commented code.
24627 (denorm): Likewise.
24628 (__mp_dbl): Likewise.
24631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24632 mp_no value for 1.0 and 2.0.
24633 (norm): Use RADIXI instead of radixi.d.
24634 (denorm): Likewise.
24635 (__mul): Use 0.0 instead of zero.d.
24636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24637 mp_no value for 1.0 and 2.0.
24638 (norm): Use RADIXI instead of radixi.d.
24639 (denorm): Likewise.
24640 (__mul): Use 0.0 instead of zero.d.
24642 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24645 * math/s_casinh.c (__casinh): Reduce finite argument to first
24646 quadrant then set signs of results at the end.
24647 * math/s_casinhf.c (__casinhf): Likewise.
24648 * math/s_casinhl.c (__casinhl): Likewise.
24649 * math/libm-test.inc (casin_test): Add more tests.
24650 (casinh_test): Likewise.
24651 * sysdeps/i386/fpu/libm-test-ulps: Update.
24652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24654 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24656 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24658 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24660 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24662 (denorm): Likewise.
24663 (__mp_dbl): Likewise.
24666 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24667 and adjust the header comment.
24669 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24670 variable name from declaration.
24672 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24675 Initialize COMMON_CPUID_INDEX_7 element.
24676 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24677 (CPUID_RTM): Likewise.
24678 (HAS_RTM): Likewise.
24679 (COMMON_CPUID_INDEX_7): New enum.
24681 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24684 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24685 size is zero, record memory as freed.
24687 2013-01-03 Andreas Jaeger <aj@suse.de>
24689 * po/ia.po: Add new Interlingua translation.
24691 2012-01-03 Allan McRae <allan@archlinux.org>
24693 * locale/programs/localedef.c: Fix description of '--posix' flag.
24695 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24697 * NEWS: Update dates in second copyright notice.
24698 * README: Update copyright dates in example.
24699 * manual/libc.texinfo: Update copyright dates.
24700 * scripts/test-installation.pl: Update copyright date in --version
24703 * hurd/ctty-input.c: Fix copyright notice formatting.
24704 * hurd/ctty-output.c: Likewise.
24705 * hurd/dtable.c: Likewise.
24706 * hurd/hurd-raise.c: Likewise.
24707 * hurd/hurdprio.c: Likewise.
24708 * hurd/msgportdemux.c: Likewise.
24709 * misc/sys/file.h: Likewise.
24710 * misc/sys/ioctl.h: Likewise.
24711 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24712 * sysdeps/mach/hurd/chdir.c: Likewise.
24713 * sysdeps/mach/hurd/fchdir.c: Likewise.
24714 * sysdeps/mach/hurd/rename.c: Likewise.
24715 * sysdeps/mach/hurd/rmdir.c: Likewise.
24716 * sysdeps/mach/hurd/seekdir.c: Likewise.
24717 * sysdeps/mach/hurd/setsid.c: Likewise.
24718 * sysdeps/posix/wait3.c: Likewise.
24720 * All files with FSF copyright notices: Update copyright dates
24721 using scripts/update-copyrights.
24722 * intl/plural.c: Regenerated.
24723 * locale/programs/charmap-kw.h: Likewise.
24724 * locale/programs/locfile-kw.h: Likewise.
24726 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24728 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24732 calculation loop and add branch prediction.
24734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24735 check access beyond bounds of m1np.
24737 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24739 (__inv): Remove local variable MPTWO to use the global
24741 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24742 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24744 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24745 MP3HALFS static const.
24747 2013-01-01 David S. Miller <davem@davemloft.net>
24749 * po/ca.po: Update from translation team.
24751 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24753 * scripts/update-copyrights: New file.
24754 * Makeconfig: Reformat copyright notice.
24755 * ctype/ctype.h: Likewise.
24756 * debug/swprintf_chk.c: Likewise.
24757 * elf/dl-cache.c: Likewise.
24758 * elf/dl-debug.c: Likewise.
24759 * elf/dl-object.c: Likewise.
24760 * grp/initgroups.c: Likewise.
24761 * hurd/Makefile: Likewise.
24762 * hurd/hurd/signal.h: Likewise.
24763 * hurd/hurdfault.c: Likewise.
24764 * hurd/hurdioctl.c: Likewise.
24765 * hurd/hurdlookup.c: Likewise.
24766 * hurd/intr-msg.c: Likewise.
24767 * iconv/gconv_open.c: Likewise.
24768 * libio/swprintf.c: Likewise.
24769 * locale/lc-ctype.c: Likewise.
24770 * locale/nl_langinfo.c: Likewise.
24771 * mach/Machrules: Likewise.
24772 * mach/Makefile: Likewise.
24773 * malloc/obstack.h: Likewise.
24774 * manual/Makefile: Likewise.
24775 * manual/tsort.awk: Likewise.
24776 * misc/bits/stab.def: Likewise.
24777 * nis/nis_print_group_entry.c: Likewise.
24778 * nis/nis_table.c: Likewise.
24779 * nis/nss_compat/compat-pwd.c: Likewise.
24780 * nis/nss_compat/compat-spwd.c: Likewise.
24781 * po/Makefile: Likewise.
24782 * posix/fnmatch.c: Likewise.
24783 * posix/regex.h: Likewise.
24784 * resolv/Makefile: Likewise.
24785 * resolv/nss_dns/dns-network.c: Likewise.
24786 * resolv/res_hconf.c: Likewise.
24787 * scripts/gen-sorted.awk: Likewise.
24788 * soft-fp/soft-fp.h: Likewise.
24789 * stdio-common/printf.h: Likewise.
24790 * stdlib/monetary.h: Likewise.
24791 * stdlib/random.c: Likewise.
24792 * stdlib/random_r.c: Likewise.
24793 * sysdeps/generic/Makefile: Likewise.
24794 * sysdeps/gnu/Makefile: Likewise.
24795 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24797 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24802 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24803 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24804 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24805 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24806 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24807 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24808 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24809 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24810 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24811 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24812 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24813 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24814 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24815 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24816 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24817 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24818 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24819 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24821 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24823 * sysdeps/mach/hurd/errnos.awk: Likewise.
24824 * sysdeps/mach/hurd/fork.c: Likewise.
24825 * sysdeps/mach/hurd/getcwd.c: Likewise.
24826 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24827 * sysdeps/mach/hurd/mmap.c: Likewise.
24828 * sysdeps/mach/hurd/utimes.c: Likewise.
24829 * sysdeps/mach/hurd/xmknod.c: Likewise.
24830 * sysdeps/posix/profil.c: Likewise.
24831 * sysdeps/posix/readdir_r.c: Likewise.
24832 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24833 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24834 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24835 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24837 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24838 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24839 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24841 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24842 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24843 * sysdeps/pthread/lio_listio.c: Likewise.
24844 * sysdeps/sparc/dl-procinfo.h: Likewise.
24845 * sysdeps/unix/i386/sysdep.S: Likewise.
24846 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24847 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24848 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24849 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24851 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24852 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24853 * sysdeps/unix/sysv/linux/speed.c: Likewise.
24854 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24855 * sysdeps/wordsize-32/divdi3.c: Likewise.
24856 * time/sys/time.h: Likewise.
24857 * wcsmbs/Makefile: Likewise.
24859 2013-01-01 David S. Miller <davem@davemloft.net>
24861 * po/fr.po: Update from translation team.
24863 * catgets/gencat.c: Update copyright year.
24864 * csu/version.c: Likewise.
24865 * debug/catchsegv.sh: Likewise.
24866 * debug/pcprofiledump.c: Likewise.
24867 * debug/xtrace.sh: Likewise.
24868 * elf/ldconfig.c: Likewise.
24869 * elf/ldd.bash.in: Likewise.
24870 * elf/pldd.c: Likewise.
24871 * elf/sotruss.ksh: Likewise.
24872 * elf/sprof.c: Likewise.
24873 * iconv/iconv_prog.c: Likewise.
24874 * iconv/iconvconfig.c: Likewise.
24875 * locale/programs/locale.c: Likewise.
24876 * locale/programs/localedef.c: Likewise.
24877 * login/programs/pt_chown.c: Likewise.
24878 * malloc/memusage.sh: Likewise.
24879 * malloc/memusagestat.c: Likewise.
24880 * malloc/mtrace.pl: Likewise.
24881 * nscd/nscd.c: Likewise.
24882 * nss/getent.c: Likewise.
24883 * nss/makedb.c: Likewise.
24884 * posix/getconf.c: Likewise.
24886 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24888 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24891 2012-12-30 Mike Frysinger <vapier@gentoo.org>
24893 * math/bits/mathcalls.h (modf): Use __nonnull.
24895 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24897 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24898 (split): Use macro CN instead of the bare value.
24899 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24901 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24902 instead of the bare value.
24903 (power1): Likewise.
24905 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24909 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24911 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24913 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24914 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24915 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24916 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24918 2012-12-28 Andreas Jaeger <aj@suse.de>
24920 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
24921 values are from Linux 3.7.
24923 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24924 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
24926 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24928 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24931 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24933 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24934 variables with preprocessor constants.
24935 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24936 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24937 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24939 2012-12-27 Bruno Haible <bruno@clisp.org>
24942 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24945 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24948 and use variable directly.
24949 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24951 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24953 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24956 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24957 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24958 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24959 include directive. Remove local variable MPONE.
24960 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24961 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24964 2012-12-25 David S. Miller <davem@davemloft.net>
24966 * version.h (RELEASE): Set to "development".
24967 (VERSION): Set to "2.17.90".
24968 * NEWS: Add 2.18 section.
24970 2012-12-21 David S. Miller <davem@davemloft.net>
24972 * po/hr.po: Update from translation team.
24974 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24976 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24978 2012-12-19 Steve Ellcey <sellcey@mips.com>
24980 * NEWS: Mention new memcpy for MIPS.
24982 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24984 * manual/contrib.texi (Contributors): Spelling correction.
24986 2012-12-15 David S. Miller <davem@davemloft.net>
24988 * po/ru.po: Update from translation team.
24990 2012-12-13 David S. Miller <davem@davemloft.net>
24992 * NEWS: Mention IFUNC testsuite enhancements.
24994 * po/pl.po: Update from translation team.
24995 * po/bg.po: Likewise.
24997 * manual/contrib.texi (Contributors): Update entries for Hongjiu
24998 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25000 2012-12-11 David S. Miller <davem@davemloft.net>
25002 * po/sv.po: Update from translation team.
25004 * po/vi.po: Update from translation team.
25006 * po/cs.po: Update from translation team.
25008 * po/de.po: Update from translation team.
25009 * po/eo.po: Likewise.
25010 * po/nl.po: Likewise.
25012 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25015 * manual/argp.texi (Argp Helper Functions): Move node to follow
25016 Argp Parsing State.
25019 * manual/conf.texi (Limits on File System Capacity): Mention if
25020 terminating null is included in the max size.
25022 2012-12-10 Andreas Jaeger <aj@suse.de>
25024 * po/cs.po: Update from translation team.
25026 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25028 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25029 void pointer and cast to uintptr_t.
25030 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25032 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25033 * sysdeps/s390/s390-64/memset.S: Likewise.
25035 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25038 * menual/message.texi (Message Translation): Fix typos.
25039 (Helper programs for gettext): Likewise.
25041 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25044 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25047 2012-12-07 David S. Miller <davem@davemloft.net>
25049 * po/libc.pot: Update.
25051 2012-12-07 Richard Henderson <rth@redhat.com>
25054 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25055 normal/normal case to before the switch.
25056 (_FP_DIV): Likewise.
25058 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25059 Mike Frysinger <vapier@gentoo.org>
25061 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25062 check for __NR_fadvise64_64.
25064 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25066 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25067 0, not just to plain "0" as a statement.
25068 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25071 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25073 * NEWS: Use sourceware.org in Bugzilla URL.
25075 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25078 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25080 * stdio-common/tst-put-error.c (do_test): Add newline to the
25081 padded test to ensure flush.
25083 2012-12-05 Jeff Law <law@redhat.com>
25085 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25087 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25089 * README: Don't refer to ports add-on as distributed separately.
25090 Mention AArch64 in list of systems supported in the ports add-on.
25092 * LICENSES: Add more non-FSF copyright and license notices.
25094 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25097 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25099 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25100 10000 as width of padded output.
25102 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25104 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25106 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25107 variable LX with __attribute__ ((unused)).
25108 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25110 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25111 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25112 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25113 with __attribute__ ((unused)).
25115 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25117 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25119 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25121 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25122 (CFLAGS-nldbl-acos.c): New variable.
25123 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25124 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25125 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25126 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25127 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25128 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25129 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25130 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25131 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25132 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25133 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25134 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25135 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25136 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25137 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25138 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25139 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25140 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25141 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25142 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25143 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25144 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25145 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25146 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25147 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25148 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25149 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25150 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25151 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25152 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25153 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25154 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25155 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25156 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25157 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25158 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25159 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25160 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25161 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25162 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25163 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25164 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25165 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25166 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25167 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25168 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25169 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25170 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25171 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25172 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25173 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25174 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25175 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25176 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25177 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25178 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25179 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25180 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25181 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25182 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25183 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25184 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25185 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25186 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25187 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25188 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25189 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25190 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25191 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25192 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25193 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25194 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25195 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25196 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25197 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25198 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25199 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25200 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25201 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25202 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25203 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25204 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25205 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25206 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25207 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25208 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25209 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25210 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25211 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25212 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25213 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25214 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25215 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25216 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25217 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25218 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25219 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25222 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25226 whole low double instead of just low 47 bits when splitting values
25229 2012-12-03 Allan McRae <allan@archlinux.org>
25231 * manual/stdio.texi (Predefined Printf Handlers): Remove
25232 @hsep and @vsep usage.
25234 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25236 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25237 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25239 2012-12-03 Jeff Law <law@redhat.com>
25241 * time/sys/time.h (settimeofday): Do not mark TV argument
25244 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25246 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25247 when currently writing and seek to current position when not.
25248 * libio/Makefile (tests): Remove bug-fclose1.
25249 * libio/bug-fclose1.c: Delete.
25251 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25253 * manual/arith.texi (feenableexcept): Fix typo.
25254 (fedisableexcept): Likewise.
25256 2012-11-30 Roland McGrath <roland@hack.frob.com>
25258 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25259 second, differently-typed declaration, rather than a cast.
25261 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25263 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25264 * include/rpc/svc.h: ... here.
25266 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25269 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25270 depending n and resplen2 to catch cases where answer
25273 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25275 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25276 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25278 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25280 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25282 2012-11-29 Roland McGrath <roland@hack.frob.com>
25284 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25286 2012-11-28 Jeff Law <law@redhat.com>
25289 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25290 dataset_temporary. Track alloca usage into alloca_used.
25291 If dataset is large allocate and release it via malloc/free.
25293 2012-06-04 Florian Weimer <fweimer@redhat.com>
25296 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25298 2012-11-28 David S. Miller <davem@davemloft.net>
25300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25302 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25305 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25306 of pi/2 rounded to nearest to 64 bits.
25307 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25308 nearest to 64 bits.
25309 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25312 2012-11-28 Jeff Law <law@redhat.com>
25313 Martin Osvald <mosvald@redhat.com>
25316 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25317 * sunrpc/svc.c: Include time.h.
25318 (__svc_accept_failed): New function.
25319 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25320 any reason other than EINTR, call __svc_accept_failed.
25321 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25322 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25324 2012-11-28 Andreas Schwab <schwab@suse.de>
25326 * scripts/abilist.awk: Also handle indirect functions in .opd
25329 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25332 * sysdeps/x86/fpu/powl_helper.c: New file.
25333 * sysdeps/x86/fpu/Makefile: Likewise.
25334 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25336 (__ieee754_powl): Use __powl_helper for finite arguments except
25337 integer exponents below 8.
25338 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25340 (__ieee754_powl): Use __powl_helper for finite arguments except
25341 integer exponents below 8.
25342 * math/libm-test.inc (pow_test): Add more tests and enable some
25343 previously disabled tests.
25344 * sysdeps/i386/fpu/libm-test-ulps: Update.
25345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25347 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25348 Carlos O'Donell <carlos_odonell@mentor.com>
25350 * nss/makedb.c (is_prime): Assert that input is odd and greater
25351 than 4. Note that fact in a comment too.
25352 (next_prime): Add 4 to input.
25354 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25357 * libio/Makefile (tests): Add test case tst-fwrite-error.
25358 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25359 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25360 * libio/tst-fwrite-error.c: New test case.
25362 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25364 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25365 before casting to void *.
25366 * include/libc-internal.h (__pointer_type): New macro.
25367 (__integer_if_pointer_type_sub): Likewise.
25368 (__integer_if_pointer_type): Likewise.
25369 (cast_to_integer): Likewise.
25370 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25371 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25372 before casting to atomic64_t.
25373 (atomic_exchange_acq): Likewise.
25374 (__arch_exchange_and_add_body): Likewise.
25375 (__arch_add_body): Likewise.
25376 (atomic_add_negative): Likewise.
25377 (atomic_add_zero): Likewise.
25379 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25381 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25382 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25383 (add_fdes): Likewise.
25384 (linear_search_fdes): Likewise.
25385 (binary_search_unencoded_fdes): Likewise.
25387 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25389 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25391 2012-11-24 Adam Conrad <adconrad@0c3.net>
25393 * configure.in: Autodetect C++ header directories.
25394 * configure: Regenerated.
25396 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25398 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25400 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25404 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25406 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25407 LDBL_MANT_DIG == 106]: Disable some tests.
25408 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25410 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25414 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25415 input for small inputs. Return +/- pi/2 for large inputs.
25416 * math/libm-test.inc (atan_test): Add more tests.
25418 * sysdeps/generic/unwind-dw2-fde-glibc.c
25419 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25420 __attribute__ ((unused)).
25423 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25424 x * y if x and y are nonzero and z is zero.
25427 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25428 nonzero exponents with absolute value below 0x1p-117 to +/-
25432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25433 up arguments below 2**-450, not just those below 2**-500.
25434 * math/libm-test.inc (hypot_test): Add another test.
25437 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25438 Return a+b for ratio over 2**120, not 2**60.
25439 * math/libm-test.inc (hypot_test): Add another test.
25441 * math/libm-test.inc (clog_test): Use
25442 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25443 (clog10_test): Likewise.
25446 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25448 2012-11-22 Andreas Schwab <schwab@suse.de>
25450 * sysdeps/i386/fpu/libm-test-ulps: Update.
25452 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25454 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25455 printf output with newline.
25457 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25460 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25461 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25462 -z nodlopen, -z initfirst and -z execstack support.
25463 * configure: Regenerated.
25465 * elf/elf.h (DF_1_NODIRECT): New macro.
25466 (DF_1_IGNMULDEF): Likewise.
25467 (DF_1_NOKSYMS): Likewise.
25468 (DF_1_NOHDR): Likewise.
25469 (DF_1_EDITED): Likewise.
25470 (DF_1_NORELOC): Likewise.
25471 (DF_1_SYMINTPOSE): Likewise.
25472 (DF_1_GLOBAUDIT): Likewise.
25473 (DF_1_SINGLETON): Likewise.
25474 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25475 DT_1_SUPPORTED_MASK bits.
25476 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25478 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25480 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25482 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25484 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25487 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25488 (sendmmsg): Move declarations...
25489 * socket/sys/socket.h: ... here.
25490 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25491 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25493 * socket/recvmmsg.c: ... this new file.
25494 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25495 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25496 definition of __sendmmsg hidden.
25497 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25498 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25499 Move ENOSYS stub into and include it from...
25500 * socket/sendmmsg.c: ... this new file.
25501 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25502 (sysdep_routines): Move recvmmsg and sendmmsg...
25503 * socket/Makefile (routines): ... here.
25504 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25505 (GLIBC_PRIVATE): Add __sendmmsg.
25506 * include/sys/socket.h (__sendmmsg): Add declarations.
25507 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25510 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25513 variable I1 with __attribute__ ((unused)).
25514 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25516 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25518 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25519 DUMMY variables with __attribute__ ((unused)).
25521 * bits/byteswap.h: Include <bits/types.h>.
25522 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25524 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25526 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25527 string_t. Do not manually set errno.
25528 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25529 length with __strnlen. Make sure to both set errno and return it on
25532 2012-11-19 David S. Miller <davem@davemloft.net>
25534 With help from Joseph Myers.
25535 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25536 very large arguments properly.
25537 * math/libm-test.inc (atan_test): New tests.
25538 (atan2_test): New tests.
25539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25542 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25545 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25548 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25549 [POSIX] (EADDRNOTAVAIL): Likewise.
25550 [POSIX] (EAFNOSUPPORT): Likewise.
25551 [POSIX] (EALREADY): Likewise.
25552 [POSIX] (ECONNABORTED): Likewise.
25553 [POSIX] (ECONNREFUSED): Likewise.
25554 [POSIX] (ECONNRESET): Likewise.
25555 [POSIX] (EDESTADDRREQ): Likewise.
25556 [POSIX] (EDQUOT): Likewise.
25557 [POSIX] (EHOSTUNREACH): Likewise.
25558 [POSIX] (EIDRM): Likewise.
25559 [POSIX] (EISCONN): Likewise.
25560 [POSIX] (ELOOP): Likewise.
25561 [POSIX] (EMULTIHOP): Likewise.
25562 [POSIX] (ENETDOWN): Likewise.
25563 [POSIX] (ENETUNREACH): Likewise.
25564 [POSIX] (ENOBUFS): Likewise.
25565 [POSIX] (ENODATA): Likewise.
25566 [POSIX] (ENOLINK): Likewise.
25567 [POSIX] (ENOMSG): Likewise.
25568 [POSIX] (ENOPROTOOPT): Likewise.
25569 [POSIX] (ENOSR): Likewise.
25570 [POSIX] (ENOSTR): Likewise.
25571 [POSIX] (ENOTCONN): Likewise.
25572 [POSIX] (ENOTSOCK): Likewise.
25573 [POSIX] (EOPNOTSUPP): Likewise.
25574 [POSIX] (EOVERFLOW): Likewise.
25575 [POSIX] (EPROTO): Likewise.
25576 [POSIX] (EPROTONOSUPPORT): Likewise.
25577 [POSIX] (EPROTOTYPE): Likewise.
25578 [POSIX] (ESTALE): Likewise.
25579 [POSIX] (ETIME): Likewise.
25580 [POSIX] (ETXTBSY): Likewise.
25581 [POSIX] (EWOULDBLOCK): Likewise.
25582 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25583 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25584 [POSIX] (SEEK_CUR): Likewise.
25585 [POSIX] (SEEK_END): Likewise.
25586 [POSIX || UNIX98] (mode_t): Do not require.
25587 [POSIX] (off_t): Likewise.
25588 [POSIX] (pid_t): Likewise.
25589 [POSIX] (sys/stat.h): Do not allow header.
25590 [POSIX] (unistd.h): Likewise.
25591 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25592 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25593 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25594 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25596 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25597 sigevent): Specify elements.
25598 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25600 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25601 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25603 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25604 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25605 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25606 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25607 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25608 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25609 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25611 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25612 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25613 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25614 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25615 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25616 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25618 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25620 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25622 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25624 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25625 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25626 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25627 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25628 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25629 Specify lower bound on value.
25630 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25631 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25632 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25633 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25634 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25635 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25636 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25637 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25639 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25641 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25642 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25643 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25644 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25645 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25646 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25647 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25648 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25649 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25658 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25660 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25661 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25662 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25663 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25664 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25667 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25668 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25669 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25670 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25671 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25672 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25673 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25675 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25676 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25677 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25679 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25680 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25681 specify as optional.
25682 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25685 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25686 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25687 [XPG3] (NL_LANGMAX): Likewise.
25688 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25689 [POSIX || XPG3] (NL_NMAX): Likewise.
25690 [POSIX || XPG3] (NL_SETMAX): Likewise.
25691 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25692 [XPG3] (NZERO): Likewise.
25693 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25694 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25695 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25696 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25697 (REG_ERANGE): Expect.
25698 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25700 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25701 Use (void) in prototype.
25702 [POSIX] (*_t): Allow.
25703 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25704 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25705 (WRDE_BADVAL): Expect.
25707 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25709 [XPG3 || XPG4] (O_RSYNC): Likewise.
25710 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25712 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25713 [XPG3 || XPG4] (sigqueue): Likewise.
25714 [XPG3 || XPG4] (sigtimedwait): Likewise.
25715 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25716 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25717 [XPG3 || XPG4] (vsnprintf): Likewise.
25718 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25720 [XPG3 || XPG4] (blksize_t): Likewise.
25721 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25723 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25724 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25725 [XPG3 || XPG4] (struct itimerspec): Likewise.
25726 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25727 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25728 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25729 [XPG3 || XPG4] (clockid_t): Likewise.
25730 [XPG3 || XPG4] (timer_t): Likewise.
25731 [XPG3 || XPG4] (clock_getres): Likewise.
25732 [XPG3 || XPG4] (clock_gettime): Likewise.
25733 [XPG3 || XPG4] (clock_settime): Likewise.
25734 [XPG3 || XPG4] (nanosleep): Likewise.
25735 [XPG3 || XPG4] (timer_create): Likewise.
25736 [XPG3 || XPG4] (timer_delete): Likewise.
25737 [XPG3 || XPG4] (timer_gettime): Likewise.
25738 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25739 [XPG3 || XPG4] (timer_settime): Likewise.
25740 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25741 [XPG3 || XPG4] (getlogin_r): Likewise.
25742 [XPG3 || XPG4] (pread): Likewise.
25743 [XPG3 || XPG4] (pthread_atfork): Likewise.
25744 [XPG3 || XPG4] (pwrite): Likewise.
25747 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25750 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25752 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25753 finalizing MALLSTREAM.
25755 * sysdeps/mach/hurd/syncfs.c: New file.
25757 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25760 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25761 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25762 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25763 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25764 (_nss_dns_gethostbyname4_r): Likewise.
25765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25766 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25768 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25771 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25773 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25775 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25776 * elf/cache.c (print_entry): Print ",AArch64" for
25779 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25780 * elf/cache.c (print_entry): Print ",hard-float" for
25783 2012-11-18 David S. Miller <davem@davemloft.net>
25785 With help from Joseph Myers.
25786 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25788 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25790 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25791 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25793 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25794 * math/libm-test.inc (y0_test): New tests.
25795 (y1_test): New tests.
25796 * sysdeps/i386/fpu/libm-test-ulps: Update.
25797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25800 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25802 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25804 * configure: Regenerated.
25806 2012-11-17 David S. Miller <davem@davemloft.net>
25809 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25810 nonzero exponents with absolute value below 0x1p-128 to +/-
25813 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25815 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25817 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25819 * posix/getconf-speclist.c: New file.
25820 * posix/posix-envs.def: Likewise.
25821 * posix/confstr.c (START_ENV_GROUP): New macro.
25822 (END_ENV_GROUP): Likewise.
25823 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25824 (KNOWN_PRESENT_ENV_STRING): Likewise.
25825 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25826 (UNKNOWN_ENVIRONMENT): Likewise.
25827 (confstr): Include posix-envs.def instead of handling
25828 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25829 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25830 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25831 (END_ENV_GROUP): Likewise.
25832 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25833 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25834 (UNKNOWN_ENVIRONMENT): Likewise.
25835 (__sysconf): Include posix-envs.def instead of handling associated
25836 cases directly here.
25837 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25838 preprocessing getconf-speclist.c rather than running getconf or
25839 generating empty file.
25841 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25843 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25845 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25848 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25850 2012-11-16 David S. Miller <davem@davemloft.net>
25852 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25853 smaller than LDBL_EPSILON/2.0L, just return xm1.
25855 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
25857 * elf/tst-array1.c (init): Set constructor priority to 1000.
25858 (fini): Set destructor priority to 1000.
25859 * elf/tst-array2dep.c: Likewise.
25861 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25864 * libio/fileops.c (_IO_new_file_write): Correctly return error.
25865 (_IO_new_file_xsputn): Also return EOF if none of the input
25866 data was written when overflow failed.
25867 * libio/iopadn.c (_IO_padn): Likewise.
25868 * libio/iowpadn.c (_IO_wpadn): Likewise.
25869 * stdio-common/tst-put-error.c: Add copyright notice.
25870 (do_test): Add case for printing padded string.
25871 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25872 _IO_padn returned error.
25873 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25874 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25877 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25879 * libio/libioP.h: Add comment note that the references to C++
25880 bits are now obsolete.
25882 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25884 * math/libm-test.inc (check_complex): Use asprintf.
25886 2012-11-14 Joseph Myers <joseph@codesourcery.com>
25888 * debug/pcprofiledump.c (print_version): Update copyright year.
25889 * malloc/memusagestat.c (print_version): Likewise.
25891 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
25894 * elf/Makefile (tests): Add tst-audit8.
25895 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25896 ($(objpfx)tst-audit8.out): New target.
25897 (tst-audit8-ENV): New variable.
25898 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25899 audit if l_reloc_result is NULL.
25900 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25901 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25902 * elf/tst-audit8.c: New file.
25904 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25906 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25907 * misc/Makefile (CFLAGS-select.c): Define.
25908 * posix/Makefile (CFLAGS-pause.c): Define.
25910 2012-11-13 David S. Miller <davem@davemloft.net>
25912 * crypt/Makefile: Move test targets after toplevel Rules
25913 inclusion. Grab any necessary sysdep routines when linking.
25914 * crypt/md5.c (md5_process_block): Remove define, we will always
25915 name it __md5_process_block.
25916 (md5_finish_ctx): Update md5_process_block call.
25917 (md5_stream): Likewise.
25918 (md5_process_bytes): Likewise.
25919 (md5_process_block): Rename to __md5_process_block and move to ...
25920 * crypt/md5-block.c: ... here.
25921 * crypt/sha256.c (sha256_process_block): Move to ...
25922 * crypt/sha256-block.c: ... here.
25923 * crypt/sha512.c (sha512_process_block): Move to ...
25924 * crypt/sha512-block.c: ... here.
25925 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25927 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25928 * sysdeps/sparc/sparc64/multiarch/Makefile
25929 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25931 (localedef-aux): Add md5 crypto assembler when in locale subdir.
25932 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25934 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25935 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25936 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25937 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25938 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25939 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25940 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25941 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25942 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25944 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25945 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25947 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25949 2012-11-13 Joseph Myers <joseph@codesourcery.com>
25951 * timezone/tzselect.ksh: Update from tzcode git revision
25952 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25953 * timezone/zdump.c: Likewise.
25954 * timezone/zic.c: Likewise.
25955 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25956 in TZVERSION setting, not $(PKGVERSION).
25957 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
25958 REPORT_BUGS_TO settings.
25961 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25964 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25966 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25967 detection to immediately after _FP_ROUND().
25968 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25971 2012-11-11 David S. Miller <davem@davemloft.net>
25973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25975 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25976 __close rather than their public counterparts.
25978 2012-11-10 Joseph Myers <joseph@codesourcery.com>
25980 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25982 [UNIX98] (sem_timedwait): Do not expect.
25983 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25984 [XPG4 || UNIX98] (sockatmark): Do not expect.
25985 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25986 (clock_getcpuclockid): Do not expect.
25987 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25988 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25990 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25991 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25992 [UNIX98] (vwscanf): Likewise.
25993 [UNIX98] (vswscanf): Likewise.
25995 2012-11-09 Joseph Myers <joseph@codesourcery.com>
25997 * timezone/version.h: Remove file.
25998 * timezone/README: Do not refer to version.h.
25999 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26000 $(objpfx)version.h.
26001 ($(objpfx)zdump.o): Likewise.
26002 ($(objpfx)version.h): New target.
26004 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26006 * timezone/README: Don't mention modification to tzselect.ksh.
26007 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26008 work on unmodified tzselect.ksh. Substitute version numbers in
26011 * Makefile (format-me): Remove.
26012 (INSTALL): Adjust indentation. Use commands directly instead of
26013 using $(format-me).
26015 * aclocal.m4 (ACX_PKGVERSION): New macro.
26016 (ACX_BUGURL): Likewise.
26017 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26018 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26019 (REPORT_BUGS_TO): Likewise.
26020 * configure: Regenerated.
26021 * config.h.in (PKGVERSION): New macro.
26022 (REPORT_BUGS_TO): Likewise.
26023 * config.make.in (PKGVERSION): New variable.
26024 (PKGVERSION_TEXI): Likewise.
26025 (REPORT_BUGS_TO): Likewise.
26026 (REPORT_BUGS_TEXI): Likewise.
26027 * Makefile (format-me): Use -I$(common-objpfx)manual.
26028 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26029 ($(common-objpfx)manual/%): New target.
26030 (manual/%): Remove target.
26031 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26032 (print_version): Use PKGVERSION.
26033 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26034 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26035 and REPORT_BUGS_TO.
26036 ($(objpfx)xtrace): Likewise.
26037 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26038 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26039 (print_version): Use PKGVERSION.
26040 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26041 (do_version): Use PKGVERSION.
26042 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26044 (common-ldd-rewrite): Likewise.
26045 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26046 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26047 (print_version): Use PKGVERSION.
26048 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26049 * elf/pldd.c (argp_program_bug_address): Remove variable.
26050 (more_help): New function.
26051 (argp): Use more_help.
26052 (print_version): Use PKGVERSION.
26053 * elf/sln.c (main): Use PKGVERSION.
26054 (usage): Use REPORT_BUGS_TO.
26055 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26056 (top level): Use PKGVERSION.
26057 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26058 (print_version): Use PKGVERSION.
26059 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26060 (print_version): Use PKGVERSION.
26061 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26062 (print_version): Use PKGVERSION.
26063 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26064 (print_version): Use PKGVERSION.
26065 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26066 (print_version): Use PKGVERSION.
26067 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26068 (print_version): Use PKGVERSION.
26069 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26071 ($(objpfx)memusage): Likewise.
26072 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26073 (do_version): Use PKGVERSION.
26074 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26075 (print_version): Use PKGVERSION.
26076 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26077 ($PKGVERSION): New variable.
26078 ($REPORT_BUGS_TO): Likewise.
26079 (usage): Use $REPORT_BUGS_TO.
26080 (top level): Use $PKGVERSION.
26081 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26082 ($(objpfx)pkgvers.texi): New rule.
26083 ($(objpfx)stamp-pkgvers): Likewise.
26084 * manual/install.texi: Include pkgvers.texi.
26085 (--with-pkgversion): Document new configure option.
26086 (--with-bugurl): Likewise.
26087 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26088 than necessarily for this particular distribution. Use
26089 REPORT_BUGS_TO for where to report bugs.
26090 * INSTALL: Regenerated.
26091 * manual/libc.texinfo: Include pkgvers.texi.
26092 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26093 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26094 (print_version): Use PKGVERSION.
26095 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26096 (print_version): Use PKGVERSION.
26097 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26098 (print_version): Use PKGVERSION.
26099 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26100 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26102 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26103 (print_version): Use PKGVERSION.
26104 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26105 (print_version): Use PKGVERSION.
26106 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26109 * timezone/checktab.awk: Update from tzcode 2012i.
26110 * timezone/ialloc.c: Likewise.
26111 * timezone/private.h: Likewise.
26112 * timezone/scheck.c: Likewise.
26113 * timezone/tzfile.h: Likewise.
26114 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26115 (TZVERSION): Hardcode tzcode version number.
26116 * timezone/zdump.c: Update from tzcode 2012i.
26117 * timezone/zic.c: Likewise.
26118 * timezone/version.h: New file.
26119 * timezone/README: Describe version.h. Update upstream location.
26122 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26123 (mktemp): Enable declaration.
26124 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26125 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26126 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26127 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26129 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26131 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26133 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26135 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26141 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26142 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26143 for copies of such integer values.
26144 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26145 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26147 2012-11-09 Andreas Jaeger <aj@suse.de>
26149 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26150 definitions and declarations that are provided by
26151 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26153 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26155 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26156 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26157 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26160 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26162 * elf/elf.h: Update comment before AArch64 relocations.
26164 2012-11-07 David S. Miller <davem@davemloft.net>
26166 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26167 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26168 (__start_context): Declare.
26169 (__makecontext_ret): Delete.
26170 (__makecontext): Hook up __start_context instead of
26172 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26173 (sysdep_routines): Add __start_context when in stdlib.
26175 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26177 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26178 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26179 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26181 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26182 (READELF): New variable. Use it instead of hardcoded "readelf".
26184 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26186 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26187 * sysdeps/x86/Makefile: Here.
26188 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26189 * sysdeps/x86/tst-xmmymm.sh: This.
26191 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26193 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26195 [UNIX98] (pthread_barrier_t): Do not expect.
26196 [UNIX98] (pthread_barrierattr_t): Likewise.
26197 [UNIX98] (pthread_spinlock_t): Likewise.
26198 [UNIX98] (pthread_barrier_destroy): Likewise.
26199 [UNIX98] (pthread_barrier_init): Likewise.
26200 [UNIX98] (pthread_barrier_wait): Likewise.
26201 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26202 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26203 [UNIX98] (pthread_barrierattr_init): Likewise.
26204 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26205 [UNIX98] (pthread_getcpuclockid): Likewise.
26206 [UNIX98] (pthread_mutex_timedlock): Likewise.
26207 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26208 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26209 [UNIX98] (pthread_sigmask): Likewise.
26210 [UNIX98] (pthread_spin_destroy): Likewise.
26211 [UNIX98] (pthread_spin_init): Likewise.
26212 [UNIX98] (pthread_spin_lock): Likewise.
26213 [UNIX98] (pthread_spin_trylock): Likewise.
26214 [UNIX98] (pthread_spin_unlock): Likewise.
26215 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26217 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26219 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26220 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26221 [XPG3 || XPG4] (pthread_key_t): Likewise.
26222 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26223 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26224 [XPG3 || XPG4] (pthread_once_t): Likewise.
26225 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26226 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26228 [XPG3 || XPG4] (pthread_t): Likewise.
26230 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26232 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26235 Change function return type to int.
26237 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26238 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26239 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26240 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26241 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26242 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26243 [!POSIX] (posix_madvise): Likewise.
26244 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26246 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26247 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26248 (mode_t): Likewise.
26249 (posix_mem_offset): Likewise.
26250 (posix_typed_mem_get_info): Likewise.
26251 (posix_typed_mem_open): Likewise.
26253 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26254 Change condition to [XOPEN2K8].
26256 * conform/conformtest.pl: Preprocess allow-header data with -x c
26257 instead of from stdin.
26258 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26259 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26260 [C99-based standards] (cerfc): Likewise.
26261 [C99-based standards] (cexp2): Likewise.
26262 [C99-based standards] (cexpm1): Likewise.
26263 [C99-based standards] (clog10): Likewise.
26264 [C99-based standards] (clog1p): Likewise.
26265 [C99-based standards] (clog2): Likewise.
26266 [C99-based standards] (clgamma): Likewise.
26267 [C99-based standards] (ctgamma): Likewise.
26268 [C99-based standards] (cerff): Likewise.
26269 [C99-based standards] (cerfcf): Likewise.
26270 [C99-based standards] (cexp2f): Likewise.
26271 [C99-based standards] (cexpm1f): Likewise.
26272 [C99-based standards] (clog10f): Likewise.
26273 [C99-based standards] (clog1pf): Likewise.
26274 [C99-based standards] (clog2f): Likewise.
26275 [C99-based standards] (clgammaf): Likewise.
26276 [C99-based standards] (ctgammaf): Likewise.
26277 [C99-based standards] (cerfl): Likewise.
26278 [C99-based standards] (cerfcl): Likewise.
26279 [C99-based standards] (cexp2l): Likewise.
26280 [C99-based standards] (cexpm1l): Likewise.
26281 [C99-based standards] (clog10l): Likewise.
26282 [C99-based standards] (clog1pl): Likewise.
26283 [C99-based standards] (clog2l): Likewise.
26284 [C99-based standards] (clgammal): Likewise.
26285 [C99-based standards] (ctgammal): Likewise.
26286 * conform/data/inttypes.h-data [C99-based standards]: Include
26287 stdint.h-data. Remove all expectations for stdint.h contents.
26288 [C99-based standards] (PRI*): Do not allow.
26289 [C99-based standards] (SCN*): Likewise.
26290 [C99-based standards] (*_t): Likewise.
26291 [C99-based-standards] (PRId8): Expect macro.
26292 [C99-based-standards] (PRIi8): Likewise.
26293 [C99-based-standards] (PRIo8): Likewise.
26294 [C99-based-standards] (PRIu8): Likewise.
26295 [C99-based-standards] (PRIx8): Likewise.
26296 [C99-based-standards] (PRIX8): Likewise.
26297 [C99-based-standards] (SCNd8): Likewise.
26298 [C99-based-standards] (SCNi8): Likewise.
26299 [C99-based-standards] (SCNo8): Likewise.
26300 [C99-based-standards] (SCNu8): Likewise.
26301 [C99-based-standards] (SCNx8): Likewise.
26302 [C99-based-standards] (PRIdLEAST8): Likewise.
26303 [C99-based-standards] (PRIiLEAST8): Likewise.
26304 [C99-based-standards] (PRIoLEAST8): Likewise.
26305 [C99-based-standards] (PRIuLEAST8): Likewise.
26306 [C99-based-standards] (PRIxLEAST8): Likewise.
26307 [C99-based-standards] (PRIXLEAST8): Likewise.
26308 [C99-based-standards] (SCNdLEAST8): Likewise.
26309 [C99-based-standards] (SCNiLEAST8): Likewise.
26310 [C99-based-standards] (SCNoLEAST8): Likewise.
26311 [C99-based-standards] (SCNuLEAST8): Likewise.
26312 [C99-based-standards] (SCNxLEAST8): Likewise.
26313 [C99-based-standards] (PRIdFAST8): Likewise.
26314 [C99-based-standards] (PRIiFAST8): Likewise.
26315 [C99-based-standards] (PRIoFAST8): Likewise.
26316 [C99-based-standards] (PRIuFAST8): Likewise.
26317 [C99-based-standards] (PRIxFAST8): Likewise.
26318 [C99-based-standards] (PRIXFAST8): Likewise.
26319 [C99-based-standards] (SCNdFAST8): Likewise.
26320 [C99-based-standards] (SCNiFAST8): Likewise.
26321 [C99-based-standards] (SCNoFAST8): Likewise.
26322 [C99-based-standards] (SCNuFAST8): Likewise.
26323 [C99-based-standards] (SCNxFAST8): Likewise.
26324 [C99-based-standards] (PRId16): Likewise.
26325 [C99-based-standards] (PRIi16): Likewise.
26326 [C99-based-standards] (PRIo16): Likewise.
26327 [C99-based-standards] (PRIu16): Likewise.
26328 [C99-based-standards] (PRIx16): Likewise.
26329 [C99-based-standards] (PRIX16): Likewise.
26330 [C99-based-standards] (SCNd16): Likewise.
26331 [C99-based-standards] (SCNi16): Likewise.
26332 [C99-based-standards] (SCNo16): Likewise.
26333 [C99-based-standards] (SCNu16): Likewise.
26334 [C99-based-standards] (SCNx16): Likewise.
26335 [C99-based-standards] (PRIdLEAST16): Likewise.
26336 [C99-based-standards] (PRIiLEAST16): Likewise.
26337 [C99-based-standards] (PRIoLEAST16): Likewise.
26338 [C99-based-standards] (PRIuLEAST16): Likewise.
26339 [C99-based-standards] (PRIxLEAST16): Likewise.
26340 [C99-based-standards] (PRIXLEAST16): Likewise.
26341 [C99-based-standards] (SCNdLEAST16): Likewise.
26342 [C99-based-standards] (SCNiLEAST16): Likewise.
26343 [C99-based-standards] (SCNoLEAST16): Likewise.
26344 [C99-based-standards] (SCNuLEAST16): Likewise.
26345 [C99-based-standards] (SCNxLEAST16): Likewise.
26346 [C99-based-standards] (PRIdFAST16): Likewise.
26347 [C99-based-standards] (PRIiFAST16): Likewise.
26348 [C99-based-standards] (PRIoFAST16): Likewise.
26349 [C99-based-standards] (PRIuFAST16): Likewise.
26350 [C99-based-standards] (PRIxFAST16): Likewise.
26351 [C99-based-standards] (PRIXFAST16): Likewise.
26352 [C99-based-standards] (SCNdFAST16): Likewise.
26353 [C99-based-standards] (SCNiFAST16): Likewise.
26354 [C99-based-standards] (SCNoFAST16): Likewise.
26355 [C99-based-standards] (SCNuFAST16): Likewise.
26356 [C99-based-standards] (SCNxFAST16): Likewise.
26357 [C99-based-standards] (PRId32): Likewise.
26358 [C99-based-standards] (PRIi32): Likewise.
26359 [C99-based-standards] (PRIo32): Likewise.
26360 [C99-based-standards] (PRIu32): Likewise.
26361 [C99-based-standards] (PRIx32): Likewise.
26362 [C99-based-standards] (PRIX32): Likewise.
26363 [C99-based-standards] (SCNd32): Likewise.
26364 [C99-based-standards] (SCNi32): Likewise.
26365 [C99-based-standards] (SCNo32): Likewise.
26366 [C99-based-standards] (SCNu32): Likewise.
26367 [C99-based-standards] (SCNx32): Likewise.
26368 [C99-based-standards] (PRIdLEAST32): Likewise.
26369 [C99-based-standards] (PRIiLEAST32): Likewise.
26370 [C99-based-standards] (PRIoLEAST32): Likewise.
26371 [C99-based-standards] (PRIuLEAST32): Likewise.
26372 [C99-based-standards] (PRIxLEAST32): Likewise.
26373 [C99-based-standards] (PRIXLEAST32): Likewise.
26374 [C99-based-standards] (SCNdLEAST32): Likewise.
26375 [C99-based-standards] (SCNiLEAST32): Likewise.
26376 [C99-based-standards] (SCNoLEAST32): Likewise.
26377 [C99-based-standards] (SCNuLEAST32): Likewise.
26378 [C99-based-standards] (SCNxLEAST32): Likewise.
26379 [C99-based-standards] (PRIdFAST32): Likewise.
26380 [C99-based-standards] (PRIiFAST32): Likewise.
26381 [C99-based-standards] (PRIoFAST32): Likewise.
26382 [C99-based-standards] (PRIuFAST32): Likewise.
26383 [C99-based-standards] (PRIxFAST32): Likewise.
26384 [C99-based-standards] (PRIXFAST32): Likewise.
26385 [C99-based-standards] (SCNdFAST32): Likewise.
26386 [C99-based-standards] (SCNiFAST32): Likewise.
26387 [C99-based-standards] (SCNoFAST32): Likewise.
26388 [C99-based-standards] (SCNuFAST32): Likewise.
26389 [C99-based-standards] (SCNxFAST32): Likewise.
26390 [C99-based-standards] (PRId64): Likewise.
26391 [C99-based-standards] (PRIi64): Likewise.
26392 [C99-based-standards] (PRIo64): Likewise.
26393 [C99-based-standards] (PRIu64): Likewise.
26394 [C99-based-standards] (PRIx64): Likewise.
26395 [C99-based-standards] (PRIX64): Likewise.
26396 [C99-based-standards] (SCNd64): Likewise.
26397 [C99-based-standards] (SCNi64): Likewise.
26398 [C99-based-standards] (SCNo64): Likewise.
26399 [C99-based-standards] (SCNu64): Likewise.
26400 [C99-based-standards] (SCNx64): Likewise.
26401 [C99-based-standards] (PRIdLEAST64): Likewise.
26402 [C99-based-standards] (PRIiLEAST64): Likewise.
26403 [C99-based-standards] (PRIoLEAST64): Likewise.
26404 [C99-based-standards] (PRIuLEAST64): Likewise.
26405 [C99-based-standards] (PRIxLEAST64): Likewise.
26406 [C99-based-standards] (PRIXLEAST64): Likewise.
26407 [C99-based-standards] (SCNdLEAST64): Likewise.
26408 [C99-based-standards] (SCNiLEAST64): Likewise.
26409 [C99-based-standards] (SCNoLEAST64): Likewise.
26410 [C99-based-standards] (SCNuLEAST64): Likewise.
26411 [C99-based-standards] (SCNxLEAST64): Likewise.
26412 [C99-based-standards] (PRIdFAST64): Likewise.
26413 [C99-based-standards] (PRIiFAST64): Likewise.
26414 [C99-based-standards] (PRIoFAST64): Likewise.
26415 [C99-based-standards] (PRIuFAST64): Likewise.
26416 [C99-based-standards] (PRIxFAST64): Likewise.
26417 [C99-based-standards] (PRIXFAST64): Likewise.
26418 [C99-based-standards] (SCNdFAST64): Likewise.
26419 [C99-based-standards] (SCNiFAST64): Likewise.
26420 [C99-based-standards] (SCNoFAST64): Likewise.
26421 [C99-based-standards] (SCNuFAST64): Likewise.
26422 [C99-based-standards] (SCNxFAST64): Likewise.
26423 [C99-based-standards] (PRIdMAX): Likewise.
26424 [C99-based-standards] (PRIiMAX): Likewise.
26425 [C99-based-standards] (PRIoMAX): Likewise.
26426 [C99-based-standards] (PRIuMAX): Likewise.
26427 [C99-based-standards] (PRIxMAX): Likewise.
26428 [C99-based-standards] (PRIXMAX): Likewise.
26429 [C99-based-standards] (SCNdMAX): Likewise.
26430 [C99-based-standards] (SCNiMAX): Likewise.
26431 [C99-based-standards] (SCNoMAX): Likewise.
26432 [C99-based-standards] (SCNuMAX): Likewise.
26433 [C99-based-standards] (SCNxMAX): Likewise.
26434 [C99-based-standards] (PRIdPTR): Likewise.
26435 [C99-based-standards] (PRIiPTR): Likewise.
26436 [C99-based-standards] (PRIoPTR): Likewise.
26437 [C99-based-standards] (PRIuPTR): Likewise.
26438 [C99-based-standards] (PRIxPTR): Likewise.
26439 [C99-based-standards] (PRIXPTR): Likewise.
26440 [C99-based-standards] (SCNdPTR): Likewise.
26441 [C99-based-standards] (SCNiPTR): Likewise.
26442 [C99-based-standards] (SCNoPTR): Likewise.
26443 [C99-based-standards] (SCNuPTR): Likewise.
26444 [C99-based-standards] (SCNxPTR): Likewise.
26445 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26447 * conform/data/stdint.h-data: Update comments to clarify
26449 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26451 [C99-based standards] (INT8_MAX): Likewise.
26452 [C99-based standards] (INT16_MIN): Likewise.
26453 [C99-based standards] (INT16_MAX): Likewise.
26454 [C99-based standards] (INT32_MIN): Likewise.
26455 [C99-based standards] (INT32_MAX): Likewise.
26456 [C99-based standards] (INT64_MIN): Likewise.
26457 [C99-based standards] (INT64_MAX): Likewise.
26458 [C99-based standards] (UINT8_MAX): Likewise.
26459 [C99-based standards] (UINT16_MAX): Likewise.
26460 [C99-based standards] (UINT32_MAX): Likewise.
26461 [C99-based standards] (UINT64_MAX): Likewise.
26462 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26463 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26464 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26465 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26466 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26467 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26468 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26469 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26470 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26471 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26472 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26473 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26474 [C99-based standards] (INT_FAST8_MIN): Likewise.
26475 [C99-based standards] (INT_FAST8_MAX): Likewise.
26476 [C99-based standards] (INT_FAST16_MIN): Likewise.
26477 [C99-based standards] (INT_FAST16_MAX): Likewise.
26478 [C99-based standards] (INT_FAST32_MIN): Likewise.
26479 [C99-based standards] (INT_FAST32_MAX): Likewise.
26480 [C99-based standards] (INT_FAST64_MIN): Likewise.
26481 [C99-based standards] (INT_FAST64_MAX): Likewise.
26482 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26483 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26484 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26485 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26486 [C99-based standards] (INTPTR_MIN): Likewise.
26487 [C99-based standards] (INTPTR_MAX): Likewise.
26488 [C99-based standards] (UINTPTR_MAX): Likewise.
26489 [C99-based standards] (INTMAX_MIN): Likewise.
26490 [C99-based standards] (INTMAX_MAX): Likewise.
26491 [C99-based standards] (UINTMAX_MAX): Likewise.
26492 [C99-based standards] (PTRDIFF_MIN): Likewise.
26493 [C99-based standards] (PTRDIFF_MAX): Likewise.
26494 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26495 [C99-based standards] (SIZE_MAX): Likewise.
26496 [C99-based standards] (WCHAR_MAX): Likewise.
26497 [C99-based standards] (WINT_MAX): Likewise.
26498 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26499 constraint on value.
26500 [C99-based standards] (WCHAR_MIN): Likewise.
26501 [C99-based standards] (WINT_MIN): Likewise.
26502 [C99-based standards] (*_t): Allow.
26503 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26504 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26505 Include math.h-data and complex.h-data. Remove all expectations
26506 of math.h and complex.h contents.
26507 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26509 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26510 (struct tm): Expect tag.
26511 [C99-based-standards] (wcstof): Expect function.
26512 [C99-based-standards] (wcstold): Likewise.
26513 [C99-based-standards] (wcstoll): Likewise.
26514 [C99-based-standards] (wcstoull): Likewise.
26515 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26516 macro-int-constant. Specify type.
26517 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26518 constraint on value.
26519 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26521 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26523 [ISO C standards]: Do not allow headers.
26524 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26525 wcs[abcdefghijklmnopqrstuvwxyz]*.
26526 [ISO C standards] (*_t): Do not allow.
26527 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26529 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26530 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26532 [ISO C standards]: Do not allow headers.
26533 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26534 is[abcdefghijklmnopqrstuvwxyz]*.
26535 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26536 to[abcdefghijklmnopqrstuvwxyz]*.
26537 [ISO C standards] (*_t): Do not allow.
26538 * conform/data/stdalign.h-data: New file.
26539 * conform/data/stdbool.h-data: Likewise.
26540 * conform/data/stdnoreturn.h-data: Likewise.
26542 2012-11-07 Roland McGrath <roland@hack.frob.com>
26545 * manual/filesys.texi (Directory Entries): Typo fix.
26546 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26548 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26550 * elf/elf.h (EM_AARCH64): New macro.
26551 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26552 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26553 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26554 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26555 (R_AARCH64_TLSDESC): Likewise.
26556 (NT_ARM_TLS): Likewise.
26557 (NT_ARM_HW_BREAK): Likewise.
26558 (NT_ARM_HW_WATCH): Likewise.
26560 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26563 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26564 (__ieee754_powl): Saturate nonzero exponents with absolute value
26565 below 0x1p-79 to +/- 0x1p-79.
26566 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26567 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26568 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26569 nonzero exponents with absolute value below 0x1p-32 to +/-
26571 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26572 (__ieee754_powl): Saturate nonzero exponents with absolute value
26573 below 0x1p-79 to +/- 0x1p-79.
26574 * math/libm-test.inc (pow_test): Add more tests.
26576 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26578 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26579 _dl_s390_cap_flags with kernel. Increase string length.
26580 (_dl_s390_platforms): Add z196 and zEC12.
26582 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26584 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26585 Change XOPEN21K to XOPEN2K.
26587 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26589 * string/memmove.c: Use memcpy when possible.
26591 2012-11-06 Andreas Jaeger <aj@suse.de>
26593 * po/eo.po: Update from translation team.
26595 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26598 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26599 exponent and small x and y exponents, scale x or y up. Increase
26600 by 2 the exponent used in scaling up.
26601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26602 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26603 * math/libm-test.inc (fma_test): Add more tests.
26604 (fma_test_towardzero): Likewise.
26605 (fma_test_downward): Likewise.
26606 (fma_test_upward): Likewise.
26608 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26611 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26615 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26616 namespace for names of struct fields.
26617 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26619 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26620 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26622 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26625 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26627 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26629 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26633 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26636 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26640 definitely overflow as x * y not x * y + z.
26641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26642 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26643 * math/libm-test.inc (fma_test): Add more tests.
26644 (fma_test_towardzero): Likewise.
26645 (fma_test_downward): Likewise.
26646 (fma_test_upward): Likewise.
26648 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26652 * include/stub-tag.h: Remove file.
26653 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26655 * manual/maint.texi (Porting): Don't reference it.
26656 * Makerules ($(objpfx)stubs): Likewise.
26657 * dirent/closedir.c: Don't include <stub-tag.h>.
26658 * dirent/dirfd.c: Likewise.
26659 * dirent/fdopendir.c: Likewise.
26660 * dirent/getdents.c: Likewise.
26661 * dirent/getdents64.c: Likewise.
26662 * dirent/opendir.c: Likewise.
26663 * dirent/readdir.c: Likewise.
26664 * dirent/readdir64.c: Likewise.
26665 * dirent/readdir64_r.c: Likewise.
26666 * dirent/readdir_r.c: Likewise.
26667 * dirent/rewinddir.c: Likewise.
26668 * dirent/seekdir.c: Likewise.
26669 * dirent/telldir.c: Likewise.
26670 * gmon/profil.c: Likewise.
26671 * grp/setgroups.c: Likewise.
26672 * inet/if_index.c: Likewise.
26673 * io/access.c: Likewise.
26674 * io/chdir.c: Likewise.
26675 * io/chmod.c: Likewise.
26676 * io/chown.c: Likewise.
26677 * io/close.c: Likewise.
26678 * io/dup.c: Likewise.
26679 * io/dup2.c: Likewise.
26680 * io/dup3.c: Likewise.
26681 * io/euidaccess.c: Likewise.
26682 * io/faccessat.c: Likewise.
26683 * io/fchdir.c: Likewise.
26684 * io/fchmod.c: Likewise.
26685 * io/fchmodat.c: Likewise.
26686 * io/fchown.c: Likewise.
26687 * io/fchownat.c: Likewise.
26688 * io/fcntl.c: Likewise.
26689 * io/flock.c: Likewise.
26690 * io/fstatfs.c: Likewise.
26691 * io/fstatfs64.c: Likewise.
26692 * io/fstatvfs.c: Likewise.
26693 * io/fstatvfs64.c: Likewise.
26694 * io/futimens.c: Likewise.
26695 * io/fxstat.c: Likewise.
26696 * io/fxstat64.c: Likewise.
26697 * io/fxstatat.c: Likewise.
26698 * io/fxstatat64.c: Likewise.
26699 * io/getcwd.c: Likewise.
26700 * io/isatty.c: Likewise.
26701 * io/lchmod.c: Likewise.
26702 * io/lchown.c: Likewise.
26703 * io/link.c: Likewise.
26704 * io/linkat.c: Likewise.
26705 * io/lseek.c: Likewise.
26706 * io/lseek64.c: Likewise.
26707 * io/lxstat64.c: Likewise.
26708 * io/mkdir.c: Likewise.
26709 * io/mkdirat.c: Likewise.
26710 * io/mkfifo.c: Likewise.
26711 * io/mkfifoat.c: Likewise.
26712 * io/open.c: Likewise.
26713 * io/open64.c: Likewise.
26714 * io/openat.c: Likewise.
26715 * io/openat64.c: Likewise.
26716 * io/pipe.c: Likewise.
26717 * io/pipe2.c: Likewise.
26718 * io/poll.c: Likewise.
26719 * io/posix_fadvise.c: Likewise.
26720 * io/posix_fadvise64.c: Likewise.
26721 * io/posix_fallocate.c: Likewise.
26722 * io/posix_fallocate64.c: Likewise.
26723 * io/read.c: Likewise.
26724 * io/readlink.c: Likewise.
26725 * io/readlinkat.c: Likewise.
26726 * io/rmdir.c: Likewise.
26727 * io/sendfile.c: Likewise.
26728 * io/sendfile64.c: Likewise.
26729 * io/statfs.c: Likewise.
26730 * io/statfs64.c: Likewise.
26731 * io/statvfs.c: Likewise.
26732 * io/statvfs64.c: Likewise.
26733 * io/symlink.c: Likewise.
26734 * io/symlinkat.c: Likewise.
26735 * io/ttyname.c: Likewise.
26736 * io/ttyname_r.c: Likewise.
26737 * io/umask.c: Likewise.
26738 * io/unlink.c: Likewise.
26739 * io/unlinkat.c: Likewise.
26740 * io/utime.c: Likewise.
26741 * io/utimensat.c: Likewise.
26742 * io/write.c: Likewise.
26743 * io/xmknod.c: Likewise.
26744 * io/xmknodat.c: Likewise.
26745 * io/xstat.c: Likewise.
26746 * io/xstat64.c: Likewise.
26747 * login/getpt.c: Likewise.
26748 * login/grantpt.c: Likewise.
26749 * login/unlockpt.c: Likewise.
26750 * math/e_acoshl.c: Likewise.
26751 * math/e_acosl.c: Likewise.
26752 * math/e_asinl.c: Likewise.
26753 * math/e_atan2l.c: Likewise.
26754 * math/e_atanhl.c: Likewise.
26755 * math/e_coshl.c: Likewise.
26756 * math/e_expl.c: Likewise.
26757 * math/e_fmodl.c: Likewise.
26758 * math/e_gammal_r.c: Likewise.
26759 * math/e_hypotl.c: Likewise.
26760 * math/e_j0l.c: Likewise.
26761 * math/e_j1l.c: Likewise.
26762 * math/e_jnl.c: Likewise.
26763 * math/e_lgammal_r.c: Likewise.
26764 * math/e_log10l.c: Likewise.
26765 * math/e_log2l.c: Likewise.
26766 * math/e_logl.c: Likewise.
26767 * math/e_powl.c: Likewise.
26768 * math/e_rem_pio2l.c: Likewise.
26769 * math/e_sinhl.c: Likewise.
26770 * math/e_sqrtl.c: Likewise.
26771 * math/fclrexcpt.c: Likewise.
26772 * math/fedisblxcpt.c: Likewise.
26773 * math/feenablxcpt.c: Likewise.
26774 * math/fegetenv.c: Likewise.
26775 * math/fegetexcept.c: Likewise.
26776 * math/fegetround.c: Likewise.
26777 * math/feholdexcpt.c: Likewise.
26778 * math/fesetenv.c: Likewise.
26779 * math/fesetround.c: Likewise.
26780 * math/feupdateenv.c: Likewise.
26781 * math/fgetexcptflg.c: Likewise.
26782 * math/fraiseexcpt.c: Likewise.
26783 * math/fsetexcptflg.c: Likewise.
26784 * math/ftestexcept.c: Likewise.
26785 * math/k_cosl.c: Likewise.
26786 * math/k_rem_pio2l.c: Likewise.
26787 * math/k_sinl.c: Likewise.
26788 * math/k_tanl.c: Likewise.
26789 * math/s_asinhl.c: Likewise.
26790 * math/s_atanl.c: Likewise.
26791 * math/s_cbrtl.c: Likewise.
26792 * math/s_erfl.c: Likewise.
26793 * math/s_expm1l.c: Likewise.
26794 * math/s_log1pl.c: Likewise.
26795 * math/s_tanhl.c: Likewise.
26796 * misc/acct.c: Likewise.
26797 * misc/brk.c: Likewise.
26798 * misc/chflags.c: Likewise.
26799 * misc/chroot.c: Likewise.
26800 * misc/fchflags.c: Likewise.
26801 * misc/fgetxattr.c: Likewise.
26802 * misc/flistxattr.c: Likewise.
26803 * misc/fremovexattr.c: Likewise.
26804 * misc/fsetxattr.c: Likewise.
26805 * misc/fsync.c: Likewise.
26806 * misc/ftruncate.c: Likewise.
26807 * misc/futimes.c: Likewise.
26808 * misc/futimesat.c: Likewise.
26809 * misc/getdomain.c: Likewise.
26810 * misc/getdtsz.c: Likewise.
26811 * misc/gethostid.c: Likewise.
26812 * misc/gethostname.c: Likewise.
26813 * misc/getloadavg.c: Likewise.
26814 * misc/getpagesize.c: Likewise.
26815 * misc/getsysstats.c: Likewise.
26816 * misc/getxattr.c: Likewise.
26817 * misc/gtty.c: Likewise.
26818 * misc/ioctl.c: Likewise.
26819 * misc/lgetxattr.c: Likewise.
26820 * misc/listxattr.c: Likewise.
26821 * misc/llistxattr.c: Likewise.
26822 * misc/lremovexattr.c: Likewise.
26823 * misc/lsetxattr.c: Likewise.
26824 * misc/lutimes.c: Likewise.
26825 * misc/madvise.c: Likewise.
26826 * misc/mincore.c: Likewise.
26827 * misc/mlock.c: Likewise.
26828 * misc/mlockall.c: Likewise.
26829 * misc/mmap.c: Likewise.
26830 * misc/mprotect.c: Likewise.
26831 * misc/msync.c: Likewise.
26832 * misc/munlock.c: Likewise.
26833 * misc/munlockall.c: Likewise.
26834 * misc/munmap.c: Likewise.
26835 * misc/preadv.c: Likewise.
26836 * misc/preadv64.c: Likewise.
26837 * misc/ptrace.c: Likewise.
26838 * misc/pwritev.c: Likewise.
26839 * misc/pwritev64.c: Likewise.
26840 * misc/readv.c: Likewise.
26841 * misc/reboot.c: Likewise.
26842 * misc/remap_file_pages.c: Likewise.
26843 * misc/removexattr.c: Likewise.
26844 * misc/revoke.c: Likewise.
26845 * misc/select.c: Likewise.
26846 * misc/setdomain.c: Likewise.
26847 * misc/setegid.c: Likewise.
26848 * misc/seteuid.c: Likewise.
26849 * misc/sethostid.c: Likewise.
26850 * misc/sethostname.c: Likewise.
26851 * misc/setregid.c: Likewise.
26852 * misc/setreuid.c: Likewise.
26853 * misc/setxattr.c: Likewise.
26854 * misc/sstk.c: Likewise.
26855 * misc/stty.c: Likewise.
26856 * misc/swapoff.c: Likewise.
26857 * misc/swapon.c: Likewise.
26858 * misc/sync.c: Likewise.
26859 * misc/syncfs.c: Likewise.
26860 * misc/syscall.c: Likewise.
26861 * misc/truncate.c: Likewise.
26862 * misc/ualarm.c: Likewise.
26863 * misc/usleep.c: Likewise.
26864 * misc/ustat.c: Likewise.
26865 * misc/utimes.c: Likewise.
26866 * misc/vhangup.c: Likewise.
26867 * misc/writev.c: Likewise.
26868 * posix/_exit.c: Likewise.
26869 * posix/alarm.c: Likewise.
26870 * posix/execve.c: Likewise.
26871 * posix/fexecve.c: Likewise.
26872 * posix/fork.c: Likewise.
26873 * posix/fpathconf.c: Likewise.
26874 * posix/getaddrinfo.c: Likewise.
26875 * posix/getegid.c: Likewise.
26876 * posix/geteuid.c: Likewise.
26877 * posix/getgid.c: Likewise.
26878 * posix/getgroups.c: Likewise.
26879 * posix/getlogin.c: Likewise.
26880 * posix/getlogin_r.c: Likewise.
26881 * posix/getpgid.c: Likewise.
26882 * posix/getpid.c: Likewise.
26883 * posix/getppid.c: Likewise.
26884 * posix/getresgid.c: Likewise.
26885 * posix/getresuid.c: Likewise.
26886 * posix/getsid.c: Likewise.
26887 * posix/getuid.c: Likewise.
26888 * posix/glob64.c: Likewise.
26889 * posix/nanosleep.c: Likewise.
26890 * posix/pathconf.c: Likewise.
26891 * posix/pause.c: Likewise.
26892 * posix/posix_madvise.c: Likewise.
26893 * posix/pread.c: Likewise.
26894 * posix/pread64.c: Likewise.
26895 * posix/pwrite.c: Likewise.
26896 * posix/pwrite64.c: Likewise.
26897 * posix/sched_getaffinity.c: Likewise.
26898 * posix/sched_getp.c: Likewise.
26899 * posix/sched_gets.c: Likewise.
26900 * posix/sched_primax.c: Likewise.
26901 * posix/sched_primin.c: Likewise.
26902 * posix/sched_rr_gi.c: Likewise.
26903 * posix/sched_setaffinity.c: Likewise.
26904 * posix/sched_setp.c: Likewise.
26905 * posix/sched_sets.c: Likewise.
26906 * posix/sched_yield.c: Likewise.
26907 * posix/setgid.c: Likewise.
26908 * posix/setlogin.c: Likewise.
26909 * posix/setpgid.c: Likewise.
26910 * posix/setresgid.c: Likewise.
26911 * posix/setresuid.c: Likewise.
26912 * posix/setsid.c: Likewise.
26913 * posix/setuid.c: Likewise.
26914 * posix/sleep.c: Likewise.
26915 * posix/spawni.c: Likewise.
26916 * posix/sysconf.c: Likewise.
26917 * posix/times.c: Likewise.
26918 * posix/wait.c: Likewise.
26919 * posix/wait3.c: Likewise.
26920 * posix/wait4.c: Likewise.
26921 * posix/waitpid.c: Likewise.
26922 * resolv/gai_sigqueue.c: Likewise.
26923 * resource/getpriority.c: Likewise.
26924 * resource/getrlimit.c: Likewise.
26925 * resource/getrusage.c: Likewise.
26926 * resource/nice.c: Likewise.
26927 * resource/setpriority.c: Likewise.
26928 * resource/setrlimit.c: Likewise.
26929 * resource/ulimit.c: Likewise.
26930 * rt/aio_cancel.c: Likewise.
26931 * rt/aio_fsync.c: Likewise.
26932 * rt/aio_read.c: Likewise.
26933 * rt/aio_sigqueue.c: Likewise.
26934 * rt/aio_suspend.c: Likewise.
26935 * rt/aio_write.c: Likewise.
26936 * rt/clock_getres.c: Likewise.
26937 * rt/clock_gettime.c: Likewise.
26938 * rt/clock_nanosleep.c: Likewise.
26939 * rt/clock_settime.c: Likewise.
26940 * rt/lio_listio.c: Likewise.
26941 * rt/mq_close.c: Likewise.
26942 * rt/mq_getattr.c: Likewise.
26943 * rt/mq_notify.c: Likewise.
26944 * rt/mq_open.c: Likewise.
26945 * rt/mq_receive.c: Likewise.
26946 * rt/mq_send.c: Likewise.
26947 * rt/mq_setattr.c: Likewise.
26948 * rt/mq_timedreceive.c: Likewise.
26949 * rt/mq_timedsend.c: Likewise.
26950 * rt/mq_unlink.c: Likewise.
26951 * rt/shm_open.c: Likewise.
26952 * rt/shm_unlink.c: Likewise.
26953 * rt/timer_create.c: Likewise.
26954 * rt/timer_delete.c: Likewise.
26955 * rt/timer_getoverr.c: Likewise.
26956 * rt/timer_gettime.c: Likewise.
26957 * rt/timer_settime.c: Likewise.
26958 * setjmp/__longjmp.c: Likewise.
26959 * setjmp/setjmp.c: Likewise.
26960 * signal/kill.c: Likewise.
26961 * signal/killpg.c: Likewise.
26962 * signal/raise.c: Likewise.
26963 * signal/sigaction.c: Likewise.
26964 * signal/sigaltstack.c: Likewise.
26965 * signal/sigblock.c: Likewise.
26966 * signal/sigignore.c: Likewise.
26967 * signal/sigintr.c: Likewise.
26968 * signal/signal.c: Likewise.
26969 * signal/sigpause.c: Likewise.
26970 * signal/sigpending.c: Likewise.
26971 * signal/sigqueue.c: Likewise.
26972 * signal/sigreturn.c: Likewise.
26973 * signal/sigset.c: Likewise.
26974 * signal/sigsetmask.c: Likewise.
26975 * signal/sigstack.c: Likewise.
26976 * signal/sigsuspend.c: Likewise.
26977 * signal/sigtimedwait.c: Likewise.
26978 * signal/sigvec.c: Likewise.
26979 * signal/sigwait.c: Likewise.
26980 * signal/sigwaitinfo.c: Likewise.
26981 * signal/sysv_signal.c: Likewise.
26982 * socket/accept.c: Likewise.
26983 * socket/accept4.c: Likewise.
26984 * socket/bind.c: Likewise.
26985 * socket/connect.c: Likewise.
26986 * socket/getpeername.c: Likewise.
26987 * socket/getsockname.c: Likewise.
26988 * socket/getsockopt.c: Likewise.
26989 * socket/isfdtype.c: Likewise.
26990 * socket/listen.c: Likewise.
26991 * socket/recv.c: Likewise.
26992 * socket/recvfrom.c: Likewise.
26993 * socket/recvmsg.c: Likewise.
26994 * socket/send.c: Likewise.
26995 * socket/sendmsg.c: Likewise.
26996 * socket/sendto.c: Likewise.
26997 * socket/setsockopt.c: Likewise.
26998 * socket/shutdown.c: Likewise.
26999 * socket/sockatmark.c: Likewise.
27000 * socket/socket.c: Likewise.
27001 * socket/socketpair.c: Likewise.
27002 * stdio-common/ctermid.c: Likewise.
27003 * stdio-common/cuserid.c: Likewise.
27004 * stdio-common/remove.c: Likewise.
27005 * stdio-common/rename.c: Likewise.
27006 * stdio-common/renameat.c: Likewise.
27007 * stdio-common/tempname.c: Likewise.
27008 * stdlib/getcontext.c: Likewise.
27009 * stdlib/makecontext.c: Likewise.
27010 * stdlib/setcontext.c: Likewise.
27011 * stdlib/swapcontext.c: Likewise.
27012 * stdlib/system.c: Likewise.
27013 * streams/fattach.c: Likewise.
27014 * streams/fdetach.c: Likewise.
27015 * streams/getmsg.c: Likewise.
27016 * streams/getpmsg.c: Likewise.
27017 * streams/putmsg.c: Likewise.
27018 * streams/putpmsg.c: Likewise.
27019 * sysdeps/unix/bsd/getpt.c: Likewise.
27020 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27021 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27022 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27025 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27026 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27027 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27028 * sysvipc/msgctl.c: Likewise.
27029 * sysvipc/msgget.c: Likewise.
27030 * sysvipc/msgrcv.c: Likewise.
27031 * sysvipc/msgsnd.c: Likewise.
27032 * sysvipc/semctl.c: Likewise.
27033 * sysvipc/semget.c: Likewise.
27034 * sysvipc/semop.c: Likewise.
27035 * sysvipc/semtimedop.c: Likewise.
27036 * sysvipc/shmat.c: Likewise.
27037 * sysvipc/shmctl.c: Likewise.
27038 * sysvipc/shmdt.c: Likewise.
27039 * sysvipc/shmget.c: Likewise.
27040 * termios/tcdrain.c: Likewise.
27041 * termios/tcflow.c: Likewise.
27042 * termios/tcflush.c: Likewise.
27043 * termios/tcgetattr.c: Likewise.
27044 * termios/tcgetpgrp.c: Likewise.
27045 * termios/tcsendbrk.c: Likewise.
27046 * termios/tcsetattr.c: Likewise.
27047 * termios/tcsetpgrp.c: Likewise.
27048 * time/adjtime.c: Likewise.
27049 * time/clock.c: Likewise.
27050 * time/getitimer.c: Likewise.
27051 * time/gettimeofday.c: Likewise.
27052 * time/setitimer.c: Likewise.
27053 * time/settimeofday.c: Likewise.
27054 * time/stime.c: Likewise.
27055 * time/time.c: Likewise.
27057 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27059 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27062 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27064 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27066 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27069 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27070 FE_TONEAREST before applying Dekker multiplication and Knuth
27071 addition. Clear inexact exceptions and check for exact zero
27072 results afterwards.
27073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27074 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27075 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27076 * math/libm-test.inc (fma_test): Add more tests.
27077 (fma_test_towardzero): Likewise.
27078 (fma_test_downward): Likewise.
27079 (fma_test_upward): Likewise.
27080 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27082 (libc_fesetround): New macro.
27083 (libc_fesetroundf): Likewise.
27084 (libc_fesetroundl): Likewise.
27085 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27087 (libc_fesetround_387): Likewise.
27088 (libc_fesetroundf): New macro.
27089 (libc_fesetround): Likewise.
27090 (libc_fesetroundl): Likewise.
27091 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27093 (libc_fesetroundf): New macro.
27094 (libc_fesetround): Likewise.
27095 (libc_fesetroundl): Likewise.
27096 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27097 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27098 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27100 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27101 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27103 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27104 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27106 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27110 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27111 integer constant usable in #if and use that to give value to enum
27113 (FE_DIVBYZERO): Likewise.
27114 (FE_UNDERFLOW): Likewise.
27115 (FE_OVERFLOW): Likewise.
27116 (FE_INVALID): Likewise.
27117 (FE_INVALID_SNAN): Likewise.
27118 (FE_INVALID_ISI): Likewise.
27119 (FE_INVALID_IDI): Likewise.
27120 (FE_INVALID_ZDZ): Likewise.
27121 (FE_INVALID_IMZ): Likewise.
27122 (FE_INVALID_COMPARE): Likewise.
27123 (FE_INVALID_SOFTWARE): Likewise.
27124 (FE_INVALID_SQRT): Likewise.
27125 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27126 (FE_TONEAREST): Likewise.
27127 (FE_TOWARDZERO): Likewise.
27128 (FE_UPWARD): Likewise.
27129 (FE_DOWNWARD): Likewise.
27130 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27131 (FE_DIVBYZERO): Likewise.
27132 (FE_OVERFLOW): Likewise.
27133 (FE_UNDERFLOW): Likewise.
27134 (FE_INEXACT): Likewise.
27135 (FE_TONEAREST): Likewise.
27136 (FE_DOWNWARD): Likewise.
27137 (FE_UPWARD): Likewise.
27138 (FE_TOWARDZERO): Likewise.
27139 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27140 (FE_UNDERFLOW): Likewise.
27141 (FE_OVERFLOW): Likewise.
27142 (FE_DIVBYZERO): Likewise.
27143 (FE_INVALID): Likewise.
27144 (FE_TONEAREST): Likewise.
27145 (FE_TOWARDZERO): Likewise.
27146 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27147 (FE_OVERFLOW): Likewise.
27148 (FE_UNDERFLOW): Likewise.
27149 (FE_DIVBYZERO): Likewise.
27150 (FE_INEXACT): Likewise.
27151 (FE_TONEAREST): Likewise.
27152 (FE_TOWARDZERO): Likewise.
27153 (FE_UPWARD): Likewise.
27154 (FE_DOWNWARD): Likewise.
27155 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27156 (FE_DIVBYZERO): Likewise.
27157 (FE_OVERFLOW): Likewise.
27158 (FE_UNDERFLOW): Likewise.
27159 (FE_INEXACT): Likewise.
27160 (FE_TONEAREST): Likewise.
27161 (FE_DOWNWARD): Likewise.
27162 (FE_UPWARD): Likewise.
27163 (FE_TOWARDZERO): Likewise.
27165 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27167 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27169 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27171 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27172 commands. Quote $PWD.
27173 (blacklist_exports): Don't use remove_newlines. Replace "declare
27175 (remove_newlines): Remove.
27177 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27179 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27180 * stdlib/stdlib.h (atof): Moved to ...
27181 * include/bits/stdlib-float.h: Here. New file.
27182 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27183 * stdlib/bits/stdlib-float.h: New file.
27184 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27186 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27189 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27191 * conform/conformtest.pl (@headers): Add fenv.h.
27192 * conform/data/fenv.h-data: New file.
27193 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27194 include of <math/fenv.h>.
27196 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27197 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27198 && !UNIX98]. Enables tests for XOPEN2K8.
27199 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27200 POSIX2008]: Likewise.
27202 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27203 (struct rusage): Do not expect type or its members.
27206 * math/math.h (FP_NAN): Define macro to integer constant usable in
27207 #if and use that to give value to enum constant.
27208 (FP_INFINITE): Likewise.
27209 (FP_ZERO): Likewise.
27210 (FP_SUBNORMAL): Likewise.
27211 (FP_NORMAL): Likewise.
27213 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27215 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27216 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27219 2012-11-02 Roland McGrath <roland@hack.frob.com>
27221 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27222 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27223 autoconf-time if not.
27224 * configure.in: Remove AC_PREREQ.
27226 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27228 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27229 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27230 of the internal implementation.
27232 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27234 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27235 except include of <misc/sys/syslog.h>.
27237 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27240 function returns with a NULL context exit with zero.
27242 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27244 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27246 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27248 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27249 (run_program_cmd): This.
27250 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27251 (tst_langinfo): New variable. Use it.
27253 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27255 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27256 floating point opcodes.
27258 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27260 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27263 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27265 * sysdeps/mach/hurd/powerpc: Remove directory.
27266 * sysdeps/mach/powerpc: Likewise.
27268 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27270 * scripts/check-local-headers.sh: Ignore c++ headers.
27272 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27274 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27275 __libc_cleanup_region_start argument.
27277 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27282 x * y using scaling, not as x * y + z.
27283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27285 * math/libm-test.inc (fma_test): Add more tests.
27286 (fma_test_towardzero): Likewise.
27287 (fma_test_downward): Likewise.
27288 (fma_test_upward): Likewise.
27290 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27292 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27294 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27296 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27299 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27301 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27303 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27310 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27313 Fix the order of the list for glibc 2.17.
27314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27317 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27321 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27324 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27325 for low part of x being zero before using __atanl (y).
27326 * math/libm-test.inc (atan2_test): Add another test.
27328 * manual/install.texi (Configuring and compiling): Document
27329 general use of test-wrapper and test-wrapper-env.
27330 * INSTALL: Regenerated.
27332 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27333 (__fma): Do not extract and scale down low bits on after-rounding
27334 systems when result rounded to normal precision would have normal
27336 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27337 (__fmal): Do not extract and scale down low bits on after-rounding
27338 systems when result rounded to normal precision would have normal
27340 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27341 (__fmal): Do not extract and scale down low bits on after-rounding
27342 systems when result rounded to normal precision would have normal
27344 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27346 (fma_test): Add more tests.
27347 (fma_test_towardzero): Likewise.
27348 (fma_test_downward): Likewise.
27349 (fma_test_upward): Likewise.
27351 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27353 * sysdeps/i386/tininess.h: Renamed to ...
27354 * sysdeps/x86/tininess.h: This.
27355 * sysdeps/x86_64/tininess.h: Removed.
27357 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27359 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27360 input. Use $(build-program-cmd).
27361 ($(objpfx)tst-array1-static.out): Likewise.
27362 ($(objpfx)tst-array2.out): Likewise.
27363 ($(objpfx)tst-array3.out): Likewise.
27364 ($(objpfx)tst-array4.out): Likewise.
27365 ($(objpfx)tst-array5.out): Likewise.
27366 ($(objpfx)tst-array5-static.out): Likewise.
27368 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27370 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27373 * nss/nsswitch.h (nss_interface_function): Provide new
27374 macro for use with NSS functions.
27375 * grp/initgroups.c: Use new macro.
27376 * nss/getXXbyYY.c: Likewise.
27377 * nss/getXXbyYY_r.c: Likewise.
27378 * nss/getXXent.c: Likewise.
27379 * nss/getXXent_r.c: Likewise.
27380 * sysdeps/posix/getaddrinfo.c: Likewise.
27382 2012-10-30 Andreas Jaeger <aj@suse.de>
27384 * po/ru.po: Update Russion translation from translation project.
27386 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27391 result and shift together with sticky bit instead of replicating
27392 round-to-nearest rounding.
27393 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27394 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27395 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27396 missing underflow exceptions.
27397 (fma_test_towardzero): Add more tests.
27398 (fma_test_downward): Likewise.
27399 (fma_test_upward): Likewise.
27402 * sysdeps/generic/tininess.h: New file.
27403 * sysdeps/i386/tininess.h: Likewise.
27404 * sysdeps/sh/tininess.h: Likewise.
27405 * sysdeps/x86_64/tininess.h: Likewise.
27406 * stdlib/tst-strtod-underflow.c: Likewise.
27407 * stdlib/tst-tininess.c: Likewise.
27408 * stdlib/strtod_l.c: Include <tininess.h>.
27409 (round_and_return): Do not set errno for exact underflow cases.
27410 Force an underflow exception when setting errno for underflow.
27411 Determine underflow based on rounding to normal precision if
27412 TININESS_AFTER_ROUNDING.
27413 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27414 ERANGE for exact underflow cases.
27415 * stdlib/Makefile (tests): Add tst-tininess and
27416 tst-strtod-underflow.
27417 ($(objpfx)tst-tininess): Use $(link-libm).
27418 ($(objpfx)tst-strtod-underflow): Likewise.
27420 2012-10-30 Andreas Jaeger <aj@suse.de>
27423 * elf/Makefile (tests): Remove conditional for have-initfini-array
27424 since this is now always required and the variable does not exist
27426 (tests-static): Likewise.
27427 (modules-names): Likewise.
27429 * po/eo.po: Add Esperanto translation from translation project.
27431 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27432 merged with constructor/destructor.
27433 (init_array): Likewise.
27434 * elf/tst-array2dep.c (fini_array): Likewise.
27435 (init_array): Likewise.
27437 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27439 * manual/message.texi: Delete @cartouche tags.
27441 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27443 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27445 * sysdeps/mach/hurd/fsync.c: Likewise.
27447 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27448 [_POSIX_REALTIME_SIGNALS]: Change condition to
27449 [_POSIX_REALTIME_SIGNALS > 0].
27451 2012-10-27 Andreas Jaeger <aj@suse.de>
27453 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27454 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27456 [__WORDSIZE != 64]: Likewise.
27458 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27460 * iconvdata/tst-table.sh: Remove ${SHELL}.
27461 * iconvdata/tst-tables.sh: Likewise.
27463 2012-10-25 David S. Miller <davem@davemloft.net>
27465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27466 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27471 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27472 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27473 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27476 2012-10-25 Roland McGrath <roland@hack.frob.com>
27478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27479 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27482 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27483 Jim Blandy <jimb@codesourcery.com>
27485 * scripts/cross-test-ssh.sh: New file.
27486 * manual/install.texi (Configuring and compiling): Document use of
27488 * INSTALL: Regenerated.
27490 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27492 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27495 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27497 * Makeconfig (run-program-prefix): Fix comment.
27499 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27500 Jim Blandy <jimb@codesourcery.com>
27502 * Makeconfig (test-wrapper): New variable,
27503 (test-wrapper-env): Likewise.
27504 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27505 (run-built-tests): Define to yes.
27506 (run-program-prefix): Use $(test-wrapper).
27507 (built-program-cmd): Likewise.
27508 * Rules (make-test-out): Use $(test-wrapper-env) and
27509 $(host-built-program-cmd).
27510 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27511 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27513 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27514 $(test-wrapper-env) to tst-rtld-load-self.sh.
27515 ($(objpfx)order2.out): Use $(test-wrapper).
27516 ($(objpfx)tst-initorder.out): Likewise.
27517 ($(objpfx)tst-initorder2.out): Likewise.
27518 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27519 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27520 (test_wrapper_env): New variable. Use it to run ld.so.
27521 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27522 Use it to run ld.so.
27523 (test_wrapper_env): Likewise.
27524 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27525 $(test-wrapper) to run-iconv-test.sh.
27526 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27527 (ICONV): Use $test_wrapper.
27528 * posix/Makefile ($(objpfx)globtest.out): Pass
27529 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27530 globtest.sh, not $(run-program-prefix).
27531 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27532 (test_wrapper): Likewise.
27533 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27534 set together with run_via_rtld_prefix.
27535 (run_program_prefix): Define in terms of test_wrapper and
27536 run_via_rtld_prefix.
27538 2012-10-24 Roland McGrath <roland@hack.frob.com>
27540 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27541 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27545 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27546 Declare __clock_getres, __clock_gettime, __clock_settime,
27547 __clock_nanosleep, and __clock_getcpuclockid.
27548 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27549 Remove librt_hidden_def (clock_gettime).
27550 * sysdeps/unix/clock_gettime.c: Likewise.
27551 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27552 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27553 * rt/clock_getres.c: Define __clock_getres as an alias.
27554 * sysdeps/posix/clock_getres.c: Likewise.
27555 * rt/clock_settime.c: Define __clock_settime as an alias.
27556 * sysdeps/unix/clock_settime.c: Likewise.
27557 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27558 * sysdeps/unix/clock_nanosleep.c: Likewise.
27559 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27560 * rt/clock-compat.c: New file.
27561 * rt/Makefile (librt-routines): Add clock-compat and move
27562 $(clock-routines) to ...
27563 (routines): ... here, new variable.
27564 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27565 Don't add get_clockfreq here.
27566 * rt/Versions (libc: GLIBC_2.17): New version set.
27567 Add clock_* symbols here.
27568 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27570 (GLIBC_2.17): Add clock_* symbols.
27571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27582 * NEWS: Mention the move.
27584 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27585 Use __open, __read, __close rather than their public counterparts.
27586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27587 (__get_clockfreq_via_cpuinfo): Likewise.
27588 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27589 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27591 * config.h.in (HAVE_IFUNC): New #undef.
27592 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27594 * configure: Regenerated.
27596 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27598 * configure.in: Move READELF check to start of file.
27599 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27600 libc_cv_asm_gnu_indirect_function in the process.
27601 * configure: Regenerated.
27603 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27605 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27606 send the output to /dev/null.
27607 (libc_cv_cc_with_libunwind): Likewise.
27608 (libc_cv_as_noexecstack): Likewise.
27609 * configure: Regenerate.
27611 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27613 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27615 * posix/globtest.sh (TMPDIR): Do not set.
27616 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27617 (testout): Likewise.
27619 2012-10-24 Andreas Jaeger <aj@suse.de>
27621 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27622 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27623 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27624 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27625 posix_fadvise64, posix_fallocate64.
27627 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27628 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27629 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27631 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27633 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27636 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27637 <bits/fcntl-linux.h>.
27638 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27641 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27642 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27643 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27644 [__WORDSIZE != 64]: Likewise.
27646 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27648 * Makeconfig (run-built-tests): New variable.
27649 * Rules [$(cross-compiling) = yes]: Change condition to
27650 [$(run-built-tests) = no].
27651 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27652 to [$(run-built-tests) = yes].
27653 * elf/Makefile [$(cross-compiling) = no]: Likewise
27654 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27655 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27656 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27657 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27658 * io/Makefile [$(cross-compiling) = no]: Likewise.
27659 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27660 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27661 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27662 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27663 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27664 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27665 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27666 * string/Makefile [$(cross-compiling) = no]: Likewise.
27668 * posix/Makefile ($(objpfx)globtest.out): Pass
27669 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27670 $(rtld-installed-name).
27671 * posix/globtest.sh (elf_objpfx): Remove variable.
27672 (rtld_installed_name): Likewise.
27673 (library_path): Likewise.
27674 (run_program_prefix): New variable. Use for running globtest
27677 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27678 Joseph Myers <joseph@codesourcery.com>
27680 * Makeconfig (host-built-program-cmd): New variable.
27681 * elf/Makefile (tst-stackguard1-ARGS): Use
27682 $(host-built-program-cmd).
27683 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27684 (tst-spawn-ARGS): Likewise.
27685 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27687 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27688 Jim Blandy <jimb@codesourcery.com>
27690 * Makeconfig (run-via-rtld-prefix): New variable.
27691 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27692 (built-program-cmd): Likewise.
27694 2012-10-22 Andreas Jaeger <aj@suse.de>
27696 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27697 __O_RSYNC if it exists, otherwise to O_SYNC.
27699 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27700 Joseph Myers <joseph@codesourcery.com>
27702 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27704 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27706 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27709 2012-10-22 Andreas Jaeger <aj@suse.de>
27711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27713 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27715 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27716 bits/fcntl-linux.h.
27718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27719 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27726 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27727 Joseph Myers <joseph@codesourcery.com>
27729 * config.make.in (NM): New variable.
27731 2012-10-21 Andreas Jaeger <aj@suse.de>
27733 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27734 definitions and declarations that are provided by
27735 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27737 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27740 * elf/Makefile (tests-static): Add tst-leaks1-static.
27741 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27742 ($(objpfx)tst-leaks1-static): New rule.
27743 ($(objpfx)tst-leaks1-static-mem): Likewise.
27744 (tst-leaks1-static-ENV): New macro.
27745 * elf/dl-open.c (dl_open_worker): Check the main application
27746 only if SHARED is defined.
27747 * elf/tst-leaks1-static.c: New file.
27749 2012-10-20 Andreas Jaeger <aj@suse.de>
27751 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27752 generic values for Linux.
27753 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27754 and declarations that are provided by <bits/fcntl-linux.h> and
27755 include <bits/fcntl-linux.h>.
27756 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27757 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27759 2012-10-20 Roland McGrath <roland@hack.frob.com>
27761 * io/fcntl.h: Move include of <bits/types.h> to the top and
27762 include it unconditionally.
27764 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27766 * wcsmbs/Makefile (tests-ifunc): New variable.
27767 (tests): Add $(tests-ifunc).
27768 * wcsmbs/test-wcschr-ifunc.c: New file.
27769 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27770 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27771 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27772 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27773 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27775 * string/Makefile (tests-ifunc): New variable.
27776 (tests): Add $(tests-ifunc).
27777 * string/test-memccpy.c (TEST_NAME): New macro.
27778 * string/test-memchr.c (TEST_NAME): Likewise.
27779 * string/test-memcmp.c (TEST_NAME): Likewise.
27780 * string/test-memcpy.c (TEST_NAME): Likewise.
27781 * string/test-memmem.c (TEST_NAME): Likewise.
27782 * string/test-memmove.c (TEST_NAME): Likewise.
27783 * string/test-memset.c (TEST_NAME): Likewise.
27784 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27785 * string/test-stpcpy.c (TEST_NAME): Likewise.
27786 * string/test-stpncpy.c (TEST_NAME): Likewise.
27787 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27788 * string/test-strcasestr.c (TEST_NAME): Likewise.
27789 * string/test-strcat.c (TEST_NAME): Likewise.
27790 * string/test-strchr.c (TEST_NAME): Likewise.
27791 * string/test-strcmp.c(TEST_NAME): Likewise.
27792 * string/test-strcpy.c (TEST_NAME): Likewise.
27793 * string/test-strcspn.c (TEST_NAME): Likewise.
27794 * string/test-strlen.c (TEST_NAME): Likewise.
27795 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27796 * string/test-strncmp.c (TEST_NAME): Likewise.
27797 * string/test-strncpy.c (TEST_NAME): Likewise.
27798 * string/test-strnlen.c (TEST_NAME): Likewise.
27799 * string/test-strpbrk.c (TEST_NAME): Likewise.
27800 * string/test-strrchr.c (TEST_NAME): Likewise.
27801 * string/test-strspn.c (TEST_NAME): Likewise.
27802 * string/test-strstr.c (TEST_NAME): Likewise.
27803 * string/test-bcopy-ifunc.c: New file.
27804 * string/test-bzero-ifunc.c: Likewise.
27805 * string/test-memccpy-ifunc.c: Likewise.
27806 * string/test-memchr-ifunc.c: Likewise.
27807 * string/test-memcmp-ifunc.c: Likewise.
27808 * string/test-memcpy-ifunc.c: Likewise.
27809 * string/test-memmem-ifunc.c: Likewise.
27810 * string/test-memmove-ifunc.c: Likewise.
27811 * string/test-mempcpy-ifunc.c: Likewise.
27812 * string/test-memset-ifunc.c: Likewise.
27813 * string/test-rawmemchr-ifunc.c: Likewise.
27814 * string/test-stpcpy-ifunc.c: Likewise.
27815 * string/test-stpncpy-ifunc.c: Likewise.
27816 * string/test-strcasecmp-ifunc.c: Likewise.
27817 * string/test-strcasestr-ifunc.c: Likewise.
27818 * string/test-strcat-ifunc.c: Likewise.
27819 * string/test-strchr-ifunc.c: Likewise.
27820 * string/test-strchrnul-ifunc.c: Likewise.
27821 * string/test-strcmp-ifunc.c: Likewise.
27822 * string/test-strcpy-ifunc.c: Likewise.
27823 * string/test-strcspn-ifunc.c: Likewise.
27824 * string/test-strlen-ifunc.c: Likewise.
27825 * string/test-strncasecmp-ifunc.c: Likewise.
27826 * string/test-strncat-ifunc.c: Likewise.
27827 * string/test-strncmp-ifunc.c: Likewise.
27828 * string/test-strncpy-ifunc.c: Likewise.
27829 * string/test-strnlen-ifunc.c: Likewise.
27830 * string/test-strpbrk-ifunc.c: Likewise.
27831 * string/test-strrchr-ifunc.c: Likewise.
27832 * string/test-strspn-ifunc.c: Likewise.
27833 * string/test-strstr-ifunc.c: Likewise.
27835 * debug/Makefile (tests-ifunc): New variable.
27836 (tests): Add $(tests-ifunc).
27837 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27838 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27839 * debug/test-stpcpy_chk-ifunc.c: New file.
27840 * debug/test-strcpy_chk-ifunc.c: Likewise.
27842 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27845 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27846 header is not read in.
27848 2012-10-19 Joseph Myers <joseph@codesourcery.com>
27850 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
27851 script to $(SHELL) as $<. Pass $(common-objpfx) to script
27852 directly. Pass built executable to script as
27853 $(built-program-cmd).
27854 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
27855 $testprogram without using LD_LIBRARY_PATH and $ldso.
27857 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27858 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27859 $(rtld-installed-name).
27860 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27861 (rtld_installed_name): Likewise.
27862 (library_path): Likewise.
27863 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
27864 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27865 $(run-program-prefix) to tst-tables.sh.
27866 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
27867 it to run tst-table-from and tst-table-to.
27868 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27869 Pass it to tst-table.sh.
27870 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27871 $(run-program-prefix) to tst-gettext.sh.
27872 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27874 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27876 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
27877 to run tst-gettext.
27878 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
27879 to run tst-gettext2.
27880 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
27881 to run tst-translit.
27882 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27883 $(run-program-prefix) to tst-mtrace.sh.
27884 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
27886 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27887 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27888 $(rtld-installed-name).
27889 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27890 (rtld_installed_name): Likewise.
27891 (run_program_prefix): New variable. Use it to run wordexp-test.
27893 * Makeconfig (ARCH): Remove all definitions.
27894 (machine): Likewise.
27895 [ARCH]: Remove conditional code.
27896 [!objdir]: Give error.
27897 [!objdir] (objpfx): Remove.
27898 [!objdir] (common-objpfx): Likewise.
27899 [!objdir] (common-objdir): Likewise.
27900 * configure.in (config_makefile): Remove. Hardcode Makefile in
27901 AC_CONFIG_FILES call.
27902 * configure: Regenerated.
27905 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27907 (testout): Likewise.
27909 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27910 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27911 $(rtld-installed-name).
27912 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27913 (rtld_installed_name): Likwise.
27914 (runit): Remove function.
27915 (run_getconf): New variable, Use it for running getconf binary.
27917 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
27920 * string/test-memmem.c (check_result): New function.
27921 (do_one_test): Use it.
27922 (check1): New function.
27923 (test_main): Use it.
27925 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
27927 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27929 2012-10-18 Joseph Myers <joseph@codesourcery.com>
27931 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27932 (_G_LSEEK64): Likewise.
27933 (_G_MMAP64): Likewise.
27934 (_G_FSTAT64): Likewise.
27935 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27936 (_G_LSEEK64): Likewise.
27937 (_G_MMAP64): Likewise.
27938 (_G_FSTAT64): Likewise.
27939 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27940 unconditional. Call __mmap64 directly.
27941 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27942 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
27943 __lseek64 directly.
27944 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27945 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
27947 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27948 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
27949 __lseek64 directly.
27950 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27951 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
27952 __lseek64 directly.
27953 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27954 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
27955 __lseek64 directly.
27956 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27957 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
27958 __fxstat64 directly.
27959 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27960 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27962 (freopen64) [!_G_OPEN64]: Remove conditional code.
27963 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27965 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27966 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27968 (ftello64) [!_G_LSEEK64]: Remove conditional code.
27969 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27971 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27972 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27974 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27975 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27977 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27978 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27980 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27981 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27983 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27985 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27988 * manual/memory.texi (Malloc Tunable Parameters): Add note
27989 about free list pointers overwriting some perturb bytes.
27990 Wording suggested by Roland McGrath.
27992 2012-10-17 Joseph Myers <joseph@codesourcery.com>
27994 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27995 (lgamma_test): Likewise.
27996 (tgamma_test): Likewise.
27998 2012-10-16 Florian Weimer <fweimer@redhat.com>
28001 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28002 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28004 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28006 * NEWS: Mention BZ #14716.
28007 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28008 when removing AVAILABLE1_USES_J macro.
28010 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28012 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28013 (__bswap_64): __uint64_t for unsigned 64-bit int.
28015 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28017 * include/string.h (memmem): Declare libc hidden alias.
28018 * string/memmem.c (memmem): Define libc hidden alias.
28019 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28020 __read, __close instead of open, read, close.
28022 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28024 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28025 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28027 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28028 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28029 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28031 (__rawmemchr_sse2): Likewise.
28032 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28033 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28034 (__strchr_sse2): Likewise.
28035 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28036 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28037 (__strcasecmp_sse2): Likewise.
28038 (__strncasecmp_sse2): Likewise.
28039 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28040 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28041 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28042 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28043 (__strrchr_sse2): Likewise.
28044 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28046 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28047 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28048 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28049 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28050 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28051 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28052 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28053 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28054 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28055 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28056 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28057 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28058 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28059 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28060 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28061 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28062 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28063 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28064 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28065 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28066 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28067 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28068 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28069 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28070 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28071 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28072 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28073 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28074 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28075 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28077 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28079 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28080 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28081 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28082 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28084 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28086 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28087 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28088 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28089 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28091 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28092 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28093 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28094 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28095 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28096 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28097 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28098 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28099 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28100 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28101 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28102 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28103 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28104 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28105 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28106 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28107 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28108 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28109 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28110 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28112 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28113 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28114 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28116 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28117 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28118 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28119 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28120 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28121 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28122 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28123 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28124 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28125 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28126 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28128 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28129 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28130 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28131 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28133 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28134 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28135 * include/ifunc-impl-list.h: New file.
28136 * misc/ifunc-impl-list.c: Likewise.
28137 * misc/Makefile (routines): Add ifunc-impl-list.
28138 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28139 * string/test-string.h: Include <ifunc-impl-list.h>.
28140 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28141 TEST_NAME]: New variables.
28142 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28144 (test_init): Call __libc_ifunc_impl_list to initialize
28145 func_list if TEST_IFUNC and TEST_NAME are defined.
28147 * string/Makefile (strop-tests): Add bcopy and bzero.
28148 * string/test-bcopy.c: New file.
28149 * string/test-bzero.c: Likewise.
28150 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28152 * string/test-memset.c: Support bzero test if TEST_BZERO is
28154 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28156 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28158 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28161 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28163 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28164 * configure: Regenerated.
28166 * Makeconfig (+link-static-before-libc): Don't include
28167 $(link-static-libc).
28169 * libio/libio.h (_IO_pos_t): Remove.
28171 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28173 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28176 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28178 * crypt/crypt-entry.c: Include fips-private.h.
28179 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28180 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28181 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28182 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28184 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28186 * crypt/crypt-private.h: Include stdbool.h.
28187 (_ufc_setup_salt_r): Return bool.
28188 * crypt/crypt-entry.c: Include errno.h.
28189 (__crypt_r): Return NULL with EINVAL for bad salt.
28190 * crypt/crypt_util.c (bad_for_salt): New.
28191 (_ufc_setup_salt_r): Check that salt is long enough and within
28192 the specified alphabet.
28193 * crypt/badsalttest.c: New file.
28194 * crypt/Makefile (tests): Add it.
28195 ($(objpfx)badsalttest): New.
28197 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28199 * NEWS: Add entry for BZ #14602.
28201 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28203 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28205 * math/libm-test.inc: Update comment listing what functions and
28207 (isgreater_test): New function.
28208 (isgreaterequal_test): Likewise.
28209 (isless_test): Likewise.
28210 (islessequal_test): Likewise.
28211 (islessgreater_test): Likewise.
28212 (isunordered_test): Likewise.
28213 (main): Call the new functions.
28215 2012-10-09 Roland McGrath <roland@hack.frob.com>
28217 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28218 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28219 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28220 * sysdeps/i386/configure: Regenerated.
28221 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28222 * sysdeps/mach/configure: Regenerated.
28223 * sysdeps/mach/hurd/configure: Regenerated.
28224 * sysdeps/powerpc/configure: Regenerated.
28225 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28226 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28227 * sysdeps/s390/s390-32/configure: Regenerated.
28228 * sysdeps/s390/s390-64/configure: Regenerated.
28229 * sysdeps/sh/configure: Regenerated.
28230 * sysdeps/sparc/configure: Regenerated.
28231 * sysdeps/unix/sysv/linux/configure: Regenerated.
28232 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28233 * sysdeps/x86_64/configure: Regenerated.
28235 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28236 defined. Don't check if MAP is NULL.
28238 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28240 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28241 (_G_stat64): Likewise.
28242 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28243 (_G_stat64): Likewise.
28244 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28245 instead of struct _G_stat64.
28246 * libio/fileops.c (mmap_remap_check): Likewise.
28247 (decide_maybe_mmap): Likewise.
28248 (_IO_new_file_seekoff): Likewise.
28249 (_IO_file_stat): Likewise.
28250 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28252 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28253 instead of struct _G_stat64.
28254 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28256 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28259 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28261 (CHECK_EOL): New macro.
28262 (two_way_short_needle): Check beginning of haystack for EOL. Use
28264 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28265 Replace with CHECK_EOL.
28266 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28267 Replace with CHECK_EOL.
28269 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28271 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28273 * math/libm-test.inc: Update comment listing what functions and
28275 (finite_test): New function.
28276 (isinf_test): Likewise.
28277 (isnan_test): Likewise.
28278 (fpclassify_test): Test subnormal input.
28279 (isfinite_test): Likewise.
28280 (isnormal_test): Likewise.
28281 (main): Call the new functions.
28283 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28286 * Makerules (%.dynsym): Force C locale when running
28287 $(OBJDUMP) --dynamic-syms.
28289 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28291 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28294 2012-10-06 David S. Miller <davem@davemloft.net>
28296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28297 upper 32-bits of the length value in %o2 since we use branch-on-register
28298 tests which consider the entire 64-bit register.
28300 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28302 * string/test-strstr.c (check2): Add a test for page boundary.
28304 2012-10-05 David S. Miller <davem@davemloft.net>
28306 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28307 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28309 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28311 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28312 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28313 and bzero when HWCAP_SPARC_CRYPTO is present.
28315 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28318 * string/test-strstr.c (check2): New function.
28319 (test_main): Call check2.
28321 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28323 * string/bug-strcasestr1.c (do_test): Moved to ...
28324 * string/test-strcasestr.c (check1): Here. New function.
28325 (do_one_test): Break out result checking code into ...
28326 (check_result): This. New function.
28327 (do_one_test): Call check_result.
28328 (test_main): Call check1.
28329 * string/bug-strchr1.c (do_test): Moved to ...
28330 * string/test-strchr.c (check1): Here. New function.
28331 (do_one_test): Break out result checking code into ...
28332 (check_result): This. New function.
28333 (do_one_test): Call check_result.
28334 (test_main): Call check1.
28335 * string/bug-strstr1.c (main): Moved to ...
28336 * string/test-strstr.c (check1): Here. New function.
28337 (do_one_test): Break out result checking code into ...
28338 (check_result): This. New function.
28339 (do_one_test): Call check_result.
28340 (test_main): Call check1.
28341 * string/bug-strcasestr1.c: Removed.
28342 * string/bug-strchr1.c: Likewise.
28343 * string/bug-strstr1.c: Likewise.
28345 * elf/Makefile (dl-routines): Add hwcaps.
28346 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28347 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28348 (_dl_important_hwcaps): Moved to ...
28349 * elf/dl-hwcaps.c: Here. New file.
28350 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28353 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28354 if IS_IN_rtld isn't defined.
28356 * elf/dl-support.c (_dl_sysinfo_map): New.
28357 Include "get-dynamic-info.h" and "setup-vdso.h".
28358 (_dl_non_dynamic_init): Call setup_vdso.
28359 * elf/dynamic-link.h: Don't include <assert.h>.
28360 (elf_get_dynamic_info): Moved to ...
28361 * elf/get-dynamic-info.h: Here. New file.
28362 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28363 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28364 * elf/setup-vdso.h: Here. New file.
28365 * elf/rtld.c: Include "setup-vdso.h".
28366 (dl_main): Call setup_vdso.
28368 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28370 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28371 creal in comment listing functions tested. List finite, isinf,
28372 isnan, isless, islessequal, isgreater, isgreaterequal,
28373 islessgreater, isunordered, lgamma_r and pow10 as functions and
28374 macros not tested. Mention which functions not tested are aliases
28375 for other functions. Fix typo. Note that signs of NaNs are not
28378 * scripts/config.guess: Update from config.git.
28379 * scripts/config.sub: Likewise.
28381 2012-10-04 Roland McGrath <roland@hack.frob.com>
28383 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28384 * misc/madvise.c (madvise): Renamed to __madvise.
28385 Make madvise a weak alias.
28386 * include/sys/mman.h: Declare __madvise.
28387 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28388 * sysdeps/unix/syscalls.list
28389 (madvise): Make __madvise the strong name, and madvise a weak alias.
28390 * sysdeps/unix/sysv/linux/syscalls.list
28391 (madvise, mmap): Remove redundant entries.
28392 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28393 * malloc/malloc.c (mtrim): Likewise.
28394 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28396 2012-10-03 Roland McGrath <roland@hack.frob.com>
28398 * sysdeps/mach/hurd/dl-cache.c: File removed.
28399 * config.h.in (USE_LDCONFIG): New #undef.
28400 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28401 * configure: Regenerated.
28402 * elf/Makefile (dl-routines): Add dl-cache only under
28403 [$(use-ldconfig) = yes].
28404 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28405 cache on [USE_LDCONFIG].
28406 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28408 * elf/rtld.c (dl_main): Likewise.
28410 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28412 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28413 _SC_LEVEL4_CACHE_LINESIZE.
28415 2012-10-03 Roland McGrath <roland@hack.frob.com>
28417 * sysdeps/unix/bsd/confstr.h: File removed.
28419 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28421 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28424 2012-10-02 Roland McGrath <roland@hack.frob.com>
28426 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28427 Make 'mapoff' field ElfW(Off) rather than off_t.
28429 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28431 * nscd/Makefile: Remove nscd-cflags and all its users.
28432 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28433 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28436 * malloc.c (malloc_printerr): Clarify error message.
28438 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28442 Set bit_FMA_Usable if FMA is supported.
28443 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28445 (bit_FMA4_Usable): Updated.
28446 (index_FMA_Usable): New macro.
28447 (CPUID_FMA): Likewise
28448 (HAS_FMA): Defined with bit_FMA_Usable.
28450 2012-10-01 Roland McGrath <roland@hack.frob.com>
28452 * bits/types.h (__swblk_t): Type removed.
28453 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28454 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28456 (__SWBLK_T_TYPE): Likewise.
28457 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28458 (__SWBLK_T_TYPE): Likewise.
28459 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28460 (__SWBLK_T_TYPE): Likewise.
28461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28462 (__SWBLK_T_TYPE): Likewise.
28464 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28465 Honza Horak <hhorak@redhat.com>
28467 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28468 (xdr_mapname): Use YPMAXMAP as maxsize.
28469 (xdr_peername): Use YPMAXPEER as maxsize.
28470 (xdr_keydat): Use YPAXRECORD as maxsize.
28471 (xdr_valdat): Use YPMAXRECORD as maxsize.
28473 2012-10-01 Roland McGrath <roland@hack.frob.com>
28475 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28477 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28478 * csu/init-first.c: ... here.
28479 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28480 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28481 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28482 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28483 * sysdeps/i386/init-first.c: File removed.
28484 * sysdeps/sh/init-first.c: File removed.
28486 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28490 if x * y might underflow to zero and z is zero.
28491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28492 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28493 * math/libm-test.inc (min_subnorm_value): New variable.
28494 (fma_test): Add more tests.
28495 (fma_test_towardzero): Likewise.
28496 (fma_test_downward): Likewise
28497 (fma_test_upward): Likewise.
28498 (initialize): Set min_subnorm_value.
28500 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28506 mode for addition resulting in exact zero.
28507 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28510 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28512 * math/libm-test.inc (fma_test): Add more tests.
28513 (fma_test_towardzero): New function.
28514 (fma_test_downward): Likewise.
28515 (fma_test_upward): Likewise.
28516 (main): Call the new functions.
28518 2012-09-28 David S. Miller <davem@davemloft.net>
28520 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28522 2012-09-28 Roland McGrath <roland@hack.frob.com>
28524 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28525 instead of SIGALRM.
28527 * sysdeps/gnu/_G_config.h: Moved to ...
28528 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28529 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28530 * sysdeps/generic/_G_config.h: ... here.
28532 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28534 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28536 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28537 Conditionalize target on [libnss_test1.so-version].
28539 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28541 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28542 (elfobjdir): Move out of conditionals.
28544 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28545 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28546 (__nss_lookup_function): Conditionalize label remove_from_tree on
28547 [!DO_STATIC_NSS || SHARED], matching its only use.
28549 2012-09-28 David S. Miller <davem@davemloft.net>
28551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28552 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28554 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28556 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28557 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28558 when HWCAP_SPARC_CRYPTO is present.
28560 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28562 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28564 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28567 * stdio-common/vfprintf.c (process_string_arg): Revert
28570 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28572 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28574 * stdio-common/tst-sprintf.c: Include <locale.h>
28575 (main): Test sprintf's handling of incomplete multibyte
28578 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28580 * elf/dl-runtime.c (VERSYMIDX): Removed.
28581 * elf/dl-version.c (VERSYMIDX): Likewise.
28582 * elf/do-rel.h (VERSYMIDX): Likewise.
28583 (VALIDX): Likewise.
28584 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28585 * elf/rtld.c (VALIDX): Likewise.
28586 (ADDRIDX): Likewise.
28587 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28588 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28589 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28590 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28591 (VALIDX): Likewise.
28592 (ADDRIDX): Likewise.
28594 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28596 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28598 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28601 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28603 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28604 addresses are in the same scope as 192.0.2/24.
28605 * posix/gai.conf: Document new scope table defaults.
28607 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28610 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28611 for ftell. Compute offsets from write pointers instead.
28612 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28614 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28617 * libio/Makefile (tests): New test case tst-fseek.
28618 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28619 combination works in wide mode.
28620 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28621 state when the external buffer state changes.
28623 2012-09-27 David S. Miller <davem@davemloft.net>
28626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28627 pass reloc->r_addend in as the 'high' argument to
28628 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28632 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28634 * rt/tst-aio2.c: Include <pthread.h>.
28635 * rt/tst-aio3.c: Likewise.
28637 2012-09-27 Steve Ellcey <sellcey@mips.com>
28639 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28641 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28643 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28644 contents on [SHARED].
28646 2012-09-26 Marek Polacek <polacek@redhat.com>
28650 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28651 for C++ and GCC <4.3 as well as for non GCC compilers.
28653 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28657 2012-09-25 Roland McGrath <roland@hack.frob.com>
28659 * Makefile.in (all, install): Declare with .PHONY.
28660 Reported by Michael Hope <michael.hope@linaro.org>.
28662 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28664 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28665 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28667 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28669 (sydep_routines): Add the new and the internal functions.
28670 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28671 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28673 (GLIBC_2.17): Add the new function.
28674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28675 (GLIBC_2.17): Likewise.
28676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28677 (GLIBC_2.17): Likewise.
28678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28679 (GLIBC_2.17): Likewise.
28680 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28682 2012-09-25 Alan Modra <amodra@gmail.com>
28684 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28685 Add release barrier before setting once_control to say
28686 initialisation is done. Add hints on lwarx. Use macro in
28688 (clear_once_control): Add release barrier.
28690 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28693 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28695 * math/s_clog10.c (__clog10): Likewise.
28696 * math/s_clog10f.c (__clog10f): Likewise.
28697 * math/s_clog10l.c (__clog10l): Likewise.
28698 * math/s_clogf.c (__clogf): Likewise.
28699 * math/s_clogl.c (__clogl): Likewise.
28700 * math/Makefile (libm-calls): Add x2y2m1.
28701 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28702 (__x2y2m1): Likewise.
28703 (__x2y2m1l): Likewise.
28704 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28705 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28710 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28711 * sysdeps/i386/fpu/libm-test-ulps: Update.
28712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28715 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28716 int as type of variable DEPTH.
28717 (glob): Use size_t instead of int as type of variables NEWCOUNT
28720 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28722 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28723 Add s_sincosf-sse2.
28724 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28725 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28726 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28727 macros for using routine as __sincosf_ia32.
28728 Use macro for function declaration and weak_alias.
28729 * sysdeps/i386/fpu/libm-test-ulps: Update.
28731 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28734 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28735 subnormal argument.
28736 * math/s_cexpf.c (__cexpf): Likewise.
28737 * math/s_csinf.c (__csinf): Likewise.
28738 * math/s_csinhf.c (__csinhf): Likewise.
28739 * math/s_ctanf.c (__ctanf): Likewise.
28740 * math/s_ctanhf.c (__ctanhf): Likewise.
28741 * math/s_ccosh.c (__ccoshf): Likewise.
28742 * math/s_cexp.c (__cexpl): Likewise.
28743 * math/s_csin.c (__csin): Likewise.
28744 * math/s_csinh.c (__csinh): Likewise.
28745 * math/s_ctan.c (__ctan): Likewise.
28746 * math/s_ctanh.c (ctanh): Likewise.
28747 * math/s_ccoshl.c (__ccoshl): Likewise.
28748 * math/s_cexpl.c (__cexpl): Likewise.
28749 * math/s_csinl.c (__csinl): Likewise.
28750 * math/s_csinhl.c (__csinhl): Likewise.
28751 * math/s_ctanl.c (__ctanl): Likewise.
28752 * math/s_ctanhl.c (__ctanhl): Likewise.
28754 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28756 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28757 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28758 (_IO_off_t): Define to __off_t, not _G_off_t.
28759 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28760 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28761 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28762 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28763 type of __dummy and __dummy2 fields.
28764 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28765 (_G_ssize_t): Likewise.
28766 (_G_off_t): Likewise.
28767 (_G_pid_t): Likewise.
28768 (_G_uid_t): Likewise.
28769 (_G_wchar_t): Likewise.
28770 (_G_wint_t): Likewise.
28771 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28772 (_G_ssize_t): Likewise.
28773 (_G_off_t): Likewise.
28774 (_G_pid_t): Likewise.
28775 (_G_uid_t): Likewise.
28776 (_G_wchar_t): Likewise.
28777 (_G_wint_t): Likewise.
28778 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28779 (_G_ssize_t): Likewise.
28780 (_G_off_t): Likewise.
28781 (_G_pid_t): Likewise.
28782 (_G_uid_t): Likewise.
28783 (_G_wchar_t): Likewise.
28784 (_G_wint_t): Likewise.
28786 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28788 * malloc/arena.c: Include malloc-sysdep.h.
28789 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28790 is sufficient to shrink the heap or an unmap is needed.
28791 * sysdeps/generic/malloc-sysdep.h: New file. Define
28792 new function check_may_shrink_heap.
28793 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28794 new function check_may_shrink_heap.
28796 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28798 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28801 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28803 * catgets/test-gencat.sh: Add "set -e".
28804 * elf/tst-pathopt.sh: Likewise.
28805 * grp/tst_fgetgrent.sh: Likewise.
28806 * iconvdata/run-iconv-test.sh: Likewise.
28807 * intl/tst-gettext.sh: Likewise.
28808 * intl/tst-gettext2.sh: Likewise.
28809 * intl/tst-gettext4.sh: Likewise.
28810 * intl/tst-gettext6.sh: Likewise.
28811 * intl/tst-translit.sh: Likewise.
28812 * io/ftwtest-sh: Likewise.
28813 * libio/test-freopen.sh: Likewise.
28814 * malloc/tst-mtrace.sh: Likewise.
28815 * posix/globtest.sh: Likewise.
28816 * posix/tst-getconf.sh: Likewise.
28817 * posix/wordexp-tst.sh: Likewise.
28818 * stdio-common/tst-printf.sh: Likewise.
28819 * stdio-common/tst-unbputc.sh: Likewise.
28820 * stdlib/tst-fmtmsg.sh: Likewise.
28821 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28822 * catgets/Makefile: Do not specify -e option when running
28823 testsuite shell scripts.
28824 * elf/Makefile: Likewise.
28825 * grp/Makefile: Likewise.
28826 * iconvdata/Makefile: Likewise.
28827 * intl/Makefile: Likewise.
28828 * io/Makefile: Likewise.
28829 * libio/Makefile: Likewise.
28830 * malloc/Makefile: Likewise.
28831 * posix/Makefile: Likewise.
28832 * stdio-common/Makefile: Likewise.
28833 * stdlib/Makefile: Likewise.
28834 * sysdeps/x86_64/Makefile: Likewise.
28836 * io/ftwtest-sh: Add copyright header.
28837 * posix/globtest.sh: Likewise.
28838 * posix/tst-getconf.sh: Likewise.
28839 * posix/wordexp-tst.sh: Likewise.
28840 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28842 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28845 * Makeconfig (+link): Defined as $(+link-static) if
28846 $(build-shared) isn't yes.
28847 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28849 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28851 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28854 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28855 new chunk size with MALLOC_ALIGN_MASK.
28857 2012-09-24 Joseph Myers <joseph@codesourcery.com>
28860 * stdio-common/printf_fphex.c: Include <stdbool.h> and
28862 (__printf_fphex): Determine rounding using get_rounding_mode and
28864 * stdio-common/tst-printf-round.c (struct hex_test): New
28866 (hex_tests): New variable.
28867 (test_hex_in_one_mode): New function.
28868 (do_test): Also run tests for hex float output.
28870 2012-09-21 Joseph Myers <joseph@codesourcery.com>
28872 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28873 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28874 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28875 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28876 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28877 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28878 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28879 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28881 2012-09-20 Joseph Myers <joseph@codesourcery.com>
28883 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28884 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28885 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28886 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28888 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
28891 * elf/rtld.c (dl_main): Limit the check for self loading to normal
28893 * elf/tst-rtld-load-self.sh: New test.
28894 * elf/Makefile: Run it.
28896 2012-09-18 Joseph Myers <joseph@codesourcery.com>
28898 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28899 (tst-writev-ENV): Remove.
28900 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28902 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
28904 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28906 2012-09-17 Joseph Myers <joseph@codesourcery.com>
28908 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28910 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28912 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28913 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28914 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28917 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
28920 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28921 * config.make.in (have-cpp-asm-debuginfo): Removed.
28922 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28923 * configure: Regenerated.
28925 2012-09-14 Joseph Myers <joseph@codesourcery.com>
28928 * stdio-common/printf_fp.c: Include <stdbool.h> and
28930 (___printf_fp): Determine rounding using get_rounding_mode and
28932 * stdio-common/tst-printf-round.c: New file.
28933 * stdio-common/Makefile (tests): Add tst-printf-round.
28934 (link-libm): New variable.
28935 ($(objpfx)tst-printf-round): Depend in $(link-libm).
28937 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
28940 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28941 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28943 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28946 2012-09-13 Joseph Myers <joseph@codesourcery.com>
28948 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28949 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28950 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28951 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28953 2012-09-12 Joseph Myers <joseph@codesourcery.com>
28956 * include/rounding-mode.h: New file.
28957 * sysdeps/generic/get-rounding-mode.h: Likewise.
28958 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28959 * stdlib/strtod_l.c: Include <rounding-mode.h>.
28960 (MAX_VALUE): New macro.
28961 (MIN_VALUE): Likewise.
28962 (overflow_value): New function.
28963 (underflow_value): Likewise.
28964 (round_and_return): Use overflow_value and underflow_value to
28965 determine return values in overflow and underflow cases. Use
28966 round_away to determine rounding depending on rounding mode.
28967 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28968 determine return values in overflow and underflow cases.
28969 * stdlib/tst-strtod-round.c: Include <fenv.h>.
28970 (struct test_results): New structure.
28971 (struct test): Use struct test_results to store expected results
28972 for all rounding modes.
28973 (TEST): Include expected results for all rounding modes.
28974 (test_in_one_mode): New function.
28975 (do_test): Use test_in_one_mode to compute and check results.
28976 Check results for all rounding modes.
28977 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28980 2012-12-09 Allan McRae <allan@archlinux.org>
28982 * sysdeps/i386/fpu/libm-test-ulps: Update
28984 2012-09-11 Joseph Myers <joseph@codesourcery.com>
28986 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28987 (_G_int32_t): Likewise.
28988 (_G_uint16_t): Likewise.
28989 (_G_uint32_t): Likewise.
28990 (_G_HAVE_BOOL): Likewise.
28991 (_G_HAVE_ATEXIT): Likewise.
28992 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28993 (_G_HAVE_IO_FILE_OPEN): Likewise.
28994 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28995 (_G_int32_t): Likewise.
28996 (_G_uint16_t): Likewise.
28997 (_G_uint32_t): Likewise.
28998 (_G_HAVE_BOOL): Likewise.
28999 (_G_HAVE_ATEXIT): Likewise.
29000 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29001 (_G_HAVE_IO_FILE_OPEN): Likewise.
29002 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29003 (_G_int32_t): Likewise.
29004 (_G_uint16_t): Likewise.
29005 (_G_uint32_t): Likewise.
29006 (_G_HAVE_BOOL): Likewise.
29007 (_G_HAVE_ATEXIT): Likewise.
29008 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29009 (_G_HAVE_IO_FILE_OPEN): Likewise.
29011 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29013 * csu/libc-tls.c: Update copyright years.
29015 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29017 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29018 [!_G_USING_THUNKS]: Remove conditional code.
29019 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29020 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29022 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29023 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29024 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29025 (_G_VTABLE_LABEL_PREFIX): Likewise.
29026 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29027 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29028 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29029 (_G_VTABLE_LABEL_PREFIX): Likewise.
29030 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29031 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29032 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29033 (_G_VTABLE_LABEL_PREFIX): Likewise.
29034 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29036 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29038 * libio/Makefile: Include ../Makeconfig before tests.
29039 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29040 only if $(build-shared) is yes.
29042 * iconv/gconv_db.c: Update copyright years.
29044 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29046 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29047 unwind info if defined PIC. Fix special cases description.
29048 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29050 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29052 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29054 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29056 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29058 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29061 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29062 (LDLIBS-tst-chk4): This.
29063 (LDFLAGS-tst-chk5): Renamed to ...
29064 (LDLIBS-tst-chk5): This.
29065 (LDFLAGS-tst-chk6): Renamed to ...
29066 (LDLIBS-tst-chk6): This.
29067 (LDFLAGS-tst-lfschk4): Renamed to ...
29068 (LDLIBS-tst-lfschk4): This.
29069 (LDFLAGS-tst-lfschk5): Renamed to ...
29070 (LDLIBS-tst-lfschk5): This.
29071 (LDFLAGS-tst-lfschk6): Renamed to ...
29072 (LDLIBS-tst-lfschk6): This.
29074 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29075 on $(common-objpfx)soversions.mk.
29077 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29080 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29083 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29085 * malloc/arena.c (arena_get_retry): New function that gets
29086 another arena for the caller to try its request on.
29087 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29088 current arena cannot fulfill the request.
29089 (__libc_memalign): Likewise.
29090 (__libc_memalign): Likewise.
29091 (__libc_pvalloc): Likewise.
29092 (__libc_calloc): Likewise.
29094 2012-09-05 John Tobey <john.tobey@gmail.com>
29097 * manual/arith.texi (Operations on Complex): Fix description
29098 of carg branch cut.
29100 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29103 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29107 * manual/memory.texi (Memory): Make order of menu items match
29110 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29112 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29113 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29114 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29116 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29118 * csu/libc-tls.c (static_dtv): Renamed to ...
29119 (_dl_static_dtv): This. Make it global.
29120 (_dl_initial_dtv): Removed.
29121 (__libc_setup_tls): Updated.
29122 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29123 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29126 2012-09-06 Petr Machata <pmachata@redhat.com>
29128 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29129 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29130 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29131 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29133 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29136 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29137 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29140 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29143 * Makeconfig (link-static-before-libc): Replace $(+prector)
29145 (link-static-after-libc): Replace $(+postctor) with
29147 (link-bounded): Replace $(+prector)/$(+postctor) with
29148 $(+prectorT)/$(+postctorT).
29149 (+prectorT): New macro.
29150 (+postctorT): Likewise.
29152 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29154 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29155 (round_str): Handle values above the maximum for IBM long double
29157 * stdlib/tst-strtod-round.c (tests): Regenerated.
29159 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29161 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29163 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29164 zarch_nohighgprs around the zarch optimized routines.
29165 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29166 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29170 2012-09-05 David S. Miller <davem@davemloft.net>
29172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29174 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29175 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29176 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29177 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29180 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29182 * malloc/arena.c: Fold copyright years.
29183 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29185 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29187 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29189 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29191 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29193 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29195 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29196 change internal state upon failure.
29198 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29200 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29201 * malloc/memusage.c (mmap): Likewise.
29202 (mmap64, mremap): Likewise. Adjust name in comment.
29204 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29206 * libio/fileops.c: Fix typos in comments.
29207 * libio/oldfileops.c: Likewise.
29208 * libio/wfileops.c: Likewise.
29210 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29213 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29214 (tst-malloc-usable-ENV): Set environment for test case.
29215 * malloc/hooks.c (malloc_check_get_size): New function to get
29217 * malloc/malloc.c (musable): Use malloc_check_get_size.
29218 * malloc/tst-malloc-usable.c: New test case.
29220 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29222 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29224 2012-09-05 Allan McRae <allan@archlinux.org>
29227 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29228 determine header location.
29229 * configure: Regenerated.
29231 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29233 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29235 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29236 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29238 (test): Regenerate.
29240 2012-09-04 David S. Miller <davem@davemloft.net>
29242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29244 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29246 2012-09-04 Florian Weimer <fweimer@redhat.com>
29248 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29251 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29253 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29256 * libio/iogetdelim.c: Include <limits.h>.
29257 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29258 + len + 1 would overflow.
29260 2012-09-03 Andreas Jaeger <aj@suse.de>
29262 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29263 * sysdeps/i386/fpu/libm-test-ulps: Update.
29265 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29267 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29268 Add s_sinf-sse2, s_conf-sse2.
29270 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29271 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29272 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29273 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29275 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29276 for using routine as __sinf_ia32.
29277 Use macro for function declaration and weak_alias.
29278 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29279 for using routine as __cosf_ia32.
29280 Use macro for function declaration and weak_alias.
29282 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29283 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29285 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29286 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29289 * math/libm-test.inc (cos_test): Add more test cases.
29290 (sin_test): Likewise.
29291 (sincos_test): Likewise.
29293 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29295 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29296 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29300 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29303 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29304 first element of the GOT.
29305 (elf_machine_load_address): Return the difference between
29306 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29308 2012-09-01 Allan McRae <allan@archlinux.org>
29311 * configure.in (AWK): Require gawk version 3.0 or later.
29312 * configure: Regenerated.
29314 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29316 * sysdeps/unix/sysv/linux/kernel-features.h
29317 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29318 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29319 [__NR_clock_getres]: Make code unconditional.
29320 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29321 (clock_getcpuclockid): Remove code left unreachable by removal of
29323 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29324 code unconditional.
29325 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29326 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29327 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29328 Make code unconditional.
29329 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29330 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29331 * sysdeps/unix/sysv/linux/clock_settime.c
29332 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29334 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29335 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29337 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29340 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29341 scripts/test-installation.pl.
29343 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29344 and $ld_so_version if it is set.
29346 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29349 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29350 failure if reading from procfs failed.
29351 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29353 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29355 * sysdeps/unix/sysv/linux/kernel-features.h
29356 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29357 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29358 Remove conditional code.
29359 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29360 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29361 Remove conditional code.
29362 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29363 * sysdeps/unix/sysv/linux/i386/fxstat.c
29364 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29365 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29366 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29367 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29369 * sysdeps/unix/sysv/linux/i386/lxstat.c
29370 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29371 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29372 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29373 Remove conditional code.
29374 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29375 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29376 Remove conditional code.
29377 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29378 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29379 <kernel-features.h>.
29380 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29382 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29383 Remove conditional code.
29384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29385 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29386 Remove conditional.
29388 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29391 * NEWS: Add fixed bug number.
29393 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29396 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29397 underflowing exponent in case of negative sign.
29398 * stdlib/tst-strtod-round-data: Add more tests.
29399 * stdlib/tst-strtod-round.c (tests): Regenerated.
29402 * stdlib/strtod_l.c (NDIG): Remove.
29403 (HEXNDIG): Likewise.
29404 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29405 smallest representable value.
29406 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29407 lie within an exact representation of 1/2 ulp of the result.
29408 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29410 (TENS_P9_IDX): Define unconditionally.
29411 (TENS_P9_SIZE): Likewise.
29412 (TENS_P10_IDX): Likewise.
29413 (TENS_P10_SIZE): Likewise.
29414 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29415 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29416 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29417 entries for 10^2^13 and 10^2^14.
29418 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29419 (TENS_P13_IDX): Define.
29420 (TENS_P13_SIZE): Likewise.
29421 (TENS_P14_IDX): Likewise.
29422 (TENS_P14_SIZE): Likewise.
29423 (_fpioconst_pow10): Change array size to
29424 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29426 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29427 1024]: Add entries for 10^2^13 and 10^2^14.
29428 [LAST_POW10 > _LAST_POW10]: Remove #error.
29429 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29430 (_fpioconst_pow10): Change array size to
29431 FPIOCONST_POW10_ARRAY_SIZE.
29432 * stdlib/gen-fpioconst.c: New file.
29433 * stdlib/gen-tst-strtod-round.c: Likewise.
29434 * stdlib/tst-strtod-round-data: Likewise.
29435 * stdlib/tst-strtod-round.c: Likewise.
29436 * stdlib/Makefile (tests): Add tst-strtod-round.
29439 * stdlib/strtod_l.c: Include <stdint.h>.
29440 (NDEBUG): Do not define.
29441 (round_and_return): Change EXPONENT parameter to type intmax_t.
29442 Rearrange calculations to avoid internal overflow possibilities.
29443 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29444 Rearrange calculations to avoid internal overflow possibilities.
29445 Assert that number fits inside MPNSIZE limbs.
29446 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29447 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29448 calculations and add assertions to avoid internal overflow
29449 possibilities. Add casts to avoid signed/unsigned operations.
29450 * stdlib/tst-strtod-overflow.c: New file.
29451 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29453 2012-08-25 Marek Polacek <polacek@redhat.com>
29455 * time/time.h: Fix some typos in comments.
29457 2012-08-23 Roland McGrath <roland@hack.frob.com>
29459 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29460 * posix/tst-rfc3484-2.c: Likewise.
29461 * posix/tst-rfc3484-3.c: Likewise.
29463 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29465 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29466 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29468 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29470 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29471 #include of fxstatat64.c.
29473 2012-08-22 Roland McGrath <roland@hack.frob.com>
29475 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29476 * shadow/getspent_r.c: Likewise.
29477 * shadow/getspnam.c: Likewise.
29478 * shadow/getspnam_r.c: Likewise.
29479 * gshadow/getsgent.c: Likewise.
29480 * gshadow/getsgent_r.c: Likewise.
29481 * gshadow/getsgnam.c: Likewise.
29482 * gshadow/getsgnam_r.c: Likewise.
29483 * inet/getnetbyad.c: Likewise.
29484 * inet/getnetbyad_r.c: Likewise.
29485 * inet/getnetbynm.c: Likewise.
29486 * inet/getnetbynm_r.c: Likewise.
29487 * inet/getnetent.c: Likewise.
29488 * inet/getnetent_r.c: Likewise.
29489 * inet/getproto.c: Likewise.
29490 * inet/getproto_r.c: Likewise.
29491 * inet/getprtent.c: Likewise.
29492 * inet/getprtent_r.c: Likewise.
29493 * inet/getprtname.c: Likewise.
29494 * inet/getprtname_r.c: Likewise.
29495 * inet/getrpcbyname.c: Likewise.
29496 * inet/getrpcbyname_r.c: Likewise.
29497 * inet/getrpcbynumber.c: Likewise.
29498 * inet/getrpcbynumber_r.c: Likewise.
29499 * inet/getrpcent.c: Likewise.
29500 * inet/getrpcent_r.c: Likewise.
29501 * inet/getaliasent.c: Likewise.
29502 * inet/getaliasent_r.c: Likewise.
29503 * inet/getaliasname.c: Likewise.
29504 * inet/getaliasname_r.c: Likewise.
29505 * nscd/getgrgid_r.c: Likewise.
29506 * nscd/getgrnam_r.c: Likewise.
29507 * nscd/gethstbyad_r.c: Likewise.
29508 * nscd/gethstbynm3_r.c: Likewise.
29509 * nscd/getpwnam_r.c: Likewise.
29510 * nscd/getpwuid_r.c: Likewise.
29511 * nscd/getsrvbynm_r.c: Likewise.
29512 * nscd/getsrvbypt_r.c: Likewise.
29513 * nscd/gai.c: Likewise.
29515 * configure.in (build_nscd): New substituted variable, set
29516 by --disable-build-nscd and defaults to $use_nscd.
29517 * configure: Regenerated.
29518 * config.make.in (build-nscd): New substituted variable.
29519 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29520 Change conditional to require [$(build-nscd) = yes] as well.
29521 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29524 * configure.in (use_nscd): New substituted variable, set by
29525 --disable-nscd. If enabled, define USE_NSCD.
29526 * configure: Regenerated.
29527 * config.h.in: Add USE_NSCD.
29528 * config.make.in (use-nscd): New substituted variable.
29529 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29530 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29531 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29532 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29533 (CFLAGS-getgrnam_r.c): Likewise.
29534 (CFLAGS-initgroups.c): Likewise.
29535 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29536 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29538 * inet/getnetgrent_r.c
29539 (nscd_setnetgrent): New function, broken out of ...
29540 (setnetgrent): ... here. Call it.
29541 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29542 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29543 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29544 * nscd/Makefile (routines, aux): Move definitions after include of
29545 Makeconfig. Conditionalize on [$(use-nscd) != no].
29546 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29547 Conditionalize on [USE_NSCD].
29548 (is_nscd, nscd_init_cb): Likewise.
29549 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29550 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29551 * nss/nss_db/db-init.c: Likewise.
29552 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29554 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29555 (make_request): Use it.
29556 (cache_valid_p): New function.
29557 (__check_pf): Use it.
29558 * NEWS: Add item for --disable-nscd.
29560 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29562 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29563 to support sed >= 4.2.1-20-ga9bf076.
29564 * configure: Regenerated.
29566 2012-08-22 Roland McGrath <roland@hack.frob.com>
29568 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29569 Conditionalize whole body on [IREL].
29571 2012-08-22 Jeff Law <law@redhat.com>
29574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29575 if the family is PF_UNSPEC.
29577 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29579 * Makerules (lib-version): Rename from V.
29580 (install-lib-nosubdir): Change V to lib-version.
29582 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29585 * powerpc32/power6/wcschr.c: New file.
29586 * powerpc32/power6/wcscpy.c: New file.
29587 * powerpc32/power6/wcsrchr.c: New file.
29588 * powerpc64/power6/wcschr.c: New file.
29589 * powerpc64/power6/wcscpy.c: New file.
29590 * powerpc64/power6/wcsrchr.c: New file.
29592 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29594 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29595 (two_way_short_needle): Use it.
29596 * string/strstr.c (AVAILABLE1_USES_J): Define.
29597 * string/strcasestr.c: Likewise.
29599 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29601 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29604 * NEWS: Add an entry.
29605 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29606 define their defaults.
29607 (two_way_short_needle): Detect end-of-string on-the-fly.
29608 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29609 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29610 * string/bug-strcasestr1.c: New test.
29611 * string/Makefile: Run it.
29613 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29616 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29617 the first character.
29619 2012-08-21 Roland McGrath <roland@hack.frob.com>
29621 * csu/elf-init.c (__libc_csu_irel): Function removed.
29622 * csu/libc-start.c (apply_irel): New function.
29623 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29625 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29627 * sysdeps/unix/sysv/linux/kernel-features.h
29628 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29629 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29630 <kernel-features.h>.
29631 [__NR_fadvise64_64]: Make code unconditional.
29632 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29633 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29634 !__NR_fadvise64_64)]: Likewise.
29635 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29636 !__NR_fadvise64_64))]: Likewise.
29637 [__NR_fadvise64]: Make code unconditional.
29638 [!__NR_fadvise64]: Remove conditional code.
29639 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29640 <kernel-features.h>.
29641 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29643 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29646 not include <kernel-features.h>.
29647 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29649 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29651 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29652 include <kernel-features.h>.
29653 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29655 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29658 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29661 slight instruction rearrangements per scrollpipe analysis.
29662 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29664 2012-08-20 Roland McGrath <roland@hack.frob.com>
29666 * manual/syslog.texi (syslog; vsyslog, closelog):
29667 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29668 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29670 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29671 DSOCAPS to match condition on defining it.
29673 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29675 * sysdeps/unix/sysv/linux/kernel-features.h
29676 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29678 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29679 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29681 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29682 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29684 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29685 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29687 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29688 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29690 * sysdeps/unix/sysv/linux/kernel-features.h
29691 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29692 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29694 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29695 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29696 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29697 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29698 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29699 Make code unconditional.
29700 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29701 (__mmap64) [!__NR_mmap2]: Likewise.
29702 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29703 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29704 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29705 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29706 [__NR_mmap2]: Make code unconditional.
29707 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29708 (__mmap64) [!__NR_mmap2]: Likewise.
29710 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29712 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29714 2012-08-18 Andreas Jaeger <aj@suse.de>
29716 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29718 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29720 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29721 * include/unistd.h (__have_sock_cloexec): Likewise.
29722 (__have_pipe2): Likewise.
29723 (__have_dup3): Likewise.
29725 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29728 * include/unistd.h (__have_pipe2): Change define into an extern int.
29729 (__have_dup3): Likewise.
29730 * socket/have_sock_cloexec.c: Include fcntl.h.
29731 (__have_pipe2): New variable.
29732 (__have_dup3): Likewise.
29734 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29736 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29738 2012-08-17 Marek Polacek <polacek@redhat.com>
29740 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29741 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29743 2012-08-17 Roland McGrath <roland@hack.frob.com>
29745 * configure.in: Add AC_SUBST for sysheaders.
29746 * configure: Regenerated.
29747 * config.make.in (sysheaders): New substituted variable.
29749 * sysdeps/unix/mkfifo.c: Moved ...
29750 * sysdeps/posix/mkfifo.c: ... here.
29751 * sysdeps/unix/mkfifoat.c: Moved ...
29752 * sysdeps/posix/mkfifoat.c: ... here.
29754 * sysdeps/unix/utime.c: Moved ...
29755 * sysdeps/posix/utime.c: ... here.
29757 * sysdeps/unix/time.c: Moved ...
29758 * sysdeps/posix/time.c: ... here.
29759 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29760 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29762 * sysdeps/unix/nice.c: Moved ...
29763 * sysdeps/posix/nice.c: ... here.
29765 * sysdeps/unix/alarm.c: Moved ...
29766 * sysdeps/posix/alarm.c: ... here.
29768 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29770 2012-08-17 Jeff Law <law@redhat.com>
29772 * intl/Makefile (codeset_mo): New variable.
29773 ($(codeset_mo)): New target.
29774 (tst-codeset.out): Depend on that. Remove explicit rule.
29775 (tst-gettext3.out, tst-gettext5.out): Likewise.
29776 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29777 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29778 * intl/tst-codeset.sh: Remove.
29779 * intl/tst-gettext3.sh: Likewise.
29780 * intl/tst-gettext5.sh: Likewise.
29782 2012-08-17 Roland McGrath <roland@hack.frob.com>
29784 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29785 * sysdeps/unix/syscalls.list: ... here.
29787 * sysdeps/posix/getaddrinfo.c
29788 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29789 (gaiconf_init, gaiconf_reload): Use them.
29790 [!_STATBUF_ST_NSEC]
29791 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29792 Define using time_t rather than struct timespec.
29794 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29795 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29797 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29799 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29800 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29803 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29804 __libc_cleanup_push argument.
29806 * bits/param.h: New file.
29807 * misc/sys/param.h: New file.
29808 * include/sys/param.h: New file.
29809 * misc/Makefile (headers): Add bits/param.h.
29810 * sysdeps/generic/sys/param.h: File removed.
29811 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29812 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29813 * sysdeps/mach/hurd/bits/param.h: New file.
29814 * sysdeps/mach/hurd/sys/param.h: File removed.
29816 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29819 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29821 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29822 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29825 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29826 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29827 rather than -D_IO_MTSAFE_IO conditionally.
29828 * stdio-common/Makefile (CPPFLAGS): Likewise.
29829 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29830 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29831 Use $(libio-mtsafe).
29832 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29833 of -D_IO_MTSAFE_IO.
29834 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29835 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29836 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29837 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29838 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29839 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29840 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29841 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29842 (CFLAGS-fread_u_chk.c): Likewise.
29843 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29844 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29845 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29846 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29847 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29848 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29849 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29850 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29851 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29853 * libio/Makefile: Test [$(libc-reentrant) = yes]
29854 instead of [$(filter %REENTRANT, $(defines)) nonempty].
29857 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29858 * sysdeps/pthread/configure: File removed.
29859 * sysdeps/pthread/Makeconfig: New file.
29860 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29861 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29863 2012-08-16 Gary Benson <gbenson@redhat.com>
29865 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29866 unmapping the first object in a namespace.
29868 2012-08-16 Roland McGrath <roland@hack.frob.com>
29870 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29871 (__internal_setnetgrent): ... this. Add internal_function to
29872 definition. Add libc_hidden_def.
29873 (setnetgrent): Update caller.
29874 (internal_endnetgrent): Renamed to ...
29875 (__internal_endnetgrent): ... this. Add internal_function to
29876 definition. Add libc_hidden_def.
29877 (endnetgrent): Update caller.
29878 (internal_getnetgrent_r): Renamed to ...
29879 (__internal_getnetgrent_r): ... this. Add internal_function to
29880 definition. Add libc_hidden_def.
29881 (__getnetgrent_r): Update caller.
29882 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
29884 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29886 * stdlib/longlong.h: Update from GCC.
29888 2012-08-16 Roland McGrath <roland@hack.frob.com>
29890 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29891 on _QL, which is set by umul_ppmm but never used.
29892 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29893 variables, which are set by GMP macros but never used.
29894 * stdio-common/_itowa.c (_itowa): Likewise.
29895 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29896 * stdlib/mod_1.c (mpn_mod_1): Likewise.
29898 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
29900 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29901 struct La_sh_regs is not constant.
29902 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29903 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29904 and struct La_sparc64_regs are not constant.
29906 2012-08-16 Joseph Myers <joseph@codesourcery.com>
29908 * sysdeps/unix/sysv/linux/kernel-features.h
29909 (__ASSUME_POSIX_TIMERS): Remove.
29910 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29911 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29912 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29913 Make code unconditional.
29914 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29915 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29916 Make code unconditional.
29917 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29918 * sysdeps/unix/sysv/linux/clock_nanosleep.c
29919 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29920 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29921 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29922 Make code unconditional.
29923 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29924 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29925 (__libc_missing_posix_timers): Remove.
29927 2012-08-15 Roland McGrath <roland@hack.frob.com>
29929 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29930 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29932 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29934 * elf/dl-sym.c: Include <stdlib.h>.
29936 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29937 constants, which avoids warnings in 32-bit builds.
29939 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29940 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29942 * misc/lseek.c: File moved to ...
29943 * io/lseek.c: ... here.
29945 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29947 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29948 shifting LEN more than 31 bits at once.
29950 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29953 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29954 segmentation fault for a case of two empty input strings.
29955 * string/test-strncasecmp.c (check1): Renamed to...
29956 (bz12205): ...this.
29957 (bz14195): Add new testcase for two empty input strings and N > 0.
29958 (test_main): Call new testcase, adapt for renamed function.
29960 2012-08-15 Andreas Jaeger <aj@suse.de>
29963 * crypt/md5test2.c: New test, based on test supplied by Serge
29964 Belyshev <belyshev@depni.sinp.msu.ru>.
29965 * crypt/Makefile (xtests): Add md5test-giant..
29966 * crypt/Makefile ($(objpfx)md5test-giant): Add.
29968 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
29971 * crypt/md5.c (md5_process_block): Don't assume the buffer
29972 length is less than 2**32.
29973 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29974 length is less than 2**64.
29976 2012-08-15 Roland McGrath <roland@hack.frob.com>
29978 * string/str-two-way.h: Include <sys/param.h>.
29979 (MAX): Macro removed.
29981 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29982 Move #define and #undef of memmove to just before and after
29983 including <string.h>.
29985 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29986 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29987 and after including <string.h>. Move declarations of
29988 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29989 to before #include "string/memmove.c".
29991 * include/dirent.h: Declare __getdirentries.
29993 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29994 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29996 2012-08-14 Mike Frysinger <vapier@gentoo.org>
29998 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29999 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30000 * sysdeps/i386/configure: Regenerated.
30001 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30002 STABS_CURRENT_FILE, and STABS_FUN.
30003 (END): Remove call to STABS_FUN_END.
30004 (STABS_CURRENT_FILE1): Delete.
30005 (STABS_CURRENT_FILE): Likewise.
30006 (STABS_FUN): Likewise.
30007 (STABS_FUN_END): Likewise.
30008 (STABS_FUN2): Likewise.
30009 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30010 * sysdeps/x86_64/configure: Regenerated.
30012 2012-08-14 Roland McGrath <roland@hack.frob.com>
30014 * elf/dl-open.c: Include <atomic.h>.
30015 * elf/dl-lookup.c: Likewise.
30017 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30019 * sysdeps/unix/sysv/linux/kernel-features.h
30020 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30021 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30023 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30025 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30026 condition on __ASSUME_CLONE_THREAD_FLAGS.
30028 2012-08-14 Andreas Jaeger <aj@suse.de>
30030 * sysdeps/i386/fpu/libm-test-ulps: Update.
30032 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30034 * include/atomic.h (atomic_exchange_and_add): Split into ...
30035 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30038 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30042 2012-08-13 Jeff Law <law@redhat.com>
30044 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30045 null byte in the output string.
30047 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30049 * sysdeps/unix/sysv/linux/kernel-features.h
30050 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30051 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30052 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30053 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30054 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30055 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30056 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30058 2012-08-09 Jeff Law <law@redhat.com>
30061 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30062 When avoid_arena is set, don't retry in the that arena. Pick the
30063 next one, whatever it might be.
30064 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30065 (arena_lock): Pass in new parameter to arena_get2.
30066 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30068 (__libc_malloc): Unify retrying after main arena failure with
30069 __libc_memalign version.
30070 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30072 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30075 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30076 to __redirect_strstr.
30077 (__strstr_sse42): Use typeof __redirect_strstr.
30078 (__strstr_ia32): Likewise.
30079 (__libc_strstr): New prototype.
30080 (strstr): Renamed to ...
30081 (__libc_strstr): This.
30082 (strstr): New strong alias of __libc_strstr.
30083 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30084 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30087 (__libc_time): New prototype.
30088 (time_ifunc): Replace time with __libc_time.
30089 (time): New strong alias and hidden definition of __libc_time.
30090 (__GI_time): Remove strong alias.
30091 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30092 Include <stddef.h>.
30093 (memmove): Redefined to __redirect_memmove.
30094 (__memmove_sse2): Use typeof __redirect_memmove.
30095 (__memmove_ssse3): Likewise.
30096 (__memmove_ssse3_back): Likewise.
30097 (__libc_memmove): New prototype.
30098 (memmove): Renamed to ...
30099 (__libc_memmove): This.
30100 (memmove): New strong alias of __libc_memmove.
30102 2012-08-08 Mark Salter <msalter@redhat.com>
30105 (R_MN10300_TLS_GD): Define.
30106 (R_MN10300_TLS_LD): Likewise.
30107 (R_MN10300_TLS_LDO): Likewise.
30108 (R_MN10300_TLS_GOTIE): Likewise.
30109 (R_MN10300_TLS_IE): Likewise.
30110 (R_MN10300_TLS_LE): Likewise.
30111 (R_MN10300_TLS_DTPMOD): Likewise.
30112 (R_MN10300_TLS_DTPOFF): Likewise.
30113 (R_MN10300_TLS_TPOFF): Likewise.
30114 (R_MN10300_SYM_DIFF): Likewise.
30115 (R_MN10300_ALIGN): Likewise.
30116 (R_MN10300_NUM): Update.
30118 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30120 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30123 2012-08-08 Roland McGrath <roland@hack.frob.com>
30125 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30127 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30128 sysdeps/unix -> sysdeps/posix move.
30129 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30131 2012-08-07 Allan McRae <allan@archlinux.org>
30134 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30135 (SUNOS_CPP): Likewise.
30136 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30138 (open_input): Call CPP using execvp.
30140 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30142 * sysdeps/unix/sysv/linux/kernel-features.h
30143 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30144 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30145 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30146 (__ASSUME_WAITID_SYSCALL): Likewise.
30147 * sysdeps/unix/sysv/linux/dl-execstack.c
30148 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30149 code unconditional.
30150 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30152 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30153 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30154 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30156 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30158 [__ASSUME_WAITID_SYSCALL]: Likewise.
30159 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30161 2012-08-07 Roland McGrath <roland@hack.frob.com>
30163 * sysdeps/unix/closedir.c: Renamed to ...
30164 * sysdeps/posix/closedir.c: ... here.
30165 * sysdeps/unix/dirfd.c: Renamed to ...
30166 * sysdeps/posix/dirfd.c: ... here.
30167 * sysdeps/unix/dirstream.h: Renamed to ...
30168 * sysdeps/posix/dirstream.h: ... here.
30169 * sysdeps/unix/fdopendir.c: Renamed to ...
30170 * sysdeps/posix/fdopendir.c: ... here.
30171 * sysdeps/unix/opendir.c: Renamed to ...
30172 * sysdeps/posix/opendir.c: ... here.
30173 * sysdeps/unix/readdir.c: Renamed to ...
30174 * sysdeps/posix/readdir.c: ... here.
30175 * sysdeps/unix/readdir_r.c: Renamed to ...
30176 * sysdeps/posix/readdir_r.c: ... here.
30177 * sysdeps/unix/rewinddir.c: Renamed to ...
30178 * sysdeps/posix/rewinddir.c: ... here.
30179 * sysdeps/unix/seekdir.c: Renamed to ...
30180 * sysdeps/posix/seekdir.c: ... here.
30181 * sysdeps/unix/telldir.c: Renamed to ...
30182 * sysdeps/posix/telldir.c: ... here.
30183 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30184 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30185 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30186 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30188 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30189 * bits/fcntl.h: ... here.
30191 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30193 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30194 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30195 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30196 (struct flock): Move l_start, l_len to the beginning.
30197 Use __pid_t for l_pid.
30198 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30199 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30200 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30201 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30202 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30203 [__USE_LARGEFILE64] (struct flock64): New type.
30204 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30206 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30207 * bits/dirent.h: ... here.
30209 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30210 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30212 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30214 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30215 Change from 2.6.0 to 2.6.16.
30216 * sysdeps/unix/sysv/linux/configure: Regenerated.
30217 * sysdeps/unix/sysv/linux/kernel-features.h
30218 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30219 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30221 (__ASSUME_UTIMES): Likewise.
30222 (__ASSUME_CLONE_STOPPED): Remove.
30223 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30224 architectures, not kernel version.
30225 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30226 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30227 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30228 (__ASSUME_WAITID_SYSCALL): Likewise.
30229 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30230 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30231 * README: State 2.6.16 as minimum Linux kernel version. Do not
30232 refer to older versions.
30234 2012-08-06 Roland McGrath <roland@hack.frob.com>
30236 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30237 Define alphasort64 as an alias.
30238 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30239 Define versionsort64 as an alias.
30240 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30241 Define scandir64 as an alias.
30242 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30243 Define scandirat64 as an alias.
30244 * dirent/alphasort64.c (alphasort64):
30245 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30246 * dirent/versionsort64.c: Likewise.
30247 * dirent/scandir64.c: Likewise.
30248 * dirent/scandirat64.c: Likewise.
30249 * sysdeps/wordsize-64/alphasort.c: File removed.
30250 * sysdeps/wordsize-64/alphasort64.c: File removed.
30251 * sysdeps/wordsize-64/scandir.c: File removed.
30252 * sysdeps/wordsize-64/scandir64.c: File removed.
30253 * sysdeps/wordsize-64/scandirat.c: File removed.
30254 * sysdeps/wordsize-64/scandirat64.c: File removed.
30255 * sysdeps/wordsize-64/versionsort.c: File removed.
30256 * sysdeps/wordsize-64/versionsort64.c: File removed.
30257 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30258 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30260 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30262 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30263 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30266 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30267 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30268 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30269 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30270 [defined __arch64__ || defined __sparcv9]
30271 (__INO_T_MATCHES_INO64_T): New macro.
30272 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30273 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30274 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30275 * sysdeps/unix/sysv/linux/bits/dirent.h
30276 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30277 (_DIRENT_MATCHES_DIRENT64): New macro.
30279 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30280 Define lockf64 as an alias.
30281 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30282 Define fseeko64 as an alias.
30283 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30284 Define ftello64 as an alias.
30285 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30286 Define _IO_fgetpos64 and fgetpos64 as aliases.
30287 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30288 Define _IO_fsetpos64 and fsetpos64 as aliases.
30289 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30290 Conditionalize body on this.
30291 * libio/fseeko64.c: Likewise.
30292 * libio/ftello64.c: Likewise.
30293 * libio/iofgetpos64.c: Likewise.
30294 * libio/iofsetpos64.c: Likewise.
30295 * sysdeps/wordsize-64/lockf.c: File removed.
30296 * sysdeps/wordsize-64/lockf64.c: File removed.
30297 * sysdeps/wordsize-64/fseeko.c: File removed.
30298 * sysdeps/wordsize-64/fseeko64.c: File removed.
30299 * sysdeps/wordsize-64/ftello.c: File removed.
30300 * sysdeps/wordsize-64/ftello64.c: File removed.
30301 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30302 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30303 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30304 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30305 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30307 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30308 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30309 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30310 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30311 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30312 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30313 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30314 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30316 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30318 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30319 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30320 [defined __arch64__ || defined __sparcv9]
30321 (__OFF_T_MATCHES_OFF64_T): New macro.
30322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30323 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30324 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30325 (__OFF_T_MATCHES_OFF64_T): New macro.
30327 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30329 * stdlib/secure-getenv.c (__secure_getenv): Replace
30330 GLIBC_2_16 with GLIBC_2_17.
30332 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30334 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30335 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30337 2012-08-03 David S. Miller <davem@davemloft.net>
30339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30341 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30343 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30345 (__ASSUME_CORRECT_SI_PID): Likewise.
30346 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30347 (__ASSUME_TMPFS_NAME): Likewise.
30348 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30349 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30350 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30351 (HAVE_AUX_SECURE): Make definition unconditional.
30352 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30353 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30355 2012-08-03 Roland McGrath <roland@hack.frob.com>
30357 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30358 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30359 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30360 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30361 __eloop_threshold instead of SYMLOOP_MAX.
30363 * sysdeps/generic/eloop-threshold.h: New file.
30364 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30366 * elf/chroot_canon.c (chroot_canon): Likewise.
30368 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30372 Change to 2.6.0 everywhere.
30373 * sysdeps/unix/sysv/linux/configure: Regenerated.
30374 * sysdeps/unix/sysv/linux/kernel-features.h
30375 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30376 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30378 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30379 (__ASSUME_FUTEX_REQUEUE): Remove.
30380 (__ASSUME_STATFS64): Define unconditionally.
30381 (__ASSUME_AT_SECURE): Likewise.
30382 (__ASSUME_CORRECT_SI_PID): Likewise.
30383 (__ASSUME_TGKILL): Define without depending on kernel version for
30385 (__ASSUME_UTIMES): Likewise.
30386 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30388 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30389 (__ASSUME_TMPFS_NAME): Likewise.
30390 * README: Update reference to Linux kernel versions.
30392 2012-08-02 Marek Polacek <polacek@redhat.com>
30395 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30396 libc_cv_asm_type_prefix with %.
30397 * configure: Regenerated.
30398 * include/libc-symbols.h: Remove comment about
30399 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30400 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30401 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30402 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30403 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30404 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30405 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30406 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30407 * elf/tst-unique2mod1.c: Likewise.
30408 * elf/tst-unique1mod2.c: Likewise.
30409 * elf/tst-unique1mod1.c: Likewise.
30410 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30411 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30412 Replace ASM_TYPE_DIRECTIVE with .type.
30413 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30414 * sysdeps/i386/sysdep.h: Likewise.
30415 * sysdeps/x86_64/sysdep.h: Likewise.
30416 * sysdeps/sh/sysdep.h: Likewise.
30417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30418 Do not define ASM_TYPE_DIRECTIVE.
30419 * sysdeps/powerpc/sysdep.h: Likewise.
30420 * sysdeps/powerpc/powerpc32/sysdep.h:
30421 Replace ASM_TYPE_DIRECTIVE with .type.
30422 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30423 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30424 * sysdeps/i386/fpu/e_powf.S: Likewise.
30425 * sysdeps/i386/fpu/e_expl.S: Likewise.
30426 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30428 * sysdeps/i386/fpu/e_pow.S: Likewise.
30429 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30430 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30431 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30432 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30433 * sysdeps/i386/fpu/e_log2.S: Likewise.
30434 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30435 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30436 * sysdeps/i386/fpu/e_powl.S: Likewise.
30437 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30438 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30439 * sysdeps/i386/fpu/e_logl.S: Likewise.
30440 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30441 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30442 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30443 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30444 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30445 * sysdeps/i386/fpu/e_log.S: Likewise.
30446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30447 * sysdeps/i386/fpu/e_logf.S: Likewise.
30448 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30449 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30450 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30451 * sysdeps/i386/fpu/e_log10.S: Likewise.
30452 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30454 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30455 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30457 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30458 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30459 * sysdeps/i386/i686/strtok.S: Likewise.
30460 * sysdeps/i386/i386-mcount.S: Likewise.
30461 * sysdeps/i386/strtok.S: Likewise.
30462 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30464 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30465 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30466 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30467 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30468 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30469 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30470 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30471 * sysdeps/x86_64/_mcount.S: Likewise.
30472 * sysdeps/x86_64/strtok.S: Likewise.
30473 * sysdeps/sh/_mcount.S: Likewise.
30475 2012-08-01 Roland McGrath <roland@hack.frob.com>
30477 * libio/iofopen.c: Include <fcntl.h>.
30478 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30479 (_IO_fopen64, fopen64): Define as aliases.
30480 * libio/iofopen64.c: Include <fcntl.h>.
30481 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30482 Conditionalize body on this.
30483 * sysdeps/wordsize-64/iofopen.c: File removed.
30484 * sysdeps/wordsize-64/iofopen64.c: File removed.
30486 2012-08-01 Marek Polacek <polacek@redhat.com>
30488 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30489 Use dlfcn directly instead of a variable.
30490 (binfmt-subdir): Do not define.
30493 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30495 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30496 Remove all definitions.
30497 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30498 <kernel-features.h>.
30499 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30500 (miss_F_GETOWN_EX): Remove all definitions.
30501 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30503 [!__ASSUME_FCNTL64]: Remove conditional code.
30504 [__ASSUME_FCNTL64]: Make code unconditional.
30505 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30506 <kernel-features.h>.
30507 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30508 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30509 (lockf64) [__NR_fcntl64]: Make code unconditional.
30510 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30512 * sysdeps/unix/sysv/linux/kernel-features.h
30513 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30514 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30515 Make code unconditional.
30516 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30517 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30519 [__NR_vfork]: Make code unconditional.
30520 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30521 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30523 [__NR_vfork]: Make code unconditional.
30524 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30525 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30527 2012-08-01 Roland McGrath <roland@hack.frob.com>
30529 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30530 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30532 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30533 Define mkstemp64 as an alias.
30534 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30535 Define mkstemps64 as an alias.
30536 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30537 Define mkostemp64 as an alias.
30538 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30539 Define mkostemps64 as an alias.
30540 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30541 Conditionalize body on this.
30542 * misc/mkostemp64.c: Likewise.
30543 * misc/mkostemps64.c: Likewise.
30544 * misc/mkstemps64.c: Likewise.
30545 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30546 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30547 * sysdeps/wordsize-64/mkostemp.c: File removed.
30548 * sysdeps/wordsize-64/mkstemp.c: File removed.
30549 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30552 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30555 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30556 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30557 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30558 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30560 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30561 compat_symbol macros from <shlib-compat.h> rather than the underlying
30562 default_symbol_version and symbol_version macros, so that DEFAULT
30563 lines in shlib-versions are respected.
30564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30566 2012-08-01 Florian Weimer <fweimer@redhat.com>
30568 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30569 Declare with warn_unused_result.
30570 (setgid, setregid, setegid, setresgid): Likewise.
30571 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30573 * WUR-REPORT: Remove set*id functions.
30575 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30577 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30579 2012-07-31 Roland McGrath <roland@hack.frob.com>
30582 * include/sys/socket.h (__libc_accept, __libc_accept4):
30583 Add attribute_hidden.
30584 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30586 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30588 * inet/getnetgrent_r.c (setup): Likewise.
30590 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30592 2012-07-31 David S. Miller <davem@davemloft.net>
30594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30596 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30599 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30600 value between 1.0 and 2.0 and smaller part has absolute value less
30602 * math/s_clog10.c (__clog10): Likewise.
30603 * math/s_clog10f.c (__clog10f): Likewise.
30604 * math/s_clog10l.c (__clog10l): Likewise.
30605 * math/s_clogf.c (__clogf): Likewise.
30606 * math/s_clogl.c (__clogl): Likewise.
30607 * math/libm-test.inc (clog_test): Add more tests.
30608 (clog10_test): Likewise.
30609 * sysdeps/i386/fpu/libm-test-ulps: Update.
30610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30612 2012-07-31 Florian Weimer <fweimer@redhat.com>
30614 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30615 Exit with zero in case no suitable GID is found, and write a
30616 message to standard error.
30618 2012-07-30 Roland McGrath <roland@hack.frob.com>
30620 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30622 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30623 (MAXPATHLEN): Removed.
30624 (NOGROUP, NODEV): New macros.
30625 (setbit, clrbit, isset, isclr): New macros.
30626 (howmany, roundup, powerof2): New macros.
30627 (DEV_BSIZE): New macro.
30629 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30630 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30632 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30633 definition on [!__NO_LONG_DOUBLE_MATH].
30635 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30636 PTR_MANGLE and PTR_DEMANGLE.
30638 * socket/accept4.c (accept4): Rename to __libc_accept4.
30639 Define accept4 as a weak alias.
30641 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30642 on [_DIRENT_HAVE_D_TYPE].
30643 * io/ftw.c (ftw_dir): Likewise.
30645 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30647 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30649 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30650 Use the BSD numbers rather than the arbitrary ones we had.
30651 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30652 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30653 (SIGXCPU, SIGXFSZ): New macros.
30656 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30657 initializer on [_LIBC_REENTRANT].
30659 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30660 definitions inside [_POSIX_MAPPED_FILES].
30662 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30664 * dirent/opendir.c: Include <fcntl.h>.
30666 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30667 (__libc_getspecific): Likewise.
30668 (__libc_key_create): Likewise.
30670 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30671 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30672 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30673 (tmpfile64): Define as alias.
30674 * sysdeps/wordsize-64/tmpfile.c: File removed.
30675 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30676 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30677 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30679 * stdio-common/vfscanf.c: Include <stdbool.h>.
30680 * nss/makedb.c: Likewise.
30681 * stdio-common/_i18n_number.h: Likewise.
30682 * argp/argp-help.c: Likewise.
30683 * posix/wordexp.c: Likewise.
30684 * sysdeps/posix/spawni.c: Likewise.
30685 * nss/nss_files/files-initgroups.c: Likewise.
30686 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30687 * nss/nss_files/files-initgroups.c: Likewise.
30688 * nss/nss_db/db-netgrp.c: Likewise.
30689 * nss/nss_db/db-initgroups.c: Likewise.
30690 * io/fchmodat.c: Include <sys/stat.h>.
30692 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30693 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30695 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30698 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30699 Add multiple inclusion protection.
30701 2012-07-27 David S. Miller <davem@davemloft.net>
30703 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30705 2012-07-27 Gary Benson <gbenson@redhat.com>
30708 * elf/rtld.c: Include <stap-probe.h>.
30709 (dl_main): Added static probes "init_start" and "init_complete".
30710 * elf/dl-load.c: Include <stap-probe.h>.
30711 (lose): Take new parameter "nsid".
30712 Added static probe "map_failed".
30713 (_dl_map_object_from_fd): Pass namespace id to lose.
30714 Added static probe "map_start".
30715 (open_verify): Pass namespace id to lose.
30716 * elf/dl-open.c: Include <stap-probe.h>.
30717 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30718 and "reloc_complete".
30719 * elf/dl-close.c: Include <stap-probe.h>.
30720 (_dl_close_worker): Added static probes "unmap_start" and
30722 * elf/rtld-debugger-interface.txt: New file documenting the above.
30724 2012-07-26 Roland McGrath <roland@hack.frob.com>
30726 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30727 rather than a string variable.
30728 * sunrpc/rpc_main.c (h_output): Likewise.
30729 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30731 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30733 * inet/check_native.c: New file.
30735 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30738 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30739 if larger part has absolute value 1.0.
30740 * math/s_clog10.c (__clog10): Likewise.
30741 * math/s_clog10f.c (__clog10f): Likewise.
30742 * math/s_clog10l.c (__clog10l): Likewise.
30743 * math/s_clogf.c (__clogf): Likewise.
30744 * math/s_clogl.c (__clogl): Likewise.
30745 * math/libm-test.inc (clog_test): Add more tests.
30746 (clog10_test): Likewise.
30747 * sysdeps/i386/fpu/libm-test-ulps: Update.
30748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30750 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30751 (pltexit): Likewise.
30752 (La_regs): Likewise.
30753 (La_retval): Likewise.
30754 (int_retval): Likewise.
30755 Update #error for removed macros to refer only to definitions in
30757 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30759 (pltexit): Likewise.
30760 (La_regs): Likewise.
30761 (La_retval): Likewise.
30762 (int_retval): Likewise.
30763 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30765 (pltexit): Likewise.
30766 (La_regs): Likewise.
30767 (La_retval): Likewise.
30768 (int_retval): Likewise.
30769 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30771 (pltexit): Likewise.
30772 (La_regs): Likewise.
30773 (La_retval): Likewise.
30774 (int_retval): Likewise.
30775 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30777 (pltexit): Likewise.
30778 (La_regs): Likewise.
30779 (La_retval): Likewise.
30780 (int_retval): Likewise.
30781 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30783 (pltexit): Likewise.
30784 (La_regs): Likewise.
30785 (La_retval): Likewise.
30786 (int_retval): Likewise.
30787 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30789 (pltexit): Likewise.
30790 (La_regs): Likewise.
30791 (La_retval): Likewise.
30792 (int_retval): Likewise.
30793 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30794 macro definitions in tst-audit.h.
30795 * sysdeps/i386/tst-audit.h: New file.
30796 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30797 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30798 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30799 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30800 * sysdeps/sh/tst-audit.h: Likewise.
30801 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30802 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30803 * sysdeps/x86_64/tst-audit.h: Likewise.
30805 2012-07-26 Andreas Jaeger <aj@suse.de>
30807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30810 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30811 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30812 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30814 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30815 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30816 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30818 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30821 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30823 (si_call_addr, si_syscall, si_arch): Define new macro.
30824 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30826 (si_call_addr, si_syscall, si_arch): Define new marcro.
30827 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30829 (si_call_addr, si_syscall, si_arch): Define new macro.
30830 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30832 (si_call_addr, si_syscall, si_arch): Define new macro.
30834 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30838 Change to 2.4.21 where previously 2.4.1.
30839 * sysdeps/unix/sysv/linux/configure: Regenerated.
30840 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30841 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30842 Linux kernel version.
30843 (__ASSUME_STD_AUXV): Remove.
30844 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30846 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30847 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30848 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30849 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30850 (__ASSUME_NETLINK_SUPPORT): Likewise.
30851 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30852 (__no_netlink_support): Remove conditional definition.
30853 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30855 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30856 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30857 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30858 (if_nameindex_ioctl): Remove.
30859 (if_nameindex_netlink): Do not handle __no_netlink_support.
30860 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30862 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30863 Remove conditional code.
30864 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30866 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30868 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30869 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30870 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30872 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30873 [!__ASSUME_STD_AUXV]: Remove conditional code.
30874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30875 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30876 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30878 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30879 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30881 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30883 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30884 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30886 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30888 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30891 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30894 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30895 code unconditional.
30896 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30898 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30900 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30903 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30905 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30908 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30909 code unconditional.
30910 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30912 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30914 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30917 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30918 code unconditional.
30919 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30921 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30923 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30926 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
30928 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30929 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30930 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30931 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30932 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30933 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30934 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30935 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30936 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30937 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30938 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30939 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30940 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30941 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30942 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30943 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30944 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30945 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30946 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30947 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30948 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30949 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30950 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30952 2012-07-25 Florian Weimer <fweimer@redhat.com>
30954 * Versions.def: Add GLIBC_2.17.
30955 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30956 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30957 Introduce __libc_secure_getenv.
30958 * stdlib/Versions (2.17): Add secure_getenv
30959 (GLIBC_PRIVATE): Add __libc_secure_getenv.
30960 * stdlib/secure-getenv.c: Rename __secure_getenv to
30961 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
30962 symbol __secure_getenv for GLIBC_2.0.
30963 * stdlib/tst-secure-getenv.c: New.
30964 * stdlib/Makefile (tests): Add testcase.
30965 * manual/startup.texi (Environment Access): Document
30967 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30968 __libc_secure_getenv.
30969 * inet/ruserpass.c (ruserpass): Likewise.
30970 * malloc/mtrace.c (mtrace): Likewise.
30971 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30972 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30973 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30974 * sysdeps/posix/tempname.c: Likewise. Evaluate
30975 HAVE_SECURE_GETENV.
30976 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30977 __secure_getenv to __libc_secure_getenv.
30978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30985 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30991 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30993 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30994 (struct La_i86_retval): Likewise.
30995 (struct La_x86_64_regs): Likewise.
30996 (struct La_x86_64_retval): Likewise.
30997 (struct La_x32_regs): Likewise.
30998 (struct La_x32_retval): Likewise.
30999 (struct La_ppc32_regs): Likewise.
31000 (struct La_ppc32_retval): Likewise.
31001 (struct La_ppc64_regs): Likewise.
31002 (struct La_ppc64_retval): Likewise.
31003 (struct La_sh_regs): Likewise.
31004 (struct La_sh_retval): Likewise.
31005 (struct La_s390_32_regs): Likewise.
31006 (struct La_s390_32_retval): Likewise.
31007 (struct La_s390_64_regs): Likewise.
31008 (struct La_s390_64_retval): Likewise.
31009 (struct La_sparc32_regs): Likewise.
31010 (struct La_sparc32_retval): Likewise.
31011 (struct La_sparc64_regs): Likewise.
31012 (struct La_sparc64_retval): Likewise.
31013 (struct audit_ifaces): Remove architecture-specific pltenter and
31015 * sysdeps/i386/ldsodefs.h: New file.
31016 * sysdeps/powerpc/ldsodefs.h: Likewise.
31017 * sysdeps/s390/ldsodefs.h: Likewise.
31018 * sysdeps/sh/ldsodefs.h: Likewise.
31019 * sysdeps/sparc/ldsodefs.h: Likewise.
31020 * sysdeps/x86_64/ldsodefs.h: Likewise.
31022 2012-07-25 Marek Polacek <polacek@redhat.com>
31025 * math/libm-test.inc (yn_test): Add another test.
31026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31027 to ERANGE when the result is +-Inf.
31028 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31029 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31030 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31031 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31033 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31035 * conform/data/time.h-data (NULL): Use macro-constant. Require
31037 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31039 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31041 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31043 * configure.in <sysdeps resolving>: Correct printing
31045 * configure: Regenerate.
31047 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31049 * math/w_ilogb.c: Include <limits.h>.
31050 * math/w_ilogbl.c: Likewise.
31052 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31054 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31055 va_copy. Document allowing for unavailable va_copy only as
31056 pre-C99 compatibility.
31057 * manual/string.texi (Copying and Concatenation): Use va_copy
31058 instead of __va_copy in concat example.
31060 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31062 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31063 (__sendto): Use create_address_port. Initialize APORT and deallocate
31066 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31067 with O_NOLINK passed to __file_name_lookup.
31069 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31070 with O_NOLINK passed to __file_name_lookup.
31072 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31073 negative N or less than NGIDS.
31075 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31076 type to string_t. Set ERANGE as errno and return it if NAME is not big
31077 enough. Use memcpy instead of strncpy.
31079 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31081 * elf/Makefile (check-data): Remove.
31082 (localplt.data): New vpath directive.
31083 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31084 instead of $(check-data).
31085 * scripts/data/localplt-generic.data: Move to ...
31086 * sysdeps/generic/localplt.data: ... here.
31087 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31088 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31089 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31092 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31095 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31098 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31101 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31104 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31108 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31110 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31111 PPC32 and PPC64 files.
31112 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31113 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31115 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31117 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31118 __makecontext_ret to ...
31119 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31120 ... here and call exit if uc_link is NULL. New file.
31121 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31122 __makecontext_ret.S.
31123 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31124 __makecontext_ret to ...
31125 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31126 ... here and call exit if uc_link is NULL. New file.
31127 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31128 __makecontext_ret.S.
31130 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31132 * elf/elf.h (R_390_IRELATIVE): New definition.
31133 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31134 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31135 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31136 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31137 (elf_machine_lazy_rel): Likewise.
31138 * sysdeps/s390/dl-irel.h: New file.
31139 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31140 * sysdeps/s390/s390-64/memset.S: New asm code.
31141 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31142 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31143 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31144 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31145 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31146 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31147 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31148 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31149 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31150 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31151 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31152 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31153 * sysdeps/s390/s390-32/memset.S: New asm code.
31154 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31156 2012-07-17 Marek Polacek <polacek@redhat.com>
31159 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31160 * sysdeps/s390/s390-64/configure.in: Likewise.
31161 * sysdeps/sparc/configure.in: Likewise.
31162 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31163 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31164 * sysdeps/i386/configure.in: Likewise.
31165 * sysdeps/x86_64/configure.in: Likewise.
31166 * sysdeps/sh/configure.in: Likewise.
31167 * sysdeps/s390/s390-32/configure: Regenerated.
31168 * sysdeps/s390/s390-64/configure: Likewise.
31169 * sysdeps/x86_64/configure: Likewise.
31170 * sysdeps/sh/configure: Likewise.
31171 * sysdeps/powerpc/powerpc64/configure: Likewise.
31172 * sysdeps/powerpc/powerpc32/configure: Likewise.
31173 * sysdeps/sparc/configure: Likwise.
31174 * sysdeps/i386/configure: Likewise.
31176 * elf/dl-open.c: Comment fixes.
31178 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31180 * Makefile [CXX] (check-data): Remove.
31181 [CXX] (c++-types.data): New vpath directive.
31182 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31183 vpath. Do not allow for C++ type data being missing.
31184 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31185 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31186 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31187 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31188 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31189 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31190 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31193 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31196 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31199 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31202 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31205 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31208 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31211 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31214 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31215 definitions to architecture-specific files.
31216 (TLS_IE): Likewise.
31217 (TLS_LD): Likewise.
31218 (TLS_GD): Likewise.
31219 * sysdeps/i386/tls-macros.h: New file.
31220 * sysdeps/powerpc/tls-macros.h: Likewise.
31221 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31222 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31223 * sysdeps/sh/tls-macros.h: Likewise.
31224 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31225 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31226 * sysdeps/x86_64/tls-macros.h: Likewise.
31228 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31230 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31231 zero value for regular exit case.
31233 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31234 (__start_context): Preserve zero value for regular exit case.
31236 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31237 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31239 * manual/setjmp.texi (setcontext): Clarify normal process
31240 termination when uc_link is the null pointer.
31241 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31244 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31246 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31247 preprocessor. Test for each exception mask separately.
31249 2012-07-16 Andreas Jaeger <aj@suse.de>
31251 * po/ru.po: Update from translation team.
31253 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31255 * conform/data/string.h-data (NULL): Use macro-constant. Require
31257 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31258 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31259 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31260 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31261 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31263 2012-07-13 Andreas Jaeger <aj@suse.de>
31265 * po/fr.po: Update from translation team.
31267 2012-07-12 Marek Polacek <polacek@redhat.com>
31270 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31274 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31278 Change to 2.4.1 where previously 2.4.0.
31279 * sysdeps/unix/sysv/linux/configure: Regenerated.
31280 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31281 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31283 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31284 (__ASSUME_AT_CLKTCK): Remove.
31285 (__ASSUME_AT_PAGESIZE): Likewise.
31286 (__ASSUME_AT_XID): Likewise.
31287 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31288 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31289 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31291 (HAVE_AUX_PAGESIZE): Likewise.
31292 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31293 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31294 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31296 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31300 the temporary buffer used to invoke __gethostbyname2_r,
31301 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31302 host_data / struct gaih_addrtuple.
31303 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31304 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31305 header file nss/nsswitch.h.
31306 * nss/nsswitch.h (global scope): Add definition of implementation
31307 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31308 resolv/nss_dns/dns-host.c).
31310 2012-07-11 Andreas Jaeger <aj@suse.de>
31312 * po/fr.po: Update from translation team.
31314 * po/sv.po: Update from translation team
31315 * po/fr.po: Another update from translation team.
31317 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31319 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31320 for subnormals or multiply small sinh result by itself.
31321 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31324 2012-07-11 David S. Miller <davem@davemloft.net>
31326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31328 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31331 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31332 (INTERNAL_MARK): Shift it here.
31334 2012-07-10 Marek Polacek <polacek@redhat.com>
31337 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31338 libc_cv_asm_global_directive with .globl.
31339 * configure: Regenerated.
31340 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31342 * sysdeps/i386/configure: Regenerated.
31343 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31345 * sysdeps/x86_64/configure: Regenerated.
31346 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31347 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31348 * elf/tst-unique2mod2.c: Likewise.
31349 * elf/tst-unique2mod1.c: Likewise.
31350 * elf/tst-unique1mod2.c: Likewise.
31351 * elf/tst-unique1mod1.c: Likewise.
31352 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31353 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31355 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31356 * sysdeps/mach/sysdep.h: Likewise.
31357 * sysdeps/i386/sysdep.h: Likewise.
31358 * sysdeps/i386/i386-mcount.S: Likewise.
31359 * sysdeps/x86_64/_mcount.S: Likewise.
31360 * sysdeps/x86_64/sysdep.h: Likewise.
31361 * sysdeps/sh/_mcount.S: Likewise.
31362 * sysdeps/sh/sysdep.h: Likewise.
31363 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31364 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31365 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31366 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31367 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31368 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31369 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31370 * locale/localeinfo.h: Likewise.
31371 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31372 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31374 2012-07-09 Roland McGrath <roland@hack.frob.com>
31377 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31379 * manual/message.texi (The Uniforum approach): Likewise.
31380 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31381 (glibc iconv Implementation): Likewise.
31383 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31386 * math/s_clog.c (__clog): Avoid scaling a value down where that
31387 could result in underflow.
31388 * math/s_clog10.c (__clog10): Likewise.
31389 * math/s_clog10f.c (__clog10f): Likewise.
31390 * math/s_clog10l.c (__clog10l): Likewise.
31391 * math/s_clogf.c (__clogf): Likewise.
31392 * math/s_clogl.c (__clogl): Likewise.
31393 * math/libm-test.inc (clog_test): Add more tests.
31394 (clog10_test): Likewise.
31395 * sysdeps/i386/fpu/libm-test-ulps: Update.
31396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31398 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31401 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31402 by 7 not 8 to examine high bit of fractional part.
31405 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31406 for call to __mcount_internal.
31407 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31408 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31409 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31411 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31414 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31415 approximation for values within 0x1p-13f of an odd multiple of
31417 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31418 exception. Add more tests.
31419 * sysdeps/i386/fpu/libm-test-ulps: Update.
31422 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31423 inputs and return -1 for them. Do not check for +Inf in case not
31424 reachable for +Inf.
31425 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31426 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31427 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31428 and return -1 for them. Do not check for +Inf in case not
31429 reachable for +Inf.
31430 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31433 and return -1 for them. Do not check for +Inf in case not
31434 reachable for +Inf.
31435 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31436 spurious underflow.
31437 * sysdeps/i386/fpu/libm-test-ulps: Update.
31438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31440 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31442 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31444 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31448 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31449 could result in spurious underflow. Scale down values above
31450 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31451 * math/s_csqrtf.c (__csqrtf): Likewise.
31452 * math/s_csqrtl.c (__csqrtl): Likewise.
31453 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31454 spurious underflow.
31455 * sysdeps/i386/fpu/libm-test-ulps: Update.
31456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31458 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31460 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31462 * catgets/xopen-msg.awk: New file.
31463 * catgets/xopen-msg.sed: Removed.
31465 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31467 * intl/po2test.awk: New file.
31468 * intl/po2test.sed: Removed.
31470 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31473 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31474 or multiply small sinh result by itself.
31475 * math/s_ctanf.c (__ctanf): Likewise.
31476 * math/s_ctanh.c (__ctanh): Likewise.
31477 * math/s_ctanhf.c (__ctanhf): Likewise.
31478 * math/s_ctanhl.c (__ctanhl): Likewise.
31479 * math/s_ctanl.c (__ctanl): Likewise.
31480 * math/libm-test.inc (ctan_test_tonearest): New function.
31481 (ctan_test_towardzero): Likewise.
31482 (ctan_test_downward): Likewise.
31483 (ctan_test_upward): Likewise.
31484 (ctanh_test_tonearest): Likewise.
31485 (ctanh_test_towardzero): Likewise.
31486 (ctanh_test_downward): Likewise.
31487 (ctanh_test_upward): Likewise.
31488 (main): Call these new functions.
31489 * sysdeps/i386/fpu/libm-test-ulps: Update.
31490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31492 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31494 * .gitignore: Delete /ports entry.
31496 2012-07-03 Andreas Jaeger <aj@suse.de>
31498 * po/bg.po: Update from translation team.
31499 * po/cs.po: Likewise.
31500 * po/de.po: Likewise.
31501 * po/hr.po: Likewise.
31502 * po/nl.pl: Likewise.
31503 * po/pl.po: Likewise.
31504 * po/vi.po: Likewise.
31506 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31508 * Makeconfig [!+link] (+link-before-libc): New variable.
31509 [!+link] (+link-after-libc): Likewise.
31510 [!+link] (+link-tests): Likewise.
31511 [!+link] (+link): Define in terms of $(+link-before-libc) and
31512 $(+link-after-libc).
31513 [!+link-static] (+link-static-before-libc): New variable.
31514 [!+link-static] (+link-static-after-libc): Likewise.
31515 [!+link-static] (+link-static-tests): Likewise.
31516 [!+link-static] (+link-static): Define in terms of
31517 $(+link-static-before-libc) and $(+link-static-after-libc).
31518 [build-shared] (link-libc-before-gnulib): New variable.
31519 [build-shared] (link-libc-tests): Likewise.
31520 [build-shared] (link-libc): Define in terms of
31521 $(link-libc-before-gnulib).
31522 [!build-shared] (link-libc-tests): New variable.
31523 (link-libc-static-tests): New variable.
31524 [!gnulib] (gnulib-arch): New variable.
31525 [!gnulib] (gnulib-tests): Likewise.
31526 [!gnulib] (static-gnulib-arch): Likewise.
31527 [!gnulib] (static-gnulib-tests): Likewise.
31528 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31529 Define with "=" instead of ":=".
31530 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31531 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31532 * Rules (binaries-all-notests): New variable.
31533 (binaries-all-tests): Likewise.
31534 (binaries-static-notests): Likewise.
31535 (binaries-static-tests): Likewise.
31536 (binaries-all): Define using $(binaries-all-notests) and
31537 $(binaries-all-tests).
31538 (binaries-static): Define using $(binaries-static-notests) and
31539 $(binaries-static-tests).
31540 (binaries-shared-tests): New variable.
31541 (binaries-shared-notests): Likewise.
31542 (binaries-shared): Remove variable.
31543 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31544 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31545 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31546 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31547 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31548 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31549 * elf/Makefile (sln-modules): New variable.
31550 (extra-objs): Add $(sln-modules:=.o).
31551 (ldconfig-modules): Add static-stubs.
31552 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31553 * elf/static-stubs.c: New file.
31556 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31557 by 7 not 8 to examine high bit of fractional part. Use volatile
31558 variables when splitting into final array of floats if
31559 __FLT_EVAL_METHOD__ != 0.
31560 * math/libm-test.inc (cos_test): Add another test.
31561 (sin_test): Likewise.
31562 * sysdeps/i386/fpu/libm-test-ulps: Update.
31565 * math/libm-test.inc (cosh_test): Add more tests.
31567 * version.h (RELEASE): Set to "development".
31568 (VERSION): Set to "2.16.90".
31570 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31572 * NEWS: Update copyright. Remove last-updated date.
31573 Mention math library bug fixes and timezone data changes.
31574 * README: Mention GNU/Hurd, x32, and HPPA support status.
31576 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31578 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31580 2012-06-27 Andreas Jaeger <aj@suse.de>
31582 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31584 2012-06-25 Andreas Jaeger <aj@suse.de>
31586 * sysdeps/s390/fpu/libm-test-ulps: Update.
31588 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31589 Thomas Schwinge <thomas@codesourcery.com>
31591 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31592 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31596 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31598 * sysdeps/mach/start.c: Remove file.
31599 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31600 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31601 * sysdeps/sh/init-first.c: Likewise.
31603 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31604 registers for frame unwinding purposes, add CFI directives.
31605 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31607 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31610 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31611 __fortify_fail returning.
31612 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31614 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31615 sysdeps/sh/____longjmp_chk.S.
31616 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31617 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31618 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31619 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31621 * sysdeps/sh/abort-instr.h: New file.
31622 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31623 process in case exit returns.
31625 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31626 initialize the GOT register before use.
31628 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31629 calculation of ARGC > 4.
31631 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31632 meaningful names to some local labels.
31634 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31635 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31637 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31638 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31639 (__arch_compare_and_exchange_val_16_acq): Likewise.
31640 (__arch_compare_and_exchange_val_32_acq): Likewise.
31641 (atomic_exchange_and_add): Fix gUSA sequence.
31642 (atomic_add): Likewise.
31643 (atomic_add_negative): Likewise.
31644 (atomic_add_zero): Likewise.
31645 (atomic_bit_test_set): Likewise.
31647 2012-06-22 Andreas Schwab <schwab@redhat.com>
31650 * include/link.h (struct link_map): Add l_free_initfini.
31651 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31653 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31654 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31655 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31658 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31660 * configure.in: Use AC_LANG_SOURCE.
31661 * configure: Regenerate.
31663 2012-06-22 Roland McGrath <roland@hack.frob.com>
31665 * configure.in (libc_cv_localstatedir): New substituted variable.
31666 * configure: Regenerated.
31667 * config.make.in (localstatedir): New variable, substituted from
31668 libc_cv_localstatedir.
31669 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31670 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31671 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31672 * sysdeps/gnu/configure: Regenerated.
31674 2012-06-21 Jeff Law <law@redhat.com>
31677 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31678 free. Simplify list management for _LIBC case.
31680 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31683 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31684 Clear sign bit of 64-bit integer value before comparing against
31687 * sysdeps/mach/configure: Regenerated.
31689 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31692 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31694 2012-06-21 Jeff Law <law@redhat.com>
31697 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31698 uint16_t for elements in the "seen" array to avoid char overflows.
31699 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31700 * elf/dl-open.c (dl_open_worker): Likewise.
31702 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31704 * scripts/list-sources.sh: Scan PORTS for translations.
31705 * po/libc.pot: Regenerated.
31707 2012-06-21 Andreas Jaeger <aj@suse.de>
31710 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31712 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31713 * bits/byteswap-16.h (__bswap_16): Likewise.
31714 * bits/byteswap.h (__bswap_constant_16): Likewise.
31716 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31719 * sysdeps/i386/fpu_control.h: Removed.
31720 * sysdeps/x86_64/fpu_control.h: Moved to ...
31721 * sysdeps/x86/fpu_control.h: Here.
31723 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31724 (_FPU_SETCW): Likewise.
31726 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31729 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31730 * sysdeps/x86/fpu/bits/mathinline.h: This.
31731 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31735 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31736 functions if __x86_64__ is defined.
31738 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31740 * string/endian.h: Add !__ASSEMBLER__ condition for including
31741 conversion interfaces.
31743 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31746 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31747 of ABS(x) in calculating zero to negative powers other than odd
31749 * math/libm-test.inc (pow_test): Add more tests.
31751 2012-06-15 Andreas Jaeger <aj@suse.de>
31753 * manual/contrib.texi (Contributors): Update entry of Liubov
31754 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31757 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31759 * string/string.h: Add __wur to GNU version of strerror_r.
31761 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31764 * string/Makefile (tests): Add tst-strtok_r.
31765 * string/tst-strtok_r.c: New file.
31766 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31767 RAX_LP/RDX_LP on SAVE_PTR.
31769 2012-06-14 Roland McGrath <roland@hack.frob.com>
31771 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31773 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31775 * libm_test.inc (csqrt_test): Allow more spurious underflow
31777 (j0_test): Likewise.
31778 (j1_test): Likewise.
31779 (y0_test): Likewise.
31780 (y1_test): Likewise.
31782 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31784 * po/Makefile (libc.pot): Use UTF-8 charset.
31786 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31789 Suppress sign-conversion warning from FD_SET.
31790 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31791 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31792 not unsigned long int.
31793 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31795 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31799 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31800 __extern_always_inline instead of __extern_inline.
31801 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31802 (__signbit): Likewise.
31803 (__signbitl): Support C++ namespace.
31804 (lrintf): New inline function.
31806 (llrintf): Likewise.
31807 (llrint): Likewise.
31817 (floorf): Likewise.
31818 (nearbyint): Likewise.
31819 (nearbyintf): Likewise.
31821 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31824 non-default versions.
31826 2012-06-11 Roland McGrath <roland@hack.frob.com>
31829 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31831 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31833 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31834 (FE_UPWARD, FE_DOWNWARD): Don't define.
31835 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31836 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31838 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31840 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31841 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31843 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31845 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31847 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31848 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31850 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
31853 * sysdeps/i386/fpu/bits/fenv.h: Removed.
31854 * sysdeps/i386/fpu/Implies: New file.
31855 * sysdeps/x86_64/fpu/Implies: Likewise.
31856 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31857 * sysdeps/x86/fpu/bits/fenv.h: This.
31859 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31862 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31865 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31866 character 0xffff that matches the last element of the
31869 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31874 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31876 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31877 values higher than 25.6283.
31879 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31881 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31882 subnormal exponent extraction and add some __builtin_expect.
31883 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31884 Fix for subnormal mantissa calculation.
31886 2012-06-04 Mike Frysinger <vapier@gentoo.org>
31888 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31889 cpu2 is -1 and errno is not ENOSYS.
31891 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
31894 * sysdeps/i386/i486/bits/string.h: Renamed to ...
31895 * sysdeps/x86/bits/string.h: This.
31896 * sysdeps/x86_64/bits/string.h: Removed.
31898 * sysdeps/i386/i486/bits/string.h: Define inline functions only
31899 if not compiling for x86-64, but compiling for >= i486.
31901 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31902 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31904 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31905 New macro from Linux kernel 3.4.0.
31906 (FP_XSTATE_MAGIC2): Likewise.
31907 (FP_XSTATE_MAGIC2_SIZE): Likewise.
31908 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31909 (struct _fpx_sw_bytes): New struct.
31910 (struct _xsave_hdr): Likewise.
31911 (struct _ymmh_state): Likewise.
31912 (struct _xstate): Likewise.
31914 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31915 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31916 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31917 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31918 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31919 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31921 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31922 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31923 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31924 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31925 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31926 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31928 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31931 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31932 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31933 (sysdep_headers): Include sys/platform/ppc.h.
31934 * sysdeps/powerpc/test-gettimebase.c: Test for
31935 __ppc_get_timebase() to catch future ISA opcode/insn changes.
31936 * manual/Makefile (appendices): Include platform.texi.
31937 * manual/contrib.texi (Contributors): Update @node pointers.
31938 * manual/maint.texi (Maintenance): Likewise.
31939 (Platform): New node.
31940 * manual/platform.texi: New file. Document the new features.
31942 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31943 Jakub Jelinek <jakub@redhat.com>
31946 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31947 where __builtin_expect is unavailable.
31949 2012-06-03 David S. Miller <davem@davemloft.net>
31951 * stdlib/longlong.h: Updated from GCC.
31953 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
31956 * sysdeps/powerpc/powerpc32/mcount.c: New file.
31957 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31960 (GLIBC_2.16): Likewise.
31962 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31966 2012-06-01 Joseph Myers <joseph@codesourcery.com>
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31969 (default-abi): New variable.
31970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31971 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31973 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31975 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31977 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31980 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31981 definition. Document in comment.
31983 2012-06-01 David S. Miller <davem@davemloft.net>
31985 * stdlib/longlong.h: Updated from GCC.
31987 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
31990 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31991 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31992 sys/debugreg.h sys/io.h here.
31993 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31994 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31996 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31997 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31998 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31999 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32000 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32001 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32004 Define only if __x86_64__ is defined.
32006 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32009 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32010 Use int64_t for variable i.
32011 * math/libm-test.inc (fmod_test): Add more tests.
32013 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32014 z computation is not scheduled after fetestexcept.
32015 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32016 Use math_force_eval instead of asm to ensure calculation scheduled
32017 before exception test.
32018 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32019 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32021 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32024 computation is not scheduled after fetestexcept.
32026 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32029 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32030 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32032 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32034 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32035 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32037 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32040 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32042 (__WCHAR_MIN): Support __WORDSIZE == 64.
32043 (__WCHAR_MAX): Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32046 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32049 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32050 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32053 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32054 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32056 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32057 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32059 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32060 Defined to 1 if __x86_64__ isn't defined.
32061 (_STAT_VER_LINUX_OLD): New.
32062 (st_atime): Remove duplicate.
32063 (st_mtime): Likewise.
32064 (st_ctime): Likewise.
32066 2012-05-31 David S. Miller <davem@davemloft.net>
32068 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32071 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32073 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32077 * elf/dl-reloc.c: Include <_itoa.h>.
32078 (_dl_reloc_bad_type): Remove use of INTUSE.
32079 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32080 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32081 * stdio-common/psiginfo.c (psiginfo): Likewise.
32082 * stdio-common/psignal.c (psignal): Likewise.
32083 * string/strsignal.c (strsignal): Likewise.
32084 * include/signal.h (_sys_siglist): Declare hidden proto.
32085 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32086 INTVARDEF with libc_hidden_data_def.
32087 * stdio-common/itoa-udigits.c: Likewise.
32088 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32089 (_itoa_lower_digits_internal): Remove declaration.
32090 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32091 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32092 (_sys_sigabbrev_internal): Remove aliases.
32093 (_sys_siglist): Define hidden alias.
32095 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32100 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32103 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32104 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32106 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32107 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32108 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32109 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32110 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32111 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32113 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32114 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32115 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32117 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32125 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32126 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32127 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32129 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32130 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32131 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32132 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32133 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32134 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32136 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32137 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32139 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32140 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32143 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32144 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32146 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32147 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32149 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32151 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32152 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32153 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32155 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32157 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32159 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32161 * math/math.h (M_El): Use two more decimal places.
32162 (M_LOG2El): Likewise.
32163 (M_LOG10El): Likewise.
32164 (M_LN2l): Likewise.
32165 (M_LN10l): Likewise.
32167 (M_PI_2l): Likewise.
32168 (M_PI_4l): Likewise.
32169 (M_1_PIl): Likewise.
32170 (M_2_PIl): Likewise.
32171 (M_2_SQRTPIl): Likewise.
32172 (M_SQRT2l): Likewise.
32173 (M_SQRT1_2l): Likewise.
32175 2012-05-31 David S. Miller <davem@davemloft.net>
32177 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32178 values between float registers.
32179 * sysdeps/sparc/sparc64/memset.S: Likewise.
32180 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32182 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32184 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32185 -D_FORTIFY_SOURCE=1.
32186 (CPPFLAGS-tst-longjmp_chk.c): Define.
32187 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32188 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32189 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32190 CFLAGS-tst-wchar-h.c.
32192 2012-05-31 Marek Polacek <polacek@redhat.com>
32195 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32196 __endmntent_internal): Remove declaration.
32197 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32198 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32199 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32201 2012-05-30 David S. Miller <davem@davemloft.net>
32203 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32204 (___Q_simulate_exceptions): Use real FP ops rather than writing
32206 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32209 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32212 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32213 * sysdeps/x86/bits/xtitypes.h: This.
32215 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32216 * sysdeps/x86/bits/wordsize.h: This.
32218 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32219 * sysdeps/x86/bits/huge_vall.h: This.
32221 * sysdeps/i386/bits/select.h: Removed.
32222 * sysdeps/x86_64/bits/select.h: Renamed to ...
32223 * sysdeps/x86/bits/select.h: This.
32225 * sysdeps/i386/bits/setjmp.h: Removed.
32226 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32227 * sysdeps/x86/bits/setjmp.h: This.
32229 * sysdeps/i386/bits/mathdef.h: Removed.
32230 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32231 * sysdeps/x86/bits/mathdef.h: This.
32233 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32236 * include/sys/socket.h (__connect_internal)
32237 (__libc_sa_len_internal): Remove declaration.
32238 (__connect, __libc_sa_len): Declare hidden_proto.
32239 (SA_LEN): Remove use of INTUSE.
32240 * socket/connect.c: Add libc_hidden_def.
32241 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32242 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32243 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32245 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32246 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32247 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32248 of adding _internal alias.
32250 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32253 * sysdeps/i386/bits/link.h: Removed.
32254 * sysdeps/i386/bits/linkmap.h: Likewise.
32255 * sysdeps/x86_64/bits/link.h: Renamed to ...
32256 * sysdeps/x86/bits/link.h: This.
32257 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32258 * sysdeps/x86/bits/linkmap.h: This.
32260 * sysdeps/i386/bits/endian.h: Removed.
32261 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32262 * sysdeps/x86/bits/endian.h: This.
32264 * sysdeps/i386/bits/byteswap.h: Removed.
32265 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32266 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32267 * sysdeps/x86/bits/byteswap.h: This.
32268 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32269 * sysdeps/x86/bits/byteswap-16.h: This.
32270 * sysdeps/i386/Implies: Add x86.
32271 * sysdeps/x86_64/Implies: Likewise.
32273 2012-05-30 David S. Miller <davem@davemloft.net>
32275 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32276 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32277 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32278 (FP_TRAPPING_EXCEPTIONS): Define.
32279 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32280 (FP_TRAPPING_EXCEPTIONS): Define.
32281 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32282 subnormals only when inexact has been signalled or underflow
32283 exceptions are enabled.
32284 (_FP_PACK_CANONICAL): Likewise.
32286 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32289 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32290 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32292 2012-05-30 Richard Henderson <rth@twiddle.net>
32294 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32295 with #ifndef NOT_IN_libc.
32297 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32298 marked to avoid plt entry.
32300 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32303 * Makeconfig (default-abi): New macro.
32304 (abi-includes): Likewise.
32305 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32306 $(abi-$(default-abi)-lib-soname) for soname if defined.
32307 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32309 * Makefile (installed-stubs): Likewise.
32310 * include/stubs-biarch.h: Removed.
32311 * scripts/lib-names.awk: Only handle one library at a time.
32312 * scripts/soversions.awk: Remove WORDSIZE support.
32313 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32315 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32317 (syscall-list-default-condition): Likewise.
32318 (syscall-list-default-condition): Likewise.
32319 (syscall-list-includes): Likewise.
32320 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32321 syscall-list-* with abi-*. Handle undefined abi-variants.
32322 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32323 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32324 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32325 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32326 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32327 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32329 (syscall-list-32-options): Likewise.
32330 (syscall-list-32-condition): Likewise.
32331 (syscall-list-64-options): Likewise.
32332 (syscall-list-64-condition): Likewise.
32333 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32335 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32338 (abi-64-ld-soname): New macro.
32339 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32340 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32343 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32344 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32346 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32348 * sysdeps/unix/sysv/linux/kernel-features.h
32349 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32350 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32351 include <kernel-features.h>.
32352 [!__NR_ftruncate64]: Remove conditional code.
32353 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32354 [__NR_ftruncate64]: Make code unconditional.
32355 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32356 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32357 include <kernel-features.h>.
32358 [!__NR_ftruncate64]: Remove conditional code.
32359 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32360 [__NR_ftruncate64]: Make code unconditional.
32361 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32363 include <kernel-features.h>.
32364 [!__NR_ftruncate64]: Remove conditional code.
32365 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32366 [__NR_ftruncate64]: Make code unconditional.
32367 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32369 include <kernel-features.h>.
32370 [!__NR_ftruncate64]: Remove conditional code.
32371 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32372 [__NR_ftruncate64]: Make code unconditional.
32373 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32375 * configure.in (libc_cv_fpie): Weaken to a compile test using
32376 LIBC_TRY_CC_OPTION.
32377 * configure: Regenerated.
32379 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32394 2012-05-27 David S. Miller <davem@davemloft.net>
32396 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32398 (__Q_simulate_exceptions): Return void. Change to simulate
32399 exceptions by writing into the %fsr.
32400 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32401 (__Qp_handle_exceptions): Likewise.
32403 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32404 __Qp_handle_exceptions.
32405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32406 __Qp_handle_exceptions.
32407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32408 as unused and give dummy FP_RND_NEAREST initializer.
32409 (FP_INHIBIT_RESULTS): Define.
32410 (___Q_simulate_exceptions): Update declaration.
32411 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32413 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32414 as unused and give dummy FP_RND_NEAREST initializer.
32415 (__Qp_handle_exceptions): Update declaration.
32416 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32419 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32421 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32422 the temporary FPU control word.
32423 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32424 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32426 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32427 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32428 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32429 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32431 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32432 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32433 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32435 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32437 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32440 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32442 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32443 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32444 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32445 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32447 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32448 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32451 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32453 * po/h.po: Update from translation team.
32455 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32457 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32459 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32460 handling of denormals.
32461 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32462 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32463 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32464 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32466 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32470 2012-05-26 Marek Polacek <polacek@redhat.com>
32473 * math/libm-test.inc (fma_test): Don't always expect underflow
32476 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32479 * elf/tst-execstack.c: Include stackinfo.h.
32480 (do_test): Adjust test case to ensure that pthread_getattr_np
32481 behaviour remains the same after marking stack executable.
32483 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32485 * sysdeps/unix/sysv/linux/kernel-features.h
32486 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32487 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32489 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32490 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32491 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32493 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32494 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32496 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32498 * configure.in: Define the default includes to being none.
32499 * configure: Regenerated.
32501 2012-05-25 Roland McGrath <roland@hack.frob.com>
32503 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32504 * sysdeps/x86_64/setjmp.S: Likewise.
32505 * sysdeps/i386/bsd-setjmp.S: Likewise.
32506 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32507 * sysdeps/i386/setjmp.S: Likewise.
32508 * sysdeps/i386/__longjmp.S: Likewise.
32509 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32510 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32512 * include/stap-probe.h: New file.
32513 * configure.in: Handle --enable-systemtap.
32514 * configure: Regenerated.
32515 * config.h.in (USE_STAP_PROBE): New #undef.
32516 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32517 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32518 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32520 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32523 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32524 to 2.4.0 where earlier.
32525 * sysdeps/unix/sysv/linux/configure: Regenerated.
32526 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32527 <kernel-features.h>.
32528 [__ASSUME_32BITUIDS]: Make code unconditional.
32529 [!__ASSUME_32BITUIDS]: Remove conditional code.
32530 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32531 <kernel-features.h>.
32532 [__ASSUME_32BITUIDS]: Make code unconditional.
32533 [!__ASSUME_32BITUIDS]: Remove conditional code.
32534 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32535 [__ASSUME_32BITUIDS]: Make code unconditional.
32536 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32537 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32538 <kernel-features.h>.
32539 [__ASSUME_32BITUIDS]: Make code unconditional.
32540 [!__ASSUME_32BITUIDS]: Remove conditional code.
32541 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32542 <kernel-features.h>.
32543 [__ASSUME_32BITUIDS]: Make code unconditional.
32544 [!__ASSUME_32BITUIDS]: Remove conditional code.
32545 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32546 <kernel-features.h>.
32547 [__ASSUME_32BITUIDS]: Make code unconditional.
32548 [!__ASSUME_32BITUIDS]: Remove conditional code.
32549 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32550 <kernel-features.h>.
32551 [__ASSUME_32BITUIDS]: Make code unconditional.
32552 [!__ASSUME_32BITUIDS]: Remove conditional code.
32553 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32554 <kernel-features.h>.
32555 [__ASSUME_32BITUIDS]: Make code unconditional.
32556 [!__ASSUME_32BITUIDS]: Remove conditional code.
32557 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32558 <kernel-features.h>.
32559 [__ASSUME_32BITUIDS]: Make code unconditional.
32560 [!__ASSUME_32BITUIDS]: Remove conditional code.
32561 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32562 <kernel-features.h>.
32563 [__ASSUME_32BITUIDS]: Make code unconditional.
32564 [!__ASSUME_32BITUIDS]: Remove conditional code.
32565 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32566 <kernel-features.h>.
32567 [__ASSUME_32BITUIDS]: Make code unconditional.
32568 [!__ASSUME_32BITUIDS]: Remove conditional code.
32569 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32570 <kernel-features.h>.
32571 [__ASSUME_32BITUIDS]: Make code unconditional.
32572 [!__ASSUME_32BITUIDS]: Remove conditional code.
32573 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32574 <kernel-features.h>.
32575 [__ASSUME_32BITUIDS]: Make code unconditional.
32576 [!__ASSUME_32BITUIDS]: Remove conditional code.
32577 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32578 <kernel-features.h>.
32579 [__NR_setresgid] (__setresgid): Do not declare.
32580 [__ASSUME_32BITUIDS]: Make code unconditional.
32581 [!__ASSUME_32BITUIDS]: Remove conditional code.
32582 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32583 <kernel-features.h>.
32584 [__NR_setresuid] (__setresuid): Do not declare.
32585 [__ASSUME_32BITUIDS]: Make code unconditional.
32586 [!__ASSUME_32BITUIDS]: Remove conditional code.
32587 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.c: Do not include
32624 <kernel-features.h>.
32625 [__ASSUME_32BITUIDS]: Make code unconditional.
32626 [!__ASSUME_32BITUIDS]: Remove conditional code.
32627 * sysdeps/unix/sysv/linux/kernel-features.h
32628 (__ASSUME_SETRESUID_SYSCALL): Remove.
32629 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32630 (__ASSUME_32BITUIDS): Likewise.
32631 (__ASSUME_LDT_WORKS): Likewise.
32632 (__ASSUME_O_DIRECTORY): Likewise.
32633 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32634 architecture but not kernel version.
32635 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32636 (__ASSUME_MMAP2_SYSCALL): Likewise.
32637 (__ASSUME_STAT64_SYSCALL): Likewise.
32638 (__ASSUME_IPC64): Likewise.
32639 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32640 <kernel-features.h>.
32641 [__ASSUME_32BITUIDS]: Make code unconditional.
32642 [!__ASSUME_32BITUIDS]: Remove conditional code.
32643 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32644 <kernel-features.h>.
32645 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32646 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32647 132096]: Remove conditional code.
32648 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32649 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
32658 <kernel-features.h>.
32659 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32661 (__setresgid): Do not declare.
32662 [__ASSUME_32BITUIDS]: Make code unconditional.
32663 [!__ASSUME_32BITUIDS]: Remove conditional code.
32664 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32665 <kernel-features.h>.
32666 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32668 (__setresuid): Do not declare.
32669 [__ASSUME_32BITUIDS]: Make code unconditional.
32670 [!__ASSUME_32BITUIDS]: Remove conditional code.
32671 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32672 <kernel-features.h>.
32673 [__ASSUME_32BITUIDS]: Make code unconditional.
32674 [!__ASSUME_32BITUIDS]: Remove conditional code.
32675 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32676 <kernel-features.h>.
32677 [__ASSUME_32BITUIDS]: Make code unconditional.
32678 [!__ASSUME_32BITUIDS]: Remove conditional code.
32680 2012-05-25 Richard Henderson <rth@twiddle.net>
32682 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32683 dl_hwcap to ifunc resolver.
32684 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32686 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32687 dl_hwcap to ifunc resolver.
32688 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32690 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32693 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32694 for |x| <= 2**-26, not 2**-57.
32695 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32698 2012-05-24 Jeff Law <law@redhat.com>
32700 * stdio-common/Makefile (tests): Add bug25.
32701 * stdio-common/bug25.c: New test.
32703 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32706 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32707 multiple of MALLOC_ALIGNMENT in size.
32708 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32712 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32714 (FILENAME_MAX): Use macro-int-constant.
32715 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32716 (_IOFBF): Use macro-int-constant.
32717 (_IOLBF): Likewise.
32718 (_IONBF): Likewise.
32719 (SEEK_CUR): Likewise.
32720 (SEEK_END): Likewise.
32721 (SEEK_SET): Likewise.
32722 (TMP_MAX): Likewise.
32723 (EOF): Use macro-int-constant. Require < 0.
32724 (NULL): Use macro-constant. Require == 0.
32725 (stdin): Require type to be FILE *.
32726 (stdout): Likewise.
32727 (stderr): Likewise.
32728 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32729 macro-int-constant.
32730 (EXIT_SUCCESS): Likewise.
32731 (NULL): Use macro-constant. Require == 0.
32732 (RAND_MAX): Use macro-int-constant.
32733 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32734 [C99-based standards] (strtof): Require function.
32735 [C99-based standards] (strtold): Likewise.
32736 [C99-based standards] (strtoll): Likewise.
32737 [C99-based standards] (strtoull): Likewise.
32738 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32739 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32740 [ISO || ISO99 || ISO11] (math.h): Likewise.
32741 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32742 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32743 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32745 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32748 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32749 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32750 * intl/dgettext.c (DCGETTEXT): Likewise.
32751 * intl/gettext.c (DCGETTEXT): Likewise.
32752 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32753 * posix/regex_internal.h (gettext): Likewise.
32754 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32755 Remove declaration.
32756 * include/argz.h (__argz_count_internal)
32757 (__argz_stringify_internal): Remove declaration.
32758 (__argz_count, __argz_stringify): Declare hidden proto.
32759 * intl/dcgettext.c: Remove use of INTDEF.
32760 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32761 * string/argz-stringify.c: Likewise.
32762 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32763 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32764 Declare hidden proto.
32765 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32766 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32767 Declare hidden proto.
32768 * include/stdio.h (__asprintf_internal): Don't declare.
32769 (__asprintf): Don't define as macro. Declare hidden proto.
32770 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32771 (__fsetlocking): Declare hidden proto.
32772 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32773 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32775 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32776 (_IO_setlinebuf): Remove use of INTUSE.
32777 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32778 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32779 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32780 Remove declaration.
32781 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32782 (_IO_do_flush): Remove use of INTUSE.
32783 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32784 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32785 (_IO_adjust_column, _IO_least_wmarker)
32786 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32787 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32788 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32789 (_IO_default_doallocate, _IO_wdefault_doallocate)
32790 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32791 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32792 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32793 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32794 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32795 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32796 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32797 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32798 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32799 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32800 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32801 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32802 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32804 (_IO_flush_all_internal, _IO_adjust_column_internal)
32805 (_IO_default_uflow_internal, _IO_default_finish_internal)
32806 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32807 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32808 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32809 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32810 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32811 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32812 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32813 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32814 (_IO_file_close_internal, _IO_file_close_it_internal)
32815 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32816 (_IO_file_init_internal, _IO_file_attach_internal)
32817 (_IO_file_fopen_internal, _IO_file_read_internal)
32818 (_IO_file_sync_internal, _IO_file_seek_internal)
32819 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32820 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32821 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32822 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32823 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32824 (_IO_list_all_internal, _IO_link_in_internal)
32825 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32826 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32827 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32828 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32829 (_IO_do_write_internal, _IO_padn_internal)
32830 (_IO_getline_info_internal, _IO_getline_internal)
32831 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32832 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32833 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32834 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32835 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32836 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32837 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32838 with libc_hidden_ver, remove use of INTUSE.
32839 * libio/genops.c: Likewise.
32840 * libio/freopen.c: Likewise.
32841 * libio/freopen64.c: Likewise.
32842 * libio/iofclose.c: Likewise.
32843 * libio/iofdopen.c: Likewise.
32844 * libio/iofflush.c: Likewise.
32845 * libio/iofflush_u.c: Likewise.
32846 * libio/iofgets.c: Likewise.
32847 * libio/iofgets_u.c: Likewise.
32848 * libio/iofopen.c: Likewise.
32849 * libio/iofopncook.c: Likewise.
32850 * libio/iofread.c: Likewise.
32851 * libio/iofread_u.c: Likewise.
32852 * libio/ioftell.c: Likewise.
32853 * libio/iofwrite.c: Likewise.
32854 * libio/iogetline.c: Likewise.
32855 * libio/iogets.c: Likewise.
32856 * libio/iogetwline.c: Likewise.
32857 * libio/iopadn.c: Likewise.
32858 * libio/iopopen.c: Likewise.
32859 * libio/ioseekoff.c: Likewise.
32860 * libio/ioseekpos.c: Likewise.
32861 * libio/iosetbuffer.c: Likewise.
32862 * libio/iosetvbuf.c: Likewise.
32863 * libio/ioungetc.c: Likewise.
32864 * libio/ioungetwc.c: Likewise.
32865 * libio/iovdprintf.c: Likewise.
32866 * libio/iovsprintf.c: Likewise.
32867 * libio/iovsscanf.c: Likewise.
32868 * libio/memstream.c: Likewise.
32869 * libio/obprintf.c: Likewise.
32870 * libio/oldfileops.c: Likewise.
32871 * libio/oldiofclose.c: Likewise.
32872 * libio/oldiofdopen.c: Likewise.
32873 * libio/oldiofopen.c: Likewise.
32874 * libio/oldiopopen.c: Likewise.
32875 * libio/oldstdfiles.c: Likewise.
32876 * libio/putc.c: Likewise.
32877 * libio/setbuf.c: Likewise.
32878 * libio/setlinebuf.c: Likewise.
32879 * libio/stdfiles.c: Likewise.
32880 * libio/strops.c: Likewise.
32881 * libio/vasprintf.c: Likewise.
32882 * libio/vscanf.c: Likewise.
32883 * libio/vsnprintf.c: Likewise.
32884 * libio/vswprintf.c: Likewise.
32885 * libio/wfiledoalloc.c: Likewise.
32886 * libio/wfileops.c: Likewise.
32887 * libio/wgenops.c: Likewise.
32888 * libio/wmemstream.c: Likewise.
32889 * libio/wstrops.c: Likewise.
32890 * libio/__fpurge.c: Likewise.
32891 * libio/__fsetlocking.c: Likewise.
32892 * assert/assert.c: Likewise.
32893 * debug/fgets_chk.c: Likewise.
32894 * debug/fgets_u_chk.c: Likewise.
32895 * debug/fread_chk.c: Likewise.
32896 * debug/fread_u_chk.c: Likewise.
32897 * debug/gets_chk.c: Likewise.
32898 * debug/obprintf_chk.c: Likewise.
32899 * debug/vasprintf_chk.c: Likewise.
32900 * debug/vdprintf_chk.c: Likewise.
32901 * debug/vsnprintf_chk.c: Likewise.
32902 * debug/vsprintf_chk.c: Likewise.
32903 * malloc/mtrace.c: Likewise.
32904 * misc/error.c: Likewise.
32905 * misc/syslog.c: Likewise.
32906 * stdio-common/asprintf.c: Likewise.
32907 * stdio-common/fxprintf.c: Likewise.
32908 * stdio-common/getw.c: Likewise.
32909 * stdio-common/isoc99_fscanf.c: Likewise.
32910 * stdio-common/isoc99_scanf.c: Likewise.
32911 * stdio-common/isoc99_vfscanf.c: Likewise.
32912 * stdio-common/isoc99_vscanf.c: Likewise.
32913 * stdio-common/isoc99_vsscanf.c: Likewise.
32914 * stdio-common/printf-prs.c: Likewise.
32915 * stdio-common/printf_fp.c: Likewise.
32916 * stdio-common/printf_fphex.c: Likewise.
32917 * stdio-common/printf_size.c: Likewise.
32918 * stdio-common/putw.c: Likewise.
32919 * stdio-common/scanf.c: Likewise.
32920 * stdio-common/sprintf.c: Likewise.
32921 * stdio-common/tmpfile.c: Likewise.
32922 * stdio-common/vfprintf.c: Likewise.
32923 * stdio-common/vfscanf.c: Likewise.
32924 * stdlib/strfmon_l.c: Likewise.
32925 * sunrpc/openchild.c: Likewise.
32926 * sunrpc/xdr_stdio.c: Likewise.
32927 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32928 * sysdeps/mach/hurd/tmpfile.c: Likewise.
32930 2012-05-24 Roland McGrath <roland@hack.frob.com>
32932 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32934 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32935 in the third column, to generate for the shared library an IFUNC
32936 that uses _dl_vdso_vsym.
32937 * Makerules (COMPILE.c, compile-stdin.c): New variables.
32938 * Makeconfig (object-suffixes-noshared): New variable.
32940 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32941 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32942 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32943 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32946 * include/sys/time.h (__gettimeofday): Remove macro.
32947 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32948 * time/gettimeofday.c (__gettimeofday): Remove #undef.
32950 (__gettimeofday): Add libc_hidden_def.
32951 (gettimeofday): Add libc_hidden_weak.
32952 * sysdeps/mach/gettimeofday.c: Likewise.
32953 * sysdeps/posix/gettimeofday.c: Likewise.
32954 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32955 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32957 (__gettimeofday_internal): Remove strong_alias.
32958 (__gettimeofday): Add libc_hidden_def.
32959 (gettimeofday): Add libc_hidden_weak.
32960 * sysdeps/unix/syscalls.list (gettimeofday):
32961 Remove __gettimeofday_internal alias.
32963 2012-05-24 Daniel Jacobowitz <drow@false.org>
32964 H.J. Lu <hongjiu.lu@intel.com>
32967 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32968 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32969 (largebin_index_32_big): New.
32970 (largebin_index): Use it for 16-byte alignment.
32971 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
32972 correction with front_misalign.
32974 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32976 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32985 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32987 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32991 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32993 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32995 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33002 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33003 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33005 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33009 * math/libm-test.inc (exp_test): Add test from bug 14036.
33010 (pow_test): Add test from bug 10846.
33012 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33014 (special_function): Do not include flags in test name.
33015 (parse_args): Likewise.
33016 * sysdeps/i386/fpu/libm-test-ulps: Update.
33017 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33018 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33019 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33022 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33024 * math/libm-test.inc ("Philosophy"): Update comment about
33026 (UNDERFLOW_EXCEPTION): New macro.
33027 (UNDERFLOW_EXCEPTION_OK): Likewise.
33028 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33029 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33030 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33031 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33032 (INVALID_EXCEPTION_OK): Update value.
33033 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33034 (OVERFLOW_EXCEPTION_OK): Likewise.
33035 (IGNORE_ZERO_INF_SIGN): Likewise.
33036 (test_exceptions): Handle underflow exceptions.
33037 (acos_test): Update for underflow exception expectations.
33038 (cexp_test): Likewise.
33039 (clog_test): Likewise.
33040 (clog10_test): Likewise.
33041 (csqrt_test): Likewise.
33042 (ctan_test): Likewise.
33043 (ctanh_test): Likewise.
33044 (exp_test): Likewise.
33045 (exp10_test): Likewise.
33046 (exp2_test): Likewise.
33047 (expm1_test): Likewise.
33048 (fma_test): Likewise.
33049 (j0_test): Likewise.
33050 (jn_test): Likewise.
33051 (nexttoward_test): Likewise.
33052 (pow_test): Likewise.
33053 (scalbn_test): Likewise.
33054 (scalbln_test): Likewise.
33055 (tan_test): Likewise.
33056 (y1_test): Likewise.
33057 * sysdeps/i386/fpu/libm-test-ulps: Update.
33058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33060 2012-05-23 David S. Miller <davem@davemloft.net>
33062 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33063 (__libc_sigaction): Remove unused local variables.
33065 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33067 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33069 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33071 mktime: avoid signed integer overflow
33072 * time/mktime.c (__mktime_internal): Do not mishandle the case
33073 where diff == INT_MIN.
33075 mktime: simplify computation of average
33076 * time/mktime.c (ranged_convert): Use new time_t_avg function
33077 instead of rolling our own (probably-slower) code.
33079 mktime: do not assume signed right shift propagates sign bit
33080 * time/mktime.c (isdst_differ): New static function.
33081 (__mktime_internal): No need to normalize tm_isdst now.
33082 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33085 mktime: merge another wrapv change from gnulib
33086 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33087 from some compilers.
33089 mktime: remove incorrect attempt at unusual arithmetics
33090 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33091 The code didn't really work on such machines anyway.
33092 (TYPE_MINIMUM): Assume two's complement.
33093 (twos_complement_arithmetic): Verify that long_int and time_t
33094 are two's complement (or unsigned, in the latter case).
33096 mktime: check signed shifts on long_int and time_t, too
33097 * time/mktime.c (SHR): Check that shifts work as desired
33098 on the types long_int and time_t too, as SHR is used on
33101 mktime: do not assume 'long' is wide enough
33102 * time/mktime.c (verify): Move decl up.
33103 (long_int): New type.
33104 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33105 to remove assumption in the code that 'long' is wide enough to
33106 store year values. This assumption is not true on x32 and on
33107 some non-glibc platforms.
33109 mktime: merge wrapv change from gnulib
33110 * time/mktime.c (WRAPV): New macro.
33111 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33112 (guess_time_tm, __mktime_internal): Do not assume that signed
33113 integer overflow wraps around; modern compilers generate code
33114 where this assumption is no longer valid.
33116 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33118 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33119 Replace "jmp L(pseudo_end)" with "ret".
33120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33123 2012-05-23 Andreas Jaeger <aj@suse.de>
33125 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33126 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33128 2012-05-23 Andreas Jaeger <aj@suse.de>
33129 Maximilian Attems <max@stro.at>
33131 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33134 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33137 code so that pseudo_end is just ret and the stack pointer is
33138 correct also for static library in error case.
33140 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33142 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33143 move to syscalls.list.
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33149 * manual/install.texi (Running make install): Do not mention Linux
33150 kernel version for which pt_chown is not needed.
33151 (Linux): Do not mention problems with nscd with 2.0 kernels.
33152 * INSTALL: Regenerated.
33154 2012-05-23 Andreas Jaeger <aj@suse.de>
33156 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33157 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33159 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33160 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33161 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33162 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33163 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33164 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33165 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33166 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33167 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33168 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33169 * sysdeps/unix/sysv/linux/bits/in.h
33170 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33172 2012-05-22 Roland McGrath <roland@hack.frob.com>
33174 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33175 (PREPARE_VERSION): Just use assert instead, it will be elided
33176 under [NDEBUG] anyway.
33178 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33180 * sysdeps/unix/sysv/linux/Makefile: Include
33181 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33182 (sysdep_routines): Remove sysctl.
33183 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33184 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33185 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33186 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33187 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33189 2012-05-22 Andreas Jaeger <aj@suse.de>
33191 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33192 that pseudo_end is just ret and the stack pointer is correct also
33193 for static library in error case.
33195 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33198 * nss/nsswitch.c (defconfig_entries): New variable.
33199 (__nss_database_lookup): Don't leak defconfig entries.
33200 (nss_parse_service_list): Don't leak on error paths.
33201 (free_database_entries): New function.
33202 (free_defconfig): New function.
33203 (free_mem): Move common code to free_database_entries.
33205 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33207 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33209 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33211 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33212 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33215 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33216 (INTERNAL_SYSCALL_TYPES): Likewise.
33217 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33218 (LOAD_REGS_TYPES_[1-6]): Likewise.
33219 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33220 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33222 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33224 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33225 copysignl for GLIBC_2_0.
33226 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33227 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33229 logbl for GLIBC_2_0.
33230 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33231 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33233 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33235 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33236 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33238 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33241 * time/mktime.c: Update copyright years.
33243 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33245 mktime: merge comment-quoting-style change from gnulib
33246 * time/mktime.c: Quote 'like this' in comments.
33247 The GNU coding standards suggest that we no longer quote `like this',
33248 as "`" and "'" are typically rendered asymmetrically nowadays.
33249 The typical gnulib style is to quote 'like this' when quoting
33250 code, and "like this" when quoting English.
33252 * time/mktime.c (compile-command): Add "-I.".
33254 mktime: merge mktime-internal.h change from gnulib
33255 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33257 mktime: merge time_r change from gnulib
33258 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33260 mktime: merge DEBUG change from gnulib
33261 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33262 case system <time.h> has a #define.
33264 mktime: merge <sys/types.h> change from gnulib
33265 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33266 since <time.t> is now guaranteed to define time_t.
33268 mktime: merge HAVE_CONFIG_H change from gnulib
33269 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33271 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33273 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33276 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33278 (struct rusage): Use anonymous union to pad each field to
33281 2012-05-21 David S. Miller <davem@davemloft.net>
33283 * Makefules (o-iterator): Remove .s cases.
33284 (compile-command.s): Delete.
33285 (COMPILE.s): Delete.
33286 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33288 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33290 * configure.in (libc_cv_predef_stack_protector): Only consider
33291 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33292 * configure: Regenerated.
33294 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33297 New macro. Use R*LP on int and pointer.
33298 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33299 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33300 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33301 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33303 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33304 [__WORDSIZE_TIME64_COMPAT32] instead of
33305 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33306 (struct utmp): Likewise.
33307 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33308 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33310 (__WORDSIZE_TIME64_COMPAT32): This.
33311 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33312 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33313 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33314 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33315 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33316 (__WORDSIZE_TIME64_COMPAT32): New macro.
33318 2012-05-21 Andreas Jaeger <aj@suse.de>
33320 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33321 only if [SHARED]. Add prototype for __wcschr_ia32.
33323 2012-05-21 Roland McGrath <roland@hack.frob.com>
33325 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33326 of %rbp unmolested in the jmp_buf while mangling the low bits.
33327 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33328 unmolested high bits of %rbp while demangling the low bits.
33329 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33331 2012-05-21 Andreas Jaeger <aj@suse.de>
33333 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33334 * sunrpc/svc_simple.c: Use it for registerrpc.
33335 * sunrpc/xcrypt.c: Use it for passwd2des.
33337 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33339 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33341 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33342 Don't define if [__SYSCALL_WORDSIZE != 32].
33343 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33346 2012-05-21 Bruno Haible <bruno@clisp.org>
33347 Andreas Jaeger <aj@suse.de>
33349 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33350 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33351 inptr and inend for must_buffer_ch.
33352 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33353 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33354 * stdio-common/Makefile (tests): Remove bug15.
33355 (bug15-ENV): Remove macro.
33356 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33359 2012-05-19 Andreas Jaeger <aj@suse.de>
33360 Roland McGrath <roland@hack.frob.com>
33362 * manual/contrib.texi: Completely rewritten. It contains now an
33363 alphabetical list of contributors and their contributions.
33365 2012-05-21 Richard Henderson <rth@twiddle.net>
33367 * misc/getauxval.c (__getauxval): Use unsigned long int.
33368 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33369 (getauxval): Use unsigned long int.
33371 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33373 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33375 2012-05-21 Roland McGrath <roland@hack.frob.com>
33377 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33378 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33379 __alignof__ (long double).
33381 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33385 2012-05-20 Richard Henderson <rth@twiddle.net>
33387 * misc/getauxval.c: New file.
33388 * misc/sys/auxv.h: New file.
33389 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33390 (routines): Add getauxval.
33391 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33392 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33393 * elf/dl-sysdep.c (_dl_auxv): Remove.
33394 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33395 * elf/dl-support.c (_dl_auxv): New variable.
33396 (_dl_aux_init): Initialize it.
33397 * manual/startup.texi (Auxiliary Vector): New node.
33398 * sysdeps/generic/bits/hwcap.h: New file.
33399 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33400 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33401 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33402 * sysdeps/sparc/sysdep.h: ... here. Include it.
33403 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33404 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33416 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33420 2012-05-19 David S. Miller <davem@davemloft.net>
33422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33424 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33427 * math/s_ccosh.c: Include <float.h>
33428 (__ccosh): Avoid internal overflow calculating sinh and cosh
33429 values before multiplying by sin and cos values.
33430 * math/s_ccoshf.c: Likewise.
33431 * math/s_ccoshl.c: Likewise.
33432 * math/s_csin.c: Likewise.
33433 * math/s_csinf.c: Likewise.
33434 * math/s_csinl.c: Likewise.
33435 * math/s_csinh.c: Likewise.
33436 * math/s_csinhf.c: Likewise.
33437 * math/s_csinhl.c: Likewise.
33438 * math/libm-test.inc (ccos_test): Add more tests.
33439 (ccosh_test): Likewise.
33440 (csin_test): Likewise.
33441 (csinh_test): Likewise.
33442 * sysdeps/i386/fpu/libm-test-ulps: Update.
33443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33445 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33447 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33448 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33450 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33452 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33454 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33455 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33456 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33457 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33458 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33459 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33460 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33461 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33462 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33463 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33464 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33465 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33466 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33467 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33468 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33469 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33470 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33471 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33472 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33473 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33474 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33475 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33476 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33477 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33478 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33479 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33480 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33481 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33482 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33483 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33484 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33486 2012-05-18 Andreas Jaeger <aj@suse.de>
33488 * csu/.gitignore: Delete.
33490 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33492 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33493 (timex): Use __syscall_slong_t.
33495 2012-05-18 Andreas Jaeger <aj@suse.de>
33496 Carlos O'Donell <carlos_odonell@mentor.com>
33498 * manual/install.texi (Configuring and compiling): Update
33499 description about files modified in the source directory.
33500 * INSTALL: Regenerated.
33502 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33504 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33505 value. Use "or" to set return value to -1.
33506 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33507 negate return value.
33509 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33511 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33512 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33513 failure if the compiler has Graphite support disabled.
33514 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33516 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33517 (CFLAGS-memmove.c): Likewise.
33518 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33521 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33523 * sysdeps/x86_64/x32/_itoa.h: New file.
33525 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33526 getdents system call only if kernel and user dirents have the
33527 same d_ino and d_off.
33529 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33530 LLONG_MAX != LONG_MAX.
33531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33532 (_fitoa_word): Likewise.
33534 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33536 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33537 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33538 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33540 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33541 include <bits/wordsize.h>. Check __x86_64__ instead of
33543 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33544 if __x86_64__ is defined. Use anonymous union on fpstate.
33546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33549 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33551 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33552 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33554 Refer to _rtld_local_ro instead of _rtld_global_ro.
33555 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33557 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33559 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33561 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33562 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33563 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33565 * sysdeps/powerpc/powerpc32/dl-machine.c
33566 (__elf_machine_runtime_setup) [PROF]: Don't reference
33569 2012-05-18 Andreas Jaeger <aj@suse.de>
33571 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33572 function only available for GCCs before 3.4 since GCC 3.4
33573 introduced a builtin.
33575 (llrintf): Likewise.
33576 (llrint): Likewise.
33583 (nearbyint): Likewise.
33584 (nearbyintf): Likewise.
33588 (floorf): Likewise.
33590 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33592 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33593 on both fields and cast pointer to __syscall_ulong_t.
33595 * bits/types.h (__fsword_t): New type.
33596 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33597 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33598 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33599 (__FSWORD_T_TYPE): Likewise.
33600 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33601 (__FSWORD_T_TYPE): Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33603 (__FSWORD_T_TYPE): Likewise.
33604 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33605 (__FSWORD_T_TYPE): Likewise.
33606 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33607 __SWORD_TYPE with __fsword_t.
33608 (statfs64): Likewise.
33610 2012-05-17 David S. Miller <davem@davemloft.net>
33612 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33614 2012-05-17 Andreas Jaeger <aj@suse.de>
33616 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33619 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33621 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33623 2012-05-17 Andreas Jaeger <aj@suse.de>
33625 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33628 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33630 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33632 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33634 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33635 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33637 2012-05-17 Andreas Jaeger <aj@suse.de>
33638 Carlos O'Donell <carlos_odonell@mentor.com>
33641 * sysdeps/x86_64/multiarch/init-arch.h
33642 (bit_YMM_Usable): Rename to...
33643 (bit_AVX_Usable): ... this.
33644 (bit_FMA4_Usable): New macro.
33645 (bit_XMM_state): New macro.
33646 (bit_YMM_state): New macro.
33647 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33648 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33649 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33650 (CPUID_OSXSAVE): New macro.
33651 (CPUID_AVX): New macro.
33652 (CPUID_FMA4): New macro.
33653 (index_YMM_Usable): Rename to...
33654 (index_AVX_Usable): ... this.
33655 (HAS_AVX): Use HAS_ARCH_FEATURE.
33656 (HAS_FMA4): Likewise.
33657 (HAS_YMM_USABLE): Remove.
33658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33659 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33661 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33662 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33663 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33664 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33665 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33667 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33669 * math/libm-test.c: Support platforms without multiple rounding modes.
33670 * math/bug-nextafter.c: Support platforms without FP exceptions.
33671 * math/bug-nexttoward.c: Likewise.
33672 * math/test-fenv.c: Likewise.
33673 * math/test-misc.c: Likewise.
33674 * stdlib/bug-getcontext.c: Likewise.
33676 2012-05-17 Andreas Jaeger <aj@suse.de>
33678 * manual/examples/search.c (critter_cmp): Change signature to
33680 * manual/string.texi (Collation Functions): Likewise.
33682 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33684 * bits/types.h: Fold copyright years.
33685 * bits/typesizes.h: Likewise.
33686 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33687 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33689 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33690 * time/time.h: Likewise.
33692 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33695 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33696 in instead of returning them. Return void.
33697 (__libc_mallinfo): Accumulate over all arenas.
33698 (__malloc_stats): Adjust for change in int_mallinfo interface.
33700 2012-05-16 Roland McGrath <roland@hack.frob.com>
33703 * configure.in (NM): Add AC_CHECK_TOOL for it.
33704 (libc_extra_cflags): New substituted variable.
33705 Check for -fstack-protector being used implicitly.
33706 * configure: Regenerated.
33707 * config.make.in (config-extra-cflags): New variable,
33708 gets @libc_extra_cflags@.
33709 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33712 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33713 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33714 * configure: Regenerated.
33715 * config.make.in (CPPUNDEFS): New substituted variable.
33716 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33717 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33718 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33720 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33722 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33723 (mq_attr): Use __syscall_slong_t.
33725 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33727 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33728 Check __x86_64__ instead of __WORDSIZE.
33729 (_STAT_VER_LINUX): Likewise.
33730 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33731 __syscall_ulong_t and __syscall_slong_t.
33732 (stat64): Likewise.
33734 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33736 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33738 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33740 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33742 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33744 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33747 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33748 include <bits/wordsize.h>. Check __x86_64__ instead of
33750 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33752 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33755 include <bits/wordsize.h>. Check __x86_64__ instead of
33757 (user_regs_struct): Use "__extension__ unsigned long long"
33758 instead of "unsigned long" if __x86_64__ is defined.
33759 (user): Likewise. Pad after pointer field if __ILP32__ is
33762 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33764 * configure.in (makeinfo): Require version 4.5 or later. Allow
33766 * configure: Regenerated.
33767 * manual/install.texi (texinfo): Increase version requirement to
33769 * INSTALL: Regenerated.
33771 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33773 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33775 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33777 * sysdeps/x86_64/x32/ffs.c: New file.
33779 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33781 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33782 defined. Use __syscall_ulong_t.
33783 (shminfo): Use __syscall_ulong_t.
33784 (shm_info): Likewise.
33786 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33789 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33791 (msgqnum_t): Use __syscall_ulong_t.
33792 (msglen_t): Likewise.
33793 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33796 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33797 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33799 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33801 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33802 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33804 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33807 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33808 include <bits/wordsize.h>. Check __x86_64__ instead of
33811 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33812 "unsigned long long int" if __x86_64__ is defined.
33813 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33816 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33817 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33819 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33821 (GET_PC): Cast to uintptr_t first.
33822 (GET_FRAME): Likewise.
33823 (GET_STACK): Likewise.
33825 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33826 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33827 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33828 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33829 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33830 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33831 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33832 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33833 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33834 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33835 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33836 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33837 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33838 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33839 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33840 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33842 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33843 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33844 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33845 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33846 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33848 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33850 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33851 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33853 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33855 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
33857 * Makerules (+depfiles): Also collect depfiles from .oS in
33859 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33860 .oS, $(libnldbl-routines)).
33862 * Makerules (native-compile-mkdep-flags): Define.
33863 * sunrpc/Makefile (extra-objs): Add $(addprefix
33864 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33865 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33866 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
33867 calling $(make-target-directory).
33869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33871 * bits/types.h (__snseconds_t): Removed.
33872 * time/time.h (struct timespec): Replace __snseconds_t with
33874 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33875 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33877 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33878 (__SNSECONDS_T_TYPE): Likewise.
33879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33880 (__SNSECONDS_T_TYPE): Likewise.
33881 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33882 (__SNSECONDS_T_TYPE): Likewise.
33884 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/mach/hurd/bits/typesizes.h
33887 (__SYSCALL_SLONG_TYPE): New macro.
33888 (__SYSCALL_ULONG_TYPE): Likewise.
33890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33892 * bits/types.h (__syscall_slong_t): New type.
33893 (__syscall_ulong_t): Likewise.
33895 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33896 (__SYSCALL_ULONG_TYPE): Likewise.
33897 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33898 (__SYSCALL_SLONG_TYPE): Likewise.
33899 (__SYSCALL_ULONG_TYPE): Likewise.
33900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33901 (__SYSCALL_SLONG_TYPE): Likewise.
33902 (__SYSCALL_ULONG_TYPE): Likewise.
33903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33904 (__SYSCALL_SLONG_TYPE): Likewise.
33905 (__SYSCALL_ULONG_TYPE): Likewise.
33907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33909 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33910 Add sigaltstack-offsets.sym.
33911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33912 <sigaltstack-offsets.h>.
33913 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
33914 longjmp_msg pointer.
33915 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
33916 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33918 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33920 2012-05-15 Joseph Myers <joseph@codesourcery.com>
33922 * elf/stackguard-macros.h: Remove file.
33923 * sysdeps/generic/stackguard-macros.h: New file.
33924 * sysdeps/i386/stackguard-macros.h: Likewise.
33925 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33926 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33927 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33928 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33929 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33930 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33931 * sysdeps/x86_64/stackguard-macros.h: Likewise.
33932 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33933 <elf/stackguard-macros.h>.
33936 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33937 __aligned__ in attribute.
33938 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33939 (gregset_t): Likewise.
33941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33943 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33944 * sysdeps/x86_64/64/Implies-after: Here. New file.
33945 * sysdeps/x86_64/x32/Implies-after: New file.
33947 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33949 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33950 and access return value for _dl_profile_fixup. Use R10_LP to
33953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33955 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33957 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33959 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33960 * sysdeps/x86_64/x32/sysdep.h: New file.
33962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33964 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33965 * sysdeps/x86_64/setjmp.S: Likewise.
33967 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33969 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33970 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33971 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33972 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33973 remove unused global constant.
33975 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
33977 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33978 include of <not-cancel.h>.
33980 2012-05-15 Roland McGrath <roland@hack.frob.com>
33982 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33984 2012-05-15 Jeff Law <law@redhat.com>
33985 Andreas Jaeger <aj@suse.de>
33988 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33990 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33991 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33992 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33993 code changing __hst_map_handle.map.
33995 2012-05-15 Roland McGrath <roland@hack.frob.com>
33997 * configure.in (sysnames): Look for Implies-before and Implies-after
33999 * configure: Regenerated.
34001 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34003 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34004 8-byte data alignment with LP_SIZE alignment.
34006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34008 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34011 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34013 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34017 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34018 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34019 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34021 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34023 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34025 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34026 (stackinfo_sub_sp): Likewise.
34028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34030 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34033 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34038 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34040 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34043 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34045 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34050 into R11_LP and load __x86_64_shared_cache_size_half into
34053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34055 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34058 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34062 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34064 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34067 powerpc32/power7/fpu/s_logb.c via #include.
34068 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34069 powerpc32/power7/fpu/s_logbf.c via #include.
34070 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34071 powerpc32/power7/fpu/s_logbl.c via #include.
34073 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34075 * README.libm: Remove file.
34077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34079 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34080 count for x32. Use R*_LP and omit operand-size suffix.
34082 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34084 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34085 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34086 * sysdeps/x86_64/x32/shlib-versions: New file.
34088 2012-05-14 Roland McGrath <roland@hack.frob.com>
34090 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34091 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34092 Use _dl_fatal_printf instead.
34094 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34096 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34097 set if not set by the user. Do not allow for being unset.
34098 * sysdeps/unix/sysv/linux/configure: Regenerated.
34100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34102 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34103 the `q' suffix from lea and replace .quad with ASM_ADDR.
34105 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34107 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34108 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34110 (PTR_DEMANGLE): Likewise.
34112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34114 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34116 (ASM_ADDR): Likewise.
34117 (RAX_LP): Likewise.
34118 (RBP_LP): Likewise.
34119 (RBX_LP): Likewise.
34120 (RCX_LP): Likewise.
34121 (RDI_LP): Likewise.
34122 (RSI_LP): Likewise.
34123 (RSP_LP): Likewise.
34126 (R10_LP): Likewise.
34127 (R10_LP): Likewise.
34128 (R11_LP): Likewise.
34129 (R12_LP): Likewise.
34130 (R13_LP): Likewise.
34131 (R14_LP): Likewise.
34132 (R15_LP): Likewise.
34134 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34136 * sysdeps/x86_64/x32/dl-machine.h: New file.
34138 2012-05-14 Andreas Jaeger <aj@suse.de>
34140 * manual/Makefile (subdir): Remove export of subdir.
34141 (all): Remove target.
34142 (.PHONY): Remove all from list.
34143 (mkinstalldirs): Remove.
34144 (.PHONY): Remove installdirs from list.
34145 ($(inst_infodir)/libc.info): Use make-target-directory.
34146 (installdirs): Remove.
34147 (subdir_%): Remove.
34148 (glibc-targets): Remove.
34151 ($(objpfx)stubs ../po/manual.pot): Remove.
34152 ($(objpfx)stamp%): Remove.
34153 (make-target-directory): Remove.
34154 (subdir_install): Remove.
34155 (routines): Remove.
34162 * manual/.gitignore: Remove, it's not needed anymore.
34163 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34165 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34167 (texis): Renamed to $(objpfx)texis.
34168 (texis-path): New, contains path to generated files.
34169 (chapters.%): Use texis-path for complete path, add extra argument
34171 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34172 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34173 (summary,texi, stamp-summary): Use complete path of
34174 files. Generate files in build dir.
34175 (dir-add.texi): Build in build dir.
34176 (libm-err.texi,stamp-libm-err): Likewise.
34177 (version.texi, stamp-version): Likewise.
34178 (.%c.texi): Likewise.
34179 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34180 (mostlyclean): Remove target.
34181 (realclean): Remove target.
34182 (generated): Add new variable with contents from mostlyclean and
34183 realclean, remove entries duplicated in common-mostlyclean, add
34184 stamp-libm-err and stamp-version.
34185 (generated-dirs): Add libc directory.
34186 ($(inst_infodir)/libc.info): Install files from build dir.
34188 * manual/install.texi (Configuring and compiling): Adjust since
34189 the info files are not part of the tar ball anymore.
34191 2012-05-14 Andreas Jaeger <aj@suse.de>
34193 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34196 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34199 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34200 to 2.2.0 where earlier.
34201 * sysdeps/unix/sysv/linux/configure: Regenerated.
34202 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34203 Remove conditional code.
34204 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34205 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34206 Remove conditional code.
34207 [!__NR_lchown]: Likewise.
34208 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34209 [__NR_lchown]: Likewise.
34210 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34211 comment referencing __ASSUME_LCHOWN_SYSCALL.
34212 * sysdeps/unix/sysv/linux/i386/sigaction.c
34213 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34214 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34215 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34216 Remove conditional code.
34217 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34218 (__protocol_available): Remove #if 0 code.
34219 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34221 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34222 * sysdeps/unix/sysv/linux/kernel-features.h
34223 (__ASSUME_GETCWD_SYSCALL): Don't define.
34224 (__ASSUME_REALTIME_SIGNALS): Likewise.
34225 (__ASSUME_PREAD_SYSCALL): Likewise.
34226 (__ASSUME_PWRITE_SYSCALL): Likewise.
34227 (__ASSUME_POLL_SYSCALL): Likewise.
34228 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34229 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34231 (__ASSUME_SIOCGIFNAME): Don't define.
34232 (__ASSUME_MSG_NOSIGNAL): Likewise.
34233 (__ASSUME_SENDFILE): Define unconditionally.
34234 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34235 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34237 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34238 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34239 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34240 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34241 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34242 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34243 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34245 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34246 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34248 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34249 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34251 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34252 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34254 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34255 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34257 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34258 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34260 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34261 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34263 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34264 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34266 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34267 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34268 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34269 Remove conditional code.
34270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34271 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34272 Remove conditional code.
34273 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34274 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34275 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34276 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34277 Remove conditional code.
34278 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34279 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34280 Remove conditional code.
34281 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34282 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34283 Remove conditional code.
34284 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34285 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34286 Remove conditional code.
34287 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34288 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34289 Remove conditional code.
34290 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34291 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34292 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34293 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34294 * sysdeps/unix/sysv/linux/sigaction.c
34295 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34296 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34297 * sysdeps/unix/sysv/linux/sigpending.c
34298 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34299 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34300 * sysdeps/unix/sysv/linux/sigprocmask.c
34301 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34302 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34303 * sysdeps/unix/sysv/linux/sigsuspend.c
34304 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34305 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34306 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34307 (__libc_missing_rt_sigs): Remove.
34308 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34309 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34310 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34311 Remove conditional code.
34312 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34313 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34316 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34317 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34318 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34320 2012-05-14 Andreas Jaeger <aj@suse.de>
34322 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34323 it's not used in glibc.
34324 (__coshm1): Likewise.
34325 (__acosh1p): Likewise.
34328 * manual/string.texi (Copying and Concatenation): Add missing
34329 variable in concat example.
34330 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34335 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34336 __builtin_clzl with __builtin_clzll.
34338 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34341 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34344 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34346 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34347 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34348 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34349 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34351 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34353 * NEWS: Update ia64 info.
34355 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34357 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34360 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34362 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34363 * sysdeps/unix/syscalls.list (dup3): Likewise.
34364 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34365 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34367 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34369 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34370 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34372 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34374 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34376 (TLS_IE): Use mov/add instead of movq/addq to load thread
34378 (TLS_GD_PREFIX): New.
34381 2012-05-11 David S. Miller <davem@davemloft.net>
34383 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34384 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34385 (_FPU_SETCW): Likewise.
34387 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34389 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34390 is 32-byte aligned.
34392 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34395 * iconvdata/gb18030.c: Update tables.
34396 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34397 characters specially.
34398 (BODY for TO_LOOP): Add encoding of missing ranges.
34400 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34403 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34404 * sysdeps/mach/hurd/dup3.c: Likewise.
34405 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34406 * sysdeps/powerpc/memmove.c:: Likewise.
34408 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34411 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34413 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34415 * elf/elf.h (R_X86_64_RELATIVE64): New.
34416 (R_X86_64_NUM): Updated.
34417 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34418 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34419 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34420 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34421 tst-quad1pie tst-quad2pie
34422 (modules-names): Add tst-quadmod1 tst-quadmod2.
34423 ($(objpfx)tst-quad1): New dependency.
34424 ($(objpfx)tst-quad2): Likewise.
34425 ($(objpfx)tst-quad1pie): Likewise.
34426 ($(objpfx)tst-quad2pie): Likewise.
34427 * sysdeps/x86_64/tst-quad1.c: New file.
34428 * sysdeps/x86_64/tst-quad1pie.c: New file.
34429 * sysdeps/x86_64/tst-quad2.c: Likewise.
34430 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34431 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34432 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34433 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34434 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34436 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34438 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34439 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34440 * streams/stropts.h (t_scalar_t): Define type.
34442 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34443 (_PATH_PRESERVE): Set to "/var/lib".
34444 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34446 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34449 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34450 if __dir_mkfile succeeded.
34452 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34453 checking for _hurd_dtablesize. Unlock it right after having
34454 finished _hurd_dtable allocation.
34456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34458 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34459 * sysdeps/mach/hurd/configure: Regenerated.
34460 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34461 special-casing to...
34462 * sysdeps/gnu/configure.in: ... this new file.
34463 * sysdeps/unix/sysv/linux/configure: Regenerated.
34464 * sysdeps/gnu/configure: New generated file.
34466 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34467 for Linux: use nsec instead of usec, as well as:
34468 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34469 members of type struct timespec.
34470 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34472 (struct stat64): Likewise.
34473 (_STATBUF_ST_NSEC): New macro.
34474 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34476 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34477 __strtoul_internal rather than strtoul.
34479 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34481 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34486 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34487 which preserves existing values.
34488 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34490 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34492 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34493 TIMEOUT values. Return EINVAL for NFDS values either negative or
34494 greater than FD_SETSIZE.
34496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34498 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34499 allocated, call __vm_protect to finish enabling the existing space, and
34500 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34501 allocate the remainder.
34503 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34505 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34506 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34510 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34511 sysdeps/mach/hurd/readlink.c.
34513 * posix/tst-sysconf.c (posix_options): Only use
34514 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34515 _POSIX_SYNCHRONIZED_IO when they are defined
34516 * sysdeps/mach/hurd/bits/posix_opt.h:
34517 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34518 (_XOPEN_REALTIME): Undefine macro.
34519 (_XOPEN_REALTIME_THREADS): Undefine macro.
34520 (_XOPEN_SHM): Undefine macro.
34521 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34523 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34525 (_POSIX_ASYNC_IO): Undefine macro.
34526 (_POSIX_PRIORITIZED_IO): Undefine macro.
34527 (_POSIX_SPIN_LOCKS): Define macro to -1.
34529 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34530 SA_NODEFER, SA_RESETHAND.
34531 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34532 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34535 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34537 * elf/Makefile (pldd-modules): Define unconditionally.
34539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34541 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34543 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34545 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34546 Return ENOENT when name is empty.
34547 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34551 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34553 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34557 Fix mlock in all cases except non-readable pages.
34558 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34559 instead of VM_PROT_ALL as parameter to __vm_wire function.
34561 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34562 (__mkdir): When path is `/', just fail with EEXIST.
34563 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34567 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34568 <sys/uio.h> (for writev).
34569 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34570 and <sys/param.h> (for MIN).
34572 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34574 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34575 REQUESTED_TIME. Properly set the remaining time and return EINTR
34578 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34580 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34581 Depend on against $(link-rpcuserlibs).
34583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34585 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34586 (__libc_stack_end): Do not use attribute_relro.
34587 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34588 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34589 to libthread-provided value.
34590 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34596 * bits/libc-lock.h (__libc_once_get): New macro.
34597 * sysdeps/mach/bits/libc-lock.h: Likewise.
34598 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34600 instead of using implementation details.
34602 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34603 * libio/freopen.c: Likewise.
34604 * libio/freopen64.c: Likewise.
34605 * misc/syslog.c: Likewise.
34606 * nscd/connections.c: Likewise.
34607 * nscd/netgroupcache.c: Likewise.
34608 * sysdeps/posix/getcwd.c: Likewise.
34610 2012-05-10 Roland McGrath <roland@hack.frob.com>
34612 * math/w_ilogbf.c: Add #include <limits.h>.
34614 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34616 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34617 path instead of returning without unlocking.
34619 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34620 immediate-write ioctls.
34621 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34625 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34626 __builtin_frame_address instead of making assumptions about the
34627 location of the return address relative to DATA. Force early load of
34628 the return address.
34629 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34630 __builtin_frame_address.
34633 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34634 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34635 implement dup3 and do some further code clean-ups.
34636 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34637 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34639 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34641 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34643 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34644 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34645 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34646 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34647 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34650 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34651 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34652 when handler == SIG_ERR, not when handler != SIG_ERR.
34654 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34656 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34657 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34660 accept4 for GNU Hurd.
34661 * include/sys/socket.h (__libc_accept4): New prototype.
34662 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34663 to implement __libc_accept4.
34664 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34666 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34668 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34669 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34670 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34671 signal-defines.sym.
34673 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34675 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34677 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34679 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34680 assertion on O_CLOEXEC flag.
34681 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34682 * hurd/intern-fd.c: Likewise.
34683 * hurd/port2fd.c: Likewise.
34685 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34688 * bits/in.h (IPV6_PKTINFO): Define new macro.
34689 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34691 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34696 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34697 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34698 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34699 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34701 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34702 * math/libm-test.inc (logb_test) : Additional logb tests.
34704 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34705 Andreas Jaeger <aj@suse.de>
34707 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34708 * configure: Regenerated.
34709 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34710 * config.make.in (link-obsolete-rpc): New substituted variable.
34711 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34712 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34713 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34714 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34715 so that libc.a contains the symbols.
34716 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34717 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34718 * sunrpc/auth_none.c: Likewise.
34719 * sunrpc/auth_unix.c: Likewise.
34720 * sunrpc/authdes_prot.c: Likewise.
34721 * sunrpc/authuxprot.c: Likewise.
34722 * sunrpc/clnt_gen.c: Likewise.
34723 * sunrpc/clnt_perr.c: Likewise.
34724 * sunrpc/clnt_raw.c: Likewise.
34725 * sunrpc/clnt_simp.c: Likewise.
34726 * sunrpc/clnt_tcp.c: Likewise.
34727 * sunrpc/clnt_udp.c: Likewise.
34728 * sunrpc/clnt_unix.c: Likewise.
34729 * sunrpc/des_crypt.c: Likewise.
34730 * sunrpc/des_soft.c: Likewise.
34731 * sunrpc/get_myaddr.c: Likewise.
34732 * sunrpc/key_call.c: Likewise.
34733 * sunrpc/key_prot.c: Likewise.
34734 * sunrpc/netname.c: Likewise.
34735 * sunrpc/pm_getmaps.c: Likewise.
34736 * sunrpc/pm_getport.c: Likewise.
34737 * sunrpc/pmap_clnt.c: Likewise.
34738 * sunrpc/pmap_prot.c: Likewise.
34739 * sunrpc/pmap_prot2.c: Likewise.
34740 * sunrpc/pmap_rmt.c: Likewise.
34741 * sunrpc/publickey.c: Likewise.
34742 * sunrpc/rpc_cmsg.c: Likewise.
34743 * sunrpc/rpc_common.c: Likewise.
34744 * sunrpc/rpc_dtable.c: Likewise.
34745 * sunrpc/rpc_prot.c: Likewise.
34746 * sunrpc/rpc_thread.c: Likewise.
34747 * sunrpc/rtime.c: Likewise.
34748 * sunrpc/svc.c: Likewise.
34749 * sunrpc/svc_auth.c: Likewise.
34750 * sunrpc/svc_raw.c: Likewise.
34751 * sunrpc/svc_run.c: Likewise.
34752 * sunrpc/svc_tcp.c: Likewise.
34753 * sunrpc/svc_udp.c: Likewise.
34754 * sunrpc/svc_unix.c: Likewise.
34755 * sunrpc/svcauth_des.c: Likewise.
34756 * sunrpc/xcrypt.c: Likewise.
34757 * sunrpc/xdr.c: Likewise.
34758 * sunrpc/xdr_array.c: Likewise.
34759 * sunrpc/xdr_float.c: Likewise.
34760 * sunrpc/xdr_intXX_t.c: Likewise.
34761 * sunrpc/xdr_mem.c: Likewise.
34762 * sunrpc/xdr_rec.c: Likewise.
34763 * sunrpc/xdr_ref.c: Likewise.
34764 * sunrpc/xdr_sizeof.c: Likewise.
34765 * sunrpc/xdr_stdio.c: Likewise.
34767 2012-05-10 Roland McGrath <roland@hack.frob.com>
34769 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34770 change. Update copyright years.
34772 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34774 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34776 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34777 Joseph Myers <joseph@codesourcery.com>
34778 Paul Pluzhnikov <ppluzhnikov@google.com>
34781 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34783 [cross-compiling] (extra-libs): Likewise.
34784 [cross-compiling] (extra-libs-others): Likewise.
34785 [cross-compiling] (librpcsvc-routines): Likewise.
34786 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34787 [cross-compiling] (omit-deps): Likewise.
34788 (sunrpc-CPPFLAGS): New variable.
34789 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34790 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34791 (cross-rpcgen-objs): New variable.
34792 (extra-objs): Append $(cross-rpcgen-objs).
34793 ($(cross-rpcgen-objs)): New rule.
34794 ($(objpfx)cross-rpcgen): Likewise.
34795 (rpcgen-cmd): Define to use $(built-program-file). Expand
34797 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34798 ($(objpfx)x%.stmp): Likewise.
34799 * sunrpc/proto.h [IS_IN_build] (_): Define.
34800 [IS_IN_build] (_libc_intl_domainname): Likewise.
34802 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34805 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34806 and R_X86_64_TPOFF64.
34808 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34810 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34811 sysdeps/unix/sysv/syscalls.list.
34814 * sysdeps/unix/sysv/syscalls.list: Remove file.
34816 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34819 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34820 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34821 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34822 (__LC_IDENTIFICATION): Make these macros useful in #if
34823 expressions, as required by C99.
34825 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34827 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34828 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34831 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34833 * stdlib/longlong.h: Updated from GCC.
34835 2012-05-09 Andreas Jaeger <aj@suse.de>
34837 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34838 default is first entry.
34839 (run_mode): Set type.
34840 (main): Remove informal message about syslog.
34841 (options): Fix typo.
34844 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34847 (llrintf): Likewise.
34848 (llrint): Likewise.
34851 (nearbyint): Likewise.
34852 (nearbyintf): Likewise.
34854 2012-05-09 Andreas Jaeger <aj@suse.de>
34855 Pedro Alves <palves@redhat.com>
34857 * nscd/nscd.c (run_mode): Use enum.
34858 (main): Cleanup coding style issue.
34860 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
34861 Andreas Jaeger <aj@suse.de>
34863 * nscd/nscd.c (go_background): Replaced with...
34864 (run_mode): ... this.
34865 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34866 (options): Add -F --foreground.
34867 (main): Implement it.
34868 (parse_opt): Parse it.
34870 2012-05-09 Andreas Jaeger <aj@suse.de>
34873 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34874 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34875 -Wconversion warning.
34876 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34879 2012-05-09 Joseph Myers <joseph@codesourcery.com>
34881 * conform/data/locale.h-data (NULL): Use macro-constant. Require
34883 (LC_ALL): Use macro-int-constant.
34884 (LC_COLLATE): Likewise.
34885 (LC_CTYPE): Likewise.
34886 (LC_MESSAGES): Likewise.
34887 (LC_MONETARY): Likewise.
34888 (LC_NUMERIC): Likewise.
34889 (LC_TIME): Likewise.
34890 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34891 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34893 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34895 [C99-based standards] (float_t): Expect type.
34896 [C99-based standards] (double_t): Expect type.
34897 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
34899 [C99-based standards] (HUGE_VALL): Likewise.
34900 [C99-based standards] (INFINITY): Likewise.
34901 [C99-based standards] (NAN): Likewise.
34902 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34903 [C99-based standards] (FP_NAN): Likewise.
34904 [C99-based standards] (FP_NORMAL): Likewise.
34905 [C99-based standards] (FP_SUBNORMAL): Likewise.
34906 [C99-based standards] (FP_ZERO): Likewise.
34907 [C99-based standards] (FP_FAST_FMA): Use
34908 optional-macro-int-constant. Specify type. Require == 1.
34909 [C99-based standards] (FP_FAST_FMAF): Likewise.
34910 [C99-based standards] (FP_FAST_FMAL): Likewise.
34911 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34912 [C99-based standards] (FP_ILOGBNAN): Likewise.
34913 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34915 [C99-based standards] (MATH_ERREXCEPT): Likewise.
34916 [C99-based standards] (math_errhandling): Specify type.
34917 [ISO99 || ISO11] (signgam): Do not allow.
34918 [non-C99-based standards] (copysignf): Do not allow.
34919 [non-C99-based standards] (exp2f): Likewise.
34920 [non-C99-based standards] (log2f): Likewise.
34921 [non-C99-based standards] (modff): Allow.
34922 [non-C99-based standards] (erff): Do not allow.
34923 [non-C99-based standards] (erfcf): Likewise.
34924 [non-C99-based standards] (gammaf): Likewise.
34925 [non-C99-based standards] (hypotf): Likewise.
34926 [non-C99-based standards] (j0f): Likewise.
34927 [non-C99-based standards] (j1f): Likewise.
34928 [non-C99-based standards] (jnf): Likewise.
34929 [non-C99-based standards] (lgammaf): Likewise.
34930 [non-C99-based standards] (tgammaf): Likewise.
34931 [non-C99-based standards] (y0f): Likewise.
34932 [non-C99-based standards] (y1f): Likewise.
34933 [non-C99-based standards] (ynf): Likewise.
34934 [non-C99-based standards] (isnanf): Likewise.
34935 [non-C99-based standards] (acoshf): Likewise.
34936 [non-C99-based standards] (asinhf): Likewise.
34937 [non-C99-based standards] (atanhf): Likewise.
34938 [non-C99-based standards] (cbrtf): Likewise.
34939 [non-C99-based standards] (expm1f): Likewise.
34940 [non-C99-based standards] (ilogbf): Likewise.
34941 [non-C99-based standards] (log1pf): Likewise.
34942 [non-C99-based standards] (logbf): Likewise.
34943 [non-C99-based standards] (nextafterf): Likewise.
34944 [non-C99-based standards] (remainderf): Likewise.
34945 [non-C99-based standards] (rintf): Likewise.
34946 [non-C99-based standards] (scalbf): Likewise.
34947 [non-C99-based standards] (copysignl): Likewise.
34948 [non-C99-based standards] (exp2l): Likewise.
34949 [non-C99-based standards] (log2l): Likewise.
34950 [non-C99-based standards] (modfl): Allow.
34951 [non-C99-based standards] (erfl): Do not allow.
34952 [non-C99-based standards] (erfcl): Likewise.
34953 [non-C99-based standards] (gammal): Likewise.
34954 [non-C99-based standards] (hypotl): Likewise.
34955 [non-C99-based standards] (j0l): Likewise.
34956 [non-C99-based standards] (j1l): Likewise.
34957 [non-C99-based standards] (jnl): Likewise.
34958 [non-C99-based standards] (lgammal): Likewise.
34959 [non-C99-based standards] (tgammal): Likewise.
34960 [non-C99-based standards] (y0l): Likewise.
34961 [non-C99-based standards] (y1l): Likewise.
34962 [non-C99-based standards] (ynl): Likewise.
34963 [non-C99-based standards] (isnanl): Likewise.
34964 [non-C99-based standards] (acoshl): Likewise.
34965 [non-C99-based standards] (asinhl): Likewise.
34966 [non-C99-based standards] (atanhl): Likewise.
34967 [non-C99-based standards] (cbrtl): Likewise.
34968 [non-C99-based standards] (expm1l): Likewise.
34969 [non-C99-based standards] (ilogbl): Likewise.
34970 [non-C99-based standards] (log1pl): Likewise.
34971 [non-C99-based standards] (logbl): Likewise.
34972 [non-C99-based standards] (nextafterl): Likewise.
34973 [non-C99-based standards] (remainderl): Likewise.
34974 [non-C99-based standards] (rintl): Likewise.
34975 [non-C99-based standards] (scalbl): Likewise.
34976 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34977 [non-C99-based standards] (FP_*): Do not allow.
34978 [C99-based standards] (FP_*): Change to
34979 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34980 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34982 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34983 (SIG_ERR): Likewise.
34984 [X/Open-based standards] (SIG_HOLD): Likewise.
34985 (SIG_IGN): Likewise.
34986 (SIGABRT): Use macro-int-constant. Specify type. Require
34988 (SIGFPE): Likewise.
34989 (SIGILL): Likewise.
34990 (SIGINT): Likewise.
34991 (SIGSEGV): Likewise.
34992 (SIGTER): Likewise.
34993 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34994 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34995 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34996 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34997 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34998 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34999 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35000 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35001 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35002 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35003 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35004 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35005 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35006 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35007 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35008 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35009 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35010 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35011 [X/Open-based standards] (SIGTRAP): Likewise.
35012 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35013 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35014 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35015 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35016 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35019 2012-05-08 Ian Wienand <ianw@vmware.com>
35022 * time/tzset.c (__tzset_parse_tz): Update default rules for
35023 daylight time changes in the Energy Policy Act of 2005.
35025 2012-05-09 Andreas Jaeger <aj@suse.de>
35028 * elf/ldconfig.c (parse_conf): Change string to make clear that
35029 ldconfig only issued a warning if ld.so.conf does not exist.
35031 2012-05-08 David S. Miller <davem@davemloft.net>
35033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35034 movxtod instead of popping the value on the stack.
35036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35038 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35040 * config.h.in: Add HAVE_ARM_PCS_VFP.
35042 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35045 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35046 checking but the checks are disabled for any reason.
35048 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35050 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35051 and ELF64_R_TYPE with ELFW(R_TYPE).
35053 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35055 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35056 (ulimit): Likewise.
35058 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35059 (settimeofday): Likewise.
35061 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35063 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35064 a struct th_u2 inside the union, and move tu_block/tu_code into
35065 a new th_u3 union of tu_block/tu_code inside of that. Move
35066 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35067 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35068 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35069 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35070 (th_stuff): Change to th_u1.tu_stuff.
35072 (th_msg): Change to th_u1.th_u2.tu_data.
35074 2012-05-07 David S. Miller <davem@davemloft.net>
35076 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35079 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35080 (SETUP_PIC_REG): Use it.
35081 (SETUP_PIC_REG_LEAF): Use it.
35083 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35087 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35089 (EXPL_FINITE): Likewise.
35090 (FLDLOG): Likewise.
35091 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35092 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35094 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35096 (EXPL_FINITE): Likewise.
35097 (FLDLOG): Likewise.
35098 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35099 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35101 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35102 test of -max_value argument for long double.
35103 * sysdeps/i386/fpu/libm-test-ulps: Update.
35104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35106 2012-05-06 David S. Miller <davem@davemloft.net>
35108 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35109 quad soft-float symbols whose references which are compiler
35111 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35113 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35119 (EXPL_FINITE): Likewise.
35120 (FLDLOG): Likewise.
35123 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35124 Adjust comments for base varying.
35125 (__expl_finite): Change alias to EXPL_FINITE.
35126 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35128 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35129 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35130 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35131 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35132 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35134 (EXPL_FINITE): Likewise.
35135 (FLDLOG): Likewise.
35138 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35139 Adjust comments for base varying.
35140 (__expl_finite): Change alias to EXPL_FINITE.
35141 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35146 * math/libm-test.inc (check_float_internal): Correct ulp
35147 calculation for subnormal expected results.
35149 2012-05-06 Andreas Jaeger <aj@suse.de>
35151 * Makeconfig (+math-flags): New, set to -frounding-math.
35152 (+cflags): Add +math-flags so that all of glibc gets compiled with
35155 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35157 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35159 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35165 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35166 (__ieee754_expl): Allow for and saturate large arguments.
35167 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35168 (u_threshold): Likewise.
35169 (__exp): Call __ieee754_exp before checking for overflow and
35171 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35172 (u_threshold): Likewise.
35173 (__expf): Call __ieee754_expf before checking for overflow and
35175 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35176 (u_threshold): Likewise.
35177 (__expl): Call __ieee754_expl before checking for overflow and
35179 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35180 (__ieee754_expl): Allow for and saturate large arguments.
35181 * math/libm-test.inc (exp_test): Add another test. Do not allow
35182 missing overflow exception on overflow.
35183 (expm1_test): Do not allow missing overflow exception on overflow.
35185 * sysdeps/i386/fpu/e_expl.c: Move to ...
35186 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35187 rather than using inline asm.
35188 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35189 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35190 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35192 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35195 (signal): Likewise.
35199 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35201 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35202 sysdeps/unix/common/syscalls.list.
35203 (fchmod): Likewise.
35204 (fchown): Likewise.
35205 (ftruncate): Likewise.
35206 (getrusage): Likewise.
35207 (gettimeofday): Likewise.
35208 (setpgid): Likewise.
35209 (setregid): Likewise.
35210 (setreuid): Likewise.
35211 (sigaction): Likewise.
35212 (truncate): Likewise.
35213 (vhangup): Likewise.
35214 * sysdeps/unix/common/syscalls.list: Remove file.
35215 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35216 * sysdeps/unix/sysv/linux/Implies: Likewise.
35218 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35220 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35222 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35226 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35229 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35232 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35235 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35238 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35241 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35244 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35248 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35252 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35255 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35259 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35263 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35265 * sysdeps/unix/common/bits/dirent.h: Remove file.
35266 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35268 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35269 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35270 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35271 * sysdeps/unix/bsd/isatty.c: Likewise.
35272 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35273 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35274 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35276 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35280 long double comparison inaccuracies.
35281 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35284 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35286 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35287 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35289 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35292 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35293 nonzero digits before rounding a hex value.
35294 * stdlib/tst-strtod.c (tests): Add another test.
35296 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35298 * sysdeps/s390/fpu/libm-test-ulps: Update.
35300 2012-05-03 Andreas Jaeger <aj@suse.de>
35302 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35303 does not get optimized out.
35304 (malloc_opt_barrier): New.
35306 2012-05-03 Andreas Jaeger <aj@suse.de>
35307 Roland McGrath <roland@hack.frob.com>
35309 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35310 intermediate file deletion.
35311 (generated): Add .symlist files.
35313 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35316 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35317 Redirect under this condition.
35318 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35319 [__USE_GNU] (__dprintf_chk): Not under this condition.
35320 [__USE_GNU] (__vdprintf_chk): Likewise.
35321 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35322 under this condition.
35323 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35324 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35325 [__USE_XOPEN2K8] (vdprintf): Likewise.
35326 [__USE_GNU] (__dprintf_chk): Not under this condition.
35327 [__USE_GNU] (__vdprintf_chk): Likewise.
35328 [__USE_GNU] (dprintf): Likewise.
35329 [__USE_GNU] (vdprintf): Likewise.
35331 2012-05-03 Roland McGrath <roland@hack.frob.com>
35333 * elf/Makefile (common-generated): Set this instead of generated for
35334 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35335 $(all-built-dso)-derived lists.
35337 2012-05-03 Andreas Jaeger <aj@suse.de>
35339 * sysdeps/i386/fpu/libm-test-ulps: Update.
35342 * FAQ.in: Likewise.
35343 * scripts/gen-FAQ.pl: Likewise.
35344 * manual/install.texi (Installation): Point to online location of
35346 * Makefile (files-for-dist): Remove FAQ.
35349 2012-05-02 Allan McRae <allan@archlinux.org>
35351 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35352 (LDFLAGS-reldepmod5.so): Likewise.
35353 (LDFLAGS-reldep6mod1.so): Likewise.
35354 (LDFLAGS-reldep6mod4.so): Likewise.
35355 (LDFLAGS-reldep8mod3.so): Likewise.
35356 (LDFLAGS-unload4mod1.so): Likewise.
35357 (LDFLAGS-unload4mod2.so): Likewise.
35358 (LDFLAGS-tst-initorder): Likewise.
35359 (LDFLAGS-tst-initordera2.so): Likewise.
35360 (LDFLAGS-tst-initordera3.so): Likewise.
35361 (LDFLAGS-tst-initordera4.so): Likewise.
35362 (LDFLAGS-tst-initorderb2.so): Likewise.
35363 (LDFLAGS-noload): Likewise.
35364 (LDFLAGS-next): Likewise.
35365 (LDFLAGS-order2mod1.so): Likewise.
35366 (LDFLAGS-order2mod2.so): Likewise.
35367 (LDFLAGS-tst-initorder2): Likewise.
35368 (LDFLAGS-tst-initorder2a.so): Likewise.
35369 (LDFLAGS-tst-initorder2b.so): Likewise.
35370 (LDFLAGS-tst-initorder2c.so): Likewise.
35371 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35373 2012-05-02 David S. Miller <davem@davemloft.net>
35375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35377 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35380 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35382 2012-05-02 Andreas Jaeger <aj@suse.de>
35384 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35385 since we manipulate rounding mode.
35386 (CPPFLAGS-test-idouble.c): Likewise.
35387 (CPPFLAGS-test-ifloat.c): Likewise.
35388 (CFLAGS-test-ldouble.c): Likewise.
35389 (CFLAGS-test-double.c): Likewise.
35390 (CFLAGS-test-float.c): Likewise.
35391 (CFLAGS-test-misc.c): Likewise.
35392 (CFLAGS-test-test-fenv.c): Likewise.
35394 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35398 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35399 comparisons to determine direction to adjust input.
35401 2012-05-01 Roland McGrath <roland@hack.frob.com>
35403 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35404 output to the target.
35406 * scripts/localplt.awk: New file.
35407 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35408 (check-localplt-CFLAGS): Variable removed.
35409 ($(all-built-dso:=.jmprel)): New static pattern rule.
35410 (generated): Add those targets.
35411 (localplt-built-dso): New variable.
35412 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35414 * elf/check-localplt.c: File removed.
35416 * scripts/check-execstack.awk: New file.
35417 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35418 (check-execstack-CFLAGS): Variable removed.
35419 ($(objpfx)check-execstack.h): Target removed.
35420 ($(objpfx)execstack-default): New target.
35421 (generated): Add that instead of check-execstack.h.
35422 ($(all-built-dso:=.phdr)): New static pattern rule.
35423 (generated): Add those targets.
35424 * elf/check-execstack.c: File removed.
35426 * scripts/check-textrel.awk: New file.
35427 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35428 (check-textrel-CFLAGS): Variable removed.
35429 (all-built-dso): Use := to define.o
35430 ($(all-built-dso:=.dyn)): New static pattern rule.
35431 (generated): Add those targets.
35432 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35433 * config.make.in (READELF): New substituted variable.
35434 * elf/check-textrel.c: File removed.
35436 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35438 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35440 * conform/data/ctype.h-data [C99-based standards] (isblank):
35442 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35443 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35444 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35445 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35446 Specify type. Require positive value.
35447 (EILSEQ): Likewise.
35448 (ERANGE): Likewise.
35449 [ISO || POSIX] (EILSEQ): Do not expect.
35450 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35451 Specify type. Require positive value.
35452 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35453 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35454 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35455 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35456 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35457 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35458 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35459 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35460 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35461 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35462 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35463 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35464 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35465 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35466 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35467 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35468 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35469 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35470 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35471 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35472 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35473 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35474 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35475 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35476 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35477 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35478 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35479 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35480 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35481 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35482 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35483 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35484 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35485 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35486 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35487 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35488 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35489 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35490 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35491 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35492 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35493 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35494 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35495 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35496 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35497 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35498 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35499 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35500 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35501 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35502 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35503 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35504 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35505 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35506 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35507 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35508 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35509 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35510 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35511 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35512 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35513 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35514 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35515 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35516 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35517 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35518 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35519 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35520 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35521 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35522 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35523 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35524 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35525 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35526 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35527 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35528 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35530 (FLT_ROUNDS): Expect as macro, not constant.
35531 (FLT_MANT_DIG): Use macro-int-constant.
35532 (DBL_MANT_DIG): Likewise.
35533 (LDBL_MANT_DIG): Likewise.
35534 (FLT_DIG): Likewise.
35535 (DBL_DIG): Likewise.
35536 (LDBL_DIG): Likewise.
35537 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35538 (DBL_MIN_EXP): Likewise.
35539 (LDBL_MIN_EXP): Likewise.
35540 (FLT_MAX_EXP): Use macro-int-constant.
35541 (DBL_MAX_EXP): Likewise.
35542 (LDBL_MAX_EXP): Likewise.
35543 (FLT_MAX_10_EXP): Likewise.
35544 (DBL_MAX_10_EXP): Likewise.
35545 (LDBL_MAX_10_EXP): Likewise.
35546 (FLT_MAX): Use macro-constant.
35547 (DBL_MAX): Likewise.
35548 (LDBL_MAX): Likewise.
35549 (FLT_EPSILON): Use macro-constant. Give upper bound.
35550 (DBL_EPSILON): Likewise.
35551 (LDBL_EPSILON): Likewise.
35552 (FLT_MIN): Likewise.
35553 (DBL_MIN): Likewise.
35554 (LDBL_MIN): Likewise.
35555 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35556 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35557 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35558 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35559 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35560 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35561 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35562 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35563 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35564 [ISO11] (FLT_TRUE_MIN): Likewise.
35565 [ISO11] (LDBL_TRUE_MIN): Likewise.
35566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35567 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35568 (SCHAR_MIN): Use macro-int-constant. Specify type.
35569 (SCHAR_MAX): Likewise.
35570 (UCHAR_MAX): Likewise.
35571 (CHAR_MIN): Likewise.
35572 (CHAR_MAX): Likewise.
35573 (MB_LEN_MAX): Use macro-int-constant.
35574 (SHRT_MIN): Use macro-int-constant. Specify type.
35575 (SHRT_MAX): Likewise.
35576 (USHRT_MAX): Likewise.
35577 (INT_MAX): Likewise.
35578 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35580 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35582 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35584 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35585 bound negative. Suffix upper bound with "L".
35586 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35588 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35590 [C99-based standards] (LLONG_MAX): Likewise.
35591 [C99-based standards] (ULLONG_MAX): Likewise.
35592 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35594 [ISO11] (max_align_t): Require type.
35595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35597 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35598 from $CFLAGS, without defining away __attribute__ calls.
35599 (checknamespace): Use $CFLAGS_namespace.
35601 * conform/conformtest.pl (@keywords): Only include C99 keywords
35602 for standards based on C99 or C11.
35604 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35606 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35609 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35610 usability of symbols in #if.
35612 * conform/conformtest.pl: If macro or constant types start
35613 "promoted:", expect the symbol to be of the following type
35614 promoted by the integer promotions.
35616 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35617 in one place. Also handle "macro-constant".
35619 * conform/conformtest.pl: Only accept expected macro values with
35620 "==". Parse all "macro" lines in one place.
35621 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35623 * conform/conformtest.pl: Handle braced types on "constant" lines
35624 instead of handling "typed-constant".
35625 * conform/data/signal.h-data: Use "constant" instead of
35628 * conform/conformtest.pl: Handle "optional-" at start of lines in
35629 one place rather than duplicating several cases. Handle each
35630 format of "macro" line with initial "optional-".
35632 * conform/conformtest.pl: Only accept expected constant or
35633 optional-constant values with "==". Parse all "constant" lines in
35634 one place. Parse all "optional-constant" lines in one place.
35635 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35636 * conform/data/fmtmsg.h-data: Likewise.
35637 * conform/data/netinet/in.h-data: Likewise.
35638 * conform/data/tar.h-data: Likewise.
35639 * conform/data/limits.h-data: Use "==" form on "constant" and
35640 "optional-constant" lines.
35642 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35643 Use -std=c99 for XOPEN2K.
35644 (@knownproblems): Remove.
35645 (newtoken): Don't check %isknown.
35647 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35648 Do not expect macro.
35649 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35650 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35651 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35652 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35653 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35654 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35655 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35656 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35657 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35658 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35659 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35660 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35661 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35662 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35663 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35664 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35665 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35666 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35667 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35668 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35669 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35670 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35671 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35672 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35673 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35674 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35675 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35676 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35677 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35678 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35679 [XPG3] (acosh): Likewise.
35680 [XPG3] (asinh): Likewise.
35681 [XPG3] (atanh): Likewise.
35682 [XPG3] (cbrt): Likewise.
35683 [XPG3] (expm1): Likewise.
35684 [XPG3] (ilogb): Likewise.
35685 [XPG3] (log1p): Likewise.
35686 [XPG3] (logb): Likewise.
35687 [XPG3] (nextafter): Likewise.
35688 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35689 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35690 [XPG3] (remainder): Likewise.
35691 [XPG3] (rint): Likewise.
35692 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35693 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35694 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35695 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35696 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35697 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35698 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35699 [UNIX98 || XOPEN2K] (scalb): Expect.
35700 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35701 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35702 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35703 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35704 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35705 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35706 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35707 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35708 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35709 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35710 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35711 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35712 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35713 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35714 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35715 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35716 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35717 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35718 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35719 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35720 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35721 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35722 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35723 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35724 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35725 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35726 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35728 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35729 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35730 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35731 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35732 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35733 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35734 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35735 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35736 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35737 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35738 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35739 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35740 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35741 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35742 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35743 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35744 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35745 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35746 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35747 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35748 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35749 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35750 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35751 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35752 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35753 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35754 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35755 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35756 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35757 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35758 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35759 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35760 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35761 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35762 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35763 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35764 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35765 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35766 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35767 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35768 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35769 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35770 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35771 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35772 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35773 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35774 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35775 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35776 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35777 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35778 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35779 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35780 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35781 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35782 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35783 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35784 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35785 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35786 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35787 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35788 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35789 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35790 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35791 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35792 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35793 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35794 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35795 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35796 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35797 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35798 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35799 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35811 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35812 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35838 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35839 _XOPEN_SOURCE_EXTENDED for XPG4.
35841 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35843 * Makeconfig (localtime): Remove variable.
35844 (inst_localtime-file): Likewise.
35846 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35867 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35871 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35872 comparisons to determine direction to adjust input.
35873 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35874 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35875 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35877 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35879 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35881 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35882 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35884 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35886 * math/libm-test.inc (nexttoward_test): Add more tests.
35888 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35891 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35892 in version GLIBC_2.1, not GLIBC_2.0.
35893 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35896 2012-04-30 Joseph Myers <joseph@codesourcery.com>
35899 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35901 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35902 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35903 * math/libm-test.inc (acos_test): Add more tests.
35904 (asin_test): Likewise.
35905 * sysdeps/i386/fpu/libm-test-ulps: Update.
35906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35909 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35911 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35912 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35913 * math/libm-test.inc (acos_test_tonearest): New function.
35914 (acos_test_towardzero): Likewise.
35915 (acos_test_downward): Likewise.
35916 (acos_test_upward): Likewise.
35917 (asin_test_tonearest): Likewise.
35918 (asin_test_towardzero): Likewise.
35919 (asin_test_downward): Likewise.
35920 (asin_test_upward): Likewise.
35921 (main): Call the new functions.
35922 * sysdeps/i386/fpu/libm-test-ulps: Update.
35923 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35927 * math/e_exp10.c: Include <float.h>.
35928 (__ieee754_exp10): Handle underflow here rather than multiplying
35929 large negative argument by M_LN10.
35930 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35932 * math/e_exp10l.c: Include <float.h>.
35933 (__ieee754_exp10l): Handle underflow here rather than multiplying
35934 large negative argument by M_LN10l.
35935 * math/libm-test.inc (exp10_test): Add another test. Do not allow
35936 spurious overflow exception on underflow.
35938 2012-04-29 Marek Polacek <polacek@redhat.com>
35940 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35941 (__fortify_function): New macro.
35942 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35943 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35944 __extern_always_inline.
35945 * libio/bits/stdio2.h: Likewise.
35946 * libio/bits/stdio.h: Likewise.
35947 * string/string.h: Likewise.
35948 * string/bits/string3.h: Likewise.
35949 * include/stdio.h: Likewise.
35950 * stdlib/bits/stdlib.h: Likewise.
35951 * stdlib/stdlib.h: Likewise.
35952 * rt/bits/mqueue2.h: Likewise.
35953 * rt/mqueue.h: Likewise.
35954 * posix/bits/unistd.h: Likewise.
35955 * posix/unistd.h: Likewise.
35956 * io/bits/poll2.h: Likewise.
35957 * io/bits/fcntl2.h: Likewise.
35958 * io/fcntl.h: Likewise.
35959 * io/sys/poll.h: Likewise.
35960 * misc/bits/syslog.h: Likewise.
35961 * misc/bits/syslog-ldbl.h: Likewise.
35962 * misc/sys/syslog.h: Likewise.
35963 * socket/bits/socket2.h: Likewise.
35964 * socket/sys/socket.h: Likewise.
35965 * debug/tst-chk1.c: Likewise.
35966 * wcsmbs/bits/wchar2.h: Likewise.
35967 * wcsmbs/bits/wchar-ldbl.h: Likewise.
35968 * wcsmbs/wchar.h: Likewise.
35970 2012-04-29 Andreas Jaeger <aj@suse.de>
35972 * Makerules (tests): Remove enable-check-abi protection.
35973 (check-abi-warn): Remove.
35974 (check-abi-%): Remove check-abi-warn usage.
35976 * configure.in: Remove check-abi configure option.
35977 * configure: Regenerated.
35978 * config.make.in (enable-check-abi): Remove.
35980 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
35983 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35984 double functions to double *_finite functions.
35987 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35988 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35990 * stdio-common/Makefile (tests): Add tst-sprintf3.
35991 * stdio-common/tst-sprintf3.c: New file.
35993 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35994 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35996 2012-04-28 Joseph Myers <joseph@codesourcery.com>
35998 * conform/conformtest.pl: Remove duplicate typed-constant
36001 2012-04-28 David S. Miller <davem@davemloft.net>
36003 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36004 (check-abi-%): Remove AWK script prerequisite and explicit
36006 (check-abi): Rewrite to just diff the symlist with the abilist.
36007 (config-tls, config-abi-config): Delete, no longer used.
36008 (update-abi-%): Remove AWK script and explicit abilist directory.
36009 (update-abi): Rewrite to simply compare and conditionally copy the
36010 symlist and the sysdep abilist file. Remove update-abi-config
36012 * abilist/ld.abilist: Remove.
36013 * abilist/libBrokenLocale.abilist: Remove.
36014 * abilist/libanl.abilist: Remove.
36015 * abilist/libcrypt.abilist: Remove.
36016 * abilist/libdl.abilist: Remove.
36017 * abilist/librt.abilist: Remove.
36018 * abilist/libthread_db.abilist: Remove.
36019 * abilist/libutil.abilist: Remove.
36020 * scripts/extract-abilist.awk: Remove.
36021 * scripts/merge-abilist.awk: Remove.
36022 * sysdeps/generic/libcidn.abilist: New file.
36023 * sysdeps/generic/libnss_compat.abilist: New file.
36024 * sysdeps/generic/libnss_db.abilist: New file.
36025 * sysdeps/generic/libnss_dns.abilist: New file.
36026 * sysdeps/generic/libnss_files.abilist: New file.
36027 * sysdeps/generic/libnss_hesiod.abilist: New file.
36028 * sysdeps/generic/libnss_nis.abilist: New file.
36029 * sysdeps/generic/libnss_nisplus.abilist: New file.
36030 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36031 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36032 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36035 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36036 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36037 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36038 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36039 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36040 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36041 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36042 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36044 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36045 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36046 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36047 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36049 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36050 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36051 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36052 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36053 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36054 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36056 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36057 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36058 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36060 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36071 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36073 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36075 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36077 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36079 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36081 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36083 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36085 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36163 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36164 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36165 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36167 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36168 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36169 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36170 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36171 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36172 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36173 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36174 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36175 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36176 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36186 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36200 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36211 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36217 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36228 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36230 * conform/conformtest.pl: Fix typo in handling typed-constant from
36233 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36235 * README: Cut down references to pre-2.6 Linux kernels and
36236 Linuxthreads. Update lists of configurations in libc and ports
36237 and sort alphabetically. Say "or newer" with Linux kernel version
36240 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36242 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36245 * math/libm-test.inc (logb_test_downward): New test to expose
36246 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36249 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36252 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36254 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36255 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36257 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36259 * sysdeps/unix/i386/brk.S: Remove file.
36260 * sysdeps/unix/i386/dl-brk.S: Likewise.
36261 * sysdeps/unix/i386/pipe.S: Likewise.
36262 * sysdeps/unix/i386/sigreturn.S: Likewise.
36263 * sysdeps/unix/i386/syscall.S: Likewise.
36264 * sysdeps/unix/i386/vfork.S: Likewise.
36265 * sysdeps/unix/i386/wait.S: Likewise.
36267 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36268 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36270 * configure.in (arm*-none*): Do not allow without
36271 --enable-hacker-mode.
36272 (netbsd*): Remove case setting base_os.
36273 (386bsd*): Likewise.
36274 (freebsd*): Likewise.
36277 (sunos*): Likewise.
36278 (ultrix*): Likewise.
36279 (newsos*): Likewise.
36280 (dynix*): Likewise.
36286 (minix*): Likewise.
36287 (irix4*): Likewise.
36288 (irix6*): Likewise.
36289 (solaris[2-9]*): Likewise.
36291 * configure: Regenerated.
36293 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36296 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36297 overflow or cancellation in calculating denominator.
36298 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36300 down expression to avoid unexpected rounding in newer GCCs.
36301 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36303 2012-04-26 David S. Miller <davem@davemloft.net>
36305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36306 long-double compat symbols.
36307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36321 2012-04-25 David S. Miller <davem@davemloft.net>
36323 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36324 HWCAP_* values only after the memory barriers have been defined.
36325 (atomic_full_barrier): Define.
36326 (atomic_read_barrier): Define.
36327 (atomic_write_barrier): Define.
36329 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36331 * shlib-versions: Add libgcc_s version information.
36332 * sysdeps/generic/libgcc_s.h: Remove.
36333 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36335 * sysdeps/gnu/unwind-resume.c: Likewise.
36336 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36338 2012-04-25 David S. Miller <davem@davemloft.net>
36340 * sysdeps/unix/sparc/brk.S: Delete.
36341 * sysdeps/unix/sparc/dl-brk.S: Delete.
36342 * sysdeps/unix/sparc/pipe.S: Delete.
36343 * sysdeps/unix/sparc/sysdep.S: Delete.
36344 * sysdeps/unix/sparc/sysdep.h: Delete.
36345 * sysdeps/unix/sparc/vfork.S: Delete.
36346 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36347 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36348 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36349 (ret_ERRVAL, r0, r1, MOVE): Define.
36350 (JUMPTARGET): Remove.
36351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36352 sysdeps/unix/sparc/sysdep.h
36353 (ENTRY, END): Remove.
36354 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36356 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36358 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36359 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36362 * timezone/README: Update upstream location and email address for
36364 * timezone/zdump.c: Update from tzcode 2012b.
36365 * timezone/zic.c: Likewise.
36367 * configure.in (libc_cv_as_needed): Remove test.
36368 * configure: Regenerated.
36369 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36370 conditional definition.
36371 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36372 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36373 * config.make.in (have-as-needed): Remove variable.
36375 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36376 Paul Pluzhnikov <ppluzhnikov@google.com>
36378 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36381 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36383 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36384 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36385 * sysdeps/sh/strlen.S: Likewise.
36387 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36389 * sysdeps/unix/fork.S: Remove file.
36390 * sysdeps/unix/i386/fork.S: Likewise.
36391 * sysdeps/unix/sparc/fork.S: Likewise.
36393 * sysdeps/unix/system.c: Remove file.
36394 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36396 * sysdeps/unix/getegid.S: Remove file.
36397 * sysdeps/unix/geteuid.S: Likewise.
36399 2012-04-24 Roland McGrath <roland@hack.frob.com>
36401 * scripts/check-localplt.awk: New file.
36402 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36404 * scripts/data/localplt-generic.data: Add a comment.
36406 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36407 NODE when __dir_mkfile failed.
36408 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36409 Reported by Ludovic Courtès <ludo@gnu.org>.
36411 2012-04-24 Andreas Jaeger <aj@suse.de>
36413 * Makerules (common-clean): Also remove gen-as-const-headers
36416 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36418 * Makerules (native-compile): Do not change working directory for
36419 build. Use $(OUTPUT_OPTION) in command.
36420 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36422 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36425 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36426 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36427 * math/libm-test.inc (floor_test): Add more tests.
36428 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36430 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36432 * sysdeps/unix/getdents.c: Remove file.
36433 * sysdeps/unix/sysv/getdents.c: Likewise.
36434 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36436 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36437 sysdeps/unix/mman/syscalls.list.
36439 (mprotect): Likewise.
36441 (munmap): Likewise.
36442 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36443 * sysdeps/unix/mman/syscalls.list: Remove.
36444 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36446 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36447 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36448 * configure: Regenerated.
36449 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36450 $(libgcc_s_suffix).
36451 * config.make.in (libgcc_s_suffix): Remove variable.
36453 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36455 * sysdeps/unix/sysv/gethostname.c: Move to ...
36456 * sysdeps/posix/gethostname.c: ... here.
36458 * sysdeps/unix/execve.S: Remove file.
36460 * sysdeps/unix/_exit.S: Remove file.
36462 2012-04-23 Andreas Jaeger <aj@suse.de>
36465 * manual/Makefile: Remove make dist support, there's no
36466 need for a stand-alone documentation tar ball.
36467 (TEXI2DVI): Define always, it's not in Makeconfig.
36470 (edition): Removed.
36471 (glibc-doc-$(edition).tar): Removed
36475 (ETAGS): Remove, it's in Makeconfig.
36476 (move-if-change): Remove, it's in Makeconfig.
36478 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36481 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36482 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36483 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36484 (strtod_l, strtof_l, strtold_l): Remove __wur.
36485 It is not necessarily an error to ignore strtol's return value.
36486 One can reliably look at the stored endptr to decide whether
36487 the number had valid syntax.
36489 2012-04-21 Andreas Jaeger <aj@suse.de>
36492 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36494 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36496 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36497 * sysdeps/unix/sysv/Versions: Remove file.
36499 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36504 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36507 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36508 version from __vm86.
36510 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36512 * sysdeps/unix/common/lxstat.c: Remove file.
36513 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36515 * sysdeps/unix/sysv/Makefile: Remove file.
36517 * sysdeps/unix/sysv/direct.h: Remove file.
36519 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36520 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36521 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36522 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36523 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36524 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36525 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36527 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36529 * sysdeps/unix/xmknod.c: Remove file.
36530 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36532 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36534 * sysdeps/unix/sysv/i386/time.S: Remove file.
36536 * sysdeps/unix/fxstat.c: Remove file.
36537 * sysdeps/unix/xstat.c: Likewise.
36538 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36540 * sysdeps/unix/sysv/sigaction.c: Remove file.
36542 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36543 (sysdep_headers): Remove variable.
36544 [termio.h not in sysdep_headers] (generated): Likewise.
36545 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36546 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36547 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36548 * sysdeps/unix/sysv/tcflow.c: Likewise.
36549 * sysdeps/unix/sysv/tcflush.c: Likewise.
36550 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36551 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36552 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36553 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36554 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36556 * sysdeps/unix/siglist.c: Remove file.
36558 * sysdeps/unix/getppid.S: Remove file.
36560 * sysdeps/unix/mkdir.c: Remove file.
36561 * sysdeps/unix/rmdir.c: Likewise.
36563 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36565 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36567 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36568 errlist-compat value.
36570 2012-04-18 David S. Miller <davem@davemloft.net>
36572 * sysdeps/generic/memcopy.h (reg_char): Delete.
36573 * debug/strcat_chk.c: Use char, not reg_char.
36574 * debug/strcpy_chk.c: Likewise.
36575 * debug/strncat_chk.c: Likewise.
36576 * debug/strncpy_chk.c: Likewise.
36577 * string/memchr.c: Likewise.
36578 * string/memrchr.c: Likewise.
36579 * string/rawmemchr.c: Likewise.
36580 * string/strcat.c: Likewise.
36581 * string/strchr.c: Likewise.
36582 * string/strchrnul.c: Likewise.
36583 * string/strcmp.c: Likewise.
36584 * string/strcpy.c: Likewise.
36585 * string/strncat.c: Likewise.
36586 * string/strncmp.c: Likewise.
36587 * string/strncpy.c: Likewise.
36589 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36591 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36592 __builtin_memcopy is called when src and dest ranges are known to not
36595 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36597 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36598 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36599 fwd_align_merge macro call.
36600 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36601 bwd_align_merge macro call.
36602 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36604 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36606 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36607 bwd_align_merge macros.
36608 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36609 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36610 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36612 2012-04-18 David S. Miller <davem@davemloft.net>
36614 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36616 2012-04-18 Andreas Jaeger <aj@suse.de>
36619 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36620 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36621 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36623 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36624 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36625 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36627 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36628 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36629 Adjust for changed ldbl-128 files.
36631 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36632 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36633 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36635 2012-04-17 David S. Miller <davem@davemloft.net>
36637 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36639 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36641 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36642 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36643 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36644 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36645 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36646 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36648 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36651 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36652 * math/libm-test.inc: Add ilogb errno and exception tests.
36653 * math/w_ilogb.c: New file: ilogb wrapper.
36654 * math/w_ilogbf.c: New file: ilogbf wrapper.
36655 * math/w_ilogbl.c: New file: ilogbl wrapper.
36656 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36657 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36658 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36659 exception being thrown with 0.0 as argument.
36660 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36661 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36662 exception being thrown with 0.0 as argument.
36663 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36664 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36665 exception being thrown with 0.0 as argument.
36666 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36667 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36668 exception being thrown with 0.0 as argument.
36669 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36670 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36671 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36672 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36673 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36674 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36675 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36676 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36677 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36679 2012-04-17 Petr Baudis <pasky@ucw.cz>
36681 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36684 2012-04-16 Marek Polacek <polacek@redhat.com>
36686 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36688 2012-04-16 Marek Polacek <polacek@redhat.com>
36690 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36691 operands of fdivp instruction.
36693 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36695 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36696 * elf/tst-auditmod3b.c: Likewise.
36697 * elf/tst-auditmod4b.c: Likewise.
36698 * elf/tst-auditmod5b.c: Likewise.
36699 * elf/tst-auditmod6b.c: Likewise.
36700 * elf/tst-auditmod6c.c: Likewise.
36701 * elf/tst-auditmod7b.c: Likewise.
36702 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36703 * sysdeps/x86_64/preconfigure.in: Likewise.
36704 * sysdeps/x86_64/preconfigure: Regenerated.
36706 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36708 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36711 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36713 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36714 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36716 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36719 * locale/iso-639.def: Fix gl language name. Spotted by
36722 2012-04-12 Roland McGrath <roland@hack.frob.com>
36725 * libio/libio.h (__io_write_fn): Update comment.
36727 2012-04-12 Petr Baudis <pasky@ucw.cz>
36730 * stdio.texi (Hook Functions): The user provided writer function
36731 is not allowed to return -1.
36733 2012-04-11 David S. Miller <davem@davemloft.net>
36735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36737 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36739 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36740 Add a leading slash to rtkaio.
36742 2012-04-11 Jim Meyering <meyering@redhat.com>
36745 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36746 It is not necessarily an error to ignore fwrite's return
36747 value. One can reliably use ferror to test for errors after
36750 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36752 * bits/types.h (__snseconds_t): New type.
36753 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36755 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36757 (__SNSECONDS_T_TYPE): Likewise.
36758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36759 (__SNSECONDS_T_TYPE): Likewise.
36760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36761 (__SNSECONDS_T_TYPE): Likewise.
36763 2012-04-10 Andreas Jaeger <aj@suse.de>
36766 * manual/time.texi (Processor Time): Return type of times is
36767 elapsed real time since an arbitrary point in the past.
36768 (CPU Time): Move CLK_TCK from here...
36769 (Processor Time): ...to here. Correct description.
36770 * manual/conf.texi (Constants for Sysconf): Correct description of
36773 2012-04-10 David S. Miller <davem@davemloft.net>
36776 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36777 where the is a gap between DT_REL(A) and DT_JMPREL.
36779 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36781 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36782 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36783 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36785 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36787 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36788 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36789 (dl_main): Handle --inhibit-cache.
36790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36792 * elf/dl-load.c (_dl_map_object): Use it.
36793 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36795 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36798 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36799 (__ieee754_powl): Saturate large exponents rather than testing for
36800 overflow of y*log2(x).
36801 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36802 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36806 * math/s_ctan.c: Include <float.h>.
36807 (__ctan): Avoid internal overflow or cancellation in calculating
36809 * math/s_ctanf.c: Likewise.
36810 * math/s_ctanl.c: Likewise.
36811 * math/s_ctanh.c: Likewise.
36812 * math/s_ctanhf.c: Likewise.
36813 * math/s_ctanhl.c: Likewise.
36814 * math/libm-test.inc (ctan_test): Add more tests.
36815 (ctanh_test): Likewise.
36816 * sysdeps/i386/fpu/libm-test-ulps: Update.
36817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36819 2012-04-09 Andreas Jaeger <aj@suse.de>
36822 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36823 is an optional BSD extension.
36826 * manual/stdio.texi (Opening Streams): Document additional fopen
36829 2012-04-09 Roland McGrath <roland@hack.frob.com>
36831 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36832 %eax without telling the compiler.
36834 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36837 * manual/install.texi: Use sourceware.org.
36839 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36842 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36843 (__ieee754_pow): Generate overflow and underflow using huge*huge
36844 and tiny*tiny rather than just returning constant infinity or zero
36845 for large exponents.
36846 * math/libm-test.inc (pow_test): Require overflow exceptions for
36847 applicable cases of large exponents.
36850 * sysdeps/i386/fpu/e_pow.S (p10): New object.
36851 (__ieee754_pow): Use iterative multiplication algorithm only for
36852 integer exponents with absolute value below 1024. Check for odd
36853 integer exponents when using algorithm for real exponents.
36854 * math/libm-test.inc (pow_test): Add more tests.
36855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36857 2012-04-08 Joseph Myers <joseph@codesourcery.com>
36860 * math/libm-test.inc (exp_test): Do not allow overflow exception
36863 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
36866 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36867 instead of __kernel_standard_f.
36869 2012-04-08 Mike Frysinger <vapier@gentoo.org>
36871 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36872 * sysdeps/x86_64/memset_chk.S: Likewise.
36874 2012-04-08 Andreas Jaeger <aj@suse.de>
36877 * manual/startup.texi (Environment Access): Describe return value
36878 for putenv and setenv.
36881 * manual/filesys.texi (Directory Entries): Add description for
36885 * manual/filesys.texi (Directory Entries): Clarify that it's file
36886 system not operating system in the description of DT_UNKNOWN.
36889 * manual/syslog.texi (closelog): Fix reference, it's openlog.
36891 2012-04-08 Stephen Compall <s11@member.fsf.org>
36894 * manual/llio.texi (Opening and Closing Files): Add cross
36895 reference to explain mode argument.
36897 2012-04-07 Mike Frysinger <vapier@gentoo.org>
36899 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36900 * sysdeps/x86_64/memset_chk.S: Likewise.
36902 2012-04-07 David S. Miller <davem@davemloft.net>
36904 * elf/elf.h (R_SPARC_WDISP10): Define.
36905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36907 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36908 R_SPARC_SIZE64 and R_SPARC_H34.
36910 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
36912 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36913 conditions and remove no longer applicable assertion.
36915 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36917 * bits/byteswap.h: Include <features.h>.
36918 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36919 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36921 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
36923 * bits/byteswap.h (__bswap_16): Removed.
36924 Include <bits/byteswap-16.h> to get __bswap_16.
36925 * sysdeps/i386/bits/byteswap.h: Likewise.
36926 * sysdeps/s390/bits/byteswap.h: Likewise.
36927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36928 * bits/byteswap-16.h: New file.
36929 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36930 * sysdeps/s390/bits/byteswap-16.h: Likewise.
36931 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36932 * string/Makefile (headers): Add bits/byteswap-16.h.
36934 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36937 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36939 * nss/Makefile (tests-static, tests): Add tst-nss-static.
36940 * nss/tst-nss-static.c: New.
36942 2012-04-06 Robert Millan <rmh@gnu.org>
36945 * manual/llio.texi (File Position Primitive): lseek
36946 refers to WHENCE when it really means OFFSET.
36948 2012-04-06 Andreas Jaeger <aj@suse.de>
36950 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36951 strncmp declarations.
36953 * abilist/libc.abilist: Add __poll and __ppoll.
36955 2012-04-05 David S. Miller <davem@davemloft.net>
36957 * scripts/check-local-headers.sh: Accept a host triplet in the
36958 path matched by the exclude regexp.
36960 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36962 * sysdeps/powerpc/powerpc32/dl-machine.h
36963 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36964 * sysdeps/s390/s390-32/dl-machine.h
36965 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36966 * sysdeps/sparc/sparc32/dl-machine.h
36967 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36968 * sysdeps/sparc/sparc64/dl-machine.h
36969 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36971 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36973 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36974 undefined symbol errors.
36976 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36979 2012-04-05 Michael Matz <matz@suse.de>
36982 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36984 2012-04-05 Andreas Jaeger <aj@suse.de>
36987 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36990 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36992 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36993 which ROUND is no valid rounding mode.
36995 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36997 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36999 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37001 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37003 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37004 an exception using FPU order intentionally.
37006 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37008 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37009 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37010 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37011 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37013 2012-04-05 Simon Josefsson <simon@josefsson.org>
37016 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37017 EINVAL when BUFLEN is too smal.
37019 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37022 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37023 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37025 2012-04-03 Andreas Jaeger <aj@suse.de>
37028 * manual/setjmp.texi (System V contexts): Fix sentence.
37031 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37032 New macro for this case.
37033 [!__GNUC__] (__bswap_64): New inline function for this case.
37034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37035 * bits/byteswap.h: Likewise.
37036 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37037 ull, guard with __GLIBC_HAVE_LONG_LONG.
37039 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37040 __GLIBC_HAVE_LONG_LONG.
37042 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37043 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37045 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37048 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37049 inptr and inend, rather than using last_ch.
37051 2012-04-02 David S. Miller <davem@davemloft.net>
37053 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37054 * stdio-common/printf-parse.h (read_int): Change return type to
37055 'int', return -1 on INT_MAX overflow.
37056 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37057 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37058 overflows INT_MAX. Check for overflow of in-format-string precision
37059 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37060 SIZE_MAX not INT_MAX for integer overflow test.
37061 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37062 skip the construct in the format string but do not record anything.
37063 * stdio-common/bug22.c: Adjust to test both width/prevision
37064 INT_MAX overflow as well as total length INT_MAX overflow. Check
37065 explicitly for proper errno values.
37067 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37069 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37071 * string/test-strcmp.c [! WIDE]: Likewise.
37072 * time/tst-mktime2.c: Likewise for INT_MAX.
37073 * string/test-string.h: #include <sys/param.h> for MIN.
37075 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37076 * sysdeps/i386/init-first.c (init): Likewise.
37077 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37078 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37079 * sysdeps/sh/init-first.c (init): Likewise.
37081 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37083 * po/ru.po: Update from translation team.
37084 * po/vi.po: Likewise.
37086 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37088 * resolv/nss_dns/dns-host.c: Merge copyright years.
37090 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37093 Optimize memcpy with prefetch if
37094 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37095 src, dst pointers have unequal 16 byte alignments.
37097 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37100 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37101 from a CNAME entry and return the minimum ttl for the query.
37102 (gaih_getanswer_slice): Likewise.
37104 2012-03-30 Jeff Law <law@redhat.com>
37106 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37108 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37109 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37111 * resolv/nss_dns/dns-host.c: Update copyright year.
37113 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37115 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37116 requests to save a system call. Fix check that all bytes are sent.
37118 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37119 comments for sendmmsg.
37121 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37124 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37125 with only 1 character between 0x0041 and 0x01b0.
37126 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37127 * wcsmbs/tst-mbsnrtowcs.c: New file.
37129 2012-03-29 David S. Miller <davem@davemloft.net>
37131 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37132 small copies by hand.
37134 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37137 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37138 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37141 2012-03-28 David S. Miller <davem@davemloft.net>
37143 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37144 that branches into memcpy.
37145 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37147 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37148 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37149 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37151 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37152 implementation too.
37153 * sysdeps/sparc/mempcpy.S: New file.
37155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37156 the IFUNC routine in the libc case.
37157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37159 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37160 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37161 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37162 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37163 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37164 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37165 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37166 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37168 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37169 loop to 256 bytes instead of 64 bytes and fix test signedness.
37171 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37172 * sysdeps/sparc/sparc32/Makefile: rather than here...
37173 * sysdeps/sparc/sparc64/Makefile: and here.
37175 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37177 * malloc/mallocbug.c: Avoid warnings about unused variables.
37179 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37182 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37183 in the right place. Discard and retry query if response is
37184 larger than input buffer size.
37186 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37191 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37192 x for large integer exponent.
37193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37194 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37195 sign of result as needed afterwards.
37196 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37197 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37198 result for underflowing pow the same as for overflow.
37199 (__kernel_standard_l): Handle powl overflow and underflow here
37200 rather than calling __kernel_standard.
37201 * math/libm-test.inc (pow_test): Add more tests.
37216 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37217 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37218 (__kernel_standard_l): New function.
37219 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37221 * math/w_acosl.c (__acosl): Likewise.
37222 * math/w_asinl.c (__asinl): Likewise.
37223 * math/w_atan2l.c (__atan2l): Likewise.
37224 * math/w_atanhl.c (__atanhl): Likewise.
37225 * math/w_coshl.c (__coshl): Likewise.
37226 * math/w_exp10l.c (__exp10l): Likewise.
37227 * math/w_exp2l.c (__exp2l): Likewise.
37228 * math/w_fmodl.c (__fmodl): Likewise.
37229 * math/w_hypotl.c (__hypotl): Likewise.
37230 * math/w_j0l.c (__j0l, __y0l): Likewise.
37231 * math/w_j1l.c (__j1l, __y1l): Likewise.
37232 * math/w_jnl.c (__jnl, __ynl): Likewise.
37233 * math/w_lgammal.c (__lgammal): Likewise.
37234 * math/w_log10l.c (__log10l): Likewise.
37235 * math/w_log2l.c (__log2l): Likewise.
37236 * math/w_logl.c (__logl): Likewise.
37237 * math/w_powl.c (__powl): Likewise.
37238 * math/w_remainderl.c (__remainderl): Likewise.
37239 * math/w_scalbl.c (sysv_scalbl): Likewise.
37240 * math/w_sinhl.c (__sinhl): Likewise.
37241 * math/w_sqrtl.c (__sqrtl): Likewise.
37242 * math/w_tgammal.c (__tgammal): Likewise.
37243 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37244 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37245 * math/libm-test.inc (acos_test): Add more tests.
37246 (acosh_test): Likewise.
37247 (asin_test): Likewise.
37248 (atanh_test): Likewise.
37249 (exp_test): Likewise.
37250 (exp10_test): Likewise.
37251 (exp2_test): Likewise.
37252 (expm1_test): Likewise.
37253 (lgamma_test): Likewise.
37254 (log_test): Likewise.
37255 (log10_test): Likewise.
37256 (log1p_test): Likewise.
37257 (log2_test): Likewise.
37258 (pow_test): Do not allow some spurious overflow exceptions.
37259 (sqrt_test): Add more tests.
37260 (tgamma_test): Likewise.
37261 (y0_test): Likewise.
37262 (y1_test): Likewise.
37263 (yn_test): Likewise.
37265 2012-03-27 Anton Blanchard <anton@samba.org>
37267 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37269 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37270 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37271 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37273 2012-03-27 David S. Miller <davem@davemloft.net>
37275 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37277 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37278 have-as-vis3 check.
37280 2012-03-27 Andreas Jaeger <aj@suse.de>
37282 * sysdeps/x86_64/elf/configure.in: Moved to ...
37283 * sysdeps/x86_64/configure.in: ... here.
37284 * sysdeps/x86_64/elf/start.S: Moved to ...
37285 * sysdeps/x86_64/start.S: ... here.
37286 * sysdeps/x86_64/elf/configure: Delete.
37288 * sysdeps/x86_64/configure.in: Merge contents from
37289 sysdeps/i386/configure.in (without i686 check).
37291 * sysdeps/i386/elf/Versions: Merge into ...
37292 * sysdeps/i386/Versions: ... this.
37293 * sysdeps/i386/elf/Versions: Delete file.
37294 * sysdeps/i386/elf/start.S: Moved to ...
37295 * sysdeps/i386/start.S: ...here.
37296 * sysdeps/i386/elf/configure.in: Merge into...
37297 * sysdeps/i386/configure.in: ...here.
37298 * sysdeps/i386/elf/configure.in: Delete file.
37299 * sysdeps/i386/elf/configure: Delete file.
37301 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37302 * debug/backtracesyms.c: ... here.
37303 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37304 * debug/backtracesymsfd.c: ... here.
37305 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37306 * sysdeps/generic/ifunc-sel.h: ... here.
37308 * sysdeps/unix/i386/start.c: Delete file.
37309 * sysdeps/unix/sparc/start.c: Delete file.
37310 * sysdeps/unix/start.c: Delete file.
37312 * sysdeps/sh/elf/configure.in: Moved to ...
37313 * sysdeps/sh/configure.in: ... here.
37314 * sysdeps/sh/elf/start.S: Moved to ...
37315 * sysdeps/sh/start.S: ... here.
37316 * sysdeps/sh/elf/configure: Delete file.
37318 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37319 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37320 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37321 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37322 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37323 * sysdeps/powerpc/powerpc64/start.S: here.
37324 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37325 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37326 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37327 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37328 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37330 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37331 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37332 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37333 * sysdeps/powerpc/powerpc32/start.S: ... here.
37334 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37335 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37336 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37338 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37339 * sysdeps/powerpc/ifunc-sel.h: ... here.
37340 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37341 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37343 * sysdeps/sparc/elf/configure.in: Moved to ...
37344 * sysdeps/sparc/configure.in: ... here.
37345 * sysdeps/sparc/elf/configure: Delete file.
37346 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37347 * sysdeps/sparc/sparc32/start.S: ... here.
37348 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37349 * sysdeps/sparc/sparc64/start.S: ... here.
37350 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37351 * sysdeps/sparc/sparc32/Makefile: ... this.
37352 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37353 * sysdeps/sparc/sparc64/Makefile: ... this.
37355 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37356 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37357 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37358 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37359 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37360 * sysdeps/s390/s390-32/setjmp.S: ... here.
37361 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37362 * sysdeps/s390/s390-32/configure.in: ... here.
37363 * sysdeps/s390/s390-32/elf/configure: Delete file.
37364 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37365 * sysdeps/s390/s390-32/start.S: ... here.
37367 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37368 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37369 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37370 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37371 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37372 * sysdeps/s390/s390-64/setjmp.S: ... here.
37373 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37374 * sysdeps/s390/s390-64/configure.in: ... here
37375 * sysdeps/s390/s390-64/elf/configure: Delete file.
37376 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37377 * sysdeps/s390/s390-64/start.S: ... here.
37378 * sysdeps/s390/s390-64/elf/configure: Delete.
37380 * configure.in: Remove support for elf directories in sysdeps.
37382 * configure: Regenerated.
37383 * sysdeps/i386/configure: Regenerated.
37384 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37385 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37386 * sysdeps/s390/s390-32/configure: Regenerated.
37387 * sysdeps/s390/s390-64/configure: Regenerated.
37388 * sysdeps/sh/configure: Regenerated.
37389 * sysdeps/sparc/configure: Regenerated.
37390 * sysdeps/x86_64/configure: Regenerated.
37392 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37397 denormal result into account.
37399 2012-03-25 Roland McGrath <roland@hack.frob.com>
37401 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37402 Reported by Allan McRae <allan@archlinux.org>.
37404 2012-03-23 Jeff Law <law@redhat.com>
37406 * nss/getnssent.c (__nss_getent): Fix typo.
37408 2012-03-23 David S. Miller <davem@davemloft.net>
37410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37412 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37414 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37415 to pad to uint64_t for each field.
37416 (dl_tls_index): Replace unsigned long with uint64_t.
37418 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37419 Paul Pluzhnikov <ppluzhnikov@google.com>
37422 * grp/Makefile (otherlibs): Don't set it.
37423 * inet/Makefile (otherlibs): Likewise.
37424 * login/Makefile (otherlibs): Likewise.
37425 * nscd/Makefile (otherlibs): Likewise.
37426 * posix/Makefile (otherlibs): Likewise.
37427 * pwd/Makefile (otherlibs): Likewise.
37428 * rt/Makefile (otherlibs): Likewise.
37429 * sunrpc/Makefile (otherlibs): Likewise.
37430 * nss/Makefile (otherlibs): Likewise.
37431 Add libnss_files to routines and static-only-routines.
37432 ($(objpfx)getent): Remove rule.
37433 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37434 static-only-routines.
37436 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37439 * math/s_cexp.c: Include <float.h>.
37440 (__cexp): Handle exp result overflowing not necessarily
37441 overflowing both real and imaginary parts of result.
37442 * math/s_cexpf.c: Likewise.
37443 * math/s_cexpl.c: Likewise.
37444 * math/libm-test.inc (cexp_test): Add more tests.
37445 * sysdeps/i386/fpu/libm-test-ulps: Update.
37446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37448 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37450 * include/link.h (ELFW): New macro.
37451 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37452 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37454 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37456 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37459 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37461 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37463 (struct La_x32_retval): Likewise.
37465 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37467 * sysdeps/x86_64/preconfigure.in: New file.
37468 * sysdeps/x86_64/preconfigure: New generated file.
37470 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37473 * math/e_exp2l.c: Include <float.h>.
37474 (__ieee754_exp2l): Handle overflow and underflow cases
37475 separately. Only pass fractional part of argument to
37477 * math/libm-test.inc (exp2_test): Add more tests.
37479 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37480 negating x to take absolute value.
37481 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37483 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37484 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37486 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37487 computing low part if x was negated.
37488 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37490 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37492 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37493 la_x32_gnu_pltexit.
37494 (pltexit): Cast int_retval to ptrdiff_t.
37495 * elf/tst-auditmod3b.c: Likewise.
37496 * elf/tst-auditmod4b.c: Likewise.
37497 * elf/tst-auditmod5b.c: Likewise.
37498 * elf/tst-auditmod6b.c: Likewise.
37499 * elf/tst-auditmod6c.c: Likewise.
37500 * elf/tst-auditmod7b.c: Likewise.
37502 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37503 and x32_gnu_pltexit.
37505 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37506 __ELF_NATIVE_CLASS.
37507 (La_x32_regs): New macro.
37508 (La_x32_retval): Likewise.
37509 (la_x32_gnu_pltenter): New function prototype.
37510 (la_x32_gnu_pltexit): Likewise.
37512 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37514 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37519 * configure.in (libc_cv_cc_nofma): Check for option to disable
37520 generation of FMA instructions.
37521 * configure: Regenerate.
37522 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37523 * sysdeps/ieee754/dbl-64/Makefile: New file.
37524 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37525 Remove brandred-fma4.
37526 (CFLAGS-brandred-fma4.c): Remove.
37527 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37528 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37530 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37533 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37535 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37536 LLONG_MAX != LONG_MAX.
37537 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37538 (_fitoa_word): Likewise.
37539 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37540 LLONG_MAX != LONG_MAX.
37541 * stdio-common/_itowa.h: Include <_itoa.h>.
37542 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37543 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37544 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37545 only if not defined.
37546 (_ITOA_WORD_TYPE): Likewise.
37547 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37548 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37550 2012-03-21 David S. Miller <davem@davemloft.net>
37552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37554 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37556 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37557 of x86_64 when setting libc_cv_slibdir, libdir and
37559 * sysdeps/unix/sysv/linux/configure: Regenerated.
37561 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37563 * manual/lang.texi (Old Varargs): Remove section.
37564 (How Variadic): Update menu.
37565 (va_start): Do not mention varargs.h.
37567 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37568 Joseph Myers <joseph@codesourcery.com>
37570 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37572 * configure: Regenerated.
37574 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37576 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37577 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37580 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37583 * Makefile (files-for-dist): Remove NOTES.
37584 (NOTES): Remove rule.
37585 * README: Don't refer to NOTES.
37586 * manual/creature.texi: Don't include macros.texi.
37587 * manual/intro.texi (creature.texi): Remove comment referring to
37590 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37591 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37592 * configure: Regenerated.
37593 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37594 LIBC_TRY_CC_OPTION.
37595 (libc_cv_as_i686): Likewise.
37596 (libc_cv_cc_avx): Likewise.
37597 (libc_cv_cc_sse2avx): Likewise.
37598 (libc_cv_cc_fma4): Likewise.
37599 (libc_cv_cc_novzeroupper): Likewise.
37600 * sysdeps/i386/configure: Regenerated.
37603 * sysdeps/i386/fpu/s_cexp.S: Remove.
37604 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37605 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37606 * math/libm-test.inc (cexp_test): Add more tests.
37607 * sysdeps/i386/fpu/libm-test-ulps: Update.
37608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37610 2012-03-21 Allan McRae <allan@archlinux.org>
37612 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37614 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37617 * math/w_exp2.c: Do not include <float.h>.
37618 (o_threshold, u_threshold): Remove.
37619 (__exp2): Calculate result before checking finiteness and calling
37621 * math/w_exp2f.c: Likewise.
37622 * math/w_exp2l.c: Likewise.
37623 * math/libm-test.inc (exp2_test): Require overflow exception for
37627 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37628 range of signed 64-bit integers before using fistpll. Remove
37629 checks for whether integers fit in mantissa bits.
37630 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37631 the range of signed 32-bit integers before using fistpl. Remove
37632 checks for whether integers fit in mantissa bits.
37633 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37634 (__ieee754_powl): Test for y outside the range of signed 64-bit
37635 integers before using fistpll. Reduce 64-bit values to 63-bit
37637 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37638 divide-by-zero is raised for zero to large negative powers.
37639 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37640 (__ieee754_powl): Test for y outside the range of signed 64-bit
37641 integers before using fistpll. Reduce 64-bit values to 63-bit
37643 * math/libm-test.inc (pow_test): Add more tests.
37645 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37647 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37648 <stdio-common/_itoa.h>.
37649 * debug/segfault.c: Likewise.
37650 * elf/dl-cache.c: Likewise.
37651 * elf/dl-minimal.c: Likewise.
37652 * elf/dl-misc.c: Likewise.
37653 * elf/dl-sysdep.c: Likewise.
37654 * elf/dl-version.c: Likewise.
37655 * elf/rtld.c: Likewise.
37656 * hurd/hurdsock.c: Likewise.
37657 * hurd/lookup-retry.c: Likewise.
37658 * malloc/malloc.c: Likewise.
37659 * malloc/mtrace.c: Likewise.
37660 * nscd/nscd_getgr_r.c: Likewise.
37661 * nscd/nscd_getpw_r.c: Likewise.
37662 * nscd/nscd_getserv_r.c: Likewise.
37663 * posix/getopt_init.c: Likewise.
37664 * posix/wordexp.c: Likewise.
37665 * stdio-common/_itoa.c: Likewise.
37666 * stdio-common/printf_fphex.c: Likewise.
37667 * stdio-common/vfprintf.c: Likewise.
37668 * string/_strerror.c: Likewise.
37669 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37670 * sysdeps/i386/i686/hp-timing.h: Likewise.
37671 * sysdeps/mach/_strerror.c: Likewise.
37672 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37673 * sysdeps/mach/hurd/sethostid.c: Likewise.
37674 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37675 * sysdeps/mach/xpg-strerror.c: Likewise.
37676 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37677 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37678 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37679 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37680 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37681 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37682 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37683 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37684 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37685 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37686 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37687 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37688 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37689 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37690 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37691 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37692 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37693 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37694 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37695 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37696 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37698 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37700 * stdio-common/_itoa.h: Moved to ...
37701 * sysdeps/generic/_itoa.h: Here.
37703 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37705 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37706 instead of "_itoa.h" and "_itowa.h".
37707 * stdio-common/vfprintf.: Likewise.
37709 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37711 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37713 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37714 (__signbit): Likwise.
37715 (llrintf): Likwise.
37718 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37720 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37723 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37725 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37726 OVERFLOW_EXCEPTION_OK.
37727 * math/libm-test.inc ("Philosophy"): Update comment about
37729 (OVERFLOW_EXCEPTION): Define.
37730 (OVERFLOW_EXCEPTION_OK): Likewise.
37731 (INVALID_EXCEPTION_OK): Renumber.
37732 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37733 (IGNORE_ZERO_INF_SIGN): Likewise.
37734 (test_exceptions): Handle FE_OVERFLOW.
37735 (exp10_test): Expect overflow exceptions.
37736 (exp2_test): Likewise.
37737 (expm1_test): Likewise.
37738 (nextafter_test): Likewise.
37739 (pow_test): Likewise.
37740 (scalbn_test): Likewise.
37741 (scalbln_test): Likewise.
37743 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37745 * sysdeps/x86_64/bits/atomic.h
37746 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37748 (atomic_exchange_acq): Likewise.
37749 (__arch_exchange_and_add_body): Likewise.
37750 (__arch_add_body): Likewise.
37751 (atomic_add_negative): Likewise.
37752 (atomic_add_zero): Likewise.
37754 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37756 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37757 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37759 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37761 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37762 Check __x86_64__ instead of __WORDSIZE.
37764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37766 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37768 2012-03-19 David S. Miller <davem@davemloft.net>
37770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37772 * sysdeps/sparc/fpu/fenv_private.h: New file.
37773 * sysdeps/sparc/fpu/math_private.h: Use it.
37774 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37776 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37777 (libc_feholdexcept_setroundl): Remove.
37778 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37780 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37781 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37783 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37785 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37786 int64_t instead of long int.
37787 (INSERT_WORDS64): Likwise.
37789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37791 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37792 _Unwind_GetCFA return to _Unwind_Ptr first.
37794 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37797 * math/s_clog.c: Include <float.h>.
37798 (__clog): Scale large or subnormal inputs.
37799 * math/s_clogf.c: Likewise.
37800 * math/s_clogl.c: Likewise.
37801 * math/s_clog10.c: Include <float.h>.
37802 (M_LOG10_2): Define.
37803 (__clog10): Scale large or subnormal inputs.
37804 * math/s_clog10f.c: Likewise.
37805 * math/s_clog10l.c: Likewise.
37806 * math/libm-test.inc (clog_test): Add more tests.
37807 (clog10_test): Likewise.
37808 * sysdeps/i386/fpu/libm-test-ulps: Update.
37809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37812 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37814 * math/libm-test.inc (atan2_test): Add another test.
37816 * Makerules (common-objdir-compile): Remove.
37817 * sysdeps/unix/Makefile (config-generated): Do not add
37818 $(unix-generated) to variable.
37819 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37820 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37822 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37824 [generic bits/local_lim.h] (before-compile): Do not append to
37826 [generic bits/local_lim.h] (common-generated): Likewise.
37827 [generic sys/param.h] (before-compile): Do not append to variable.
37828 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37829 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37830 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37831 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37833 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37834 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37835 [generic sys/param.h] ($(addprefix
37836 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37837 [generic sys/param.h] (common-generated): Do not append to
37839 [generic sys/param.h] (sysdep_headers): Likewise.
37840 [generic bits/errno.h] (before-compile): Do not append to
37842 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37844 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37845 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37846 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37847 [generic bits/errno.h] (common-generated): Do not append to
37849 [generic bits/ioctls.h] (before-compile): Do not append to
37851 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37853 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37854 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37855 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37857 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37858 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37859 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37860 [generic bits/ioctls.h] (common-generated): Do not append to
37862 [generic sys/syscall.h] (syscall.h): Remove variable.
37863 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37865 [generic sys/syscall.h] (before-compile): Do not append to
37867 [generic sys/syscall.h] (common-generated): Likewise.
37868 * sysdeps/unix/errnos-tmpl.c: Remove file.
37869 * sysdeps/unix/errnos.awk: Likewise.
37870 * sysdeps/unix/ioctls-tmpl.c: Likewise.
37871 * sysdeps/unix/ioctls.awk: Likewise.
37872 * sysdeps/unix/mk-local_lim.c: Likewise.
37873 * sysdeps/unix/snarf-ioctls: Likewise.
37875 2012-03-19 Richard Henderson <rth@twiddle.net>
37877 * sysdeps/i386/fpu/fenv_private.h: New file.
37878 * sysdeps/i386/fpu/math_private.h: Use it.
37879 (math_opt_barrier, math_force_eval): Remove.
37880 (libc_feholdexcept_setround_53bit): Remove.
37881 (libc_feupdateenv_53bit): Remove.
37882 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37883 (math_opt_barrier, math_force_eval): Remove.
37884 (libc_feholdexcept): Remove.
37885 (libc_feholdexcept_setround): Remove.
37886 (libc_fetestexcept, libc_fesetenv): Remove.
37887 (libc_feupdateenv_test): Remove.
37888 (libc_feupdateenv, libc_feholdsetround): Remove.
37889 (libc_feresetround): Remove.
37891 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37892 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37894 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37895 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37896 (libc_feupdateenv_testl): New.
37897 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37898 (libc_feupdateenv_testf): New.
37899 (libc_feupdateenv): Use libc_feupdateenv_test.
37900 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37901 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37903 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37904 (libc_feholdsetroundf, libc_feholdsetroundl): New.
37905 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37906 (libc_feresetround_noex): New.
37907 (libc_feresetround_noexf): New.
37908 (libc_feresetround_noexl): New.
37909 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37910 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37911 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37912 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37915 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37917 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37918 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37919 SET_RESTORE_ROUND_NOEX.
37920 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37921 SET_RESTORE_ROUND_NOEXF.
37922 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37923 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37924 (libc_feholdsetroundf): New.
37925 (libc_feresetround, libc_feresetroundf): New.
37927 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37928 (libc_feholdexcept_setround_53bit): Convert from macro to function.
37929 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
37931 * sysdeps/generic/math_private.h: Include <fenv.h>.
37932 (default_libc_feholdexcept): New.
37933 (default_libc_feholdexcept_setround): New.
37934 (default_libc_fesetenv, default_libc_feupdateenv): New.
37935 (libc_feholdexcept): Only define if undefined.
37936 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37937 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37938 (libc_feholdexcept_setroundl): Likewise.
37939 (libc_feholdexcept_setround_53bit): Likewise.
37940 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37941 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37942 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37943 (libc_feupdateenv_53bit): Likewise.
37944 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37945 (libc_feholdexcept): Convert from macro to inline function.
37946 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37947 (libc_fesetenv, libc_feupdateenv): Likewise.
37949 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37950 not previously defined.
37951 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37952 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37953 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37954 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37955 * sysdeps/ieee754/flt-32/math_private.h: New file.
37956 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37957 math_private.h below SET_FLOAT_WORD.
37958 (__isnan, __isinf_ns, __finite): Remove.
37959 (__isnanf, __isinf_nsf, __finitef): Remove.
37961 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
37963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37965 2012-03-17 David S. Miller <davem@davemloft.net>
37968 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37971 2012-03-16 David S. Miller <davem@davemloft.net>
37973 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37977 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37979 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37980 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37981 sysdep_routines when subdir is sysvipc.
37982 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37983 __getshmlba helper.
37985 * sysdeps/sparc/fpu/libm-test/ulps: Update.
37987 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37989 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37992 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37994 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37995 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37996 (__lround): Renamed to ...
37997 (__llround): This. Replace long int with long long int.
37998 Define lround functions as aliases of llround functions.
37999 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38001 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38003 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38004 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38005 adresses to uintptr_t. Replace "long int" and "unsigned long
38006 int" with "greg_t" on va_arg.
38008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38010 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38011 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38013 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38014 Move e_machine check before EI_CLASS check. Handle x32
38015 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38016 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38017 SKIP_EM_IA_64 and include
38018 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38020 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38021 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38022 (add_system_dir): New macro.
38024 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38025 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38027 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38038 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38040 * math/w_j0f.c (j0f): Likewise.
38042 * math/w_j0l.c (__j0l): Likewise.
38044 * math/w_j1.c (j1): Likewise.
38046 * math/w_j1f.c (j1f): Likewise.
38048 * math/w_j1l.c (__j1l): Likewise.
38050 * math/w_jn.c (jn): Likewise.
38052 * math/w_jnf.c (jnf): Likewise.
38054 * math/w_jnl.c (__jnl): Likewise.
38056 * math/libm-test.inc (j0_test): Add more tests.
38057 (j1_test): Likewise.
38058 (jn_test): Likewise. Add trailing semicolon to existing test.
38059 (y0_test): Likewise.
38060 (y1_test): Likewise.
38061 * sysdeps/i386/fpu/libm-test-ulps: Update.
38062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38066 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38067 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38068 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38070 (__tanl): Set errno for infinite argument.
38071 * sysdeps/i386/fpu/mptan.c: Remove.
38072 * sysdeps/i386/fpu/s_tan.S: Likewise.
38073 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38074 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38075 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38076 * math/libm-test.inc (tan_test): Add more tests and enable more
38077 tests for double and long double.
38078 * sysdeps/i386/fpu/libm-test-ulps: Update.
38079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38081 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38083 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38084 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38086 2012-03-16 Roland McGrath <roland@hack.frob.com>
38088 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38089 * configure.in: Use it for both main tree and add-ons.
38090 * configure: Regenerated.
38092 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38094 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38096 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38098 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38102 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38103 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38106 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38108 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38109 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38110 != 0 for prec == 2.
38111 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38112 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38113 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38114 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38115 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38116 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38117 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38118 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38119 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38120 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38121 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38122 * math/libm-test.inc (cos_test): Add more tests and enable more
38123 tests for long double.
38124 (sin_test): Likewise.
38125 (sincos_test): Likewise.
38126 * sysdeps/i386/fpu/libm-test-ulps: Update.
38127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38129 2012-03-16 David S. Miller <davem@davemloft.net>
38131 * sysdeps/sparc/fpu/math_private.h: New file.
38133 2012-03-15 David S. Miller <davem@davemloft.net>
38135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38149 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38150 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38152 * sysdeps/sparc/sparc-ifunc.h: New file.
38153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38177 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38178 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38193 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38195 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38196 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38198 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38200 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38204 2012-03-15 Andreas Jaeger <aj@suse.de>
38207 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38208 ieee754/flt-32 implementation for sin, cos and sincos.
38209 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38210 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38211 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38212 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38213 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38214 ieee754/flt-32 implementation for tan.
38216 * math/libm-test.inc (cos_test): Enable some large input tests for
38218 (sin_test): Likewise.
38219 (sincos_test): Likewise.
38220 (tan_test): Add tests for large input.
38222 * sysdeps/i386/fpu/libm-test-ulps: Update.
38224 2012-03-15 Andreas Jaeger <aj@suse.de>
38227 * math/libm-test.inc (cos_test): Add more test cases.
38228 (sin_test): Likewise.
38229 (sincos_test): Likewise.
38231 2012-03-15 Andreas Jaeger <aj@suse.de>
38234 * math/libm-test.inc (cos_test): Add a test case for large input
38236 (sin_test): Likewise.
38237 (sincos_test): Likewise.
38239 2012-03-15 Andreas Jaeger <aj@suse.de>
38240 Joseph Myers <joseph@codesourcery.com>
38243 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38244 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38245 * sysdeps/i386/fpu/branred.c: Likewise.
38246 * sysdeps/i386/fpu/dosincos.c: Likewise.
38247 * sysdeps/i386/fpu/mpa.c: Likewise.
38248 * sysdeps/i386/fpu/s_cos.S: Likewise.
38249 * sysdeps/i386/fpu/s_sin.S: Likewise.
38250 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38251 * sysdeps/i386/fpu/sincos32.c: Likewise.
38253 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38255 (libc_feupdateenv_53bit): Define.
38256 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38258 (libc_feupdateenv_53bit): Define.
38260 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38261 53 bit (without extend i386 double precision).
38263 * math/libm-test.inc (sincos_test): Add tests for large input.
38267 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38269 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38273 2012-03-15 David S. Miller <davem@davemloft.net>
38275 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38276 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38277 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38278 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38285 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38286 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38303 fmin/fmax sysdep routines.
38304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38306 2012-03-14 David S. Miller <davem@davemloft.net>
38308 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38309 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38312 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38315 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38317 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38318 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38319 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38325 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38326 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38327 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38328 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38332 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38333 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38334 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38335 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38380 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38385 * sysdeps/sparc/configure.in: New file.
38386 * sysdeps/sparc/configure: Generate.
38387 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38388 * configure: Regenerate.
38389 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38390 * config.make.in (have-as-vis3): New.
38391 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38392 available use -Av9d instead of -Av9a.
38393 * sysdeps/sparc/sparc64/Makefile: Likewise.
38394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38404 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38405 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38406 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38407 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38409 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38410 fzeros/fnegs to load 0x80000000 into a float register instead of
38412 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38414 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38416 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38418 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38419 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38420 ($(inst_includedir)/bits/syscall.h): Remove rule.
38421 ($(objpfx)bits/syscall.d): Include instead of
38422 $(objpfx)syscall-list.d.
38423 (generated): Change syscall-list.h and syscall-list.d to
38424 bits/syscall.h and bits/syscall.d.
38426 2012-03-14 Roland McGrath <roland@hack.frob.com>
38429 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38431 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38434 * math/s_csqrt.c: Include <float.h>.
38435 (__csqrt): Scale large or subnormal inputs.
38436 * math/s_csqrtf.c: Likewise.
38437 * math/s_csqrtl.c: Likewise.
38438 * math/libm-test.inc (csqrt_test): Add more tests.
38439 * sysdeps/i386/fpu/libm-test-ulps: Update.
38440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38443 * math/libm-test.inc (hypot_test): Add more tests.
38445 2012-03-13 David S. Miller <davem@davemloft.net>
38448 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38449 double-precision for the calculation instead of scaling.
38451 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38453 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38454 manipulate bits before adding and subtracting TWO52[sx].
38455 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38456 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38458 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38460 2012-03-13 David S. Miller <davem@davemloft.net>
38462 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38463 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38465 rtld-global-offsets.h
38466 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38468 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38471 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38473 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38474 'err' in the ifdef scope in which it is actually used.
38476 * nss/nss_db/db-init.c: Include string.h
38478 2012-03-12 David S. Miller <davem@davemloft.net>
38480 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38481 masking out of the most significant byte of random value used.
38482 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38483 Fix coding style in previous change.
38485 * sysdeps/unix/sysv/linux/kernel-features.h
38486 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38487 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38489 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38492 2012-03-11 David S. Miller <davem@davemloft.net>
38494 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38495 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38496 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38497 for 'resultvar' otherwise things get truncated on 64-bit.
38499 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38500 Fix masking out of the most significant byte of random value used.
38502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38504 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38508 2012-03-09 David S. Miller <davem@davemloft.net>
38510 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38511 variables with appropriate CPP guards.
38512 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38513 from the frame pointer, not the stack pointer. Correct layout
38514 comments. Fix test on resulting framesize and the management of
38515 the outregs buffer for pltexit. Preserve floating point return
38516 values across _dl_call_pltexit call.
38517 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38518 framesize and the management of the outregs buffer for pltexit.
38519 Preserve floating point return values across _dl_call_pltexit
38521 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38522 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38523 (la_sparc64_gnu_pltexit): New functions.
38524 (print_exit): Fix format string for return register value.
38526 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38528 * sunrpc/Makefile (others): Add rpcgen.
38529 ($(objpfx)rpcgen): Remove special build rule and dependency on
38531 * sunrpc/rpcgen.c: New file.
38533 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38536 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38537 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38538 * sysdeps/i386/crti.S: Likewise.
38539 * sysdeps/i386/crtn.S: Likewise.
38540 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38541 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38542 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38543 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38544 * sysdeps/sh/crti.S: Likewise.
38545 * sysdeps/sh/crtn.S: Likewise.
38546 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38549 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38551 * locale/programs/locfile-kw.gperf: Likewise.
38552 * locale/programs/charmap-kw.h: Regenerated.
38553 * locale/programs/locfile-kw.h: Likewise.
38556 * intl/plural.y: Replace FSF snail mail address with URL.
38557 * intl/plural.c: Regenerated.
38559 2012-03-09 Richard Henderson <rth@twiddle.net>
38561 * include/math_private.h: Remove file.
38562 * math/math_private.h: Move file ...
38563 * sysdeps/generic/math_private.h: ... here.
38565 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38566 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38567 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38569 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38570 and <math_private.h>.
38571 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38572 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38573 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38574 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38575 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38576 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38577 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38579 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38580 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38583 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38584 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38585 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38586 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38587 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38588 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38589 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38590 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38592 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38593 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38595 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38596 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38597 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38598 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38600 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38601 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38602 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38603 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38604 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38605 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38606 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38607 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38608 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38609 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38610 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38611 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38612 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38613 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38614 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38615 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38616 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38617 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38618 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38619 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38620 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38621 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38622 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38623 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38624 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38625 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38627 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38628 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38629 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38630 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38631 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38632 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38634 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38635 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38636 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38637 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38638 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38639 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38640 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38641 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38642 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38643 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38644 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38645 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38646 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38647 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38650 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38651 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38652 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38653 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38654 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38655 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38659 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38662 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38663 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38664 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38665 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38666 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38667 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38668 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38669 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38670 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38671 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38672 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38673 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38674 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38675 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38676 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38677 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38678 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38679 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38680 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38681 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38682 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38683 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38684 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38685 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38686 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38690 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38691 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38692 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38693 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38694 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38695 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38696 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38698 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38699 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38700 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38701 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38702 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38703 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38704 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38705 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38706 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38707 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38708 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38709 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38710 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38711 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38712 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38713 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38714 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38715 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38716 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38717 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38718 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38719 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38720 * sysdeps/ieee754/k_standard.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38722 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38724 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38725 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38734 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38735 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38736 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38737 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38738 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38740 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38741 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38742 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38745 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38754 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38758 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38812 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38814 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38816 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38824 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38825 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38826 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38829 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38831 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38832 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38833 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38834 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38835 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38836 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38837 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38838 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38839 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38840 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38841 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38842 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38843 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38844 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38845 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38846 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38847 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38848 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38849 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38850 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38853 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38854 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38855 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38856 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38857 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38858 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38859 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38860 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38861 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38862 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38863 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38864 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38865 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38866 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38867 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38869 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38870 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38871 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38875 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38880 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38881 * sysdeps/ieee754/s_lib_version.c: Likewise.
38882 * sysdeps/ieee754/s_matherr.c: Likewise.
38883 * sysdeps/ieee754/s_signgam.c: Likewise.
38884 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38885 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38886 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38887 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38888 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38889 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38890 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38891 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38892 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38893 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38894 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38895 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38896 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38897 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38898 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38899 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38900 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38901 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38902 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38903 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38906 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38908 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38909 * sunrpc/rpc_main.c: Likewise.
38910 * sunrpc/rpc_svcout.c: Likewise.
38912 2012-03-09 David S. Miller <davem@davemloft.net>
38914 * include/math_private.h: New file.
38916 2012-03-09 Joseph Myers <joseph@codesourcery.com>
38918 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38919 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38920 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38921 from <bits/socket_type.h>.
38922 (enum __socket_type): Don't define here.
38923 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38925 bits/socket_type.h.
38928 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38929 checking __USE_GNU.
38931 * Makerules ($(inst_includedir)/%.h): New rule.
38932 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38933 (install-others): Remove variable setting.
38934 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38936 2012-03-08 Richard Henderson <rth@twiddle.net>
38938 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38939 from macro to inline function; merge with the
38940 !__LIBC_INTERNAL_MATH_INLINES version.
38941 (__ieee754_sqrtf): Likewise.
38943 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38944 to inline function.
38945 (__rintf, __floor, __floorf): Likewise.
38947 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38948 macro to inline function.
38949 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38951 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38952 not <math/math_private.h>.
38954 2012-03-08 David S. Miller <davem@davemloft.net>
38956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38958 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38960 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
38962 * resolv/gai_misc.c (handle_requests): Fix struct timespec
38964 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38965 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38967 2012-03-08 Ulrich Drepper <drepper@gmail.com>
38969 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
38970 be defined individually, they must be defined as a block. Define
38971 S for printing a string instead of hidint the different by using a
38972 macro for adding the 'l'.
38973 * stdio-common/tst-fphex-wide.c: Adjust.
38975 2012-03-07 Marek Polacek <polacek@redhat.com>
38977 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38979 2012-03-08 Marek Polacek <polacek@redhat.com>
38982 * stdio-common/Makefile (tests): Add tst-fphex-wide.
38983 * stdio-common/tst-fphex.c: Define a few macros to make the
38984 test reusable. Use them.
38985 * stdio-common/tst-fphex-wide.c: New file.
38987 2012-03-08 Joseph Myers <joseph@codesourcery.com>
38990 * manual/macros.texi (gnusystems): New macro.
38991 (nongnusystems): Likewise.
38992 (gnulinuxhurdsystems): Likewise.
38993 (gnuhurdsystems): Likewise..
38994 (gnulinuxsystems): Likewise.
38995 * manual/charset.texi: Use new macros or @theglibc{} to refer to
38996 variants of the GNU system, not "GNU system".
38997 * manual/conf.texi: Likewise.
38998 * manual/errno.texi: Likewise. Update example of errno macro
39000 * manual/filesys.texi: Likewise.
39001 (getumask): Document as specific to GNU/Hurd.
39002 * manual/install.texi: Likewise. Reword some references to
39004 * manual/intro.texi: Likewise.
39005 * manual/io.texi: Likewise.
39006 (File Name Portability): Detail which constraints are inapplicable
39007 to all GNU systems and which are only inapplicable to GNU/Hurd.
39008 * manual/job.texi: Likewise.
39009 * manual/llio.texi: Likewise.
39010 (O_NOCTTY): Document as present on GNU/Linux.
39011 * manual/maint.texi: Likewise.
39012 * manual/memory.texi: Likewise.
39013 * manual/pattern.texi: Likewise.
39014 * manual/pipe.texi: Likewise.
39015 * manual/process.texi: Likewise.
39016 * manual/resource.texi: Likewise.
39017 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39019 * manual/setjmp.texi: Likewise.
39020 * manual/signal.texi: Likewise.
39021 * manual/startup.texi: Likewise.
39022 * manual/stdio.texi: Likewise.
39023 * manual/terminal.texi: Likewise.
39024 (ONLCR): Document as POSIX.
39025 (OXTABS): Document availability on GNU/Linux as XTABS.
39026 (ONOEOT): Document availability separately from other bits.
39027 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39028 * manual/time.texi: Likewise.
39029 * manual/users.texi: Likewise.
39030 * INSTALL: Regenerated.
39031 * sysdeps/gnu/errlist.c: Regenerated.
39033 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39034 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39035 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39037 * configure: Regenerated.
39039 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39041 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39042 default includes instead of AC_HEADER_CHECK.
39043 * sysdeps/i386/configure: Regenerated.
39046 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39047 * math/s_cacoshf.c (__cacoshf): Likewise.
39048 * math/s_cacoshl.c (__cacoshl): Likewise.
39049 * math/s_casinh.c (__casinh): Set signs of result from argument.
39050 * math/s_casinhf.c (__casinhf): Likewise.
39051 * math/s_casinhl.c (__casinhl): Likewise.
39052 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39053 (casinh_test): Add more tests.
39054 * sysdeps/i386/fpu/libm-test-ulps: Update.
39055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39057 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39059 * po/zh_TW.po: Update from translation team.
39061 * login/Makefile (distribute): Remove variable.
39062 * catgets/Makefile: Likewise.
39063 * mach/Makefile: Likewise.
39064 * malloc/Makefile: Likewise.
39065 * misc/Makefile: Likewise.
39066 * iconv/Makefile: Likewise.
39067 * nscd/Makefile: Likewise.
39068 * hurd/Makefile: Likewise.
39069 * manual/Makefile: Likewise.
39070 * locale/Makefile: Likewise.
39071 * intl/Makefile: Likewise.
39072 * conform/Makefile: Likewise.
39073 * nss/Makefile: Likewise.
39074 * time/Makefile: Likewise.
39075 * soft-fp/Makefile: Likewise.
39076 * dirent/Makefile: Likewise.
39077 * gmon/Makefile: Likewise.
39078 * po/Makefile: Likewise.
39079 * rt/Makefile: Likewise.
39080 * socket/Makefile: Likewise.
39081 * math/Makefile: Likewise.
39082 * signal/Makefile: Likewise.
39083 * debug/Makefile: Likewise.
39084 * elf/Makefile: Likewise.
39085 * timezone/Makefile: Likewise.
39086 * stdlib/Makefile: Likewise.
39087 * iconvdata/Makefile: Likewise.
39088 * sunrpc/Makefile: Likewise.
39089 * io/Makefile: Likewise.
39090 * argp/Makefile: Likewise.
39091 * inet/Makefile: Likewise.
39092 * hesiod/Makefile: Likewise.
39093 * grp/Makefile: Likewise.
39094 * csu/Makefile: Likewise.
39095 * wctype/Makefile: Likewise.
39096 * crypt/Makefile: Likewise.
39097 * libio/Makefile: Likewise.
39098 * string/Makefile: Likewise.
39099 * nis/Makefile: Likewise.
39100 * resolv/Makefile: Likewise.
39101 * stdio-common/Makefile: Likewise.
39102 * wcsmbs/Makefile: Likewise.
39103 * dlfcn/Makefile: Likewise.
39104 * posix/Makefile: Likewise.
39107 * timezone/Makefile: Don't install timezone files, just the programs
39110 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39112 * nss/databases.def: Add missing gshadow entry.
39114 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39116 2012-03-06 Marek Polacek <polacek@redhat.com>
39119 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39120 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39121 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39122 * stdio-common/tst-long-dbl-fphex.c: New file.
39124 2012-03-06 David S. Miller <davem@davemloft.net>
39126 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39127 (set_obp_int): New function.
39128 (get_obp_int): New function.
39129 (__get_clockfreq_via_dev_openprom): Likewise.
39130 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39131 Avoid unused variable warnings on 'val' and use builtin_expect.
39132 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39134 (INLINE_CLONE_SYSCALL): Likewise.
39136 2012-03-05 David S. Miller <davem@davemloft.net>
39138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39140 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39145 only for |x| >= 40.
39146 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39148 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39151 Replace gettimeofday with __vdso_gettimeofday.
39153 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39154 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39155 __vdso_clock_gettime and __vdso_getcpu.
39157 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39158 time with __vdso_time.
39160 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39162 * manual/lang.texi (size_t): Note types to which size_t may be
39163 equivalent with the GNU C Library, but do not describe when
39164 differences between them are significant.
39166 2012-03-05 Andreas Jaeger <aj@suse.de>
39168 * sysdeps/i386/fpu/libm-test-ulps: Update.
39170 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39173 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39174 (__ieee754_pow): Save and restore rounding mode and use
39175 round-to-nearest for main computations.
39176 * math/libm-test.inc (pow_test_tonearest): New function.
39177 (pow_test_towardzero): Likewise.
39178 (pow_test_downward): Likewise.
39179 (pow_test_upward): Likewise.
39180 (main): Call the new functions.
39181 * sysdeps/i386/fpu/libm-test-ulps: Update.
39182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39185 * math/libm-test.inc (cosh_test_tonearest): New function.
39186 (cosh_test_towardzero): Likewise.
39187 (cosh_test_downward): Likewise.
39188 (cosh_test_upward): Likewise.
39189 (sinh_test_tonearest): Likewise.
39190 (sinh_test_towardzero): Likewise.
39191 (sinh_test_downward): Likewise.
39192 (sinh_test_upward): Likewise.
39193 (main): Call the new functions.
39194 * sysdeps/i386/fpu/libm-test-ulps: Update.
39195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39197 2012-03-05 Tom de Vries <tom@codesourcery.com>
39199 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39200 default stack guard is set in last bytes.
39201 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39203 2012-03-05 Kees Cook <keescook@chromium.org>
39205 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39208 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39209 possibly allocate from heap instead of stack.
39210 * stdio-common/bug-vfprintf-nargs.c: New file.
39211 * stdio-common/Makefile (tests): Add nargs overflow test.
39213 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39217 2012-03-03 Marek Polacek <polacek@redhat.com>
39219 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39220 * math/math_private.h: Likewise.
39221 * stdlib/tst-strtod.c: Likewise.
39222 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39223 * sysdeps/x86_64/bits/atomic.h: Likewise.
39225 2012-03-02 David S. Miller <davem@davemloft.net>
39227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39231 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39232 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39233 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39234 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39236 2012-03-02 Roland McGrath <roland@hack.frob.com>
39239 * manual/examples/README: New file, says the example source files
39240 can be used under GPL>=2.
39241 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39242 line containing just "*/".
39243 * manual/examples/add.c: Add copyright header (GPL>=2).
39244 * manual/examples/argp-ex1.c: Likewise.
39245 * manual/examples/argp-ex2.c: Likewise.
39246 * manual/examples/argp-ex3.c: Likewise.
39247 * manual/examples/argp-ex4.c: Likewise.
39248 * manual/examples/atexit.c: Likewise.
39249 * manual/examples/db.c: Likewise.
39250 * manual/examples/dir.c: Likewise.
39251 * manual/examples/dir2.c: Likewise.
39252 * manual/examples/execinfo.c: Likewise.
39253 * manual/examples/filecli.c: Likewise.
39254 * manual/examples/filesrv.c: Likewise.
39255 * manual/examples/fmtmsgexpl.c: Likewise.
39256 * manual/examples/genpass.c: Likewise.
39257 * manual/examples/inetcli.c: Likewise.
39258 * manual/examples/inetsrv.c: Likewise.
39259 * manual/examples/isockad.c: Likewise.
39260 * manual/examples/longopt.c: Likewise.
39261 * manual/examples/memopen.c: Likewise.
39262 * manual/examples/memstrm.c: Likewise.
39263 * manual/examples/mkfsock.c: Likewise.
39264 * manual/examples/mkisock.c: Likewise.
39265 * manual/examples/mygetpass.c: Likewise.
39266 * manual/examples/pipe.c: Likewise.
39267 * manual/examples/popen.c: Likewise.
39268 * manual/examples/rprintf.c: Likewise.
39269 * manual/examples/search.c: Likewise.
39270 * manual/examples/select.c: Likewise.
39271 * manual/examples/setjmp.c: Likewise.
39272 * manual/examples/sigh1.c: Likewise.
39273 * manual/examples/sigusr.c: Likewise.
39274 * manual/examples/stpcpy.c: Likewise.
39275 * manual/examples/strdupa.c: Likewise.
39276 * manual/examples/strftim.c: Likewise.
39277 * manual/examples/strncat.c: Likewise.
39278 * manual/examples/subopt.c: Likewise.
39279 * manual/examples/swapcontext.c: Likewise.
39280 * manual/examples/termios.c: Likewise.
39281 * manual/examples/testopt.c: Likewise.
39282 * manual/examples/testpass.c: Likewise.
39283 * manual/examples/timeval_subtract.c: Likewise.
39286 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39288 * manual/timeval_subtract.c.texi: ... here, new file.
39290 2012-03-02 David S. Miller <davem@davemloft.net>
39292 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39294 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39297 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39298 (__sin): Save and restore rounding mode and use round-to-nearest
39299 for all computations.
39300 (__cos): Save and restore rounding mode and use round-to-nearest
39301 for all computations.
39302 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39304 (tan): Save and restore rounding mode and use round-to-nearest for
39306 * math/libm-test.inc (cos_test_tonearest): New function.
39307 (cos_test_towardzero): Likewise.
39308 (cos_test_downward): Likewise.
39309 (cos_test_upward): Likewise.
39310 (sin_test_tonearest): Likewise.
39311 (sin_test_towardzero): Likewise.
39312 (sin_test_downward): Likewise.
39313 (sin_test_upward): Likewise.
39314 (tan_test_tonearest): Likewise.
39315 (tan_test_towardzero): Likewise.
39316 (tan_test_downward): Likewise.
39317 (tan_test_upward): Likewise.
39318 (main): Call the new functions.
39319 * sysdeps/i386/fpu/libm-test-ulps: Update.
39320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39323 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39324 small n, then large n, before computing and testing k+n.
39325 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39326 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39328 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39330 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39331 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39334 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39335 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39336 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39337 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39338 * math/libm-test.inc (scalbn_test): Add more tests.
39339 (scalbln_test): Likewise.
39341 * manual/filesys.texi (mode_t): Describe constraints on size and
39342 signedness, not exact equivalence to a particular type.
39344 (ino64_t): Likewise.
39346 (nlink_t): Likewise.
39347 (blkcnt_t): Likewise.
39348 (blkcnt64_t): Likewise.
39349 * manual/llio.texi (off_t): Likewise.
39352 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39353 (__ieee754_exp): Save and restore rounding mode and use
39354 round-to-nearest for all computations.
39355 * math/libm-test.inc (exp_test_tonearest): New function.
39356 (exp_test_towardzero): Likewise.
39357 (exp_test_downward): Likewise.
39358 (exp_test_upward): Likewise.
39359 (main): Call the new functions.
39360 * sysdeps/i386/fpu/libm-test-ulps: Update.
39361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39363 2012-03-01 Chris Demetriou <cgd@google.com>
39365 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39366 have predictable order.
39368 2012-03-01 David S. Miller <davem@davemloft.net>
39370 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39372 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39373 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39374 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39375 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39377 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39378 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39379 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39381 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39382 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39383 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39384 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39385 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39389 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39390 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39391 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39393 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39394 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39396 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39397 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39398 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39399 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39400 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39401 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39404 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39406 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39407 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39408 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39409 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39410 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39411 * sysdeps/sparc/elf/configure: Regenerated.
39413 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39415 * configure.in (AS, LD): Require binutils 2.20 or later.
39416 * configure: Regenerated.
39417 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39418 as required minimum version.
39419 * INSTALL: Regenerated.
39423 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39424 before squaring exponent.
39425 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39426 bottom long double and 27 bits of top long double before squaring
39428 * math/libm-test.inc (erfc_test): Add more tests.
39429 * sysdeps/i386/fpu/libm-test-ulps: Update.
39430 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39433 2012-03-01 Kai Tietz <ktietz@redhat.com>
39435 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39436 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39437 containing bit-fields.
39438 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39439 * soft-fp/single.h (_FP_UNION_S): Likewise.
39440 * soft-fp/double.h (_FP_UNION_D): Likewise.
39442 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39445 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39446 not include ../strcmp.S.
39447 [USE_AS_STRNCASECMP_L]: Likewise.
39448 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39449 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39450 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39451 (__strncasecmp_l_ia32): Define as alias to
39452 __strncasecmp_l_nonascii.
39455 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39456 * sysdeps/i386/fpu/libm-test-ulps: Update.
39457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39459 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39462 2012-02-29 Jeff Law <law@redhat.com>
39464 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39465 out of bounds read.
39467 2012-02-29 Marek Polacek <polacek@redhat.com>
39470 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39471 * elf/Makefile: Add rules to run tst-unused-dep.out.
39473 2012-02-28 David S. Miller <davem@davemloft.net>
39475 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39476 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39477 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39479 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39480 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39482 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39484 * math/libm-test.inc (llround_test): Move one test from
39485 lround_test. Use TEST_f_L in moved test.
39486 (lround_test): Move misplaced test to llround_test. Add testcase
39489 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39491 * sysdeps/x86_64/fpu/e_expf.S: New file.
39492 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39494 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39497 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39498 of remain_len that may cause incomplete multi-byte character and
39500 * posix/bug-regex33.c: New file.
39501 * posix/Makefile (tests): Add bug-regex33.
39503 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39505 * manual/macros.texi: New file.
39506 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39507 * manual/libc.texinfo: Include macros.texi.
39508 * manual/creatute.texi: Likewise.
39509 * manual/install.texi: Likewise.
39510 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39511 @glibcadj{} in references to the GNU C Library.
39512 * manual/charset.texi: Likewise.
39513 * manual/conf.texi: Likewise.
39514 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39515 when not using those macros.
39516 * manual/creature.texi: Likewise.
39517 * manual/crypt.texi: Likewise.
39518 * manual/errno.texi: Likewise.
39519 * manual/filesys.texi: Likewise.
39520 * manual/header.texi: Likewise.
39521 * manual/install.texi: Likewise.
39522 * manual/intro.texi: Likewise.
39523 * manual/io.texi: Likewise.
39524 * manual/job.texi: Likewise.
39525 * manual/lang.texi: Likewise.
39526 * manual/libc.texiinfo: Likewise.
39527 * manual/llio.texi: Likewise.
39528 * manual/locale.texi: Likewise.
39529 * manual/maint.texi: Likewise.
39530 * manual/math.texi: Likewise.
39531 * manual/memory.texi: Likewise.
39532 * manual/message.texi: Likewise.
39533 * manual/nss.texi: Likewise.
39534 * manual/pattern.texi: Likewise.
39535 * manual/process.texi: Likewise.
39536 * manual/resource.texi: Likewise.
39537 * manual/search.texi: Likewise.
39538 * manual/setjmp.texi: Likewise.
39539 * manual/signal.texi: Likewise.
39540 * manual/socket.texi: Likewise.
39541 * manual/startup.texi: Likewise.
39542 * manual/stdio.texi: Likewise.
39543 * manual/string.texi: Likewise.
39544 * manual/sysinfo.texi: Likewise.
39545 * manual/syslog.texi: Likewise.
39546 * manual/terminal.texi: Likewise.
39547 * manual/time.texi: Likewise.
39548 * manual/users.texi: Likewise.
39549 * INSTALL: Regenerated.
39550 * NOTES: Regenerated.
39551 * sysdeps/gnu/errlist.c: Regenerated.
39553 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39555 * include/dirent.h: Include <dirstream.h> before
39558 2012-02-28 David S. Miller <davem@davemloft.net>
39560 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39561 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39562 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39563 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39565 2012-02-27 David S. Miller <davem@davemloft.net>
39567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39569 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39570 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39573 frame pointer instead of stack pointer relative arg slot.
39574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39575 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39576 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39578 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39581 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39583 2012-02-27 David S. Miller <davem@davemloft.net>
39585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39589 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39590 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39591 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39592 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39594 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39596 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39597 later. Allow versions 5-9.
39598 * configure: Regenerated.
39599 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39600 required minimum version and 4.6 as recommended version. Do not
39601 mention bugs in GCC 2.7 and 2.8.
39602 * INSTALL: Regenerated.
39604 2012-02-27 David S. Miller <davem@davemloft.net>
39606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39610 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39611 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39612 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39613 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39615 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39616 manipulate bits before adding and subtracting TWO112[sx].
39617 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39619 2012-02-27 Roland McGrath <roland@hack.frob.com>
39622 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39623 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39624 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39625 being in POSIX, because they are in 1003.1-2008.
39627 * rt/tst-aio.c: Include <fcntl.h>.
39628 * rt/tst-aio7.c: Likewise.
39629 * rt/tst-aio64.c: Likewise.
39631 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39633 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39635 * manual/install.texi (--with-headers): Describe headers as
39636 interface headers, not private headers.
39637 (Specific advice for GNU/Linux systems): Describe use of headers
39638 from "make headers_install", not private headers from older
39640 * INSTALL: Regenerated.
39641 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39643 * sysdeps/unix/sysv/linux/configure: Regenerated.
39645 * manual/llio.texi (fclean): Remove documentation.
39647 * manual/Makefile (libc-texi-generated): New variable. Include
39649 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39650 $(libc-texi-generated), not duplicated list of files.
39651 (version.texi, stamp-version): New rules.
39652 (realclean): Remove $(libc-texi-generated), not individual files
39653 from that list. Do not remove dir-add.texinfo.
39654 * manual/libc.texinfo: Comment out uses of edition numbers and
39655 references to printed manual. Remove last-updated dates.
39656 (EDITION): Comment out.
39658 (VERSION, UPDATED): Remove.
39659 (version.texi): Include.
39661 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39663 * sysdeps/posix/spawni.c: Include <signal.h>.
39664 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39665 * sysdeps/pthread/aio_fsync.c: Likewise.
39667 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39669 * conform/Makefile (tests): Run only when not cross-compiling and
39670 when fast-check is not defined.
39672 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39673 * conform/data/limits.h-data: Fixes for POSIX2008.
39674 * conform/run-conformtest.sh: Run all tests.
39675 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39677 * include/bits/dlfcn.h: Likewise.
39678 * include/langinfo.h: Likewise.
39679 * include/monetary.h: Likewise.
39680 * include/sys/poll.h: Likewise.
39682 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39684 * posix/spawn.h: Define __need_sigset_t.
39685 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39686 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39687 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39688 to get sigevent_t only.
39689 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39690 only for __USE_GNU.
39691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39692 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39693 process_vm_writev only for __USE_GNU.
39694 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39696 * conform/Makefile: For now ignore errors from run-conformtest.
39697 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39698 POSIX to avoid namespace pollution. Don't prepend headers.
39699 * conform/data/aio.h-data: Fixes for POSIX testing.
39700 * conform/data/fcntl.h-data: Likewise.
39701 * conform/data/glob.h-data: Likewise.
39702 * conform/data/grp.h-data: Likewise.
39703 * conform/data/pthread.h-data: Likewise.
39704 * conform/data/pwd.h-data: Likewise.
39705 * conform/data/signal.h-data: Likewise.
39706 * conform/data/spawn.h-data: Likewise.
39707 * conform/data/stdio.h-data: Likewise.
39708 * conform/data/stdlib.h-data: Likewise.
39709 * conform/data/stropts.h-data: Likewise.
39710 * conform/data/sys/mman.h-data: Likewise.
39711 * conform/data/sys/stat.h-data: Likewise.
39712 * conform/data/sys/types.h-data: Likewise.
39713 * conform/data/sys/wait.h-data: Likewise.
39714 * conform/data/time.h-data: Likewise.
39715 * conform/data/unistd.h-data: Likewise.
39716 * conform/data/utime.h-data: Likewise.
39718 * io/sys/stat.h: fchmod was always in POSIX.
39719 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39720 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39721 * rt/aio.h: Define __need_timespec before including <time.h>.
39722 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39723 struct. Add forward declaration of pthread_attr_t and use it in
39725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39727 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39728 always remove CLK_TCK definition.
39730 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39732 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39734 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39736 * conform/run-conformtest.sh: New file.
39737 * conform/Makefile: Run run-conformtest for tests.
39738 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39741 * conform/data/uchar.h-data: New file.
39742 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39743 * conform/data/arpa/inet.h-data: Likewise.
39744 * conform/data/assert.h-data: Likewise.
39745 * conform/data/complex.h-data: Likewise.
39746 * conform/data/cpio.h-data: Likewise.
39747 * conform/data/ctype.h-data: Likewise.
39748 * conform/data/dirent.h-data: Likewise.
39749 * conform/data/dlfcn.h-data: Likewise.
39750 * conform/data/errno.h-data: Likewise.
39751 * conform/data/fcntl.h-data: Likewise.
39752 * conform/data/float.h-data: Likewise.
39753 * conform/data/fmtmsg.h-data: Likewise.
39754 * conform/data/fnmatch.h-data: Likewise.
39755 * conform/data/ftw.h-data: Likewise.
39756 * conform/data/glob.h-data: Likewise.
39757 * conform/data/grp.h-data: Likewise.
39758 * conform/data/iconv.h-data: Likewise.
39759 * conform/data/inttypes.h-data: Likewise.
39760 * conform/data/langinfo.h-data: Likewise.
39761 * conform/data/libgen.h-data: Likewise.
39762 * conform/data/limits.h-data: Likewise.
39763 * conform/data/locale.h-data: Likewise.
39764 * conform/data/math.h-data: Likewise.
39765 * conform/data/monetary.h-data: Likewise.
39766 * conform/data/mqueue.h-data: Likewise.
39767 * conform/data/ndbm.h-data: Likewise.
39768 * conform/data/net/if.h-data: Likewise.
39769 * conform/data/netdb.h-data: Likewise.
39770 * conform/data/netinet/in.h-data: Likewise.
39771 * conform/data/nl_types.h-data: Likewise.
39772 * conform/data/poll.h-data: Likewise.
39773 * conform/data/pthread.h-data: Likewise.
39774 * conform/data/pwd.h-data: Likewise.
39775 * conform/data/regex.h-data: Likewise.
39776 * conform/data/sched.h-data: Likewise.
39777 * conform/data/search.h-data: Likewise.
39778 * conform/data/semaphore.h-data: Likewise.
39779 * conform/data/setjmp.h-data: Likewise.
39780 * conform/data/signal.h-data: Likewise.
39781 * conform/data/spawn.h-data: Likewise.
39782 * conform/data/stdarg.h-data: Likewise.
39783 * conform/data/stdio.h-data: Likewise.
39784 * conform/data/stdlib.h-data: Likewise.
39785 * conform/data/string.h-data: Likewise.
39786 * conform/data/strings.h-data: Likewise.
39787 * conform/data/stropts.h-data: Likewise.
39788 * conform/data/sys/ipc.h-data: Likewise.
39789 * conform/data/sys/mman.h-data: Likewise.
39790 * conform/data/sys/msg.h-data: Likewise.
39791 * conform/data/sys/resource.h-data: Likewise.
39792 * conform/data/sys/select.h-data: Likewise.
39793 * conform/data/sys/sem.h-data: Likewise.
39794 * conform/data/sys/shm.h-data: Likewise.
39795 * conform/data/sys/socket.h-data: Likewise.
39796 * conform/data/sys/stat.h-data: Likewise.
39797 * conform/data/sys/statvfs.h-data: Likewise.
39798 * conform/data/sys/time.h-data: Likewise.
39799 * conform/data/sys/timeb.h-data: Likewise.
39800 * conform/data/sys/times.h-data: Likewise.
39801 * conform/data/sys/types.h-data: Likewise.
39802 * conform/data/sys/uio.h-data: Likewise.
39803 * conform/data/sys/un.h-data: Likewise.
39804 * conform/data/sys/utsname.h-data: Likewise.
39805 * conform/data/sys/wait.h-data: Likewise.
39806 * conform/data/syslog.h-data: Likewise.
39807 * conform/data/tar.h-data: Likewise.
39808 * conform/data/termios.h-data: Likewise.
39809 * conform/data/utime.h-data: Likewise.
39810 * conform/data/utmpx.h-data: Likewise.
39811 * conform/data/varargs.h-data: Likewise.
39812 * conform/data/wchar.h-data: Likewise.
39813 * conform/data/wctype.h-data: Likewise.
39814 * conform/data/wordexp.h-data: Likewise.
39816 * include/stropts.h: New file.
39817 * include/uchar.h: New file.
39818 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39819 * include/assert.h: Likewise.
39820 * include/ctype.h: Likewise.
39821 * include/dirent.h: Likewise.
39822 * include/dlfcn.h: Likewise.
39823 * include/fcntl.h: Likewise.
39824 * include/fnmatch.h: Likewise.
39825 * include/glob.h: Likewise.
39826 * include/grp.h: Likewise.
39827 * include/libio.h: Likewise.
39828 * include/locale.h: Likewise.
39829 * include/math.h: Likewise.
39830 * include/net/if.h: Likewise.
39831 * include/netdb.h: Likewise.
39832 * include/netinet/in.h: Likewise.
39833 * include/pthread.h: Likewise.
39834 * include/pwd.h: Likewise.
39835 * include/regex.h: Likewise.
39836 * include/sched.h: Likewise.
39837 * include/search.h: Likewise.
39838 * include/setjmp.h: Likewise.
39839 * include/signal.h: Likewise.
39840 * include/stdio.h: Likewise.
39841 * include/stdlib.h: Likewise.
39842 * include/string.h: Likewise.
39843 * include/sys/cdefs.h: Likewise.
39844 * include/sys/mman.h: Likewise.
39845 * include/sys/msg.h: Likewise.
39846 * include/sys/resource.h: Likewise.
39847 * include/sys/select.h: Likewise.
39848 * include/sys/socket.h: Likewise.
39849 * include/sys/stat.h: Likewise.
39850 * include/sys/statvfs.h: Likewise.
39851 * include/sys/time.h: Likewise.
39852 * include/sys/times.h: Likewise.
39853 * include/sys/uio.h: Likewise.
39854 * include/sys/utsname.h: Likewise.
39855 * include/sys/wait.h: Likewise.
39856 * include/termios.h: Likewise.
39857 * include/time.h: Likewise.
39858 * include/ulimit.h: Likewise.
39859 * include/unistd.h: Likewise.
39860 * include/utime.h: Likewise.
39861 * include/wchar.h: Likewise.
39862 * include/wctype.h: Likewise.
39863 * include/wordexp.h: Likewise.
39865 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39867 * time/time.h: TIME_UTC must be a macro.
39868 Make timespec_get available for ISO C11 only as well.
39870 2012-02-24 Ulrich Drepper <drepper@gmail.com>
39872 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39873 Reported by Peng Haitao <penght@cn.fujitsu.com>.
39875 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39877 * configure.in: Use -o not -a in test for unsupported multi-arch.
39879 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39881 * manual/texinfo.tex: Update to version 2012-01-19.16.
39883 2012-02-24 Joseph Myers <joseph@codesourcery.com>
39885 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39887 2012-02-24 Roland McGrath <roland@hack.frob.com>
39890 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39891 * manual/fdl-1.3.texi: New file.
39892 * manual/fdl-1.1.texi: File removed.
39895 * manual/libc.texinfo (FDL_VERSION): New @set.
39896 Use it for mention of FDL in cover text.
39897 (Documentation License): Use it in @include file name.
39899 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39900 Roland McGrath <roland@hack.frob.com>
39903 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39904 (not LONG_LONG_MAX and LONG_LONG_MIN.
39905 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39906 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
39908 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39910 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39914 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39915 manipulate bits before adding and subtracting TWO23[sx].
39916 * math/libm-test.inc (nearbyint_test): Add more tests.
39918 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39921 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39922 bits before adding and subtracting TWO23[sx].
39923 * math/libm-test.inc (rint_test): Add more tests.
39924 (rint_test_tonearest): Likewise.
39925 (rint_test_towardzero): Likewise.
39926 (rint_test_downward): Likewise.
39927 (rint_test_upward: Likewise.
39929 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39932 * include/stdc-predef.h: New file. Extracted from features.h.
39933 * include/features.h: Include stdc-predef.h.
39934 * Makefile (headers): Add stdc-predef.h.
39935 * CONFORMANCE (Compiler limitations): Update.
39937 2012-02-22 Joseph Myers <joseph@codesourcery.com>
39939 * manual/libc.texinfo (VERSION, UPDATED): Revert.
39941 2012-02-21 David S. Miller <davem@davemloft.net>
39943 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39944 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39946 2012-02-20 David S. Miller <davem@davemloft.net>
39948 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39949 using a normal save/restore sequence, rather than allocating a
39950 dummy stack frame just to store a frame pointer and restore.
39951 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39953 2012-02-21 Joseph Myers <joseph@codesourcery.com>
39955 * manual/install.texi: Fix stray word in line-wrapped comment.
39957 2012-02-20 David S. Miller <davem@davemloft.net>
39959 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39960 both binutils and gcc support GOTDATA.
39962 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39963 "rd %pc" in the PIC register setup sequences.
39965 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39966 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39967 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39968 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39969 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39972 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39974 (SYSCALL_ERROR_HANDLER): Likewise.
39975 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39976 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39977 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39978 (SYSCALL_ERROR_HANDLER): Likewise.
39980 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39981 (HAVE_GCC_GOTDATA): New.
39982 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39983 relocation support in both binutils and gcc.
39984 * sysdeps/sparc/elf/configure: Regenerate.
39986 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39987 * sysdeps/sparc/sparc32/elf/configure: Delete.
39988 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39989 * sysdeps/sparc/sparc64/elf/configure: Delete.
39990 * sysdeps/sparc/elf/configure.in: New file.
39991 * sysdeps/sparc/elf/configure: Generate.
39993 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39994 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39995 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39996 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39997 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39999 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40001 * manual/install.texi: Do not mention specific glibc version
40003 * manual/libc.texinfo (VERSION, UPDATED): Update.
40004 (@copying): Use @copyright{} and range of years.
40006 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40009 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40010 [crti.S not in sysdirs] (generated): Do not append.
40011 [crti.S not in sysdirs] (omit-deps): Likewise.
40012 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40013 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40014 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40015 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40016 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40018 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40019 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40020 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40021 * csu/defs.awk: Remove file.
40022 * sysdeps/generic/initfini.c: Likewise.
40023 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40025 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40028 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40030 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40031 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40032 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40033 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40034 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40035 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40037 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40038 (__EPOLL_PACKED): Define to empty if not defined by
40040 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40044 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40046 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40047 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40048 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40049 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40051 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40055 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40057 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40060 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40061 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40064 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40067 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40069 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40071 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40072 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40074 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40076 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40079 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40081 * math/w_acos.c: Use non-signaling floating-point comparisons.
40082 * math/w_acosf.c: Likewise.
40083 * math/w_acosh.c: Likewise.
40084 * math/w_acoshf.c: Likewise.
40085 * math/w_acoshl.c: Likewise.
40086 * math/w_acosl.c: Likewise.
40087 * math/w_asin.c: Likewise.
40088 * math/w_asinf.c: Likewise.
40089 * math/w_asinl.c: Likewise.
40090 * math/w_atanh.c: Likewise.
40091 * math/w_atanhf.c: Likewise.
40092 * math/w_atanhl.c: Likewise.
40093 * math/w_exp2.c: Likewise.
40094 * math/w_exp2f.c: Likewise.
40095 * math/w_exp2l.c: Likewise.
40096 * math/w_j0.c: Likewise.
40097 * math/w_j0f.c: Likewise.
40098 * math/w_j0l.c: Likewise.
40099 * math/w_j1.c: Likewise.
40100 * math/w_j1f.c: Likewise.
40101 * math/w_j1l.c: Likewise.
40102 * math/w_jn.c: Likewise.
40103 * math/w_jnf.c: Likewise.
40104 * math/w_log.c: Likewise.
40105 * math/w_log10.c: Likewise.
40106 * math/w_log10f.c: Likewise.
40107 * math/w_log10l.c: Likewise.
40108 * math/w_log2.c: Likewise.
40109 * math/w_log2f.c: Likewise.
40110 * math/w_log2l.c: Likewise.
40111 * math/w_logf.c: Likewise.
40112 * math/w_logl.c: Likewise.
40113 * math/w_sqrt.c: Likewise.
40114 * math/w_sqrtf.c: Likewise.
40115 * math/w_sqrtl.c: Likewise.
40116 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40117 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40118 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40119 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40120 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40122 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40125 * manual/string.texi (strnlen): Use correct parameter name in
40126 equivalent expression.
40128 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40131 * manual/users.texi (seteuid): Consistently use neweuid for
40134 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40137 * manual/nss.texi (Services in the NSS configuration): Correct
40138 list of services in example configuration file.
40140 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40143 * manual/arith.texi: Remove statements about negative zero
40144 behaving identically to zero.
40146 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40149 * manual/install.texi: Do not document upgrading from libc5.
40151 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40154 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40156 2012-02-18 David S. Miller <davem@davemloft.net>
40158 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40159 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40160 %o7 across the call.
40161 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40163 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40164 SETUP_PIC_REG_LEAF.
40165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40166 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40167 * sysdeps/sparc/crtn.S: Likewise.
40169 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40171 * aout/Makefile: Remove.
40173 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40176 * manual/examples/argp-ex1.c (main): Format definition in GNU
40178 * manual/examples/argp-ex2.c (main): Likewise.
40179 * manual/examples/argp-ex3.c (main): Likewise.
40180 * manual/examples/argp-ex4.c (main): Likewise.
40181 * manual/examples/longopt.c (main): Use new-style prototype
40183 * manual/examples/strncat.c (main): Specify return type and use
40184 (void) for arguments.
40185 * manual/examples/subopt.c (main): Use char **argv argument.
40187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40190 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40193 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40196 * manual/string.texi (strchr): Change when strchrnul is
40199 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40202 * manual/locale.texi (setlocale): Document LOCPATH.
40204 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40207 * manual/process.texi (execle): Move @dots{} before last argument.
40209 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40212 * manual/charset.texi (Generic Charset Conversion): Fix typo
40213 (LC_TYPE -> LC_CTYPE).
40215 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40218 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40219 (scalbnf): Likewise.
40220 (scalbnl): Likewise.
40221 (scalbln): Likewise.
40222 (scalblnf): Likewise.
40223 (scalblnl): Likewise.
40224 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40225 (vwarnx): Likewise.
40228 * manual/filesys.texi (telldir): Use braces around return type.
40229 * manual/llio.texi (mmap): Add space after comma.
40230 (mmap64): Likewise.
40231 * manual/math.texi (jn): Use @var{} on parameter names.
40237 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40239 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40241 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40242 (sched_get_priority_max): Likewise.
40243 * manual/signal.texi (sigvec): Add space after comma.
40244 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40246 (if_indextoname): Likewise.
40247 (if_freenameindex): Likewise.
40248 (sendto): Use ',' instead of '.' in prototype.
40249 * manual/startup.texi (syscall): Use @dots{} instead of literal
40251 * manual/stdio.texi (__fpending): Separate initial words of
40252 paragraph from @deftypefun line.
40253 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40255 (vsyslog): Use @var{} on parameter names.
40256 * manual/terminal.texi (stty): Use @var{} on parameter names.
40257 * manual/users.texi (getutmp): Use @var{} on parameter names.
40258 (getutmpx): Likewise.
40260 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40263 * manual/stdio.texi (fopen): Fix typos in description of
40266 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40269 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40270 get clock_id definition.
40272 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40275 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40276 (madvise): Cast every argument to void on its own.
40278 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40281 * manual/startup.texi (Exit Status): Fix typo.
40283 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40286 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40287 * manual/examples/argp-ex2.c: Likewise.
40288 * manual/examples/argp-ex3.c: Likewise.
40290 2012-02-16 Richard Henderson <rth@redhat.com>
40292 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40293 * sysdeps/s390/s390-32/initfini.c: Remove.
40294 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40295 * sysdeps/s390/s390-64/initfini.c: Remove.
40297 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40299 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40300 compiler output for sysdeps/generic/initfini.c.
40301 * sysdeps/sh/elf/initfini.c: Remove file.
40303 2012-02-16 David S. Miller <davem@davemloft.net>
40306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40308 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40309 * sysdeps/sparc/crti.S: New file.
40310 * sysdeps/sparc/crtn.S: New file.
40311 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40312 * sysdeps/sparc/sparc64/Makefile: Likewise.
40314 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40317 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40319 2012-02-15 Roland McGrath <roland@hack.frob.com>
40322 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40324 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40325 (write, read, close): Likewise.
40326 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40328 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40330 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40331 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40332 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40333 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40335 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40339 2012-02-14 Marek Polacek <polacek@redhat.com>
40341 * sysdeps/x86_64/crti.S: New file.
40342 * sysdeps/x86_64/crtn.S: New file.
40343 * sysdeps/x86_64/elf/initfini.c: Remove file.
40345 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40347 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40348 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40350 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40352 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40356 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40358 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40359 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40360 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40361 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40363 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40367 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40369 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40370 __feraiseexcept instead of feraiseexcept.
40372 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40373 nanosleep invocations.
40374 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40375 strings, and add error checking for a nanosleep invocations.
40377 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40379 Replace FSF snail mail address with URLs, as per GNU coding standards.
40380 Most of the snail mail addresses were wrong anyway, and omitting
40381 them makes the source code easier to maintain. Almost all of the
40382 changes are to license notices and to locale LC_IDENTIFICATION
40383 addresses, except for this one:
40384 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40385 not its snail mail address.
40387 2012-02-09 Richard Henderson <rth@twiddle.net>
40389 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40390 of kernel-features.h.
40392 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40394 2012-02-08 Marek Polacek <polacek@redhat.com>
40396 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40397 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40398 * sysdeps/gnu/_G_config.h: Likewise.
40399 * sysdeps/generic/_G_config.h: Likewise.
40401 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40403 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40407 * sysdeps/powerpc/powerpc32/crti.S: New file.
40408 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40409 * sysdeps/powerpc/powerpc64/crti.S: New file.
40410 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40412 * Makeconfig (have-initfini): Don't set.
40413 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40414 * configure.in (nopic_initfini): Don't substitute.
40415 * config.h.in (HAVE_INITFINI): Don't #undef.
40416 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40417 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40419 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40421 Support crti.S and crtn.S provided directly by architectures.
40422 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40423 [crti.S in sysdirs] (omit-deps): Likewise.
40424 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40425 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40426 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40427 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40428 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40429 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40430 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40431 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40432 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40433 compiler output for sysdeps/generic/initfini.c.
40434 * sysdeps/i386/elf/Makefile: Remove file.
40435 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40437 2012-02-07 Marek Polacek <polacek@redhat.com>
40439 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40440 * sysdeps/gnu/_G_config.h: Likewise.
40441 * sysdeps/mach/hurd/_G_config.h: Likewise.
40443 2012-02-07 Marek Polacek <polacek@redhat.com>
40445 * math/Makefile (tests): Add tst-CMPLX2.
40446 * math/tst-CMPLX2.c: New file.
40448 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40450 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40452 * math/libm-test.inc (jn_test): Add missing L suffix.
40454 2012-02-06 Marek Polacek <polacek@redhat.com>
40456 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40457 * sysdeps/i386/fpu/e_powf.S: Likewise.
40458 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40459 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40460 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40461 * sysdeps/i386/fpu/e_pow.S: Likewise.
40462 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40463 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40464 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40465 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40466 * sysdeps/i386/fpu/e_log2.S: Likewise.
40467 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40468 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40469 * sysdeps/i386/fpu/e_powl.S: Likewise.
40470 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40471 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40472 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40473 * sysdeps/i386/fpu/e_logl.S: Likewise.
40474 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40475 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40476 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40477 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40478 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40479 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40480 * sysdeps/i386/fpu/e_log.S: Likewise.
40481 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40482 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40483 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40484 * sysdeps/i386/fpu/e_logf.S: Likewise.
40485 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40486 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40487 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40488 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40489 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40490 * sysdeps/i386/fpu/e_log10.S: Likewise.
40491 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40492 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40493 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40494 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40495 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40496 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40497 * sysdeps/i386/asm-syntax.h: Likewise.
40498 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40499 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40500 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40501 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40502 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40503 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40504 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40505 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40506 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40507 * sysdeps/powerpc/sysdep.h: Likewise.
40508 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40509 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40511 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40514 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40516 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40518 * sysdeps/i386/sysdep.h: Include <features.h>.
40519 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40522 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40524 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40526 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40529 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40531 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40532 (SETUP_PIC_REG): Use GET_PC_THUNK.
40533 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40536 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40538 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40539 for non-PIC compilation.
40540 (SETUP_PIC_REG): Add .p2align directive.
40541 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40542 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40543 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40544 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40545 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40546 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40547 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40549 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40550 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40551 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40552 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40553 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40554 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40555 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40556 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40557 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40558 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40559 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40560 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40561 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40562 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40563 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40564 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40566 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40567 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40568 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40569 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40570 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40572 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40573 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40574 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40575 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40576 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40577 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40578 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40579 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40580 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40581 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40583 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40585 * math/tst-CMPLX.c: Include <stdio.h>.
40587 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40589 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40591 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40592 * sysdeps/sparc/bits/mathdef.h: Likewise.
40594 2012-01-31 Marek Polacek <polacek@redhat.com>
40596 * libio/libio.h: Don't define _PARAMS.
40597 * locale/programs/config.h: Don't define PARAMS.
40598 * stdlib/strtol_l.c: Likewise.
40599 (__strtol_l): Remove PARAMS from the prototype.
40601 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40603 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40604 names. Just use the correct names. Remove unnecessary wrapper
40606 * malloc/arena.c: Likewise.
40607 * malloc/hooks.c: Likewise.
40609 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40610 ARENA_TEST says not to. Simplify test for creation of a new arena.
40611 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40613 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40615 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40617 (update_get_addr): New function.
40618 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40619 GET_ADDR_MODULE parameter.
40621 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40623 * crypt/cert.c: Remove __STDC__ conditionals.
40624 * crypt/crypt-entry.c: Likewise.
40625 * crypt/crypt_util.c: Likewise.
40626 * libio/filedoalloc.c: Likewise.
40627 * libio/fileops.c: Likewise.
40628 * libio/genops.c: Likewise.
40629 * libio/iofclose.c: Likewise.
40630 * libio/iofdopen.c: Likewise.
40631 * libio/iofopen.c: Likewise.
40632 * libio/iofopen64.c: Likewise.
40633 * libio/iogetdelim.c: Likewise.
40634 * libio/iopopen.c: Likewise.
40635 * libio/obprintf.c: Likewise.
40636 * libio/oldfileops.c: Likewise.
40637 * libio/oldiofclose.c: Likewise.
40638 * libio/oldiofdopen.c: Likewise.
40639 * libio/oldiofopen.c: Likewise.
40640 * libio/oldiopopen.c: Likewise.
40641 * libio/wfiledoalloc.c: Likewise.
40642 * libio/wgenops.c: Likewise.
40643 * locale/programs/xmalloc.c: Likewise.
40644 * misc/syslog.c: Likewise.
40645 * stdio-common/xbug.c: Likewise.
40646 * string/memchr.c: Likewise.
40647 * string/memcmp.c: Likewise.
40648 * string/memrchr.c: Likewise.
40649 * string/rawmemchr.c: Likewise.
40650 * sysdeps/posix/getcwd.c: Likewise.
40651 * time/strftime_l.c: Likewise.
40653 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40655 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40656 * config.make.in (config-cflags-sse2avx): Define.
40657 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40660 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40662 * scripts/config.guess: Update from upstream config git repository.
40663 * scripts/config.sub: Likewise.
40665 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40667 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40669 (R_TILEPRO_*, R_TILEGX_*): New macros.
40671 * scripts/firstversions.awk: Fix bug in version range handling.
40673 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40675 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40677 * include/sys/epoll.h: New file.
40678 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40681 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40683 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40684 Avoid unnecessary __WORDSIZE == 64 test.
40685 (fmaxf): Use VEX format if possible.
40690 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40691 * math/math_private.h: Remove libc_fegetround* and
40693 * sysdeps/i386/configure.in: Check for -msse2avx.
40694 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40695 also if SSE2AVX is defined.
40696 Remove libc_fegetround* and libc_fesetround*.
40697 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40698 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40699 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40701 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40702 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40703 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40704 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40707 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40709 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40711 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40713 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40715 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40718 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40720 * Makeconfig (libm): Define.
40721 * elf/Makefile: Add rules to build and run tst-relsort1.
40722 * elf/tst-relsort1.c: New file.
40723 * elf/tst-relsort1mod1.c: New file.
40724 * elf/tst-relsort1mod2.c: New file.
40726 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40728 * math/s_ldexp.c: Remove __STDC__ conditionals.
40729 * math/s_ldexpf.c: Likewise.
40730 * math/s_ldexpl.c: Likewise.
40731 * math/s_nextafter.c: Likewise.
40732 * math/s_nexttowardf.c: Likewise.
40733 * math/s_significand.c: Likewise.
40734 * math/s_significandf.c: Likewise.
40735 * math/s_significandl.c: Likewise.
40736 * math/w_jnl.c: Likewise.
40737 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40738 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40739 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40740 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40741 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40742 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40743 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40744 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40745 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40746 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40747 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40749 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40750 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40751 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40753 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40754 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40756 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40757 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40758 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40759 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40760 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40761 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40762 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40763 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40764 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40765 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40766 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40767 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40768 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40769 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40770 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40771 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40772 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40773 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40774 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40775 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40776 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40777 * sysdeps/ieee754/k_standard.c: Likewise.
40778 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40779 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40780 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40781 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40782 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40783 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40784 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40785 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40786 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40787 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40788 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40789 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40790 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40791 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40792 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40793 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40794 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40797 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40799 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40800 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40802 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40806 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40807 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40808 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40809 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40810 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40811 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40812 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40813 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40814 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40815 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40816 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40817 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40818 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40819 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40820 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40821 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40822 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40823 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40824 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40825 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40827 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40828 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40829 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40830 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40831 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40832 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40833 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40834 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40836 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40837 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40838 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40839 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40840 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40841 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40842 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40843 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40844 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40845 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40846 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40847 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40848 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40849 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40850 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40851 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40852 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40853 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40854 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40855 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40856 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40857 * sysdeps/ieee754/s_matherr.c: Likewise.
40858 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40859 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40861 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40863 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40865 * crypt/md5.h: Remove __STDC__ conditionals.
40866 * libio/libioP.h: Likewise.
40867 * locale/programs/config.h: Likewise.
40868 * sysdeps/generic/sysdep.h: Likewise.
40869 * sysdeps/i386/asm-syntax.h: Likewise.
40870 * sysdeps/s390/asm-syntax.h: Likewise.
40871 * sysdeps/unix/sysdep.h: Likewise.
40872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40875 2012-01-26 Joseph Myers <joseph@codesourcery.com>
40877 * libio/libio.h: Remove __STDC__ conditionals.
40878 * malloc/obstack.h: Likewise.
40879 * math/complex.h: Likewise.
40880 * math/math.h: Likewise.
40881 * sysdeps/generic/_G_config.h: Likewise.
40882 * sysdeps/gnu/_G_config.h: Likewise.
40883 * sysdeps/mach/hurd/_G_config.h: Likewise.
40884 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40885 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40886 * sysdeps/sparc/bits/mathdef.h: Likewise.
40888 2012-01-26 Ulrich Drepper <drepper@gmail.com>
40891 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40892 Clean up HAS_* macros.
40893 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40894 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40896 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40898 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40899 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40901 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40902 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40904 2012-01-25 Joseph Myers <joseph@codesourcery.com>
40906 * elf/tst-unique3.cc (gets): Remove declaration.
40907 * elf/tst-unique3lib.cc (gets): Likewise.
40908 * elf/tst-unique3lib2.cc (gets): Likewise.
40909 * elf/tst-unique4.cc (gets): Likewise.
40911 2012-01-24 Ulrich Drepper <drepper@gmail.com>
40913 * include/stdio.h: Add C++ protection. Add gets declarations and
40915 * debug/tst-chk1.c: Don't declare gets here.
40916 * stdio-common/tst-gets.c: Likewise.
40918 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40920 * posix/glob: Remove directory.
40922 2012-01-24 Joseph Myers <joseph@codesourcery.com>
40924 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40926 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
40928 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40929 of the non-standard EPFNOSUPPORT.
40931 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
40933 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40934 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40935 ANYWHERE set to 1 only on KERN_NO_SPACE error.
40937 2012-01-21 Ulrich Drepper <drepper@gmail.com>
40939 * wcsmbs/uchar.h: Test __STDC_VERSION__.
40941 2012-01-20 Ulrich Drepper <drepper@gmail.com>
40943 * nscd/aicache.c (addhstaiX): Do not cache negative results of
40945 * nscd/grpcache.c (cache_addgr): Likewise.
40946 * nscd/hstcache.c (cache_addhst): Likewise.
40947 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40948 * nscd/pwdcache.c (cache_addpw): Likewise.
40949 * nscd/servicescache.c (cache_addserv): Likewise.
40951 2012-01-16 Ulrich Drepper <drepper@gmail.com>
40953 * malloc/malloc.c: Various cleanups.
40954 * malloc/hooks.c: Likewise.
40956 * stdlib/Makefile (tests): Add bug-fmtmsg1.
40957 * stdlib/bug-fmtmsg1.c: New file.
40959 * stdlib/fmtmsg.c (init): Add missing unlock.
40960 Patch by Peng Haitao <penght@cn.fujitsu.com>.
40962 2012-01-12 Marek Polacek <polacek@redhat.com>
40964 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40967 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
40969 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40970 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40971 macro to ensure uniqueness of label name.
40972 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40973 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40975 2012-01-11 Ulrich Drepper <drepper@gmail.com>
40977 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40979 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40980 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40981 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40982 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40984 2012-01-10 Ulrich Drepper <drepper@gmail.com>
40986 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40988 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40989 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40990 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40992 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40994 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40995 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40996 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40997 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40999 * math/bits/math-finite.h: Add ldexp support.
41001 2012-01-10 Marek Polacek <polacek@redhat.com>
41003 * locale/programs/localedef.h (show_archive_content): Add noreturn
41006 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41008 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41010 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41012 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41014 * io/Makefile (headers): Add bits/poll2.h.
41016 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41019 typo #include statement.
41021 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41023 * include/sys/cdefs.h: Define __attribute_alloc_size.
41024 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41025 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41026 * elf/pldd.c: Likewise.
41027 * iconv/iconv_charmap.c: Likewise.
41028 * iconv/iconvconfig.c: Likewise.
41029 * iconv/strtab.c: Likewise.
41030 * locale/programs/locale.c: Likewise.
41031 * locale/programs/localedef.h: Likewise.
41032 * locale/programs/simple-hash.c: Likewise.
41033 * nscd/nscd.h: Likewise.
41034 * nss/makedb.c: Likewise.
41035 * sysdeps/generic/ldconfig.h: Likewise.
41036 * locale/programs/localedef.c: Remove xmalloc prototype.
41037 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41039 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41041 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41044 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41046 * math/Makefile (tests): Add tst-CMPLX.
41047 * math/tst-CMPLX.c: New file.
41049 * math/complex.h (CMPLXL): Fix typo.
41051 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41052 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41054 * debug/tst-chk1.c: Add poll and ppoll tests.
41055 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41056 * include/sys/poll.h: Add hidden proto for ppoll.
41057 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41058 * sysdeps/mach/hurd/ppoll.c: Likewise.
41059 * io/ppoll.c: Likewise.
41060 * debug/poll_chk.c: New file.
41061 * debug/ppoll_chk.c: New file.
41062 * include/bits/poll2.h: New file.
41063 * io/bits/poll2.h: New file.
41066 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41068 * configure.in: static is always set to yes. Remove.
41069 * config.make.in: Don't set build-static.
41070 * Makeconfig: Remove use of build-static.
41071 * dlfcn/Makefile: Likewise.
41072 * elf/Makefile: Likewise.
41073 * math/Makefile: Likewise.
41074 * misc/Makefile: Likewise.
41075 * nptl/Makefile: Likewise.
41076 * sysdeps/mach/hurd/Makefile: Likewise.
41078 * configure.in: PWD_P is not used anymore.
41079 * config.make.in: Remove PWD_P entry.
41081 * configure.in: Remove last remnants of RANLIB.
41082 No need to check for signed size_t anymore.
41083 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41085 Remove __builtin_expect test because we require at least gcc 3.4.
41086 * aclocal.m4: Likewise.
41088 * wcsmbs/mbrtoc16.c: Implement using towc function.
41089 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41090 * wcsmbs/wcsmbsload.c: Likewise.
41091 * iconv/gconv_simple.c: Likewise.
41092 * iconv/gconv_int.h: Likewise.
41093 * iconv/gconv_builtin.h: Likewise.
41094 * iconv/iconv_prog.c: Remove CHAR16 handling.
41096 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41098 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41100 * configure.in: Remove --with-elf and --enable-bounded options.
41101 Dont set base_machine for ia64. More non-ELF conditions removed.
41102 Remove testing and setting of leading underscore information.
41103 * config.make.in (build-bounded): Set to no.
41104 * config.h.in: Remove NO_UNDERSCORES entry.
41105 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41107 * csu/start.c: Remove !NO_UNDERSCORE code.
41108 * locale/localeinfo.h: Likewise.
41109 * sysdeps/generic/machine-gmon.h: Likewise.
41110 * sysdeps/generic/sysdep.h: Likewise.
41111 * sysdeps/i386/sysdep.h: Likewise.
41112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41113 * sysdeps/mach/sysdep.h: Likewise.
41114 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41115 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41116 * sysdeps/sh/sysdep.h: Likewise.
41117 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41118 * sysdeps/unix/i386/sysdep.S: Likewise.
41119 * sysdeps/unix/sparc/start.c: Likewise.
41120 * sysdeps/unix/sparc/sysdep.S: Likewise.
41121 * sysdeps/unix/sparc/sysdep.h: Likewise.
41122 * sysdeps/unix/start.c: Likewise.
41123 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41124 * sysdeps/x86_64/sysdep.h: Likewise.
41126 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41129 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41131 * argp/argp-fmtstream.h: Use const instead __const.
41132 * argp/argp.h: Likewise.
41133 * assert/assert.h: Likewise.
41134 * bits/fenv.h: Likewise.
41135 * bits/sched.h: Likewise.
41136 * bits/sigset.h: Likewise.
41137 * bits/sigthread.h: Likewise.
41138 * catgets/nl_types.h: Likewise.
41139 * conform/data/pthread.h-data: Likewise.
41140 * crypt/crypt-private.h: Likewise.
41141 * crypt/crypt.h: Likewise.
41142 * crypt/crypt_util.c: Likewise.
41143 * ctype/ctype.h: Likewise.
41144 * debug/execinfo.h: Likewise.
41145 * debug/mbsnrtowcs_chk.c: Likewise.
41146 * debug/mbsrtowcs_chk.c: Likewise.
41147 * debug/wcsnrtombs_chk.c: Likewise.
41148 * debug/wcsrtombs_chk.c: Likewise.
41149 * debug/wcstombs_chk.c: Likewise.
41150 * dirent/dirent.h: Likewise.
41151 * dlfcn/dlfcn.h: Likewise.
41152 * elf/neededtest4.c: Likewise.
41153 * grp/grp.h: Likewise.
41154 * gshadow/gshadow.h: Likewise.
41155 * iconv/gconv.h: Likewise.
41156 * iconv/gconv_int.h: Likewise.
41157 * iconv/gconv_simple.c: Likewise.
41158 * iconv/iconv.h: Likewise.
41159 * iconv/loop.c: Likewise.
41160 * iconv/skeleton.c: Likewise.
41161 * include/aio.h: Likewise.
41162 * include/aliases.h: Likewise.
41163 * include/argz.h: Likewise.
41164 * include/arpa/inet.h: Likewise.
41165 * include/assert.h: Likewise.
41166 * include/dirent.h: Likewise.
41167 * include/dlfcn.h: Likewise.
41168 * include/execinfo.h: Likewise.
41169 * include/fcntl.h: Likewise.
41170 * include/fenv.h: Likewise.
41171 * include/glob.h: Likewise.
41172 * include/grp.h: Likewise.
41173 * include/libintl.h: Likewise.
41174 * include/mntent.h: Likewise.
41175 * include/netdb.h: Likewise.
41176 * include/pwd.h: Likewise.
41177 * include/rpc/netdb.h: Likewise.
41178 * include/sched.h: Likewise.
41179 * include/search.h: Likewise.
41180 * include/shadow.h: Likewise.
41181 * include/signal.h: Likewise.
41182 * include/stdio.h: Likewise.
41183 * include/stdlib.h: Likewise.
41184 * include/string.h: Likewise.
41185 * include/sys/socket.h: Likewise.
41186 * include/sys/stat.h: Likewise.
41187 * include/sys/statfs.h: Likewise.
41188 * include/sys/statvfs.h: Likewise.
41189 * include/sys/syslog.h: Likewise.
41190 * include/sys/time.h: Likewise.
41191 * include/sys/uio.h: Likewise.
41192 * include/time.h: Likewise.
41193 * include/unistd.h: Likewise.
41194 * include/utmp.h: Likewise.
41195 * include/wchar.h: Likewise.
41196 * include/wctype.h: Likewise.
41197 * inet/aliases.h: Likewise.
41198 * inet/arpa/inet.h: Likewise.
41199 * inet/netinet/ether.h: Likewise.
41200 * inet/netinet/in.h: Likewise.
41201 * intl/libintl.h: Likewise.
41202 * io/bits/fcntl2.h: Likewise.
41203 * io/fcntl.h: Likewise.
41204 * io/ftw.h: Likewise.
41205 * io/sys/poll.h: Likewise.
41206 * io/sys/stat.h: Likewise.
41207 * io/sys/statfs.h: Likewise.
41208 * io/sys/statvfs.h: Likewise.
41209 * io/utime.h: Likewise.
41210 * libio/bits/stdio.h: Likewise.
41211 * libio/bits/stdio2.h: Likewise.
41212 * libio/libio.h: Likewise.
41213 * libio/libioP.h: Likewise.
41214 * libio/stdio.h: Likewise.
41215 * locale/lc-ctype.c: Likewise.
41216 * locale/locale.h: Likewise.
41217 * login/utmp.h: Likewise.
41218 * malloc/arena.c: Likewise.
41219 * malloc/malloc.c: Likewise.
41220 * malloc/malloc.h: Likewise.
41221 * malloc/mcheck.c: Likewise.
41222 * malloc/mtrace.c: Likewise.
41223 * math/bits/mathcalls.h: Likewise.
41224 * math/fenv.h: Likewise.
41225 * math/math_private.h: Likewise.
41226 * misc/bits/error.h: Likewise.
41227 * misc/bits/syslog.h: Likewise.
41228 * misc/err.h: Likewise.
41229 * misc/error.h: Likewise.
41230 * misc/fstab.h: Likewise.
41231 * misc/mntent.h: Likewise.
41232 * misc/regexp.h: Likewise.
41233 * misc/search.h: Likewise.
41234 * misc/sgtty.h: Likewise.
41235 * misc/sys/mman.h: Likewise.
41236 * misc/sys/syslog.h: Likewise.
41237 * misc/sys/uio.h: Likewise.
41238 * misc/sys/xattr.h: Likewise.
41239 * misc/ttyent.h: Likewise.
41240 * nis/rpcsvc/ypclnt.h: Likewise.
41241 * nss/nss.h: Likewise.
41242 * posix/bits/unistd.h: Likewise.
41243 * posix/fnmatch.h: Likewise.
41244 * posix/glob.h: Likewise.
41245 * posix/sched.h: Likewise.
41246 * posix/spawn.h: Likewise.
41247 * posix/sys/wait.h: Likewise.
41248 * posix/unistd.h: Likewise.
41249 * posix/wordexp.h: Likewise.
41250 * pwd/pwd.h: Likewise.
41251 * resolv/netdb.h: Likewise.
41252 * resource/sys/resource.h: Likewise.
41253 * rt/aio.h: Likewise.
41254 * rt/bits/mqueue2.h: Likewise.
41255 * rt/mqueue.h: Likewise.
41256 * shadow/shadow.h: Likewise.
41257 * signal/signal.h: Likewise.
41258 * socket/send.c: Likewise.
41259 * socket/sendto.c: Likewise.
41260 * socket/sys/socket.h: Likewise.
41261 * stdio-common/printf.h: Likewise.
41262 * stdlib/bits/stdlib.h: Likewise.
41263 * stdlib/fmtmsg.h: Likewise.
41264 * stdlib/monetary.h: Likewise.
41265 * stdlib/stdlib.h: Likewise.
41266 * stdlib/ucontext.h: Likewise.
41267 * streams/stropts.h: Likewise.
41268 * string/argz.h: Likewise.
41269 * string/bits/string2.h: Likewise.
41270 * string/string.h: Likewise.
41271 * string/strings.h: Likewise.
41272 * sunrpc/rpc/auth.h: Likewise.
41273 * sunrpc/rpc/auth_des.h: Likewise.
41274 * sunrpc/rpc/clnt.h: Likewise.
41275 * sunrpc/rpc/netdb.h: Likewise.
41276 * sunrpc/rpc/pmap_clnt.h: Likewise.
41277 * sunrpc/rpc/xdr.h: Likewise.
41278 * sysdeps/generic/inttypes.h: Likewise.
41279 * sysdeps/generic/net/if.h: Likewise.
41280 * sysdeps/generic/sys/swap.h: Likewise.
41281 * sysdeps/gnu/net/if.h: Likewise.
41282 * sysdeps/gnu/utmpx.h: Likewise.
41283 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41284 * sysdeps/i386/i486/bits/string.h: Likewise.
41285 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41286 * sysdeps/s390/bits/string.h: Likewise.
41287 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41288 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41289 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41290 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41291 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41292 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41293 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41294 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41295 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41296 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41297 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41298 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41299 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41300 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41301 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41302 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41303 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41304 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41305 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41306 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41307 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41308 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41309 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41310 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41311 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41312 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41313 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41315 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41316 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41317 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41318 * sysvipc/sys/ipc.h: Likewise.
41319 * sysvipc/sys/msg.h: Likewise.
41320 * sysvipc/sys/sem.h: Likewise.
41321 * sysvipc/sys/shm.h: Likewise.
41322 * termios/termios.h: Likewise.
41323 * time/sys/time.h: Likewise.
41324 * time/time.h: Likewise.
41325 * wcsmbs/bits/wchar2.h: Likewise.
41326 * wcsmbs/uchar.h: Likewise.
41327 * wcsmbs/wchar.h: Likewise.
41328 * wctype/wctype.h: Likewise.
41331 * Makeconfig: Remove all but ELF support including AIX support.
41332 * Makerules: Likewise.
41333 * config.h.in: Likewise.
41334 * config.make.in: Likewise.
41335 * configure: Likewise.
41336 * configure.in: Likewise.
41337 * csu/Makefile: Likewise.
41338 * csu/version.c: Likewise.
41339 * debug/Makefile: Likewise.
41340 * dlfcn/Makefile: Likewise.
41341 * elf/Makefile: Likewise.
41342 * extra-lib.mk: Likewise.
41343 * iconv/Makefile: Likewise.
41344 * include/libc-symbols.h: Likewise.
41345 * include/shlib-compat.h: Likewise.
41346 * resolv/Makefile: Likewise.
41347 * resolv/res_libc.c: Likewise.
41348 * rt/Makefile: Likewise.
41349 * sysdeps/i386/asm-syntax.h: Likewise.
41350 * sysdeps/i386/sysdep.h: Likewise.
41351 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41352 * sysdeps/mach/sysdep.h: Likewise.
41353 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41354 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41355 * sysdeps/s390/asm-syntax.h: Likewise.
41356 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41357 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41358 * sysdeps/sh/sysdep.h: Likewise.
41359 * sysdeps/unix/sparc/sysdep.h: Likewise.
41360 * sysdeps/wordsize-32/divdi3.c: Likewise.
41361 * sysdeps/x86_64/sysdep.h: Likewise.
41363 * argp/Versions: Remove _argp_unlock_xxx.
41366 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41367 * abilist/libBrokenLocale.abilist: Likewise.
41368 * abilist/libanl.abilist: Likewise.
41369 * abilist/libc.abilist: Likewise.
41370 * abilist/libcrypt.abilist: Likewise.
41371 * abilist/libdl.abilist: Likewise.
41372 * abilist/libm.abilist: Likewise.
41373 * abilist/libnsl.abilist: Likewise.
41374 * abilist/libpthread.abilist: Likewise.
41375 * abilist/libresolv.abilist: Likewise.
41376 * abilist/librt.abilist: Likewise.
41377 * abilist/libthread_db.abilist: Likewise.
41378 * abilist/libutil.abilist: Likewise.
41379 * abilist/libnss_db.abilist: New file.
41381 * scripts/abilist.awk: Add support for indirect functions.
41383 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41385 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41387 * shlib-versions: Remove entries for ports architectures.
41389 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41391 * elf/stackguard-macros.h: Remove support for IA-64.
41392 * elf/tst-auditmod1.c: Likewise.
41393 * sysdeps/generic/ldsodefs.h: Likewise.
41395 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41396 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41400 * configure.in: Remove --enable-omitfp support.
41402 * config.make.in: Likewise.
41403 * Makeconfig: Likewise.
41404 * manual/install.texi: Likewise.
41406 In case anyone cares, the IA-64 architecture could move to ports.
41407 * sysdeps/ia64/*: Removed.
41408 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41409 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41412 * configure.in: Remove entries for unsupported architectures.
41415 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41416 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41418 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41419 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41420 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41421 fall back to using wcrtomb.
41422 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41423 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41425 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41426 * wcsmbs/tst-c16c32-1.c: New file.
41428 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41431 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41433 * elf/tst-unique3.cc: Add explicit declaration of gets.
41434 * elf/tst-unique3lib.cc: Likewise.
41435 * elf/tst-unique3lib2.cc: Likewise.
41436 * elf/tst-unique4.cc: Likewise.
41438 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41440 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41443 * assert/assert.h (static_assert): Don't define for C++.
41444 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41445 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41447 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41449 * iconv/loop.c (single loop): Fix assertion in storing of
41452 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41454 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41456 * posix/getconf.c: Update copyright year.
41457 * nss/getent.c: Likewise.
41458 * nss/makedb.c: Likewise.
41459 * iconv/iconvconfig.c: Likewise.
41460 * iconv/iconv_prog.c: Likewise.
41461 * elf/ldconfig.c: Likewise.
41462 * elf/pldd.c: Likewise.
41463 * elf/sotruss.ksh: Likewise.
41464 * catgets/gencat.c: Likewise.
41465 * csu/version.c: Likewise.
41466 * elf/ldd.bash.in: Likewise.
41467 * elf/sprof.c (print_version): Likewise.
41468 * locale/programs/locale.c: Likewise.
41469 * locale/programs/localedef.c: Likewise.
41470 * login/programs/pt_chown.c: Likewise.
41471 * nscd/nscd.c (print_version): Likewise.
41472 * debug/xtrace.sh: Likewise.
41473 * malloc/memusage.sh: Likewise.
41474 * malloc/mtrace.pl: Likewise.
41475 * debug/catchsegv.sh: Likewise.
41477 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41479 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41482 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41485 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41486 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41488 * iconv/gconv_int.h: Likewise.
41489 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41490 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41491 from libc for GLIBC_2.16.
41492 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41493 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41494 * wcsmbs/uchar.h: Really define mbstate_t.
41495 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41496 * wcsmbs/c16rtomb.c: New file.
41497 * wcsmbs/mbrtoc16.c: New file.
41498 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41499 for C/POSIX locale.
41500 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41501 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41503 * wcsmbs/wchar.h: Add missing __restrict.
41505 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41508 * time/Makefile (routines): Add timespec_get.
41509 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41510 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41511 timespec for ISO C11.
41512 * time/timespec_get.c: New file.
41513 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41514 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41517 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41518 * stdlib/stdlib.h: Declare aligned_alloc.
41519 * Versions.def: Add GLIBC_2.16 for libc.
41520 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41523 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41526 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41530 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41533 * assert/assert.h (static_assert): Define.
41535 * version.h: Update for 2.16 development version.
41538 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41541 * version.h (RELEASE): Bump for 2.15 release.
41542 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41544 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41545 Patch by Marek Polacek <mpolacek@redhat.com>.
41547 * bits/byteswap.h: Protect long long constants with __extension__.
41548 * sysdeps/i386/bits/byteswap.h: Likewise.
41549 * sysdeps/ia64/bits/byteswap.h: Likewise.
41550 * sysdeps/s390/bits/byteswap.h: Likewise.
41551 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41553 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41556 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41557 destination buffer.
41558 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41560 2011-12-23 Marek Polacek <polacek@redhat.com>
41562 * elf/dl-addr.c (determine_info): Add inline keyword.
41563 * elf/tst-auditmod4b.c (check_avx): Likewise.
41564 * elf/tst-auditmod6b.c (check_avx): Likewise.
41565 * elf/tst-auditmod6c.c (check_avx): Likewise.
41566 * elf/tst-auditmod7b.c (check_avx): Likewise.
41568 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41570 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41573 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41576 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41577 processing for last bytes.
41579 2011-08-06 Bruno Haible <bruno@clisp.org>
41582 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41583 U+0385, not to U+1FEE.
41586 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41587 entry for U+00A5 U+0301.
41589 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41592 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41593 buffer for the output is too small.
41595 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41599 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41600 SSE flags if possible.
41602 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41606 processing for last bytes.
41608 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41610 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41611 (syscall-list-default-options, syscall-list-default-condition)
41612 (syscall-list-includes): Define.
41613 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41614 list of ABIs and options and #if conditions for each ABI. Do not
41615 handle common syscalls between ABIs specially.
41616 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41618 (syscall-list-variants, syscall-list-32bit-options)
41619 (syscall-list-32bit-condition, syscall-list-64bit-options)
41620 (syscall-list-64bit-condition): Define.
41621 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41622 (syscall-list-variants, syscall-list-32bit-options)
41623 (syscall-list-32bit-condition, syscall-list-64bit-options)
41624 (syscall-list-64bit-condition): Define.
41625 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41627 (syscall-list-variants, syscall-list-32bit-options)
41628 (syscall-list-32bit-condition, syscall-list-64bit-options)
41629 (syscall-list-64bit-condition): Define.
41630 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41632 (syscall-list-variants, syscall-list-32bit-options)
41633 (syscall-list-32bit-condition, syscall-list-64bit-options)
41634 (syscall-list-64bit-condition): Define.
41636 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41638 * locale/iso-639.def: Add brx entry.
41641 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41642 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41644 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41645 __feraiseexcept_renamed.
41647 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41650 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41651 EPOLLET with unsigned values.
41652 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41655 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41656 to large cancellation.
41657 * math/s_cacoshf.c: Likewise.
41658 * math/s_cacoshl.c: Likewise.
41660 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41664 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41665 * math/s_cacoshf.c: Likewise.
41666 * math/s_cacoshl.c: Likewise.
41668 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41671 * iconv/gconv.h: Define __GCONV_SWAP.
41672 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41673 * iconvdata/utf-16.c: Likewise.
41674 * iconvdata/utf-32.c: Likewise.
41676 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41680 numerator after shifting it by one limb.
41682 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41684 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41685 under [__USE_EXTERN_INLINES].
41687 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41690 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41692 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41694 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41695 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41697 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41698 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41699 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41700 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41701 for strncasecmp/strncasecmp_l compilation.
41702 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41703 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41705 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41708 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41711 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41714 * time/tzfile.c (__tzfile_read): Check values from file header.
41716 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41718 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41719 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41720 * powerpc/powerpc32/dl-start.S: Likewise.
41721 * powerpc/powerpc32/elf/start.S: Likewise.
41722 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41723 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41724 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41725 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41726 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41727 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41728 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41729 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41730 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41731 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41732 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41733 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41734 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41735 * powerpc/powerpc32/memset.S: Likewise.
41736 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41737 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41738 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41739 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41740 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41741 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41742 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41743 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41744 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41745 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41746 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41747 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41748 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41750 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41752 * math/libm-test.inc: Added more nearbyint tests.
41753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41754 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41756 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41758 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41760 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41763 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41765 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41766 Add wcscpy-ssse3 wcscpy-c.
41767 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41768 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41769 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41770 * sysdeps/x86_64/wcschr.S: New file.
41771 * sysdeps/x86_64/wcsrchr.S: New file.
41772 * string/test-strcmp.c: Remove checking of wcscmp function for
41774 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41775 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41776 wcsrchr-sse2 wcsrchr-c.
41777 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41778 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41779 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41780 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41781 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41782 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41783 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41784 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41785 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41786 * wcsmbc/wcschr.c (WCSCHR): New macro.
41788 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41790 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41791 * wcsmbs/test-wcsrchr.c: New file.
41792 * string/test-strrchr.c: Add wcsrchr support.
41794 * wcsmbs/test-wcscpy.c: New file.
41795 * string/test-strcpy.c: Add wcscpy support.
41798 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41800 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41803 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41806 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41808 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41810 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41811 Minor optimizations.
41813 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41814 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41815 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41817 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41819 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41820 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41821 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41822 for gcc to avoid warnings.
41823 * inet/Makefile (tests): Add tst-checks.
41824 * inet/tst-checks.c: New file.
41826 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41829 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41832 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41833 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41835 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41837 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41839 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41842 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41844 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41846 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41847 conditional on GCC version.
41848 (__arch_compare_and_exchange_val_8_acq)
41849 (__arch_compare_and_exchange_val_16_acq)
41850 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41851 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41852 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41854 2011-12-02 Joseph Myers <joseph@codesourcery.com>
41856 * sysdeps/sh/backtrace.c: New file.
41858 2011-12-02 Andreas Schwab <schwab@redhat.com>
41860 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
41863 2011-12-01 Andreas Schwab <schwab@redhat.com>
41865 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41866 falling back to utime.
41868 2011-11-30 Andreas Schwab <schwab@redhat.com>
41870 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41871 expectations for float.
41873 2011-11-29 Andreas Schwab <schwab@redhat.com>
41875 * locale/weight.h (findidx): Add parameter len.
41876 * locale/weightwc.h (findidx): Likewise.
41877 * posix/fnmatch_loop.c (FCT): Adjust caller.
41878 * posix/regcomp.c (build_equiv_class): Likewise.
41879 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41880 * posix/regexec.c (check_node_accept_bytes): Likewise.
41881 * string/strcoll_l.c (STRCOLL): Likewise.
41882 * string/strxfrm_l.c (STRXFRM): Likewise.
41884 2011-11-17 Ulrich Drepper <drepper@gmail.com>
41886 * Makefile.in: Remove CVSOPT handling.
41887 * configure.in: Remove use of AC_REVISION.
41888 * iconvdata/Makefile (distribute): No need to filter out CVS.
41889 * scripts/list-sources.sh: Remove CVS, subversion and monotone
41892 2011-11-16 Andreas Schwab <schwab@redhat.com>
41894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41895 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41896 [USE_AS_STRNCASECMP_L]: Likewise.
41897 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41898 NO_TLS_DIRECT_SEG_REFS.
41899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41900 Fix argument offsets for non-PIC.
41901 [USE_AS_STRNCASECMP_L]: Likewise.
41902 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41903 NO_TLS_DIRECT_SEG_REFS.
41905 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41907 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41909 * locale/loadlocale.c (_nl_load_locale): Likewise.
41911 2011-11-15 Andreas Schwab <schwab@redhat.com>
41913 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41914 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41915 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41916 (SYSCALL_GETTIME): Set errno on error.
41918 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41919 count references to noai6ai_cached.
41921 2011-11-15 Ulrich Drepper <drepper@gmail.com>
41923 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41925 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41926 FD_CLOEXEC for /proc/self/maps.
41928 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41929 FD_CLOEXEC for /proc/meminfo.
41931 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41934 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
41935 FD_CLOEXEC for given file.
41937 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41939 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41940 FD_CLOEXEC for /etc/hosts.
41941 (_gethtent): Likewise.
41943 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41945 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41946 cancellation and set FD_CLOEXEC for /etc/netgroup.
41948 * nss/nss_files/files-key.c (search): Don't allow cancellation when
41949 reading /etc/publickey.
41951 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41952 allow cancellation when reading /etc/group.
41954 * nss/nss_files/files-alias.c (internal_setent): Don't allow
41956 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
41958 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41959 when using data file.
41961 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41963 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41964 (write_nis_obj): Use "c" and "e" in fopen.
41966 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41968 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41970 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41972 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41974 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41977 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41979 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41981 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41983 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41984 file parsing and set FD_CLOEXEC.
41986 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41988 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41990 2011-11-14 Andreas Schwab <schwab@redhat.com>
41992 * malloc/arena.c (arena_get2): Don't call reused_arena when
41993 _int_new_arena failed.
41995 2011-11-14 Ulrich Drepper <drepper@gmail.com>
41997 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41998 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42000 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42001 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42002 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42003 to compile strcasecmp and strncasecmp.
42004 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42005 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42009 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42011 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42012 locale-defines.sym to gen-as-const-headers.
42013 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42014 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42016 to compile strcasecmp and strncasecmp.
42017 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42018 strcasecmp_l and strncasecmp_l.
42019 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42020 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42021 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42022 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42023 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42024 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42025 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42026 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42027 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42028 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42029 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42031 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42033 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42034 result of SYSDEP_GETTIME_CPU to retval.
42035 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42036 parameter list to macro. Remove trailing semicolon. Adjust users.
42038 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42041 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42043 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42045 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42046 from unused variable.
42048 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42050 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42053 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42056 * sunrpc/rpc_prot.c (rejected): Fix case value.
42058 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42059 unsigned long long int to avoid warnings in shift.
42061 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42063 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42066 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42067 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42068 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42070 * nis/nis_table.c (nis_list): Use variable of correct type for
42071 result of __follow_path call.
42073 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42075 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42076 of math functions ceil, trunc, floor, round, and sqrt, when
42077 avaliable on the platform.
42078 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42080 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42082 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42084 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42086 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42087 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42089 2011-11-11 Roland McGrath <roland@hack.frob.com>
42091 * include/unistd.h: Fix __readlink return type.
42092 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42094 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42096 * stdlib/ucontext.h: Undo last change for makecontext.
42098 2011-11-11 Andreas Schwab <schwab@redhat.com>
42100 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42102 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42103 * setjmp/setjmp.h: Mark functions as non-leaf.
42104 * setjmp/bits/setjmp2.h: Likewise.
42105 * stdlib/ucontext.h: Likewise.
42107 2011-11-10 Andreas Schwab <schwab@redhat.com>
42109 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42110 (reused_arena): Don't check arena limit.
42111 (arena_get2): Atomically check arena limit.
42113 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42115 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42116 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42118 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42121 2011-11-07 Andreas Schwab <schwab@redhat.com>
42123 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42124 handler when locking.
42126 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42127 Fix size of allocated buffer.
42129 2011-11-04 Andreas Schwab <schwab@redhat.com>
42132 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42133 declarations for long double functions.
42134 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42136 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42138 2011-11-03 Andreas Schwab <schwab@redhat.com>
42140 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42143 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42146 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42148 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42150 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42152 * include/alloca.h (stackinfo_alloca_round): Define.
42153 (extend_alloca): Use it.
42154 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42155 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42158 * scripts/check-local-headers.sh: Ignore libaudit.h.
42160 * nscd/Makefile (extra-objs): Make recursively expanded.
42162 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42164 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42165 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42167 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42168 * posix/tst-rfc3484-2.c: Likewise.
42169 * posix/tst-rfc3484-3.c: Likewise.
42171 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42173 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42175 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42176 process_vm_writev from libc using GLIBC_2.15 version.
42178 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42180 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42182 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42185 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42188 * nss/getent.c (initgroups_keys): Show error message in case no group
42191 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42192 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42193 __bump_nl_timestamp.
42194 * nscd/connections (nscd_init): When host database is served open
42195 netlink socket and request notification about configuration changes.
42196 (main_loop_poll): Track netlink file descriptor and bump timestamp
42197 in case data becomes available.
42198 (main_loop_epoll): Likewise.
42199 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42200 (database_pers_head): Add extra_data fileds.
42201 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42202 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42203 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42205 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42206 in6ai data, call __free_in6ai.
42207 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42208 Add -DHAVE_NETLINK.
42209 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42210 interface information. Reuse previous data if netlink timestamp
42212 (__bump_nl_timestamp): New function.
42213 (__free_in6ai): New function.
42215 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42217 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42218 close_not_cancel_no_status here.
42219 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42221 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42224 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42227 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42228 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42229 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42231 2011-07-03 Andreas Jaeger <aj@suse.de>
42234 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42235 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42236 * math/libm-test.inc (sin_test): Add test case.
42238 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42241 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42242 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42244 * elf/chroot_canon.c (chroot_canon): Cleanups.
42246 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42249 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42250 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42252 * string/test-strchr.c: Make usable for strchrnul testing.
42253 * string/test-strchrnul.c: New file.
42254 * string/Makefile (strop-tests): Add strchrnul.
42256 * po/it.po: Update from translation team.
42257 * po/es.po: Likewise.
42259 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42261 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42262 the three constants needed as parameters. Drop the others.
42263 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42264 __m128i_strloadu_tolower.
42265 Create and initialize variable zero and use it in all the places
42266 where _mm_setzero_si128 was used.
42268 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42269 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42270 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42271 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42273 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42274 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42275 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42276 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42277 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42278 __mpranred, __mptan.
42279 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42280 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42281 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42282 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42283 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42284 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42285 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42286 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42287 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42289 2011-10-28 Andreas Schwab <schwab@redhat.com>
42291 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42292 redefine if SHARED.
42293 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42296 wide char related routines to wcsmbs subdir.
42298 2011-10-27 Andreas Schwab <schwab@redhat.com>
42301 * misc/sys/cdefs.h (__THROWNL): Define.
42302 * posix/unistd.h: Use __THREADNL instead of __THREAD
42303 for memory synchronization functions.
42305 2011-10-26 Roland McGrath <roland@hack.frob.com>
42308 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42310 * manual/stdio.texi (Obstack Streams): Node removed.
42312 2011-10-26 Andreas Schwab <schwab@redhat.com>
42314 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42315 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42316 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42318 * math/math_private.h (math_force_eval): Allow non-addressable
42320 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42322 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42324 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42325 file is not needed.
42327 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42328 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42329 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42330 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42331 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42334 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42336 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42337 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42338 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42339 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42340 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42341 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42342 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42343 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42344 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42345 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42346 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42347 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42349 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42350 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42351 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42352 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42353 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42354 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42356 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42357 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42359 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42360 place. Use VEX encoding when compiling for AVX.
42362 2011-10-25 Andreas Schwab <schwab@redhat.com>
42364 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42365 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42367 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42369 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42371 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42372 useless if() expression.
42373 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42374 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42375 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42377 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42378 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42379 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42380 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42381 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42382 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42383 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42384 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42385 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42386 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42387 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42388 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42389 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42391 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42393 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42395 2011-10-25 Andreas Schwab <schwab@redhat.com>
42397 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42399 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42401 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42403 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42404 .text section. Avoid duplicate constants.
42405 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42406 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42407 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42411 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42413 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42414 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42415 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42416 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42417 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42418 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42419 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42420 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42421 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42422 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42424 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42425 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42426 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42427 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42428 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42429 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42430 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42431 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42432 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42433 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42435 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42437 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42438 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42439 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42440 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42441 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42442 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42443 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42444 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42445 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42446 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42447 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42448 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42449 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42451 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42453 * sysdeps/x86_64/dla.h: Move to ...
42454 * sysdeps/x86_64/fpu/dla.h: ...here.
42455 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42456 situations. Use __builtin_fma only for gcc 4.6 and up.
42458 * config.make.in: Add have-mfma4 entry.
42459 * configure.in: Substitute libc_cv_cc_fma4.
42460 * math/Makefile (dbl-only-routines): Add sincostab.
42461 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42462 Use __sincostab not sincos.
42463 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42466 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42470 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42471 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42472 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42473 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42475 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42476 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42478 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42479 define aliases when function name is a macro.
42480 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42481 sysdeps/ieee754/dbl-64/sincos.tbl.
42482 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42483 fma4-enabled routines.
42484 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42485 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42486 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42487 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42488 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42489 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42490 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42491 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42493 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42494 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42495 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42496 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42497 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42498 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42499 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42500 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42501 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42502 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42503 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42504 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42505 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42506 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42507 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42508 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42509 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42510 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42511 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42512 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42513 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42515 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42518 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42519 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42521 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42523 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42526 2011-10-24 Andreas Schwab <schwab@redhat.com>
42528 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42530 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42534 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42536 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42538 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42539 Remove unused variable magic_bits.
42540 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42542 * string/strnlen.c: Define and use STRNLEN macro.
42543 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42544 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42545 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42546 * wcsmbs/wcslen.c: Define and use WCSLEN.
42547 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42548 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42549 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42550 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42551 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42552 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42553 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42555 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42558 strnlen-sse2-no-bsf.
42559 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42560 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42561 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42562 Add strnlen support.
42563 (USE_AS_STRNLEN): New macro.
42564 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42565 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42566 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42567 * sysdeps/x86_64/wcslen.S: New file.
42569 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42571 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42572 XMM-moves are used for copying on small sizes.
42574 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42576 * wcsmbs/Makefile (strop-tests): Add wcschr.
42577 * wcsmbs/test-wcschr.c: New file.
42578 * string/test-strchr.c: Update.
42579 Add wcschr support.
42582 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42584 * wcsmbs/Makefile (strop-tests): Add wcslen.
42585 * wcsmbs/test-wcslen.c: New file.
42586 * string/test-strlen.c: Update.
42587 Add wcslen support.
42590 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42592 * po/it.po: Update from translation team.
42594 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42596 * sysdeps/x86_64/wcscmp.S: Update.
42597 Fix wrong comparison semantics.
42598 wcscmp shall use signed comparison not unsigned.
42599 Don't use substraction to avoid overflow bug.
42600 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42601 * wcsmbc/wcscmp.c: Likewise.
42602 * string/test-strcmp.c: Likewise.
42603 Add new tests to check cases with negative values.
42605 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42607 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42608 * sysdeps/x86_64/dla.h: ...here. New file.
42609 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42610 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42614 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42615 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42619 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42621 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42622 __ynl_finite aliases.
42624 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42626 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42628 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42630 [DLA_FMA] (EMULV): Use DLA_FMA.
42631 [DLA_FMA] (MUL12): Use EMULV.
42632 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42633 that are not needed.
42634 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42635 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42636 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42637 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42638 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42642 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42644 * math/s_nan.c: Undef __nan.
42645 * math/s_nanf.c: Undef __nanf.
42646 * math/s_nanl.c: Undef __nanl.
42647 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42650 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42652 * math/s_catan.c: Add branch predictions.
42653 * math/s_catanf.c: Likewise.
42654 * math/s_catanh.c: Likewise.
42655 * math/s_catanhf.c: Likewise.
42656 * math/s_catanhl.c: Likewise.
42657 * math/s_catanl.c: Likewise.
42658 * math/s_cexp.c: Likewise.
42659 * math/s_cexpf.c: Likewise.
42660 * math/s_cexpl.c: Likewise.
42661 * math/s_clog.c: Likewise.
42662 * math/s_clog10.c: Likewise.
42663 * math/s_clog10f.c: Likewise.
42664 * math/s_clog10l.c: Likewise.
42665 * math/s_clogf.c: Likewise.
42666 * math/s_clogl.c: Likewise.
42667 * math/s_csqrt.c: Likewise.
42668 * math/s_csqrtf.c: Likewise.
42669 * math/s_csqrtl.c: Likewise.
42670 * math/s_ctanf.c: Likewise.
42671 * math/s_ctanh.c: Likewise.
42672 * math/s_ctanhf.c: Likewise.
42673 * math/s_ctanhl.c: Likewise.
42674 * math/s_ctanl.c: Likewise.
42676 * math/math_private.h: Define __nan, __nanf, __nanl.
42677 * math/s_cacosh.c: Include <math_private.h>.
42678 * math/s_cacoshl.c: Likewise.
42679 * math/s_casinh.c: Likewise.
42680 * math/s_casinhf.c: Likewise.
42681 * math/s_casinhl.c: Likewise.
42682 * math/s_ccos.c: Rely entire on ccosh.
42683 * math/s_ccosf.c: Rely entire on ccoshf.
42684 * math/s_ccosl.c: Rely entirely on ccoshl.
42685 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42686 Remove tests for FE_INVALID.
42687 * math/s_ccoshf.c: Likewise.
42688 * math/s_ccoshl.c: Likewise.
42689 * math/s_csin.c: Likewise.
42690 * math/s_csinf.c: Likewise.
42691 * math/s_csinh.c Likewise.
42692 * math/s_csinhf.c: Likewise.
42693 * math/s_csinhl.c: Likewise.
42694 * math/s_csinl.c: Likewise.
42695 * math/s_ctan.c: Likewise.
42696 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42697 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42698 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42700 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42703 compilation problems.
42705 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42708 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42710 * sysdeps/i386/configure.in: Test for -mfma4 option.
42711 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42712 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42713 COMMON_CPUID_INDEX_80000001.
42714 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42715 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42716 use it if FMA3 is not supported.
42717 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42719 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42720 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42722 2011-10-20 Andreas Schwab <schwab@redhat.com>
42725 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42726 it would create a cycle with a link time dependency.
42728 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42730 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42732 * string/Makefile (strop-tests): Add rawmemchr.
42733 * string/test-rawmemchr.c: New file.
42735 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42736 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42737 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42738 when compiling str{,n}casecmp and when AVX is available. Hook up
42739 new optimized code in initializers.
42741 2011-10-19 Andreas Schwab <schwab@redhat.com>
42743 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42744 __feraiseexcept instead of feraiseexcept.
42746 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42748 * math/math_private.h: Define defaults for libc_fetestexcept and
42750 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42751 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42752 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42753 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42754 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42755 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42756 libc_fetestexcept and libc_feupdateenv.
42758 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42759 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42760 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42761 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42762 libc_feholdexcept_setround.
42764 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42765 Add s_nearbyint-c and s_nearbyintf-c.
42766 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42767 nearbyintf inlines.
42768 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42769 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42770 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42771 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42773 * math/math_private.h: Define defaults for libc_fegetround,
42774 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42775 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42776 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42777 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42778 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42779 standard functions.
42780 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42781 Remove comments and hacks for old compiler versions.
42782 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42783 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42784 libc_feholdexceptl.
42786 2011-10-18 Andreas Schwab <schwab@redhat.com>
42788 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42789 (__feraiseexcept_renamed): Add __NTH.
42790 (feraiseexcept): Add __NTH. Rename local variables to fix
42791 namespace violations.
42793 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42795 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42797 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42799 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42800 recently added interfaces.
42801 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42803 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42804 about macro parameter expansion.
42806 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42807 __NO_MATH_INLINES is defined. Cleanups.
42809 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42810 and __floorf is target has SSE4.1.
42811 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42812 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42813 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42814 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42816 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42818 (floorf): Likewise.
42820 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42822 2011-10-17 Andreas Schwab <schwab@redhat.com>
42824 * misc/sys/cdefs.h: Fix last change.
42826 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42829 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42831 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42833 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42834 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42835 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42836 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42837 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42838 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42839 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42840 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42841 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42842 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42843 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42844 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42845 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42846 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42847 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42848 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42849 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42850 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42851 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42852 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42853 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42854 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42856 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42857 ceil, ceilf, floor, floorf.
42859 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42860 Perform IRELATIVE relocations last.
42862 * elf/do-rel.h: Add another parameter nrelative, replacing the
42863 local variable with the same name. Change name of the function
42864 to end in Rel or Rela (uppercase).
42865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42866 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
42867 elf_dynamic_do_##reloc function.
42869 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42871 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42872 is sufficient, at least on modern CPUs.
42874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42876 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42877 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42879 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42881 * math/bits/math-finite.h: Add entries for exp.
42882 * math/e_expl.c: Add __*_finite alias.
42883 * sysdeps/i386/fpu/e_exp.S: Likewise.
42884 * sysdeps/i386/fpu/e_expf.S: Likewise.
42885 * sysdeps/i386/fpu/e_expl.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42887 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42888 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42891 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42892 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42894 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42895 is sufficient, at least on modern CPUs.
42897 * ctype/ctype-info.c (__ctype_init): Define.
42898 * include/ctype.h (__ctype_init): Declare.
42899 (__ctype_b_loc): The variable is always initialized.
42900 (__ctype_toupper_loc): Likewise.
42901 (__ctype_tolower_loc): Likewise.
42902 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42903 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42905 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
42907 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42909 * configure.in: Also look in $cxxmachine/include for C++ system
42912 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42914 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42915 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42916 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42917 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
42918 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42919 (USE_AS_WMEMCMP): New macro.
42921 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42922 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42923 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42924 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42925 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42926 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42927 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42928 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42929 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42930 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42931 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42932 (USE_AS_WMEMCMP): New macro.
42933 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42934 * sysdeps/string/test-memcmp.c: Update.
42935 Fix simple_wmemcmp.
42937 * wcsmbs/wmemcmp.c: Update.
42938 (WMEMCMP): New macro.
42941 2011-10-12 Andreas Jaeger <aj@suse.de>
42944 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42946 2011-10-15 Ulrich Drepper <drepper@gmail.com>
42948 * libio/iofwide.c (do_length): Avoid warning.
42950 * ctype/ctype.h (__isctype_f): Add missing __THROW.
42952 2011-10-14 Ulrich Drepper <drepper@gmail.com>
42954 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42956 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42957 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42958 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42959 * sysdeps/i386/i686/fpu/e_log.S: New file.
42960 * sysdeps/i386/i686/fpu/e_logf.S: New file.
42961 * sysdeps/i386/i686/fpu/e_logl.S: New file.
42963 * ctype/ctype.h: Add support for inlined isXXX functions when
42964 compiling C++ code.
42966 2011-10-14 Andreas Schwab <schwab@redhat.com>
42968 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42970 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42972 2011-10-13 Roland McGrath <roland@hack.frob.com>
42975 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42977 2011-10-13 Andreas Schwab <schwab@redhat.com>
42979 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42980 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42983 * sysdeps/x86_64/memrchr.S: Check for zero size.
42985 * string/stratcliff.c: Add memrchr tests.
42987 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42990 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42991 rawmemchr-sse2 rawmemchr-sse2-bsf.
42992 * sysdeps/i386/i686/multiarch/memchr.S: New file.
42993 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42994 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42995 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42996 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42997 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42998 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42999 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43000 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43001 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43002 * string/memrchr.c (MEMRCHR): New macro.
43004 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43006 Add integration with gcc's -ffinite-math-only and optimize wrapper
43008 * Versions.def: Define GLIBC_2.15 version for libm.
43009 * math/Makefile (headers): Add bits/math-finite.h.
43010 * math/bits/math-finite.h: New file.
43011 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43012 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43013 * math/e_acoshl.c: Add __*_finite alias.
43014 * math/e_acosl.c: Likewise.
43015 * math/e_asinl.c: Likewise.
43016 * math/e_atan2l.c: Likewise.
43017 * math/e_atanhl.c: Likewise.
43018 * math/e_coshl.c: Likewise.
43019 * math/e_exp10.c: Likewise.
43020 * math/e_exp10f.c: Likewise.
43021 * math/e_exp10l.c: Likewise.
43022 * math/e_exp2l.c: Likewise.
43023 * math/e_fmodl.c: Likewise.
43024 * math/e_gammal_r.c: Likewise.
43025 * math/e_hypotl.c: Likewise.
43026 * math/e_j0l.c: Likewise.
43027 * math/e_j1l.c: Likewise.
43028 * math/e_jnl.c: Likewise.
43029 * math/e_lgammal_r.c: Likewise.
43030 * math/e_log10l.c: Likewise.
43031 * math/e_log2l.c: Likewise.
43032 * math/e_logl.c: Likewise.
43033 * math/e_powl.c: Likewise.
43034 * math/e_sinhl.c: Likewise.
43035 * math/e_sqrtl.c: Likewise.
43036 * math/e_scalb.c: Completely rewritten and optimized.
43037 * math/e_scalbf.c: Likewise.
43038 * math/e_scalbl.c: Likewise.
43039 * math/w_acos.c: Likewise.
43040 * math/w_acosf.c: Likewise.
43041 * math/w_acosl.c: Likewise.
43042 * math/w_acosh.c: Likewise.
43043 * math/w_acoshf.c: Likewise.
43044 * math/w_acoshl.c: Likewise.
43045 * math/w_asin.c: Likewise.
43046 * math/w_asinf.c: Likewise.
43047 * math/w_asinl.c: Likewise.
43048 * math/w_atan2.c: Likewise.
43049 * math/w_atan2f.c: Likewise.
43050 * math/w_atan2l.c: Likewise.
43051 * math/w_atanh.c: Likewise.
43052 * math/w_atanhf.c: Likewise.
43053 * math/w_atanhl.c: Likewise.
43054 * math/w_exp10.c: Likewise.
43055 * math/w_exp10f.c: Likewise.
43056 * math/w_exp10l.c: Likewise.
43057 * math/w_fmod.c: Likewise.
43058 * math/w_fmodf.c: Likewise.
43059 * math/w_fmodl.c: Likewise.
43060 * math/w_j0.c: Likewise.
43061 * math/w_j0f.c: Likewise.
43062 * math/w_j0l.c: Likewise.
43063 * math/w_j1.c: Likewise.
43064 * math/w_j1f.c: Likewise.
43065 * math/w_j1l.c: Likewise.
43066 * math/w_jn.c: Likewise.
43067 * math/w_jnf.c: Likewise.
43068 * math/w_log.c: Likewise.
43069 * math/w_logf.c: Likewise.
43070 * math/w_logl.c: Likewise.
43071 * math/w_log10.c: Likewise.
43072 * math/w_log10f.c: Likewise.
43073 * math/w_log10l.c: Likewise.
43074 * math/w_log2.c: Likewise.
43075 * math/w_log2f.c: Likewise.
43076 * math/w_log2l.c: Likewise.
43077 * math/w_pow.c: Likewise.
43078 * math/w_powf.c: Likewise.
43079 * math/w_powl.c: Likewise.
43080 * math/w_remainder.c: Likewise.
43081 * math/w_remainderf.c: Likewise.
43082 * math/w_remainderl.c: Likewise.
43083 * math/w_scalb.c: Likewise.
43084 * math/w_scalbf.c: Likewise.
43085 * math/w_scalbl.c: Likewise.
43086 * math/w_sqrt.c: Likewise.
43087 * math/w_sqrtf.c: Likewise.
43088 * math/w_sqrtl.c: Likewise.
43089 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43090 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43092 * math/math_private.h: Declare __kernel_standard_f.
43093 * math/w_cosh.c: Remove cruft and optimize a bit.
43094 * math/w_coshf.c: Likewise.
43095 * math/w_coshl.c: Likewise.
43096 * math/w_exp2.c: Likewise.
43097 * math/w_exp2f.c: Likewise.
43098 * math/w_exp2l.c: Likewise.
43099 * math/w_hypot.c: Likewise.
43100 * math/w_hypotf.c: Likewise.
43101 * math/w_hypotl.c: Likewise.
43102 * math/w_lgamma.c: Likewise.
43103 * math/w_lgamma_r.c: Likewise.
43104 * math/w_lgammaf.c: Likewise.
43105 * math/w_lgammaf_r.c: Likewise.
43106 * math/w_lgammal.c: Likewise.
43107 * math/w_lgammal_r.c: Likewise.
43108 * math/w_sinh.c: Likewise.
43109 * math/w_sinhf.c: Likewise.
43110 * math/w_sinhl.c: Likewise.
43111 * math/w_tgamma.c: Likewise.
43112 * math/w_tgammaf.c: Likewise.
43113 * math/w_tgammal.c: Likewise.
43114 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43115 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43116 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43117 Minor optimizations. Pretty printing. Remove cruft.
43118 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43119 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43120 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43121 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43122 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43123 * sysdeps/i386/fpu/e_asin.S: Likewise.
43124 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43125 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43126 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43127 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43128 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43129 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43130 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43131 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43132 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43133 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43134 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43135 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43136 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43137 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43138 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43139 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43140 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43141 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43142 * sysdeps/i386/fpu/e_log.S: Likewise.
43143 * sysdeps/i386/fpu/e_log10.S: Likewise.
43144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43145 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43146 * sysdeps/i386/fpu/e_log2.S: Likewise.
43147 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43148 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43149 * sysdeps/i386/fpu/e_logf.S: Likewise.
43150 * sysdeps/i386/fpu/e_logl.S: Likewise.
43151 * sysdeps/i386/fpu/e_pow.S: Likewise.
43152 * sysdeps/i386/fpu/e_powf.S: Likewise.
43153 * sysdeps/i386/fpu/e_powl.S: Likewise.
43154 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43155 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43156 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43157 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43158 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43159 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43160 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43161 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43162 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43163 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43164 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43165 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43166 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43167 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43168 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43169 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43170 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43171 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43172 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43173 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43174 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43176 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43177 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43178 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43179 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43180 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43181 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43183 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43184 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43187 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43188 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43189 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43190 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43191 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43192 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43193 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43194 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43195 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43196 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43197 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43198 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43199 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43200 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43201 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43202 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43203 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43204 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43243 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43246 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43248 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43249 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43251 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43253 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43254 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43255 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43256 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43257 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43258 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43259 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43260 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43261 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43262 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43263 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43264 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43265 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43266 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43267 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43268 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43269 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43270 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43271 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43272 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43273 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43274 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43275 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43276 (__isnanf): Likewise.
43277 (__isinf_ns): Likewise.
43278 (__isinf_nsf): Likewise.
43279 (__finite): Likewise.
43280 (__finitef): Likewise.
43281 (__ieee754_sqrt): Define as macro.
43282 (__ieee754_sqrtf): Define as macro.
43283 (__ieee754_sqrtl): Define as macro.
43284 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43286 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43287 __FINITE_MATH_ONLY__ consistent.
43288 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43290 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43292 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43295 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43297 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43299 * po/ja.po: Update from translation team.
43301 2011-10-08 Roland McGrath <roland@hack.frob.com>
43303 * locale/programs/locarchive.c (prepare_address_space): New function.
43304 (create_archive, enlarge_archive, open_archive): Use it.
43306 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43307 inside [SHARED], where it is used.
43309 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43311 * nss/getent.c (netgroup_keys): Remove unused variable.
43312 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43314 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43316 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43317 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43319 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43320 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43321 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43322 * math/Makefile (libm-calls): Add s_isinf_ns.
43323 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43324 * math/multc3.c: Likewise.
43325 * math/s_casin.c: Likewise.
43326 * math/s_casinf.c: Likewise.
43327 * math/s_casinl.c: Likewise.
43328 * math/s_ccos.c: Likewise.
43329 * math/s_ccosf.c: Likewise.
43330 * math/s_ccosl.c: Likewise.
43331 * math/s_ctan.c: Likewise.
43332 * math/s_ctanf.c: Likewise.
43333 * math/s_ctanh.c: Likewise.
43334 * math/s_ctanhf.c: Likewise.
43335 * math/s_ctanhl.c: Likewise.
43336 * math/s_ctanl.c: Likewise.
43337 * math/w_fmod.c: Likewise.
43338 * math/w_fmodf.c: Likewise.
43339 * math/w_fmodl.c: Likewise.
43340 * math/w_remainder.c: Likewise.
43341 * math/w_remainderf.c: Likewise.
43342 * math/w_remainderl.c: Likewise.
43343 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43344 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43345 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43347 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43348 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43349 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43350 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43352 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43354 * stdio-common/printf_fphex.c: Likewise.
43355 * stdio-common/printf_size.c: Likewise.
43357 * math/e_exp10.c: Include math_private.h using <...> not "...".
43358 * math/e_exp10f.c: Likewise.
43359 * math/e_exp10l.c: Likewise.
43360 * math/e_exp2l.c: Likewise.
43361 * math/e_j0l.c: Likewise.
43362 * math/e_j1l.c: Likewise.
43363 * math/e_jnl.c: Likewise.
43364 * math/e_lgammal_r.c: Likewise.
43365 * math/e_rem_pio2l.c: Likewise.
43366 * math/e_scalb.c: Likewise.
43367 * math/e_scalbf.c: Likewise.
43368 * math/e_scalbl.c: Likewise.
43369 * math/k_cosl.c: Likewise.
43370 * math/k_sinl.c: Likewise.
43371 * math/k_tanl.c: Likewise.
43372 * math/s_cacoshf.c: Likewise.
43373 * math/s_catan.c: Likewise.
43374 * math/s_catanf.c: Likewise.
43375 * math/s_catanh.c: Likewise.
43376 * math/s_catanhf.c: Likewise.
43377 * math/s_catanhl.c: Likewise.
43378 * math/s_catanl.c: Likewise.
43379 * math/s_ccosh.c: Likewise.
43380 * math/s_ccoshf.c: Likewise.
43381 * math/s_ccoshl.c: Likewise.
43382 * math/s_cexp.c: Likewise.
43383 * math/s_cexpf.c: Likewise.
43384 * math/s_cexpl.c: Likewise.
43385 * math/s_clog.c: Likewise.
43386 * math/s_clog10.c: Likewise.
43387 * math/s_clog10f.c: Likewise.
43388 * math/s_clog10l.c: Likewise.
43389 * math/s_clogf.c: Likewise.
43390 * math/s_clogl.c: Likewise.
43391 * math/s_csin.c: Likewise.
43392 * math/s_csinf.c: Likewise.
43393 * math/s_csinh.c: Likewise.
43394 * math/s_csinhf.c: Likewise.
43395 * math/s_csinhl.c: Likewise.
43396 * math/s_csinl.c: Likewise.
43397 * math/s_csqrt.c: Likewise.
43398 * math/s_csqrtf.c: Likewise.
43399 * math/s_csqrtl.c: Likewise.
43400 * math/s_ctan.c: Likewise.
43401 * math/s_ctanf.c: Likewise.
43402 * math/s_ctanh.c: Likewise.
43403 * math/s_ctanhf.c: Likewise.
43404 * math/s_ctanhl.c: Likewise.
43405 * math/s_ctanl.c: Likewise.
43406 * math/s_ldexp.c: Likewise.
43407 * math/s_ldexpf.c: Likewise.
43408 * math/s_ldexpl.c: Likewise.
43409 * math/s_significand.c: Likewise.
43410 * math/s_significandf.c: Likewise.
43411 * math/s_significandl.c: Likewise.
43412 * math/w_acos.c: Likewise.
43413 * math/w_acosf.c: Likewise.
43414 * math/w_acosh.c: Likewise.
43415 * math/w_acoshf.c: Likewise.
43416 * math/w_acoshl.c: Likewise.
43417 * math/w_acosl.c: Likewise.
43418 * math/w_asin.c: Likewise.
43419 * math/w_asinf.c: Likewise.
43420 * math/w_asinl.c: Likewise.
43421 * math/w_atan2.c: Likewise.
43422 * math/w_atan2f.c: Likewise.
43423 * math/w_atan2l.c: Likewise.
43424 * math/w_atanh.c: Likewise.
43425 * math/w_atanhf.c: Likewise.
43426 * math/w_atanhl.c: Likewise.
43427 * math/w_cosh.c: Likewise.
43428 * math/w_coshf.c: Likewise.
43429 * math/w_coshl.c: Likewise.
43430 * math/w_dremf.c: Likewise.
43431 * math/w_exp10.c: Likewise.
43432 * math/w_exp10f.c: Likewise.
43433 * math/w_exp10l.c: Likewise.
43434 * math/w_exp2.c: Likewise.
43435 * math/w_exp2f.c: Likewise.
43436 * math/w_fmod.c: Likewise.
43437 * math/w_fmodf.c: Likewise.
43438 * math/w_fmodl.c: Likewise.
43439 * math/w_hypot.c: Likewise.
43440 * math/w_hypotf.c: Likewise.
43441 * math/w_hypotl.c: Likewise.
43442 * math/w_j0.c: Likewise.
43443 * math/w_j0f.c: Likewise.
43444 * math/w_j0l.c: Likewise.
43445 * math/w_j1.c: Likewise.
43446 * math/w_j1f.c: Likewise.
43447 * math/w_j1l.c: Likewise.
43448 * math/w_jn.c: Likewise.
43449 * math/w_jnf.c: Likewise.
43450 * math/w_jnl.c: Likewise.
43451 * math/w_lgamma.c: Likewise.
43452 * math/w_lgamma_r.c: Likewise.
43453 * math/w_lgammaf.c: Likewise.
43454 * math/w_lgammaf_r.c: Likewise.
43455 * math/w_lgammal.c: Likewise.
43456 * math/w_lgammal_r.c: Likewise.
43457 * math/w_log.c: Likewise.
43458 * math/w_log10.c: Likewise.
43459 * math/w_log10f.c: Likewise.
43460 * math/w_log10l.c: Likewise.
43461 * math/w_log2.c: Likewise.
43462 * math/w_log2f.c: Likewise.
43463 * math/w_log2l.c: Likewise.
43464 * math/w_logf.c: Likewise.
43465 * math/w_logl.c: Likewise.
43466 * math/w_pow.c: Likewise.
43467 * math/w_powf.c: Likewise.
43468 * math/w_powl.c: Likewise.
43469 * math/w_remainder.c: Likewise.
43470 * math/w_remainderf.c: Likewise.
43471 * math/w_remainderl.c: Likewise.
43472 * math/w_scalb.c: Likewise.
43473 * math/w_scalbf.c: Likewise.
43474 * math/w_scalbl.c: Likewise.
43475 * math/w_sinh.c: Likewise.
43476 * math/w_sinhf.c: Likewise.
43477 * math/w_sinhl.c: Likewise.
43478 * math/w_sqrt.c: Likewise.
43479 * math/w_sqrtf.c: Likewise.
43480 * math/w_sqrtl.c: Likewise.
43481 * math/w_tgamma.c: Likewise.
43482 * math/w_tgammaf.c: Likewise.
43483 * math/w_tgammal.c: Likewise.
43485 * po/ja.po: Update from translation team.
43487 2011-09-29 Andreas Jaeger <aj@suse.de>
43490 * sunrpc/netname.c (netname2host): Fix logic.
43494 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43496 * math/w_remainder.c (__remainder): Likewise.
43497 * math/w_remainderf.c (__remainderf): Likewise.
43498 * math/libm-test.inc (remainder_test): Add test cases.
43500 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43502 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43505 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43507 * string/test-memcmp.c: Avoid unncessary #defines.
43508 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43510 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43512 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43513 Use new sse2 version for core i3 - i7 as it's faster
43514 than sse42 version.
43515 (bit_Prefer_PMINUB_for_stringop): New.
43516 * sysdeps/x86_64/rawmemchr.S: Update.
43517 Replace with faster SSE2 version.
43518 * sysdeps/x86_64/memrchr.S: New file.
43519 * sysdeps/x86_64/memchr.S: Update.
43520 Replace with faster SSE2 version.
43522 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43524 * elf/dl-load.c (lose): Add cast to avoid warning.
43526 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43528 * po/ca.po: Update from translation team.
43530 * inet/getnetgrent_r.c: Hook up nscd.
43531 * nscd/Makefile (routines): Add nscd_netgroup.
43532 (nscd-modules): Add netgroupcache.
43533 (CFLAGS-netgroupcache.c): Define.
43534 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43535 (cache_search): Add const to second parameter.
43536 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43538 (dbs): Add netgrdb entry.
43539 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43540 (verify_persistent_db): Handle netgrdb.
43541 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43542 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43544 (netgroup_response_header): Define.
43545 (innetgroup_response_header): Define.
43546 (datahead): Add netgroup_response_header and innetgroup_response_header
43548 * nscd/nscd.conf: Add entries for netgroup cache.
43549 * nscd/nscd.h (dbtype): Add netgrdb.
43550 (_PATH_NSCD_NETGROUP_DB): Define.
43551 (netgroup_iov_disabled): Declare.
43552 (xmalloc, xcalloc, xrealloc): Move declarations here.
43553 (cache_search): Adjust prototype.
43554 Add netgroup-related prototypes.
43555 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43556 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43557 (__nscd_innetgr): Declare.
43558 * nscd/selinux.c (perms): Use access_vector_t as element type and
43559 add netgroup-related initializers.
43560 * nscd/netgroupcache.c: New file.
43561 * nscd/nscd_netgroup.c: New file.
43562 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43563 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43564 For four parameters use innetgr.
43565 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43566 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43567 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43568 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43570 * nscd/connections.c (register_traced_file): Don't register file
43571 for disabled databases.
43573 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43575 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43577 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43578 from tree and freeing node.
43580 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43582 * nss/nsswitch.c (__nss_database_lookup): Handle
43583 nss_parse_service_list out of memory case.
43585 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43587 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43588 out of memory case.
43590 2011-10-04 Andreas Schwab <schwab@redhat.com>
43592 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43593 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43595 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43596 elf_machine_rela, elf_machine_lazy_rel.
43597 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43598 (ELF_DYNAMIC_DO_REL): Likewise.
43599 (ELF_DYNAMIC_DO_RELA): Likewise.
43600 (ELF_DYNAMIC_RELOCATE): Likewise.
43601 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43602 to ELF_DYNAMIC_DO_REL.
43603 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43604 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43605 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43607 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43608 skip_ifunc, don't call ifunc function if non-zero.
43609 (elf_machine_rela): Likewise.
43610 (elf_machine_lazy_rel): Likewise.
43611 (elf_machine_lazy_rela): Likewise.
43612 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43613 (elf_machine_lazy_rel): Likewise.
43614 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43616 (elf_machine_lazy_rel): Likewise.
43617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43619 (elf_machine_lazy_rel): Likewise.
43620 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43621 (elf_machine_lazy_rel): Likewise.
43622 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43623 (elf_machine_lazy_rel): Likewise.
43624 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43625 (elf_machine_lazy_rel): Likewise.
43626 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43627 (elf_machine_lazy_rel): Likewise.
43628 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43629 (elf_machine_lazy_rel): Likewise.
43630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43631 (elf_machine_lazy_rel): Likewise.
43633 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43635 * nss/nss_files/files-init.c (_nss_files_init): Use static
43636 initialization for all the *_traced_file variables.
43638 2011-09-28 Andreas Schwab <schwab@redhat.com>
43640 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43642 2011-09-27 Roland McGrath <roland@hack.frob.com>
43645 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43647 2011-09-27 Andreas Schwab <schwab@redhat.com>
43649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43650 Reread the line before reparsing it.
43652 2011-09-26 Andreas Schwab <schwab@redhat.com>
43654 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43656 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43657 Maxim Kuvyrkov <maxim@codesourcery.com>
43658 Joseph Myers <joseph@codesourcery.com>
43660 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43661 if needed for __stack_chk_guard.
43663 2011-09-19 Roland McGrath <roland@hack.frob.com>
43665 * sysdeps/posix/spawni.c (script_execute): Always define it.
43666 It will be optimized away if unused.
43667 (maybe_script_execute): New function.
43668 (__spawni): Call it.
43670 * Makerules: Don't include tls.make.
43671 (config-tls): Always set to thread.
43672 * tls.make.c: File removed.
43674 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43676 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43677 * config.make.in (CPPFLAGS-config): New substituted variable.
43679 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43681 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43684 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43685 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43687 2011-09-15 Roland McGrath <roland@hack.frob.com>
43689 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43690 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43691 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43692 (CALL_FAIL): Likewise.
43693 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43694 (CALL_FAIL): Macro removed.
43695 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43697 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43699 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43700 for __FINITE_MATH_ONLY__ == 1.
43702 2011-09-15 Andreas Schwab <schwab@redhat.com>
43704 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43705 __ieee754_sqrt instead of sqrt.
43706 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43707 __ieee754_sqrtf instead of sqrtf.
43708 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43709 __floorf instead of floorf.
43710 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43711 __floorf, __truncf instead of floorf, truncf.
43713 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43715 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43717 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43718 __extern_always_inline.
43719 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43722 2011-09-14 Andreas Schwab <schwab@redhat.com>
43724 * elf/rtld.c (dl_main): Also relocate in dependency order when
43725 doing symbol dependency testing.
43727 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43729 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43730 Always define `refsym'.
43732 2011-09-13 Andreas Schwab <schwab@redhat.com>
43734 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43735 (__FD_ELT): Renamed from __FDELT.
43736 * misc/bits/select2.h (__FD_ELT): Likewise.
43737 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43738 __FD_MASK instead of __FDELT, __FDMASK.
43739 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43741 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43744 * elf/Makefile (gen-ldd): Fix pattern.
43746 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43747 (init_tls): Likewise.
43749 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43753 2011-09-12 Andreas Schwab <schwab@redhat.com>
43755 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43756 `struct cmsghdr *' instead of `void *'.
43757 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43760 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43762 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43764 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43765 ldd_rewrite_script.
43767 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43769 * configure.in: Remove --with-tls option.
43770 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43771 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43772 out in case it is missing.
43773 * sysdeps/ia64/elf/configure.in: Likewise.
43774 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43775 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43776 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43777 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43778 * sysdeps/sh/elf/configure.in: Likewise.
43779 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43780 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43781 * sysdeps/x86_64/elf/configure.in: Likewise.
43782 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43783 * sysdeps/mach/hurd/tls.h: Likewise.
43786 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43789 * configure.in: Fix use of AC_INIT.
43791 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43793 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43795 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43797 * malloc/hooks.c: Likewise.
43800 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43801 variables statically.
43802 (narenas): Initialize.
43803 (list_lock): Initialize.
43804 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43805 initializtion of main_arena and list_lock. Small cleanups.
43806 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43807 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43808 Add initializers to main_arena and mp_.
43809 (malloc_state): Remove pagesize member. Change all users to use
43812 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43813 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43814 is always initialized.
43816 * malloc/malloc.c: Removed unused configurations and dead code.
43817 * malloc/arena.c: Likewise.
43818 * malloc/hooks.c: Likewise.
43819 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43821 * include/tls.h: Removed. USE___THREAD must always be defined.
43822 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43823 * elf/dl-libc.c: Likewise.
43824 * elf/dl-tsd.c: Likewise.
43825 * include/errno.h: Likewise.
43826 * include/netdb.h: Likewise.
43827 * include/resolv.h: Likewise.
43828 * inet/herrno-loc.c: Likewise.
43829 * inet/herrno.c: Likewise.
43830 * malloc/arena.c: Likewise.
43831 * malloc/hooks.c: Likewise.
43832 * malloc/malloc.c: Likewise.
43833 * resolv/res-state.c: Likewise.
43834 * resolv/res_libc.c: Likewise.
43835 * sysdeps/i386/dl-machine.h: Likewise.
43836 * sysdeps/ia64/dl-machine.h: Likewise.
43837 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43838 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43839 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43840 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43841 * sysdeps/sh/dl-machine.h: Likewise.
43842 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43843 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43844 * sysdeps/unix/i386/sysdep.S: Likewise.
43845 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43846 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43847 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43848 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43849 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43850 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43851 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43853 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43855 * sysdeps/unix/x86_64/sysdep.S: Likewise.
43856 * sysdeps/x86_64/dl-machine.h: Likewise.
43857 * tls.make.c: Likewise.
43859 * configure.in: Remove --with-__thread option. Make tests for
43860 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43861 tls_model attribute fail if no support is available. Remove
43863 * Makeconfig: Adjust for dropped configure option. All features are
43865 * Makerules: Likewise.
43866 * Versions.def: Likewise.
43867 * argp/argp-fmtstream.c: Likewise.
43868 * argp/argp-fmtstream.h: Likewise.
43869 * argp/argp-help.c: Likewise.
43870 * assert/assert.c: Likewise.
43871 * config.h.in: Likewise.
43872 * config.make.in: Likewise.
43873 * configure: Likewise.
43874 * configure.in: Likewise.
43875 * csu/Versions: Likewise.
43876 * csu/init.c: Likewise.
43877 * elf/tst-audit2.c: Likewise.
43878 * elf/tst-tls10.c: Likewise.
43879 * elf/tst-tls10.h: Likewise.
43880 * elf/tst-tls11.c: Likewise.
43881 * elf/tst-tls12.c: Likewise.
43882 * elf/tst-tls14.c: Likewise.
43883 * elf/tst-tlsmod11.c: Likewise.
43884 * elf/tst-tlsmod12.c: Likewise.
43885 * elf/tst-tlsmod13.c: Likewise.
43886 * elf/tst-tlsmod13a.c: Likewise.
43887 * elf/tst-tlsmod14a.c: Likewise.
43888 * elf/tst-tlsmod15b.c: Likewise.
43889 * elf/tst-tlsmod16a.c: Likewise.
43890 * elf/tst-tlsmod16b.c: Likewise.
43891 * elf/tst-tlsmod7.c: Likewise.
43892 * elf/tst-tlsmod8.c: Likewise.
43893 * elf/tst-tlsmod9.c: Likewise.
43894 * gmon/gmon.c: Likewise.
43895 * grp/fgetgrent_r.c: Likewise.
43896 * grp/putgrent.c: Likewise.
43897 * hurd/fopenport.c: Likewise.
43898 * include/libc-symbols.h: Likewise.
43899 * include/tls.h: Likewise.
43900 * intl/gettextP.h: Likewise.
43901 * intl/loadinfo.h: Likewise.
43902 * locale/global-locale.c: Likewise.
43903 * locale/localeinfo.h: Likewise.
43904 * mach/devstream.c: Likewise.
43905 * malloc/arena.c: Likewise.
43906 * malloc/set-freeres.c: Likewise.
43907 * misc/err.c: Likewise.
43908 * misc/getttyent.c: Likewise.
43909 * misc/mntent_r.c: Likewise.
43910 * posix/getopt.c: Likewise.
43911 * posix/wordexp.c: Likewise.
43912 * pwd/fgetpwent_r.c: Likewise.
43913 * resolv/Versions: Likewise.
43914 * resolv/res_hconf.c: Likewise.
43915 * shadow/fgetspent_r.c: Likewise.
43916 * shadow/putspent.c: Likewise.
43917 * stdio-common/printf_fphex.c: Likewise.
43918 * stdio-common/tmpfile.c: Likewise.
43919 * stdlib/abort.c: Likewise.
43920 * stdlib/fmtmsg.c: Likewise.
43921 * sunrpc/auth_unix.c: Likewise.
43922 * sunrpc/clnt_perr.c: Likewise.
43923 * sunrpc/clnt_tcp.c: Likewise.
43924 * sunrpc/clnt_udp.c: Likewise.
43925 * sunrpc/clnt_unix.c: Likewise.
43926 * sunrpc/openchild.c: Likewise.
43927 * sunrpc/svc_simple.c: Likewise.
43928 * sunrpc/svc_tcp.c: Likewise.
43929 * sunrpc/svc_udp.c: Likewise.
43930 * sunrpc/svc_unix.c: Likewise.
43931 * sunrpc/xdr.c: Likewise.
43932 * sunrpc/xdr_array.c: Likewise.
43933 * sunrpc/xdr_rec.c: Likewise.
43934 * sunrpc/xdr_ref.c: Likewise.
43935 * sunrpc/xdr_stdio.c: Likewise.
43937 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43939 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43941 2011-07-03 Andreas Jaeger <aj@suse.de>
43943 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43944 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43945 regenerate with gen-libm-tests.pl.
43947 2010-05-12 Petr Baudis <pasky@suse.cz>
43950 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43951 around j0() zero points by switching to j1().
43952 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43953 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43954 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43957 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43959 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43961 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43963 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43964 Patch in part by Pavel Roskin <proski@gnu.org>.
43967 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43969 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
43970 Free memory block if necessary.
43973 * libio/genops.c (INTDEF): For string streams the _lock pointer can
43974 be NULL. Don't lock in this case.
43976 2011-09-09 Roland McGrath <roland@hack.frob.com>
43978 * elf/elf.h (ELFOSABI_GNU): New macro.
43979 (ELFOSABI_LINUX): Define to that.
43981 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
43983 * string/strncat.c (strncat): Undef the symbol in case it has been
43984 defined in bits/string.h.
43986 2011-09-09 Ulrich Drepper <drepper@gmail.com>
43988 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43990 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43993 2011-08-17 Andreas Jaeger <aj@suse.de>
43995 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43997 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
43998 Ian Lance Taylor <iant@google.com>
44000 * math/libm-test.inc (lround_test): New testcase.
44001 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44003 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44005 * Makefile: Remove support for automatic cvs check-ins.
44006 * Makerules: Likewise.
44007 * config.make.in: Likewise.
44008 * configure.in: Likewise.
44009 * intl/Makefile: Likewise.
44010 * locale/Makefile: Likewise.
44011 * po/Makefile: Likewise.
44012 * posix/Makefile: Likewise.
44013 * sysdeps/gnu/Makefile: Likewise.
44014 * sysdeps/mach/hurd/Makefile: Likewise.
44015 * sysdeps/sparc/sparc32/Makefile: Likewise.
44018 * posix/Makefile (bug-regex32-ENV): Define.
44019 Patch by John Stanley <jpsinthemix@verizon.net>.
44021 * misc/Makefile (headers): Add bits/select2.h.
44022 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44023 * misc/bits/select2.h: New file.
44024 * include/bits/select2.h: New file.
44025 * debug/Makefile (routines): Add fdelt_chk.
44026 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44027 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44029 * debug/fdelt_chk.c: New file.
44031 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44032 * wcsmbs/test-wmemcmp.c: Likewise.
44033 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44034 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44036 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44038 * string/Makefile (strop-tests): Add memcmp.
44039 * string/test-wmemcmp.c: New file.
44040 * string/test-memcmp.c: Add wmemcmp support.
44042 2011-09-08 Roland McGrath <roland@hack.frob.com>
44045 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44048 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44049 garbage value in a __mach_port_mod_refs call in the cases of the
44050 task-self and thread-self ports.
44052 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44054 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44056 2011-09-08 Andreas Schwab <schwab@redhat.com>
44058 * elf/dl-load.c (lose): Check for non-null L.
44060 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44062 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44064 * elf/dl-libc.c (dlerror_run): Pass back error code from
44068 * elf/dl-load.c (lose): Free l_origin if it is valid.
44070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44072 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44073 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44074 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44075 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44076 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44077 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44079 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44081 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44082 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44083 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44084 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44085 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44086 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44087 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44088 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44089 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44090 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44092 2011-08-15 Alan Modra <amodra@gmail.com>
44095 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44096 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44097 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44098 ppc_mcount to static-only-routines.
44099 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44101 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44102 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44104 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44106 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44107 for finite and infinity parameters.
44109 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44111 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44112 and add nop instructions for throughput optimization.
44113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44115 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44118 aligned copy for power7 with vector-scalar instructions.
44119 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44121 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44123 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44126 2011-09-07 Andreas Schwab <schwab@redhat.com>
44129 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44132 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44134 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44135 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44136 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44137 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44140 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44142 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44143 Forgot to demangle the pointer.
44145 * sysdeps/i386/sysdep.h: Define atom_text_section.
44146 * sysdeps/x86_64/sysdep.h: Likewise.
44147 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44148 section with atom_text_section.
44149 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44150 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44151 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44152 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44153 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44155 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44156 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44157 already be defined. Change to take two parameters and don't assign
44158 result to variable. Adjust all users.
44159 Define INTERNAL_GETTIME if not already defined.
44160 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44162 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44163 HAVE_CLOCK_GETTIME_VSYSCALL.
44164 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44166 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44167 gettimeofday vsyscall, just use time.
44169 2011-09-06 Andreas Schwab <schwab@redhat.com>
44171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44174 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44176 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44180 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44181 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44182 syscall if possible.
44184 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44186 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44187 e_ident. Don't pass to find_mapsXX.
44188 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44190 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44192 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44193 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44194 * sysdeps/x86_64/multiarch/strchr.S: Update.
44195 Check bit_slow_BSF bit.
44196 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44197 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44198 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44200 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44203 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44205 (tryshell): Define.
44206 (__spawni): Change last parameter to be flag. Test
44207 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44208 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44209 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44210 * posix/spawni.c: Likewise.
44211 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44212 * posix/spawnp.c: Likewise. Change normal version to use
44213 SPAWN_XFLAGS_USE_PATH.
44214 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44215 SPAWN_XFLAGS_TRY_SHELL.
44218 * posix/glob.h: Remove gcc 1.x support.
44221 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44223 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44226 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44228 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44229 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44230 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44231 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44232 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44233 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44235 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44237 * sysdeps/x86_64/wcscmp.S: New file.
44239 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44240 wcscmp-c wcscmp-sse2
44241 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44242 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44243 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44244 * wcsmbs/wcscmp.c: Allow renaming.
44246 2011-09-05 David S. Miller <davem@davemloft.net>
44248 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44249 stack slot, rather than the struct return pointer slot.
44250 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44251 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44253 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44255 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44257 * po/ja.po: Update from translation team.
44260 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44261 kernel in 64-bit binaries.
44263 2011-09-01 David S. Miller <davem@davemloft.net>
44265 * elf/elf.h (HWCAP_SPARC_*): Move to..
44266 * sysdeps/sparc/sysdep.h: this new file and add new values.
44267 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44268 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44269 _DL_HWCAP_COUNT to 24.
44270 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44272 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44273 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44274 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44276 instead of magic constants.
44277 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44279 2011-08-31 David S. Miller <davem@davemloft.net>
44281 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44283 Reimplement to do errno handling inline.
44284 (SYSCALL_ERROR_HANDLER): New macro.
44285 (__SYSCALL_STRING): Do not do errno handling in asm.
44286 (__CLONE_SYSCALL_STRING): Delete.
44287 (__INTERNAL_SYSCALL_STRING): Delete.
44288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44289 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44290 (PSEUDO): Reimplement to do errno handling inline.
44291 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44292 (SYSCALL_ERROR_HANDLER): New macro.
44293 (__SYSCALL_STRING): Do not do errno handling in asm.
44294 (__CLONE_SYSCALL_STRING): Delete.
44295 (__INTERNAL_SYSCALL_STRING): Delete.
44296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44297 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44299 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44300 (inline_syscall*): Add 'err' argument.
44301 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44302 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44303 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44304 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44306 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44307 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44309 2011-08-30 Andreas Schwab <schwab@redhat.com>
44311 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44313 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44315 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44318 2011-08-24 David S. Miller <davem@davemloft.net>
44320 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44322 2011-08-24 Andreas Schwab <schwab@redhat.com>
44324 * elf/Makefile: Add rules to build and run unload8 test.
44325 * elf/unload8.c: New file.
44326 * elf/unload8mod1.c: New file.
44327 * elf/unload8mod1x.c: New file.
44328 * elf/unload8mod2.c: New file.
44329 * elf/unload8mod3.c: New file.
44331 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44334 2011-08-23 David S. Miller <davem@davemloft.net>
44336 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44337 subtract stack bias.
44338 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44339 %sp not %fp in calculations.
44340 (_JMPBUF_UNWINDS_ADJ): Likewise.
44342 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44343 (aio_suspend): Call it to force an exception region around the
44344 AIO_MISC_WAIT() invocation.
44346 2011-08-23 Andreas Schwab <schwab@redhat.com>
44348 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44351 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44353 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44355 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44356 and <dl-machine.h>.
44357 (Elf64_FuncDesc): Remove.
44359 2011-08-22 David S. Miller <davem@davemloft.net>
44361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44362 sigaltstack check, add missing cfi directives.
44363 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44364 missing cfi directives, and sigaltstack handling.
44366 2011-08-16 Andreas Schwab <schwab@redhat.com>
44369 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44370 object is seen twice.
44371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44373 * elf/Makefile (distribute): Add tst-initorder2.c.
44374 (tests): Add tst-initorder2.
44375 (modules-names): Add tst-initorder2a tst-initorder2b
44376 tst-initorder2c tst-initorder2d. Add rules to build them.
44377 ($(objpfx)tst-initorder2.out): New rule.
44378 * elf/tst-initorder2.c: New file.
44379 * elf/tst-initorder2.exp: New file.
44381 2011-08-22 Andreas Schwab <schwab@redhat.com>
44383 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44385 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44386 dependencies back to end of function.
44388 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44389 $(elfobjdir)/ld.so.
44391 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44393 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44394 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44396 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44397 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44398 of __vdso_gettimeofday.
44399 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44400 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44402 (_libc_vdso_platform_setup): Remove initialization of
44403 __vdso_gettimeofday and __vdso_time.
44405 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44407 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44408 and fgetc_unlocked.
44409 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44412 * elf/dl-open.c (add_to_global): Report additions to the global scope
44413 for LD_DEBUG=scopes.
44414 (dl_open_worker): Also print scope of newly loaded dependencies.
44415 (_dl_show_scope): Indicate if there is no scope.
44418 * stdio-common/Makefile (tests): Add bug24.
44419 * stdio-common/bug24.c: New file.
44421 2011-08-19 Andreas Jaeger <aj@suse.de>
44424 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44425 non-existant file when using close-on-exec mode.
44427 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44430 the very first instruction.
44432 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44433 the CFI state in the end.
44434 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44435 inclusion of dl-trampoline.h.
44436 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44438 2011-08-19 Andreas Schwab <schwab@redhat.com>
44440 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44441 expectations for long double.
44443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44444 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44446 2011-08-14 David S. Miller <davem@davemloft.net>
44448 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44449 artificual limit depends upon the system page size.
44451 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44453 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44454 * resolv/Makefile: Define CFLAGS-libresolv.
44456 2011-08-17 Andreas Schwab <schwab@redhat.com>
44458 * nss/makedb.c (compute_tables): Make variables used in nested
44461 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44463 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44464 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44465 if buffer was too small.
44467 * elf/pldd.c (main): Attach to all threads in the process.
44468 Rewrite /proc handling to use *at functions.
44470 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44472 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44473 specifies first scope to show.
44474 (dl_open_worker): Update callers. Move printing scope of new
44475 object to before the relocation.
44476 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44477 * sysdeps/generic/ldsodefs.h: Update declaration.
44479 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44480 string for the scope number.
44482 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44484 * nscd/servicescache.c (cache_addserv): Make sure written is always
44487 2011-08-14 Roland McGrath <roland@hack.frob.com>
44489 * sysdeps/i386/i486/bits/atomic.h
44490 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44491 statement expression, so as to suppress "set but not used" warning.
44492 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44494 * string/strncat.c (STRNCAT): Use prototype definition.
44496 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44497 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44499 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44500 (localedef-modules): Add localedef.
44501 (locale-modules): Add locale.
44503 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44504 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44505 to avoid a warning.
44507 2011-08-14 David S. Miller <davem@davemloft.net>
44509 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44510 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44512 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44514 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44515 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44516 * elf/rtld.c (dl_main): Set l_name of vDSO.
44517 Call _dl_show_scope when DL_DEBUG_SCOPES.
44518 (process_dl_debug): Recognize scopes flag and also set it for all.
44519 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44520 Declare _dl_show_scope.
44522 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44523 (do_dlopen): Pass caller_dlopen to dl_open.
44524 (__libc_dlopen_mode): Initialize caller_dlopen.
44526 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44527 of libc. Make tolower call locale-independent. Optimize a bit by
44528 using isdigit instead of isalnum.
44529 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44531 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44533 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44534 was a dependency or dynamically loaded.
44536 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44538 * intl/l10nflist.c: Allow architecture-specific pop function.
44539 * sysdeps/x86_64/l10nflist.c: New file.
44541 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44544 2011-08-10 Andreas Schwab <schwab@redhat.com>
44546 * include/dirent.h: Add libc_hidden_proto for scandirat and
44547 scandirat64. Don't declare __scandirat64.
44548 * dirent/scandirat.c: Add libc_hidden_def.
44549 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44550 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44552 2011-08-10 David S. Miller <davem@davemloft.net>
44554 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44558 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44560 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44562 * Versions.def [libc]: Add GLIBC_2.15.
44563 * dirent/Makefile (routines): Add scandirat and scandirat64.
44564 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44566 * dirent/dirent.h: Declare scandirat and scandirat64.
44567 * dirent/scandirat.c: New file.
44568 * dirent/scandirat64.c: New file.
44569 * sysdeps/wordsize-64/scandirat.c: New file.
44570 * sysdeps/wordsize-64/scandirat64.c: New file.
44571 * dirent/opendir.c: Define opendirat.
44572 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44574 * dirent/scandir64.c: Adjust for scandir.c change.
44575 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44576 __scandirat64, and __scandir_cancel_handler.
44577 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44578 additional parameter and use openat instead of open (outside of ld.so).
44579 Add new __opendir as wrapper around __opendirat.
44580 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44581 here without requiring old scandirat implementation.
44583 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44585 * dirent/scandir.c (cancel_handler): Renamed to
44586 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44587 defined. Adjust users.
44588 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44589 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44591 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44593 * string/test-string.h (IMPL): Use __STRING to expand name and then
44596 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44599 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44601 * string/Makefile: Update.
44602 (strop-tests): Append strncat.
44603 * string/test-wcscmp.c: New file.
44604 New comprehensive test for wcscmp.
44605 * string/test-strcmp.c: Update.
44606 (WIDE): New define.
44608 2011-07-22 Andreas Schwab <schwab@redhat.com>
44610 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44613 2011-07-26 Andreas Schwab <schwab@redhat.com>
44615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44616 encoding to ACE if AI_IDN.
44618 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44620 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44621 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44623 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44625 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44626 Fix overflow bug in strncat.
44627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44629 * string/test-strncat.c: Update.
44630 Add new tests for checking overflow bugs.
44632 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44634 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44635 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44636 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44637 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44638 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44639 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44640 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44641 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44642 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44644 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44645 (USE_AS_STRCAT): Define.
44646 Add strcat and strncat support.
44647 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44649 2011-07-25 Andreas Schwab <schwab@redhat.com>
44651 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44652 __n bigger than INT_MAX+1.
44653 (__strncmp_g): Likewise.
44655 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44657 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44658 * libio/stido.h: Likewise.
44660 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44665 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44666 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44667 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44668 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44669 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44672 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44675 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44677 (_dl_x86_64_save_sse): Likewise.
44679 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44683 (_dl_x86_64_save_sse): Likewise.
44685 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44687 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44689 2011-07-21 Andreas Schwab <schwab@redhat.com>
44691 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44693 (_dl_x86_64_save_sse): Use correct AVX check.
44695 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44697 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44698 bug in strncpy/strncat.
44699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44701 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44703 * string/tester.c (test_strcat): Add tests for different alignments
44704 of source and destination.
44705 (test_strncat): Likewise.
44707 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44710 * posix/glob.c (glob): Check passed in values before using them in
44711 expressions to avoid some overflows.
44712 (glob_in_dir): Likewise.
44715 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44716 check for AVX enablement so that we don't crash with old kernels and
44718 * elf/tst-audit4.c: Add same checks here.
44719 * elf/tst-audit6.c: Likewise.
44721 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44723 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44725 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44727 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44729 * po/cs.po: Update from translation team.
44730 * po/bg.po: Likewise.
44732 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44734 * misc/sys/cdefs.h: Add support for const attribute.
44735 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44736 to gnu_dev_{major,minor,makedev} functions.
44738 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44740 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44742 2011-07-20 Andreas Schwab <schwab@redhat.com>
44744 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44747 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44749 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44750 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44751 register in order to avoid conflicts with the soft frame pointer
44752 being held in r11 when necessary.
44753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44754 (INTERNAL_VSYSCALL_NCS): Likewise.
44756 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44758 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44759 * elf/dl-fini.c (_dl_fini): Adjust caller.
44760 * elf/dl-close.c (_dl_close_worker): Likewise.
44761 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44763 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44765 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44766 "aux_cache->nlibs < 0".
44768 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44769 in the reload-count case.
44771 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44773 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44774 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44775 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44776 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44777 * sysdeps/x86_64/multiarch/strcat.S: New file.
44778 * sysdeps/x86_64/multiarch/strncat.S: New file.
44779 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44780 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44781 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44782 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44783 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44784 (USE_AS_STRCAT): Define.
44785 Add strcat and strncat support.
44786 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44787 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44788 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44789 * string/strncat.c: Update.
44790 (USE_AS_STRNCAT): Define.
44791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44792 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44794 * sysdeps/x86_64/multiarch/init-arch.h
44795 (bit_Prefer_PMINUB_for_stringop): New.
44796 (index_Prefer_PMINUB_for_stringop): Likewise.
44797 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44798 bit_Prefer_PMINUB_for_stringop.
44800 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44802 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44804 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44805 of casting of buffer.
44806 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44807 buffer32 and buffer64.
44808 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44809 writes instead of casting of buffer.
44810 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44812 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44815 2011-07-19 Andreas Schwab <schwab@redhat.com>
44817 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44819 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44821 * nscd/nscd.c (termination_handler): Don't do anything for a database
44822 if it has not yet been initialized.
44824 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44826 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44828 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44830 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44832 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44834 * po/nl.po: Update from translation team.
44835 * po/sv.po: Likewise.
44837 2011-07-16 Roland McGrath <roland@hack.frob.com>
44839 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44840 now disallowed by GCC.
44842 * configure.in (use-default-link): Default to yes if a test -shared
44843 link meets our qualifications.
44844 * configure: Regenerated.
44846 * config.make.in (output-format): New variable.
44847 * configure.in: Check for ld --print-output-format support.
44848 * configure: Regenerated.
44849 * Makerules ($(common-objpfx)format.lds)
44850 [$(output-format) != unknown]: Just use $(output-format),
44851 instead of the linker-script munging.
44853 2011-07-14 Roland McGrath <roland@hack.frob.com>
44855 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44856 of $(common-objpfx)shlib.lds.
44857 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44859 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44860 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44862 * configure.in (-z relro check): Adjust test code to add a large
44863 writable data section after it.
44864 * configure: Regenerated.
44866 2011-07-11 Roland McGrath <roland@hack.frob.com>
44868 * configure.in (-z relro check): Fix test code to make the variable
44870 * configure: Regenerated.
44872 2011-07-11 Ulrich Drepper <drepper@gmail.com>
44874 * nscd/nscd.h (struct traced_file): Define.
44875 (struct database_dyn): Remove inotify_descr, reset_res, and filename
44876 elements. Add traced_files.
44877 (inotify_fd): Declare.
44878 (register_traced_file): Declare.
44879 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44880 (inotify_fd): Export.
44881 (resolv_conf_descr): Remove.
44882 (nscd_init): Move inotify descriptor creation to main.
44883 Don't register files for notification here.
44884 (register_traced_file): New function.
44885 (invalidate_cache): Don't use reset_res to determine whether to call
44886 res_init, go through the list of registered files.
44887 (main_loop_poll): The inotify descriptors are now stored in the
44888 structures for the traced files.
44889 (main_loop_epoll): Likewise
44890 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
44891 to __nss_disable_nscd.
44892 * nscd/cache.c (prune_cache): There is no single inotify descriptor
44893 for a database anymore. Check the records for all the registered
44895 * nss/Makefile (libnss_files-routines): Add files-init.
44896 (libnss_db-routines): Add db-init.
44897 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44898 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44899 * nss/nss_db/db-init.c: New file.
44900 * nss/nss_files/files-init.c: New file.
44901 * nss/nsswitch.c (nss_load_library): New function. Broken out of
44902 __nss_lookup_function.
44903 (__nss_lookup_function): Call nss_load_library.
44904 (nss_load_all_libraries): New function.
44905 (__nss_disable_nscd): Take parameter with callback function for files
44906 to register. Set is_nscd. Load all the DSOs for the NSS modules
44907 used for the cached services.
44908 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44909 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44910 options for features to all the files in nscd.
44912 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44914 2011-07-10 Roland McGrath <roland@hack.frob.com>
44916 * csu/elf-init.c (__libc_csu_init): Comment typo.
44918 2011-07-09 Ulrich Drepper <drepper@gmail.com>
44920 * po/pl.po: Update from translation team.
44921 * po/ja.po: Likewise.
44922 * po/ru.po: Likewise.
44923 * po/ko.po: Likewise.
44924 * po/fr.po: Likewise.
44926 2011-07-09 Roland McGrath <roland@hack.frob.com>
44928 * configure.in (.ctors/.dtors header and trailer check):
44929 Use an empirical test on a built program.
44930 * configure: Regenerated.
44932 * configure.in (-z relro check): Use an empirical test on a built DSO.
44933 Detect, but do not require, on ia64.
44934 * configure: Regenerated.
44936 * configure.in (READELF): Find it with AC_CHECK_TOOL.
44937 Update tests that use readelf to use $READELF instead.
44938 * configure: Regenerated.
44940 2011-07-08 Ulrich Drepper <drepper@gmail.com>
44942 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44943 if the result is not used.
44945 2011-07-05 Andreas Jaeger <aj@suse.de>
44948 * stdlib/tst-strtod.c: Add testcase.
44950 2011-07-07 Ulrich Drepper <drepper@gmail.com>
44952 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44953 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44954 The latter has a higher limit. Take additional parameter to pass to
44956 (__pathconf): Pass file to __statfs_link_max.
44957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44959 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44963 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44964 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44966 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44967 (__statfs_filesize_max): Likewise.
44968 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44970 2011-07-05 Andreas Jaeger <aj@suse.de>
44972 * resolv/res_comp.c (dn_skipname): Remove unused variable.
44974 2011-07-06 Marek Polacek <mpolacek@redhat.com>
44976 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44978 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44981 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
44983 * Makefile (strop-tests): Add strncat.
44984 * string/test-strncat.c: New file.
44986 2011-06-30 Marek Polacek <mpolacek@redhat.com>
44988 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44990 2011-06-21 Andreas Jaeger <aj@suse.de>
44992 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44993 Copy rule from iconvdata/Makefile.
44995 2011-07-06 Ulrich Drepper <drepper@gmail.com>
44998 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44999 but no long options are defined, just return 'W'.
45001 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45004 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45006 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45008 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45010 (innetgr): Likewise.
45012 2011-07-05 Roland McGrath <roland@hack.frob.com>
45014 * config.make.in (install_root): Default to $(DESTDIR).
45016 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45018 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45020 2011-07-02 Roland McGrath <roland@hack.frob.com>
45022 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45024 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45025 containing directory rather than embedding absolute directory names.
45027 * scripts/check-local-headers.sh: Rewritten using awk.
45028 Match by word, not by line. Print error messages for matches.
45029 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45031 * Makerules [shlib-lds-flags empty]:
45032 ($(common-objpfx)libc_pic.opts): New target.
45033 ($(common-objpfx)libc_pic.os.clean): New target.
45034 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45036 * config.make.in (OBJCOPY): New variable.
45037 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45038 * configure: Regenerated.
45040 * config.make.in (use-default-link): New variable.
45041 * configure.in (use_default_link): Grok --with-default-link to set it.
45042 * configure: Regenerated.
45043 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45044 (shlib-lds, shlib-lds-flags): Define to empty.
45046 * Makerules (shlib-lds): New variable.
45047 (shlib-lds-flags): New variable.
45048 (build-shlib, build-moduile, build-module-asneeded): Use it.
45049 ($(common-objpfx)libc.so): Use $(shlib-lds).
45050 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45051 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45053 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45054 DT_FLAGS/DT_FLAGS_1 with zero flags.
45056 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45057 linker script munging.
45059 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45061 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45063 * crypt/sha512.c (sha512_process_block): Perform total addition using
45064 128-bit if possible.
45065 (__sha512_finish_ctx): Likewise.
45066 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45068 * crypt/sha256.c (SWAP64): Define.
45069 (sha256_process_block): Perform total addition using 64-bit if
45071 (__sha256_finish_ctx): Likewise.
45073 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45075 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45076 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45077 * nscd/hstcache.c (cache_addhst): Likewise.
45078 * nscd/grpcache.c (cache_addgr): Likewise.
45079 * nscd/aicache.c (addhstaiX): Likewise
45080 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45082 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45084 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45085 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45086 * nscd/hstcache.c (cache_addhst): Likewise.
45087 * nscd/grpcache.c (cache_addgr): Likewise.
45088 * nscd/aicache.c (addhstaiX): Likewise
45090 2011-07-01 Andreas Schwab <schwab@redhat.com>
45092 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45093 domain only when needed.
45095 2011-06-30 Andreas Schwab <schwab@redhat.com>
45097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45098 is always restored.
45100 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45102 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45103 are re-adding the entry.
45104 * nscd/servicescache.c (cache_addserv): Likewise.
45106 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45108 * sysdeps/generic/dl-irel.h: fix protection against multiple
45110 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45112 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45115 * malloc/memusage.sh: Fix quoting in message.
45116 * debug/xtrace.sh: Likewise.
45118 * configure.in: Remove support for --experimental-malloc option, make
45120 * config.make.in: Likewise.
45121 * malloc/Makefile: Likewise.
45123 2011-06-27 Andreas Schwab <schwab@redhat.com>
45125 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45126 two-byte characters.
45128 2011-06-27 Roland McGrath <roland@hack.frob.com>
45130 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45131 AC_CACHE_CHECK invocation.
45132 * configure: Regenerated.
45134 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45136 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45139 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45140 bit from old_res_options.
45142 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45144 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45145 value type for setfct.
45147 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45150 __gettimeofday instead of gettimeofday.
45152 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45154 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45156 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45160 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45163 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45166 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45167 strcpy-sse2-unaligned strncpy-sse2-unaligned
45168 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45169 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45170 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45171 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45172 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45173 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45174 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45175 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45176 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45177 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45178 (STRCPY): Support SSE2 and SSSE3 versions.
45180 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45183 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45184 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45185 kernels which artificially limit size of requests.
45187 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45190 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45191 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45192 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45193 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45194 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45195 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45196 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45197 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45198 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45199 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45200 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45201 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45202 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45203 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45205 Enable unaligned load optimization for Intel Core i3, i5 and i7
45207 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45209 (index_Fast_Unaligned_Load): Define.
45210 (HAS_FAST_UNALIGNED_LOAD): Define.
45212 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45214 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45216 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45219 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45220 until it is clear that the information is realy needed.
45221 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45223 2011-06-22 Andreas Schwab <schwab@redhat.com>
45225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45227 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45229 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45230 /sys/devices/system/cpu/online if it is usable.
45232 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45233 reading the information from the /proc filesystem to once a second.
45235 2011-06-21 Andreas Jaeger <aj@suse.de>
45237 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45238 NULL after inclusion of kernel headers.
45240 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45242 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45243 calls to internal_setent.
45246 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45247 addresses using gethostbyname4_r ignore IPv4 addresses.
45249 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45250 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45252 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45254 2011-06-20 David S. Miller <davem@davemloft.net>
45256 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45258 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45260 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45261 (elf_irel): Use it.
45262 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45263 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45264 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45265 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45266 * sysdeps/x86_64/dl-irel.h: Likewise.
45268 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45269 * elf/dl-sym.c: Likewise.
45271 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45273 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45274 need to dereference resplen2.
45276 2011-06-14 Andreas Schwab <schwab@redhat.com>
45278 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45280 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45282 * Makeconfig: Define vardbdir and inst_vardbdir.
45283 * nss/Makefile: Add rules to install db-Makefile.
45285 * nss/nss_db/db-XXX.c: Cleanup.
45287 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45288 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45290 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45291 * nss/makedb.c: Implement -g option to specify that value strings
45292 are generated and should not be added to table iterated over for
45294 * nss/nss_db/db-initgroups.c: New file.
45296 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45299 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45300 (internal_getgrouplist): Adjust to name change.
45301 Update use_initgroups_entry if this is not the first call.
45302 * nss/databases.def: Add initgroups entry.
45304 * nss/makedb.c (compute_tables): Check result of multiple hash table
45305 sizes to minimize maximum chain length.
45307 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45309 * Versions.def: Add entry for libnss_db.
45310 * shlib-versions: Likewise.
45311 * nss/Makefile: Add rules to build libnss_db.
45312 * nss/Versions: Add libnss_db information. Organize libnss_files
45314 * nss/db-Makefile: Add gshadow support. Change rules for the new
45315 makedb progra. Some minor improvements to generate smaller files.
45316 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45318 * nss/makedb.c: ...here.
45319 Improve database format to be smaller and require less memory at
45321 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45323 * nss/nss_db/db-netgrp.c: Likewise.
45324 * nss/nss_db/db-open.c: Likewise.
45325 * nss/nss_files/flies-XXX.x: Adjust comments.
45326 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45327 * nss/nss_files/files-grp.c: Likewise.
45328 * nss/nss_files/files-hosts.c: Likewise.
45329 * nss/nss_files/files-network.c: Likewise.
45330 * nss/nss_files/files-proto.c: Likewise.
45331 * nss/nss_files/files-pwd.c: Likewise.
45332 * nss/nss_files/files-rpc.c: Likewise.
45333 * nss/nss_files/files-service.c: Likewise.
45334 * nss/nss_files/files-sgrp.c: Likewise.
45335 * nss/nss_files/files-spwd.c: Likewise.
45336 * nss/nss_db/db-alias.c: Removed.
45337 * nss/nss_db/dummy-db.h: Removed.
45339 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45341 * nss/makedb.c: Rewritten to not use database library.
45342 * nss/Makefile: Update to build new makedb program.
45344 2011-06-14 Andreas Jaeger <aj@suse.de>
45346 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45347 memset declaration.
45349 2011-06-10 Andreas Schwab <schwab@redhat.com>
45351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45354 2011-06-10 Roland McGrath <roland@hack.frob.com>
45356 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45357 * elf/Makefile ($(objpfx)ld.so): Likewise.
45359 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45360 Don't list ld.so twice in dependencies.
45362 * posix/bug-regex31.c: Include <stdlib.h>.
45364 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45366 * nis/nss_compat/compat-spwd.c
45367 (getspent_next_nss_netgr): Remove unused variable.
45368 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45370 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45371 nonmembers" output to use the right array.
45373 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45375 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45377 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45378 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45379 * catgets/gencat.c (read_input_file): Likewise.
45380 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45382 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45383 variable definition inside #if's controlling its use.
45385 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45387 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45389 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45391 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45394 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45396 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45397 * configure: Regenerated.
45399 * Makerules: Revert last change.
45400 * elf/Makefile: Likewise.
45402 2011-06-09 Roland McGrath <roland@hack.frob.com>
45404 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45405 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45406 (reloc-link): Likewise.
45408 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45410 * elf/Makefile: Add rules to build pldd.
45411 * elf/pldd.c: New file.
45412 * elf/pldd-xx.c: New file.
45414 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45416 * version.h: Update for 2.15 development version.
45418 2011-06-07 David S. Miller <davem@davemloft.net>
45420 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45422 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45423 elf_machine_lazy_rel): Likewise.
45424 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45426 elf_machine_lazy_rel): Likewise.
45427 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45428 dl_hwcap via passed in argument.
45429 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45432 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45434 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45436 2011-06-06 Roland McGrath <roland@hack.frob.com>
45439 * manual/fdl-1.1.texi: New file, verbatim from:
45440 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45441 * manual/lgpl-2.1.texi: New file, verbatim from:
45442 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45443 * manual/Makefile (licenses): New variable, list those new file names.
45445 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45447 * manual/fdl.texi: File removed.
45448 * manual/lesser.texi: File removed.
45449 * manual/libc.texinfo (Copying, Documentation License):
45450 Use new @include file names, put @appendix directive before @include.
45452 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45455 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45456 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45457 (mq_open): Add __NTH.
45459 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45462 Assume Intel Core i3/i5/i7 processor if AVX is available.
45464 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45469 2011-05-31 Andreas Schwab <schwab@redhat.com>
45471 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45472 memory. Use alloca_account. Fix memory leak when retrying.
45474 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45476 * version.h (RELEASE): Bump for 2.14 release.
45477 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45479 * config.make.in (RANLIB): Remove entry.
45481 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45483 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45484 (libc.pot): Work around missing support for .ksh extension in xgettext.
45487 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45488 if both request failed.
45489 (send_dg): In case of server errors clear resplen or *resplen2.
45492 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45493 when there are multiple maps.
45494 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45495 (_dl_fini): Remove test here.
45497 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45499 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45502 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45503 bit from old_res_options.
45504 (gaih_inet): Likewise.
45507 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45510 * resolv/res_init.c (res_setoptions): Make the code more compact.
45513 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45517 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45519 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45522 * malloc/malloc.h: Declare malloc hook variables as volatile.
45524 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45528 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45529 raise in the comment.
45530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45532 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45534 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45537 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45538 grow the buffers more if it already has to be sufficient.
45539 (build_wcs_upper_buffer): Likewise.
45540 * posix/regexec.c (check_matching): Likewise.
45541 (clean_state_log_if_needed): Likewise.
45542 (extend_buffers): Don't enlarge buffers beyond size of the input
45544 Patches mostly by Emil Wojak <emil@wojak.eu>.
45545 * posix/bug-regex32.c: New file.
45546 * posix/Makefile (tests): Add bug-regex32.
45548 * locale/findlocale.c (_nl_find_locale): Return right away if
45549 _nl_explode_name failed.
45550 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45552 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45554 * debug/xtrace.sh: Unify messages.
45555 * malloc/memusage.sh: Likewise.
45558 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45559 time symbol from vDSO. Substitute with vsyscall if not available.
45560 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45563 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45564 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45565 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45566 Add sendmmsg and internal_sendmmsg.
45567 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45568 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45569 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45571 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45572 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45575 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45578 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45579 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45581 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45585 * iconvdata/Makefile (tests): Add bug-iconv9.
45586 * iconvdata/bug-iconv9.c: New file.
45588 2011-05-27 Andreas Schwab <schwab@redhat.com>
45591 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45593 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45595 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45596 (struct user_regs_struct): Change intcs field back to cs.
45598 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45600 * po/ja.po: Update from translation team.
45602 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45605 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45606 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45608 2011-05-20 Andreas Schwab <schwab@redhat.com>
45610 * stdlib/longlong.h: Update from GCC.
45612 2011-05-23 Andreas Schwab <schwab@redhat.com>
45614 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45616 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45617 Add parameter name.
45618 (__sysconf): Pass it down.
45620 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45623 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45625 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45626 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45627 add in in __libc_use_alloca calls. Adjust callers.
45628 (glob): Use malloc in some situations.
45630 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45631 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45634 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45636 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45637 and CLOCK_BOOTTIME_ALARM.
45640 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45643 * string/_strerror.c (__strerror_r): Print negative errors as signed
45647 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45648 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45649 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45651 * configure.in: Fix typo in redirection and correct removal of test
45652 files in two cases.
45655 * locale/setlocale.c (new_composite_name): Fix test to check for
45656 identical name of all categories.
45659 * libio/filedoalloc.c (local_isatty): New function.
45660 (_IO_file_doallocate): Use local_isatty.
45661 * stdio-common/perror.c (perror): In case a new stream is used
45662 forward the stream error.
45663 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45666 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45671 * include/alloca.h (extend_alloca_account): Define.
45674 * posix/regex.h: Fix comments with documentation of user-accessible
45675 fields after compilation and describe correct free'ing of pattern
45676 after re_compile_pattern.
45677 Patch by Reuben Thomas <rrt@sc3d.org>.
45679 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45681 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45682 and -mno-altivec to prevent the compiler from using Altivec and/or
45683 VSX instructions when the corresponding registers are not available.
45685 2011-05-19 Andreas Schwab <schwab@redhat.com>
45687 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45689 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45691 * libio/freopen.c (freopen): Use __dup2, not dup2.
45692 * libio/freopen64.c (freopen64): Likewise.
45694 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45697 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45698 * math/Makefile (tests): Add test-powl.
45699 (CFLAGS-test-powl.c): Define.
45700 * math/test-powl.c: New file.
45702 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45704 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45706 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45709 * iconvdata/gb18030.c: Update to GB18020-2005.
45711 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45713 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45714 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45715 Patch by Aharon Robbins <arnold@skeeve.com>.
45718 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45722 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45723 through underflows.
45726 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45727 point to strings before performing equality test for error_one_per_line
45731 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45735 (struct user_fpregs_struct): Avoid __uint*_t types.
45738 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45739 symbol info. Use it instead of calling _dl_addr locally.
45740 (lock_and_info): New function.
45741 (tr_freehook): Call lock_and_info and pass symbol info as additional
45742 parameter to tr_where.
45743 (tr_mallochook): Likewise.
45744 (tr_reallochook): Likewise.
45745 (tr_memalignhook): Likewise.
45747 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45748 used and couldn't be at all thread-safe.
45750 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45752 * libio/freopen.c (freopen): Don't close old file descriptor
45753 before the new one is opened. Instead dup the new file descriptor
45754 to the old one after the new stream is created.
45755 * libio/freopen64.c (freopen64): Likewise.
45756 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45757 * libio/fileops.c (_IO_new_file_close_it): Handle new
45758 _IO_FLAGS2_NOCLOSE flag.
45759 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45760 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45761 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45762 _IO_FLAGS2_NOCLOSE flag.
45763 * include/unistd.h: Add hidden_proto for dup3.
45764 Define __have_dup3.
45765 * io/dup3.c: Define hidden symbol.
45766 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45769 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45770 when an incomplete long option is used.
45771 * posix/tst-getopt_long1.c: New file.
45772 * posix/Makefile (tests): Add tst-getopt_long1.
45775 * scripts/config.guess: Update from autoconf-2.68.
45776 * scripts/config.sub: Likewise.
45779 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45781 (has_cpuclock): ...this. New function.
45782 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45783 macro here based on has_cpuclock code.
45786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45787 First byte (not low byte) is now always NUL.
45788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45791 Use non-cancelable interfaces.
45794 * locale/iso-639.def: Add entry for Sorani.
45797 * include/stdlib.h: Move include protection to the right place.
45798 Define abort_msg_s. Declare __abort_msg with it.
45799 * stdlib/abort.c (__abort_msg): Adjust type.
45800 * assert/assert.c (__assert_fail_base): New function. Majority
45801 of code from __assert_fail. Allocate memory for __abort_msg with
45803 (__assert_fail): Now call __assert_fail_base.
45804 * assert/assert-perr.c: Remove bulk of implementation. Use
45805 __assert_fail_base.
45806 * include/assert.hL Declare __assert_fail_base.
45807 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45809 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45811 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45815 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45816 until all modules are registered in the DTV.
45817 * elf/Makefile: Add rules to build and run tst-tls19.
45818 * elf/tst-tls19.c: New file.
45819 * elf/tst-tls19mod1.c: New file.
45820 * elf/tst-tls19mod2.c: New file.
45821 * elf/tst-tls19mod3.c: New file.
45822 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45825 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45829 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45830 two-byte sequence errors.
45831 * iconvdata/Makefile (tests): Add bug-iconv8.
45832 * iconvdata/bug-iconv8.c: New file.
45835 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45838 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45841 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45842 (dummy_getcfa): New function.
45843 (init): Get _Unwind_GetCFA address, use dummy if not found.
45844 (backtrace_helper): In recursion check, also check whether CFA changes.
45845 (__backtrace): Completely initialize arg.
45847 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45848 storing incomplete byte sequence in state object. Avoid testing for
45849 guaranteed too small input if we know there is enough data available.
45851 2011-05-11 Andreas Schwab <schwab@redhat.com>
45853 * Makeconfig (+link-pie): Indent.
45854 * Rules (binaries-pie): Define if $(have-fpie) and
45856 (binaries-shared): Also filter out $(binaries-pie).
45857 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45858 * nscd/Makefile (others-pie): Add nscd.
45859 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45860 ($(objpfx)nscd): Remove command override.
45861 * login/Makefile (others-pie): Add pt_chown.
45862 ($(objpfx)pt_chown): Remove command override.
45863 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45864 remove command overrides.
45866 2011-05-13 Ulrich Drepper <drepper@gmail.com>
45868 * libio/tst_putwc.c: Fix error messages.
45871 * libio/fileops.c (_IO_new_file_close_it): Always flush when
45872 currently writing and seek to current position when not.
45873 * libio/Makefile (tests): Add bug-fclose1.
45874 * libio/bug-fclose1.c: New file.
45876 2011-05-12 Ulrich Drepper <drepper@gmail.com>
45879 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45880 don't set DF_1_NODELETE here.
45881 (do_lookup_x): When entering new entry test for copy relocation
45882 and if necessary set DF_1_NODELETE flag.
45883 * elf/tst-unique4.cc: New file.
45884 * elf/tst-unique4.h: New file.
45885 * elf/tst-unique4lib.cc: New file.
45886 * elf/Makefile: Add rules to build and run tst-unique4.
45887 Patch by Piotr Bury <pbury@goahead.com>.
45889 2011-05-11 Ulrich Drepper <drepper@gmail.com>
45892 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45895 * misc/mntent_r.c (addmntent): Flush the stream after the output
45898 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45899 (is_trusted_path_normalize): Skip initial colon. Append slash
45900 to empty buffer. Duplicate is_trusted_path code but allow
45901 constructed patch to be prefix.
45902 (is_dst): Allow $ORIGIN followed by /.
45903 (_dl_dst_substitute): Correct clearing of check_for_trusted.
45904 Correct testing of result of is_trusted_path_normalize
45905 (decompose_rpath): Fix warning.
45907 2011-05-10 Ulrich Drepper <drepper@gmail.com>
45910 * grp/initgroups.c (internal_getgrouplist): When we found the service
45911 list through the initgroups entry in nsswitch.conf do not always
45912 continue on a successful lookup. Don't always use the
45913 __nss_group_database value if it is set.
45914 * nss/nsswitch.conf (initgroups): Change action for successful db
45915 lookup to continue for compatibility.
45917 2011-05-09 Ulrich Drepper <drepper@gmail.com>
45920 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45922 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45924 * iconvdata/tst-tables.sh: Likewise.
45925 * iconvdata/cp770.c: New file.
45926 * iconvdata/cp771.c: New file.
45927 * iconvdata/cp772.c: New file.
45928 * iconvdata/cp773.c: New file.
45929 * iconvdata/cp774.c: New file.
45930 * iconvdata/testdata/CP770: New file.
45931 * iconvdata/testdata/CP770..UTF8: New file.
45932 * iconvdata/testdata/CP771: New file.
45933 * iconvdata/testdata/CP771..UTF8: New file.
45934 * iconvdata/testdata/CP772: New file.
45935 * iconvdata/testdata/CP772..UTF8: New file.
45936 * iconvdata/testdata/CP773: New file.
45937 * iconvdata/testdata/CP773..UTF8: New file.
45938 * iconvdata/testdata/CP774: New file.
45939 * iconvdata/testdata/CP774..UTF8: New file.
45941 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45943 * iconvdata/gen-8bit-gap.sh: Likewise.
45944 * iconvdata/gen-8bit.sh: Likewise.
45946 * locale/iso-639.def: Add ary entry.
45949 * locale/C-translit.h.in: Add U20A1 transliteration.
45952 * locale/iso-639.def: Add wae entry.
45953 Patch by Kevin Bortis <bortis@translate-wae.ch>.
45956 * locale/programs/localedef.c (construct_output_path): Use ssize_t
45960 * locale/C-translit.h.in: Add entry for U20B9.
45961 Patch by pravin.d.s@gmail.com.
45963 2011-05-08 Ulrich Drepper <drepper@gmail.com>
45966 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45967 ENAMETOOLONG use generic getcwd.
45968 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
45969 in rtld. Use *stat64.
45970 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45971 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45972 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45973 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45974 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45975 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45976 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45977 __fstatat64 macros.
45978 * include/dirent.h: Add libc_hidden_proto for rewinddir.
45979 * dirent/rewinddir.c: Add libc_hidden_def.
45980 * sysdeps/mach/hurd/rewinddir.c: Likewise.
45981 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
45983 * include/dirent.h (__alloc_dir): Add flags parameter.
45984 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45985 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45987 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
45988 from fdopendir if O_CLOEXEC is already set.
45990 2011-03-15 Alan Modra <amodra@gmail.com>
45992 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45993 l_tls_firstbyte_offset non-zero. Save padding offset in
45994 l_tls_firstbyte_offset for later use.
45995 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45996 freeing static tls block.
45998 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46000 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46001 where #ifdef was intended. The intent is to prevent ARG_MAX from
46002 being defined by the kernel headers.
46004 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46007 * resolv/resolv.h: Define RES_NOTLDQUERY.
46008 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46009 no-tld-query and set RES_NOTLDQUERY.
46010 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46011 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46012 modern BIND to search name as TLD unless forbidden.
46014 2011-05-07 Petr Baudis <pasky@suse.cz>
46015 Ulrich Drepper <drepper@gmail.com>
46018 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46019 (is_trusted_path): ...to here.
46020 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46021 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46022 using is_trusted_path_normalize() in setuid scripts.
46024 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46026 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46027 __BEGIN/__END_DECLS.
46029 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46032 NSS_STATUS_NOTFOUND if no record was found.
46034 2011-05-05 Andreas Schwab <schwab@redhat.com>
46036 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46037 (headers-not-in-tirpc): Remove rpc/netdb.h
46038 * resolv/netdb.h: Revert last change.
46040 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46042 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46043 circular dependency between libgcc.a and libc.a.
46045 2011-05-05 Andreas Schwab <schwab@redhat.com>
46047 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46048 * nis/Makefile: Don't install rpcsvc/*.
46049 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46050 instead of <rpc/types.h>.
46051 (MAXHOSTNAMELEN): Define.
46053 2011-05-03 Andreas Schwab <schwab@redhat.com>
46055 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46057 2011-04-28 Maciej Babinski <mbabinski@google.com>
46060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46061 gethostbyname4_r when IPv6 results are possible.
46063 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46066 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46067 _PC_PIPE_BUF handling.
46069 2011-04-30 Bruno Haible <bruno@clisp.org>
46072 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46073 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46075 * inet/getnameinfo.c (getnameinfo): Likewise.
46077 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46079 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46080 to groups setting in database lookup.
46081 * nss/nsswitch.conf: Add initgroups entry.
46083 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46086 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46088 Patch by Eric Blake <eblake@redhat.com>.
46090 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46092 * sunrpc/Makefile (need-export-routines): Add svc_run.
46093 (routines): Remove svc_run.
46094 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46095 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46096 * sunrpc/svc_run.c (svc_run): Likewise.
46097 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46099 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46102 problem in reallocation in last patch.
46104 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46106 * sunrpc/Makefile: Move inclusion of Rules.
46108 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46110 * nss/nss_files/files-initgroups.c: New file.
46111 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46112 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46113 _nss_files_initgroups_dyn.
46115 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46117 * elf/elf.h (R_ARM_IRELATIVE): Define.
46119 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46121 * po/ru.po: Update from translation team.
46123 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46125 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46128 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46131 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46132 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46134 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46135 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46137 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46139 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46141 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46142 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46143 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46145 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46148 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46150 * stdlib/bug-getcontext.c: New file.
46151 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46153 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46155 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46156 instructions into .machine "z9-109".
46157 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46158 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46160 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46162 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46163 between environment variables and auxiliary vector.
46165 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46167 * Makefile: Add rules to build linkobj/libc.so.
46168 * include/libc-symbols.h: Define libc_hidden_nolink.
46169 * include/rpc/auth.h: Mark functions which are to be hidden.
46170 * include/rpc/auth_des.h: Likewise.
46171 * include/rpc/auth_unix.h: Likewise.
46172 * include/rpc/clnt.h: Likewise.
46173 * include/rpc/des_crypt.h: Likewise.
46174 * include/rpc/key_prot.h: Likewise.
46175 * include/rpc/pmap_clnt.h: Likewise.
46176 * include/rpc/pmap_prot.h: Likewise.
46177 * include/rpc/pmap_rmt.h: Likewise.
46178 * include/rpc/rpc_msg.h: Likewise.
46179 * include/rpc/svc.h: Likewise.
46180 * include/rpc/svc_auth.h: Likewise.
46181 * include/rpc/xdr.h: Likewise.
46182 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46183 * nss/Makefile: Likewise.
46184 * sunrpc/Makefile: Don't install headers. Build library with normal
46185 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46186 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46187 for the compat linking library. Remove use of INTDEF/INTUSE.
46188 * sunrpc/auth_none.c: Likewise.
46189 * sunrpc/auth_unix.c: Likewise.
46190 * sunrpc/authdes_prot.c: Likewise.
46191 * sunrpc/authuxprot.c: Likewise.
46192 * sunrpc/clnt_gen.c: Likewise.
46193 * sunrpc/clnt_perr.c: Likewise.
46194 * sunrpc/clnt_raw.c: Likewise.
46195 * sunrpc/clnt_simp.c: Likewise.
46196 * sunrpc/clnt_tcp.c: Likewise.
46197 * sunrpc/clnt_udp.c: Likewise.
46198 * sunrpc/clnt_unix.c: Likewise.
46199 * sunrpc/des_crypt.c: Likewise.
46200 * sunrpc/des_soft.c: Likewise.
46201 * sunrpc/get_myaddr.c: Likewise.
46202 * sunrpc/key_call.c: Likewise.
46203 * sunrpc/key_prot.c: Likewise.
46204 * sunrpc/netname.c: Likewise.
46205 * sunrpc/pm_getmaps.c: Likewise.
46206 * sunrpc/pm_getport.c: Likewise.
46207 * sunrpc/pmap_clnt.c: Likewise.
46208 * sunrpc/pmap_prot.c: Likewise.
46209 * sunrpc/pmap_prot2.c: Likewise.
46210 * sunrpc/pmap_rmt.c: Likewise.
46211 * sunrpc/publickey.c: Likewise.
46212 * sunrpc/rpc_cmsg.c: Likewise.
46213 * sunrpc/rpc_common.c: Likewise.
46214 * sunrpc/rpc_dtable.c: Likewise.
46215 * sunrpc/rpc_prot.c: Likewise.
46216 * sunrpc/rpc_thread.c: Likewise.
46217 * sunrpc/rtime.c: Likewise.
46218 * sunrpc/svc.c: Likewise.
46219 * sunrpc/svc_auth.c: Likewise.
46220 * sunrpc/svc_authux.c: Likewise.
46221 * sunrpc/svc_raw.c: Likewise.
46222 * sunrpc/svc_run.c: Likewise.
46223 * sunrpc/svc_simple.c: Likewise.
46224 * sunrpc/svc_tcp.c: Likewise.
46225 * sunrpc/svc_udp.c: Likewise.
46226 * sunrpc/svc_unix.c: Likewise.
46227 * sunrpc/svcauth_des.c: Likewise.
46228 * sunrpc/xcrypt.c: Likewise.
46229 * sunrpc/xdr.c: Likewise.
46230 * sunrpc/xdr_array.c: Likewise.
46231 * sunrpc/xdr_float.c: Likewise.
46232 * sunrpc/xdr_intXX_t.c: Likewise.
46233 * sunrpc/xdr_mem.c: Likewise.
46234 * sunrpc/xdr_rec.c: Likewise.
46235 * sunrpc/xdr_ref.c: Likewise.
46236 * sunrpc/xdr_sizeof.c: Likewise.
46237 * sunrpc/xdr_stdio.c: Likewise.
46239 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46242 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46243 * sysdeps/ia64/dl-tls.h: Likewise.
46244 * sysdeps/powerpc/dl-tls.h: Likewise.
46245 * sysdeps/s390/dl-tls.h: Likewise.
46246 * sysdeps/sh/dl-tls.h: Likewise.
46247 * sysdeps/sparc/dl-tls.h: Likewise.
46248 * sysdeps/x86_64/dl-tls.h: Likewise.
46249 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46251 2011-03-14 Andreas Schwab <schwab@redhat.com>
46253 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46254 rpath element also skip the following colon.
46255 (expand_dynamic_string_token): Add is_path parameter and pass
46256 down to DL_DST_REQUIRED and _dl_dst_substitute.
46257 (decompose_rpath): Call expand_dynamic_string_token with
46258 non-zero is_path. Ignore empty rpaths.
46259 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46262 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46267 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46270 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46271 Patch by Filipe David Manana <fdmanana@apache.org>.
46273 2011-04-07 Andreas Schwab <schwab@redhat.com>
46275 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46276 Maintain aligned stack.
46277 (CHECK_RSP): Remove unused macro.
46279 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46281 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46282 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46284 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46286 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46288 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46290 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46293 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46294 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46295 * sysdeps/x86_64/memmove.c: New file.
46296 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46297 (memcpy): Renamed to ...
46298 (__new_memcpy): This.
46299 (memcpy): Provide GLIBC_2_14 memcpy.
46300 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46301 (memcpy): Provide GLIBC_2_2_5 memcpy.
46303 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46306 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46308 2011-03-30 Andreas Schwab <schwab@redhat.com>
46310 * misc/syncfs.c: New file.
46311 * misc/Makefile (routines): Add syncfs.
46312 * posix/unistd.h: Declare syncfs.
46313 * sysdeps/unix/syscalls.list: Add syncfs.
46315 2011-04-01 Andreas Schwab <schwab@redhat.com>
46317 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46319 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46320 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46321 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46322 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46323 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46324 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46325 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46327 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46330 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46331 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46335 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46337 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46338 sync_file_range.c with -fexceptions.
46339 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46340 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46341 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46342 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46343 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46344 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46345 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46346 sync_file_range as cancellation point
46347 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46348 now a wrapper around __call_sync_file_range with cancellation handling.
46349 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46350 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46351 function name to __call_sync_file_range.
46352 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46353 Add call_sync_file_range.
46355 2011-04-01 Andreas Schwab <schwab@redhat.com>
46357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46360 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46362 * iconv/iconv.h: Fix typo in comment.
46363 * io/fcntl.h: Likewise.
46364 * libio/stdio.h: Likewise.
46365 * posix/spawn.h: Likewise.
46366 * posix/unistd.h: Likewise.
46367 * stdlib/stdlib.h: Likewise.
46368 * time/time.h: Likewise.
46369 * wcsmbs/wchar.h: Likewise.
46371 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46372 open_by_handle): Add.
46373 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46374 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46375 Augment a few comments.
46376 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46377 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46378 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46380 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46381 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46384 * io/fcntl.h (AT_EMPTY_PATH): Define.
46386 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46388 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46389 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46390 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46392 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46393 * Versions.def: Add GLIBC_2.14.
46394 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46397 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46399 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46401 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46403 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46406 * string/test-strncmp.c (do_page_test): New function.
46407 (check2): Likewise.
46408 (test_main): Call check2.
46409 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46411 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46415 Handle cache information in CPU leaf 4.
46416 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46418 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46421 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46422 character representation.
46423 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46425 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46427 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46428 END(__isnan) to END(__isnanf) to match function entry point/label
46429 EALIGN(__isnanf,...).
46431 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46433 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46435 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46438 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46439 copy from the symbol referenced in the relocation to initialize the
46441 Patch by Piotr Bury <pbury@goahead.com>.
46442 * elf/Makefile: Add rules to build and tst-unique3.
46443 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46444 * elf/tst-unique3.cc: New file.
46445 * elf/tst-unique3.h: New file.
46446 * elf/tst-unique3lib.cc: New file.
46447 * elf/tst-unique3lib2.cc: New file.
46449 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46451 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46453 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46454 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46457 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46459 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46460 to-be-loaded object along a path to loader is ld.so.
46462 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46463 Ulrich Drepper <drepper@gmail.com>
46465 * sysdeps/x86_64/memset.S: After aligning destination, code
46466 branches to different locations depending on the value of
46467 misalignment, when multiarch is enabled. Fix this.
46469 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46471 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46472 Set _x86_64_preferred_memory_instruction for AMD processsors.
46473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46474 Set bit_Prefer_SSE_for_memop for AMD processors.
46476 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46478 * libio/fmemopen.c (fmemopen): Optimize a bit.
46480 2011-03-03 Andreas Schwab <schwab@redhat.com>
46482 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46484 2011-03-03 Roland McGrath <roland@redhat.com>
46486 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46488 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46490 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46491 __bzero_ultra1 instead of __memset_ultra1.
46493 2011-02-23 Andreas Schwab <schwab@redhat.com>
46494 Ulrich Drepper <drepper@gmail.com>
46497 * include/link.h (struct link_map): Add l_orig_initfini.
46498 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46499 returning unsuccessfully.
46500 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46501 close of a file loaded at startup, restore the original l_initfini
46503 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46504 list, store the pointer.
46505 * elf/Makefile ($(objpfx)noload-mem): New rule.
46506 (noload-ENV): Define.
46507 (tests): Add $(objpfx)noload-mem.
46508 * elf/noload.c: Include <memcheck.h>.
46509 (main): Call mtrace. Close all opened handles.
46511 2011-02-17 Andreas Schwab <schwab@redhat.com>
46514 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46515 dependencies are missing.
46517 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46519 Fix __if_freereq crash: Unlike the generic version which uses free,
46521 * sysdeps/mach/hurd/ifreq.h: New file.
46523 2011-01-27 Petr Baudis <pasky@suse.cz>
46524 Ulrich Drepper <drepper@gmail.com>
46527 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46528 to extend_alloca().
46529 * stdio-common/bug23.c: New file.
46530 * stdio-common/Makefile (tests): Add bug23.
46532 2010-09-28 Andreas Schwab <schwab@redhat.com>
46533 Ulrich Drepper <drepper@gmail.com>
46536 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46537 before performing relro protection. At old place add assertion
46538 to make sure nothing changed.
46540 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46541 Glauber de Oliveira Costa <glommer@gmail.com>
46543 * elf/elf.h: Add new ARM TLS relocs.
46545 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46548 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46550 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46552 * sysdeps/wordsize-64/tst-writev.c: New file.
46554 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46556 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46557 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46558 insns in _dl_start to prevent a TOC reference before relocs are
46561 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46564 * Makeconfig: Remove RANLIB definition.
46565 * Makerules: Don't use RANLIB.
46566 * aclocal.m4: Remove ranlib test.
46567 * configure.in: No need to check for ranlib.
46568 * elf/rtld-Rules: Don't use RANLIB.
46570 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46572 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46574 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46575 inclusion protection macro.
46577 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46578 SIGRTMIN and SIGRTMAX and print information in that case only when
46579 SIGRTMIN is defined.
46581 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46583 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46584 arginfo fn returning -1.
46586 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46587 and thousands string is zero terminated.
46589 2011-02-03 Andreas Schwab <schwab@redhat.com>
46591 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46592 sysdeps/unix/sysv/linux/bits/socket.h.
46594 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46596 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46597 (__CPU_COUNT): Remove old macros.
46598 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46599 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46600 (__CPU_ALLOC, __CPU_FREE): Add macros.
46601 (__sched_cpualloc, __sched_cpufree): Add declarations.
46603 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46605 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46606 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46607 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46608 (readdhstai): Return value of addhstaiX call.
46609 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46610 (addgrbyX): Return value returned by cache_addgr.
46611 (readdgrbyname): Return value returned by addgrbyX.
46612 (readdgrbygid): Likewise.
46613 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46614 (addpwbyX): Return value returned by cache_addpw.
46615 (readdpwbyname): Return value returned by addhstbyX.
46616 (readdpwbyuid): Likewise.
46617 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46618 (addservbyX): Return value returned by cache_addserv.
46619 (readdservbyname): Return value returned by addservbyX:
46620 (readdservbyport): Likewise.
46621 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46622 (addhstbyX): Return value returned by cache_addhst.
46623 (readdhstbyname): Return value returned by addhstbyX.
46624 (readdhstbyaddr): Likewise.
46625 (readdhstbynamev6): Likewise.
46626 (readdhstbyaddrv6): Likewise.
46627 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46628 (readdinitgroups): Return value returned by addinitgroupsX.
46629 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46630 (prune_cache): Keep track of timeout value of re-added entries.
46631 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46632 * nscd/nscd.h: Adjust prototypes of readd* functions.
46634 2011-02-04 Roland McGrath <roland@redhat.com>
46636 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46637 (nis_stats): Likewise.
46638 * nis/nis_modify.c (nis_modify): Likewise.
46639 * nis/nis_remove.c (nis_remove): Likewise.
46640 * nis/nis_add.c (nis_add): Likewise.
46642 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46644 * posix/fnmatch_loop.c: Add some consts.
46646 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46648 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46651 * config.make.in (config-cflags-novzeroupper): Define.
46652 * configure.in: Substitute libc_cv_cc_novzeroupper.
46653 * elf/Makefile (AVX-CFLAGS): Define.
46654 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46655 (CFLAGS-tst-auditmod4a.c): Likewise.
46656 (CFLAGS-tst-auditmod4b.c): Likewise.
46657 (CFLAGS-tst-auditmod6b.c): Likewise.
46658 (CFLAGS-tst-auditmod6c.c): Likewise.
46659 (CFLAGS-tst-auditmod7b.c): Likewise.
46660 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46662 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46664 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46665 function to the callback.
46666 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46668 2011-02-02 Andreas Schwab <schwab@redhat.com>
46670 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46673 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46676 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46678 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46680 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46683 * elf/Makefile: Add rules to build and run new test.
46684 * elf/tst-initorder.c: New file.
46685 * elf/tst-initorder.exp: New file.
46686 * elf/tst-initordera1.c: New file.
46687 * elf/tst-initordera2.c: New file.
46688 * elf/tst-initordera3.c: New file.
46689 * elf/tst-initordera4.c: New file.
46690 * elf/tst-initorderb1.c: New file.
46691 * elf/tst-initorderb2.c: New file.
46692 * elf/tst-order-a1.c: New file.
46693 * elf/tst-order-a2.c: New file.
46694 * elf/tst-order-a3.c: New file.
46695 * elf/tst-order-a4.c: New file.
46696 * elf/tst-order-b1.c: New file.
46697 * elf/tst-order-b2.c: New file.
46698 * elf/tst-order-main.c: New file.
46699 New test case by George Gensure <werkt0@gmail.com>.
46701 2010-10-01 Andreas Schwab <schwab@redhat.com>
46703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46704 decoding ACE if AI_CANONIDN.
46706 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46708 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46710 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46712 * version.h (RELEASE): Bump for 2.13 release.
46713 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46715 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46717 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46719 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46720 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46721 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46722 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46723 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46724 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46726 * posix/getconf.c: Update copyright year.
46727 * catgets/gencat.c: Likewise.
46728 * csu/version.c: Likewise.
46729 * debug/catchsegv.sh: Likewise.
46730 * debug/xtrace.sh: Likewise.
46731 * elf/ldconfig.c: Likewise.
46732 * elf/ldd.bash.in: Likewise.
46733 * elf/sprof.c (print_version): Likewise.
46734 * iconv/iconv_prog.c: Likewise.
46735 * iconv/iconvconfig.c: Likewise.
46736 * locale/programs/locale.c: Likewise.
46737 * locale/programs/localedef.c: Likewise.
46738 * malloc/memusage.sh: Likewise.
46739 * malloc/mtrace.pl: Likewise.
46740 * nscd/nscd.c (print_version): Likewise.
46741 * nss/getent.c: Likewise.
46743 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46744 PF_CAIF, and PF_ALG.
46745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46747 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46749 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46750 (modules-names): Use them.
46751 (ifunc-test-modules, ifunc-pie-tests): Define.
46752 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46753 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46754 (test-extras): Likewise.
46755 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46756 $(compile-command.c).
46757 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46758 (all-built-dso): Define.
46759 (check-textrel.out, check-execstack.out): Depend on it.
46761 * configure.in: Don't override --enable-multi-arch.
46763 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46766 * nscd/hstcache.c (tryagain): Define.
46767 (cache_addhst): Return tryagain not notfound for temporary errors.
46768 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46771 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46774 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46775 to make the syscall.
46776 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46779 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46780 and fall back to matching as normal character if the string ends before
46781 the matching ']' is found. This is what POSIX requires.
46782 * posix/testfnm.c: Adjust test result.
46783 * posix/globtest.sh: Adjust test result. Add new test.
46784 * posix/tst-fnmatch.input: Likewise.
46785 * posix/tst-fnmatch2.c: Add new test.
46787 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46789 * elf/Makefile (check-execstack): Revert last change. Depend on
46791 (check-execstack.h): New target.
46792 (generated): Add check-execstack.h.
46793 * elf/check-execstack.c: Include "check-execstack.h".
46794 (main): Revert last change.
46795 (handle_file): Return zero if GNU_STACK is absent and
46796 DEFAULT_STACK_PERMS doesn't include PF_X.
46798 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46800 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46801 in child fails because the descriptor is already closed.
46802 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46803 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46804 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46807 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46811 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46812 temporary buffer used to handle multi lookups locally.
46813 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46815 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46817 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46820 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46822 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46823 alignment for SSE2.
46825 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46828 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46829 characters. When rounding increased number of integer digits recompute
46831 * stdio-common/tst-grouping.c: New file.
46832 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46834 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46836 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46837 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46839 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46841 * bits/select.h: Likewise.
46843 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46845 * po/ja.po: Update from translation team.
46847 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
46850 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46851 implementation just like for lxstat, fxstatat, et al.
46853 2010-12-27 Jim Meyering <meyering@redhat.com>
46856 * posix/regexec.c (build_trtable): Return failure indication upon
46857 calloc failure. Otherwise, re_search_internal could infloop on OOM.
46859 2010-12-25 Ulrich Drepper <drepper@gmail.com>
46862 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46863 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46864 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46865 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46868 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46871 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46872 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46874 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
46876 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46877 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46878 script has SORT_BY_INIT_PRIORITY.
46879 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46880 NO_CTORS_DTORS_SECTIONS is defined.
46881 * elf/soinit.c: Likewise.
46882 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46883 NO_CTORS_DTORS_SECTIONS is defined.
46884 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46885 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46886 * sysdeps/sh/init-first.c: Likewise.
46887 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46889 2010-12-24 Ulrich Drepper <drepper@gmail.com>
46891 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46892 always use the slow path.
46894 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
46896 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46897 similar rule which adds the sysdep directories to the header search in
46898 order to pick up the correct platform stackinfo.h.
46899 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46900 perform test if it is, otherwise return successfully without testing.
46901 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46902 DEFAULT_STACK_PERMS define in stackinfo.h.
46903 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46904 defined in stackinfo.h.
46905 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46906 DEFAULT_STACK_PERMS defined in stackinfo.h.
46907 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46908 * sysdeps/ia64/stackinfo.h: Likewise.
46909 * sysdeps/s390/stackinfo.h: Likewise.
46910 * sysdeps/sh/stackinfo.h: Likewise.
46911 * sysdeps/sparc/stackinfo.h: Likewise.
46912 * sysdeps/x86_64/stackinfo.h: Likewise.
46913 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46914 PF_X for powerpc64. Retain PF_X for powerpc32.
46916 2010-12-19 Ulrich Drepper <drepper@gmail.com>
46918 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46920 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46921 GETDENTS_64BIT_ALIGNED.
46923 2010-12-14 Ulrich Drepper <dreper@gmail.com>
46925 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46927 2010-12-10 Andreas Schwab <schwab@redhat.com>
46929 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46932 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46933 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46935 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46936 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46938 2010-12-09 Ulrich Drepper <drepper@gmail.com>
46941 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46944 2010-12-09 Jakub Jelinek <jakub@redhat.com>
46946 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46948 2010-12-03 Ulrich Drepper <drepper@gmail.com>
46950 * po/it.po: Update from translation team.
46952 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
46954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46957 2010-11-30 Ulrich Drepper <drepper@gmail.com>
46959 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46961 2010-11-24 Andreas Schwab <schwab@redhat.com>
46963 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46965 (gaih_getanswer_slice): Likewise.
46967 2010-10-20 Jakub Jelinek <jakub@redhat.com>
46969 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46971 2010-05-31 Petr Baudis <pasky@suse.cz>
46974 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46975 silently even in the chroot mode.
46977 2010-11-22 Ulrich Drepper <drepper@gmail.com>
46979 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46980 last patch a bit. Pretty printing
46982 2010-05-31 Petr Baudis <pasky@suse.cz>
46985 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46986 initialization of skip_initgroups_dyn.
46988 2010-11-19 Ulrich Drepper <drepper@gmail.com>
46990 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46993 2010-11-16 Ulrich Drepper <drepper@gmail.com>
46995 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46997 2010-11-11 Andreas Schwab <schwab@redhat.com>
46999 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47000 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47001 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47002 ($(objpfx)tst-fnmatch-mem): New rule.
47003 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47004 * posix/tst-fnmatch.c (main): Call mtrace.
47006 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47009 Support Intel processor model 6 and model 0x2c.
47011 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47013 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47016 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47019 * string/test-strncasecmp.c (check_result): New function.
47020 (do_one_test): Use it.
47021 (check1): New function.
47022 (test_main): Use it.
47023 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47024 Support strcasecmp and strncasecmp.
47026 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47029 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47030 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47032 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47034 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47036 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47038 * sysdeps/x86_64/multiarch/bzero.S: New file.
47039 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47040 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47041 * sysdeps/x86_64/multiarch/memset.S: New file.
47042 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47044 Set bit_Prefer_SSE_for_memop for Intel processors.
47045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47047 (index_Prefer_SSE_for_memop): Define.
47048 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47050 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47052 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47053 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47055 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47058 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47059 (__x86_64_raw_data_cache_size_half): Likewise.
47060 (__x86_64_raw_shared_cache_size): Likewise.
47061 (__x86_64_raw_shared_cache_size_half): Likewise.
47063 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47064 (__x86_64_raw_data_cache_size_half): Likewise.
47065 (__x86_64_raw_shared_cache_size): Likewise.
47066 (__x86_64_raw_shared_cache_size_half): Likewise.
47067 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47068 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47069 and __x86_64_raw_shared_cache_size_half. Round
47070 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47071 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47072 to multiple of 256 bytes.
47074 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47078 of inacessible symlinks. Verify result of symlink before returning it.
47079 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47080 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47082 2010-10-28 Erich Ritz <erichritz@gmail.com>
47084 * math/math.h (isinf): Fix typo in comment.
47086 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47088 * po/da.po: Update from translation team.
47090 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47092 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47093 is added to the list.
47095 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47096 Ulrich Drepper <drepper@gmail.com>
47098 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47099 the global list here. Move code to...
47100 (_dl_add_to_namespace_list): ...here. New function.
47101 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47102 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47103 * elf/dl-load.c (lose): Don't remove the element from the list.
47104 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47105 (_dl_map_object): Likewise.
47107 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47110 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47111 into all bytes of SSE register.
47112 Patch by Richard Li <richardpku@gmail.com>.
47114 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47117 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47120 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47122 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47123 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47124 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47125 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47130 2010-10-22 Andreas Schwab <schwab@redhat.com>
47132 * include/dlfcn.h (__RTLD_SECURE): Define.
47133 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47134 mode & __RTLD_SECURE instead.
47135 (open_path): Rename preloaded parameter to secure.
47136 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47137 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47138 * elf/dl-deps.c (openaux): Likewise.
47139 * elf/rtld.c (struct map_args): Remove is_preloaded.
47140 (map_doit): Don't use it.
47141 (dl_main): Likewise.
47142 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47143 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47145 2010-09-09 Andreas Schwab <schwab@redhat.com>
47147 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47148 (sysd-rules-targets): Remove duplicates.
47149 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47150 rtld-%.$o dependency.
47152 2010-10-18 Andreas Schwab <schwab@redhat.com>
47154 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47155 _dl_map_object do it.
47157 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47159 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47160 fast fma builtins, define the macros in the C99 standard.
47161 (FP_FAST_FMAF): Likewise.
47162 (FP_FAST_FMAL): Likewise.
47163 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47165 * bits/mathdef.h: Update copyright year.
47166 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47168 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47170 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47171 builtins, define the macros in the C99 standard.
47172 (FP_FAST_FMAF): Likewise.
47173 (FP_FAST_FMAL): Likewise.
47174 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47176 (FP_FAST_FMAF): Likewise.
47178 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47181 * math/libm-test.inc (fma_test): Some new testcases.
47182 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47183 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47184 y and infinite z. Do multiplication by C already in long double.
47185 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47187 y and infinite z. Do bitwise or of inexact bit into u.d.
47188 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47189 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47190 * sysdeps/i386/fpu/s_fma.S: Removed.
47191 * sysdeps/i386/fpu/s_fmal.S: Removed.
47193 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47196 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47198 computation is not scheduled after fetestexcept. Fix value
47199 of minimum denormal long double.
47201 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47204 * math/libm-test.inc (fma_test): Add some more tests.
47205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47208 2010-10-15 Andreas Schwab <schwab@redhat.com>
47210 * scripts/data/localplt-s390-linux-gnu.data: New file.
47211 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47213 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47216 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47217 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47219 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47221 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47222 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47223 if one of x and y is very large and the other is subnormal.
47224 * sysdeps/s390/fpu/s_fmaf.c: New file.
47225 * sysdeps/s390/fpu/s_fma.c: New file.
47226 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47227 * sysdeps/powerpc/fpu/s_fma.S: New file.
47228 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47229 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47230 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47232 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47235 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47238 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47239 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47240 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47241 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47242 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47243 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47245 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47248 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47249 * posix/bug-regex31.input: Add test case.
47251 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47253 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47254 * posix/bug-regex31.input: New file.
47257 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47258 (parse_sub_exp): Fix last change, use postorder.
47260 * posix/bug-regex31.c: New file.
47261 * posix/Makefile: Add rules to build and run bug-regex31.
47263 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47266 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47269 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47270 to have entries in sys_siglist.
47273 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47276 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47279 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47280 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47281 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47282 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47283 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47284 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47285 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47286 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47287 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47288 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47289 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47290 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47291 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47292 * math/ftestexcept.c (fetestexcept): Likewise.
47293 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47294 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47295 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47296 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47297 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47298 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47299 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47301 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47304 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47307 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47309 * string/bug-strstr1.c: New file.
47310 * string/Makefile: Add rules to build and run bug-strstr1.
47312 2010-10-05 Eric Blake <eblake@redhat.com>
47315 * string/str-two-way.h (two_way_long_needle): Always clear memory
47316 when skipping input due to the shift table.
47318 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47321 * malloc/mcheck.c: Handle large requests.
47324 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47325 for strncmp and strncasecmp.
47326 * string/stratcliff.c: Add tests for strcmp and strncmp.
47327 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47329 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47331 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47334 2010-09-30 Andreas Jaeger <aj@suse.de>
47336 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47337 (CGROUP_SUPER_MAGIC): Define.
47338 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47339 Handle btrfs and cgroup file systems.
47340 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47343 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47345 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47346 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47348 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47351 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47352 trying to locate the ELF header.
47354 2010-09-27 Andreas Schwab <schwab@redhat.com>
47357 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47358 Mask out sign-bit copies when constructing f_fsid.
47360 2010-09-24 Petr Baudis <pasky@suse.cz>
47362 * debug/stack_chk_fail_local.c: Add missing licence exception.
47363 * debug/warning-nop.c: Likewise.
47365 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47367 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47368 implementing getdents64 using getdents syscall, set d_type if
47369 __ASSUME_GETDENTS32_D_TYPE.
47371 2010-09-16 Andreas Schwab <schwab@redhat.com>
47373 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47374 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47376 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47379 * posix/unistd.h: Undo change of feature selection for ftruncate from
47382 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47384 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47387 2010-09-20 Andreas Schwab <schwab@redhat.com>
47389 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47391 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47393 2010-09-14 Andreas Schwab <schwab@redhat.com>
47395 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47396 variables after CHECK_SP call.
47397 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47399 2010-09-13 Andreas Schwab <schwab@redhat.com>
47400 Ulrich Drepper <drepper@redhat.com>
47402 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47403 re-relocationg ld.so.
47404 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47405 _dl_init_paths call.
47406 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47409 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47411 * resolv/res_init.c (__res_vinit): Count the default server we added.
47413 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47414 Ulrich Drepper <drepper@redhat.com>
47417 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47418 (____longjmp_chk): Use %ebx for saving value across system call.
47421 2010-09-06 Andreas Schwab <schwab@redhat.com>
47423 * manual/Makefile: Don't mix pattern rules with normal rules.
47425 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47427 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47429 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47430 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47431 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47432 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47433 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47436 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47439 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47440 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47442 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47444 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47445 * sysdeps/x86_64/addmul_1.S: Likewise.
47446 * sysdeps/x86_64/lshift.S: Likewise.
47447 * sysdeps/x86_64/mul_1.S: Likewise.
47448 * sysdeps/x86_64/rshift.S: Likewise.
47449 * sysdeps/x86_64/sub_n.S: Likewise.
47450 * sysdeps/x86_64/submul_1.S: Likewise.
47452 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47454 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47455 Define __sched_param instead of SCHED_* and sched_param when
47456 <bits/sched.h> is included with __need_schedparam defined.
47457 * bits/sched.h [__need_schedparam]
47458 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47459 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47460 (__defined_schedparam): Define to 1.
47461 (__sched_param): New structure, identical to sched_param.
47462 (__need_schedparam): Undefine.
47464 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47466 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47467 (epoll_create1): Declare.
47469 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47471 2010-08-31 Andreas Schwab <schwab@redhat.com>
47474 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47475 shifting retval into place.
47477 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47479 * nis/rpcsvc/nis.h: Update copyright notice.
47480 * nis/rpcsvc/nis.x: Likewise.
47481 * nis/rpcsvc/nis_callback.h: Likewise.
47482 * nis/rpcsvc/nis_callback.x: Likewise.
47483 * nis/rpcsvc/nis_object.x: Likewise.
47484 * nis/rpcsvc/nis_tags.h: Likewise.
47485 * nis/rpcsvc/yp.h: Likewise.
47486 * nis/rpcsvc/yp.x: Likewise.
47487 * nis/rpcsvc/ypupd.h: Likewise.
47488 * nis/yp_xdr.c: Likewise.
47489 * nis/ypupdate_xdr.c: Likewise.
47491 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47492 mainly the body of pmap_getport. Add parameters to specify timeouts.
47493 (pmap_getport): Use __libc_rpc_getport.
47494 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47495 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47496 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47498 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47503 2010-08-27 Roland McGrath <roland@redhat.com>
47505 * sysdeps/i386/i686/multiarch/Makefile
47506 (CFLAGS-varshift.c): New variable.
47508 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47510 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47511 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47513 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47515 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47517 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47519 * sysdeps/x86_64/strlen.S: Unroll the loop.
47520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47521 strlen-sse2 strlen-sse2-bsf.
47522 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47523 __strlen_no_bsf if bit_Slow_BSF is set.
47524 (__strlen_sse42): Removed.
47525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47526 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47528 2010-08-25 Roland McGrath <roland@redhat.com>
47530 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47531 * sysdeps/x86_64/multiarch/varshift.c: New file.
47532 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47533 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47534 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47535 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47537 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47540 strlen-sse2 strlen-sse2-bsf.
47541 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47542 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47543 (__strlen_sse2): Removed.
47544 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47545 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47547 bit_Slow_BSF for Atom.
47548 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47549 (index_Slow_BSF): Define.
47550 (HAS_SLOW_BSF): Define.
47552 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47555 * resolv/res_init.c (__res_vinit): When no server address at all
47556 is given default to loopback.
47558 2010-08-24 Roland McGrath <roland@redhat.com>
47560 * configure.in: Remove config-name.h generation.
47561 * configure: Regenerated.
47562 * config-name.in: File removed.
47563 * scripts/config-uname.sh: New file.
47564 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47565 ($(objdir)config-name.h): New target.
47567 * sunrpc/rpc_parse.h: Avoid nested comment.
47569 2010-08-24 Richard Henderson <rth@redhat.com>
47570 Ulrich Drepper <drepper@redhat.com>
47571 H.J. Lu <hongjiu.lu@intel.com>
47573 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47575 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47576 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47577 _mm_alignr_epi8 with _mm_loadu_si128.
47578 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47579 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47580 (__m128i_shift_right): Removed.
47581 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47582 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47583 * sysdeps/x86_64/multiarch/varshift.h: New file.
47584 * sysdeps/x86_64/multiarch/varshift.S: New file.
47586 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47588 * configure.in: Move assembler checks to before sysdep dir checking.
47590 2010-08-20 Petr Baudis <pasky@suse.cz>
47592 * LICENSES: Sync the sunrpc license.
47594 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47596 * sunrpc/auth_des.c: Update copyright notice once again.
47597 * sunrpc/auth_none.c: Likewise.
47598 * sunrpc/auth_unix.c: Likewise.
47599 * sunrpc/authdes_prot.c: Likewise.
47600 * sunrpc/authuxprot.c: Likewise.
47601 * sunrpc/bindrsvprt.c: Likewise.
47602 * sunrpc/clnt_gen.c: Likewise.
47603 * sunrpc/clnt_perr.c: Likewise.
47604 * sunrpc/clnt_raw.c: Likewise.
47605 * sunrpc/clnt_simp.c: Likewise.
47606 * sunrpc/clnt_tcp.c: Likewise.
47607 * sunrpc/clnt_udp.c: Likewise.
47608 * sunrpc/clnt_unix.c: Likewise.
47609 * sunrpc/des_crypt.c: Likewise.
47610 * sunrpc/des_soft.c: Likewise.
47611 * sunrpc/get_myaddr.c: Likewise.
47612 * sunrpc/getrpcport.c: Likewise.
47613 * sunrpc/key_call.c: Likewise.
47614 * sunrpc/key_prot.c: Likewise.
47615 * sunrpc/openchild.c: Likewise.
47616 * sunrpc/pm_getmaps.c: Likewise.
47617 * sunrpc/pm_getport.c: Likewise.
47618 * sunrpc/pmap_clnt.c: Likewise.
47619 * sunrpc/pmap_prot.c: Likewise.
47620 * sunrpc/pmap_prot2.c: Likewise.
47621 * sunrpc/pmap_rmt.c: Likewise.
47622 * sunrpc/rpc/auth.h: Likewise.
47623 * sunrpc/rpc/auth_unix.h: Likewise.
47624 * sunrpc/rpc/clnt.h: Likewise.
47625 * sunrpc/rpc/des_crypt.h: Likewise.
47626 * sunrpc/rpc/key_prot.h: Likewise.
47627 * sunrpc/rpc/netdb.h: Likewise.
47628 * sunrpc/rpc/pmap_clnt.h: Likewise.
47629 * sunrpc/rpc/pmap_prot.h: Likewise.
47630 * sunrpc/rpc/pmap_rmt.h: Likewise.
47631 * sunrpc/rpc/rpc.h: Likewise.
47632 * sunrpc/rpc/rpc_des.h: Likewise.
47633 * sunrpc/rpc/rpc_msg.h: Likewise.
47634 * sunrpc/rpc/svc.h: Likewise.
47635 * sunrpc/rpc/svc_auth.h: Likewise.
47636 * sunrpc/rpc/types.h: Likewise.
47637 * sunrpc/rpc/xdr.h: Likewise.
47638 * sunrpc/rpc_clntout.c: Likewise.
47639 * sunrpc/rpc_cmsg.c: Likewise.
47640 * sunrpc/rpc_common.c: Likewise.
47641 * sunrpc/rpc_cout.c: Likewise.
47642 * sunrpc/rpc_dtable.c: Likewise.
47643 * sunrpc/rpc_hout.c: Likewise.
47644 * sunrpc/rpc_main.c: Likewise.
47645 * sunrpc/rpc_parse.c: Likewise.
47646 * sunrpc/rpc_parse.h: Likewise.
47647 * sunrpc/rpc_prot.c: Likewise.
47648 * sunrpc/rpc_sample.c: Likewise.
47649 * sunrpc/rpc_scan.c: Likewise.
47650 * sunrpc/rpc_scan.h: Likewise.
47651 * sunrpc/rpc_svcout.c: Likewise.
47652 * sunrpc/rpc_tblout.c: Likewise.
47653 * sunrpc/rpc_util.c: Likewise.
47654 * sunrpc/rpc_util.h: Likewise.
47655 * sunrpc/rpcinfo.c: Likewise.
47656 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47657 * sunrpc/rpcsvc/key_prot.x: Likewise.
47658 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47659 * sunrpc/rpcsvc/mount.x: Likewise.
47660 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47661 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47662 * sunrpc/rpcsvc/rex.x: Likewise.
47663 * sunrpc/rpcsvc/rstat.x: Likewise.
47664 * sunrpc/rpcsvc/rusers.x: Likewise.
47665 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47666 * sunrpc/rpcsvc/spray.x: Likewise.
47667 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47668 * sunrpc/rtime.c: Likewise.
47669 * sunrpc/svc.c: Likewise.
47670 * sunrpc/svc_auth.c: Likewise.
47671 * sunrpc/svc_authux.c: Likewise.
47672 * sunrpc/svc_raw.c: Likewise.
47673 * sunrpc/svc_run.c: Likewise.
47674 * sunrpc/svc_simple.c: Likewise.
47675 * sunrpc/svc_tcp.c: Likewise.
47676 * sunrpc/svc_udp.c: Likewise.
47677 * sunrpc/svc_unix.c: Likewise.
47678 * sunrpc/svcauth_des.c: Likewise.
47679 * sunrpc/xcrypt.c: Likewise.
47680 * sunrpc/xdr.c: Likewise.
47681 * sunrpc/xdr_array.c: Likewise.
47682 * sunrpc/xdr_float.c: Likewise.
47683 * sunrpc/xdr_mem.c: Likewise.
47684 * sunrpc/xdr_rec.c: Likewise.
47685 * sunrpc/xdr_ref.c: Likewise.
47686 * sunrpc/xdr_sizeof.c: Likewise.
47687 * sunrpc/xdr_stdio.c: Likewise.
47689 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47692 2010-08-19 Andreas Schwab <schwab@redhat.com>
47694 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47696 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47698 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47699 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47700 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47701 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47702 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47703 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47704 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47705 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47706 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47707 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47708 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47709 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47710 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47711 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47713 2010-07-26 Anton Blanchard <anton@samba.org>
47715 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47716 * malloc/arena.c (heap_trim): Likewise.
47718 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47720 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47723 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47725 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47727 * sysdeps/i386/elf/Makefile: New file.
47729 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47731 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47732 from fanotify_init.
47733 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47736 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47738 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47740 * sysdeps/multiarch/strcmp.S: Likewise.
47742 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47744 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47745 strncase_l-nonascii.
47746 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47747 Add strncase_l-ssse3.
47748 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47749 * sysdeps/x86_64/strcmp.S: Likewise.
47750 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47751 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47752 * sysdeps/x86_64/strncase.S: New file.
47753 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47754 * sysdeps/x86_64/strncase_l.S: New file.
47755 * string/Makefile (strop-tests): Add strncasecmp.
47756 * string/test-strncasecmp.c: New file.
47758 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47761 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47762 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47764 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47766 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47768 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47770 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47771 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47772 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47774 2010-05-01 Alan Modra <amodra@gmail.com>
47776 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47777 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47778 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47779 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47780 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47781 tidying. Don't tail-call __sigjmp_save for static lib.
47782 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47784 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47785 (CALL_MCOUNT): Add eh info, and nop after bl.
47786 (TAIL_CALL_SYSCALL_ERROR): New macro.
47787 (PSEUDO_RET): Use it.
47788 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47789 Correct save location of integer regs and cr.
47790 (_dl_profile_resolve): Correct cr save location. Delete nops
47791 after bl when SHARED. Reduce cfi size a little by better
47792 placement of cfi directives.
47793 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47794 make a stack frame. Instead use parm save area as a temp.
47795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47796 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47798 Don't make a stack frame for parent, use parm save area.
47799 Increase child stack frame to 112 bytes. Don't save unused reg,
47800 and adjust reg usage. Set up cfi on error recovery and
47801 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47803 (__makecontext): Add dummy nop after jump to exit.
47804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47805 Use correct parm save area and cr save, reduce stack frame.
47806 Correct cfi for possible PSEUDO_RET frame setup.
47807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47808 Branch to local label emitted by PSEUDO_RET rather than
47811 2010-08-12 Andreas Schwab <schwab@redhat.com>
47814 * locale/programs/locale.c (print_assignment): New function.
47815 (show_locale_vars): Use it.
47817 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47819 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47821 (struct statfs64): Likewise.
47822 (_STATFS_F_FLAGS): Define.
47823 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47824 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47825 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47826 (ST_VALID): Define locally.
47827 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47828 __statvfs_getflags, use the provided value.
47829 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47830 __ASSUME_STATFS_F_FLAGS.
47832 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47834 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47835 Add sys/fanotify.h.
47836 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47837 fanotify_mask for GLIBC_2.13.
47838 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47839 fanotify_init and fanotify_mark.
47840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47841 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47843 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47845 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47846 prlimit64 for GLIBC_2.13.
47847 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47852 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47853 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47854 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
47857 * sysdeps/unix/sysv/linux/prlimit.c: New file.
47860 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47861 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47863 * nss/Makefile: Add rules to build and run tst-nss-test1.
47864 * shlib-versions: Add entry for libnss_test1.
47865 * nss/nss_test1.c: New file.
47866 * nss/tst-nss-test1.c: New file.
47868 * nss/nsswitch.c (__nss_database_custom): Define new variable.
47869 (__nss_configure_lookup): Set appropriate entry in
47870 __nss_configure_lookup to true.
47871 * nss/nsswitch.h: Define enum with indeces of databases in
47872 databases and __nss_database_custom arrays. Declare
47873 __nss_database_custom.
47874 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47875 to avoid using nscd when custom rules are installed.
47876 * nss/getXXbyYY_r.c: Likewise.
47877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47879 * nss/nss_files/files-parse.c: Whitespace fixes.
47881 2010-08-09 Ulrich Drepper <drepper@redhat.com>
47884 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47885 * posix/fnmatch_loop.c: Likewise.
47887 2010-07-17 Andi Kleen <ak@linux.intel.com>
47889 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47890 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47891 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47892 * Versions.def [GLIBC_2.13]: Add.
47894 2010-08-06 Ulrich Drepper <drepper@redhat.com>
47896 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47897 Also fail if tpwd after pwuid call is NULL.
47899 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
47901 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47902 when converting to ms.
47904 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47906 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47907 EOPNOTSUPP errors with ENOTTY.
47908 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47909 EOPNOTSUPP errors with ENOTTY.
47911 2010-07-31 Ulrich Drepper <drepper@redhat.com>
47913 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47914 Add strcasecmp_l-ssse3.
47915 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47917 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47918 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47919 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47921 2010-07-30 Ulrich Drepper <drepper@redhat.com>
47923 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47925 * string/Makefile (strop-tests): Add strcasecmp.
47926 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47927 strcasecmp_l-nonascii.
47928 (gen-as-const-headers): Add locale-defines.sym.
47929 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47930 * sysdeps/x86_64/strcasecmp.S: New file.
47931 * sysdeps/x86_64/strcasecmp_l.S: New file.
47932 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47933 * sysdeps/x86_64/locale-defines.sym: New file.
47934 * string/test-strcasecmp.c: New file.
47936 * string/test-strcasestr.c: Test both ends of the range of characters.
47937 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47939 2010-07-29 Roland McGrath <roland@redhat.com>
47942 * manual/locale.texi (Yes-or-No Questions): Fix example code.
47944 2010-07-27 Ulrich Drepper <drepper@redhat.com>
47946 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47949 2010-07-27 Andreas Schwab <schwab@redhat.com>
47951 * manual/memory.texi (Malloc Tunable Parameters): Document
47954 2010-07-26 Roland McGrath <roland@redhat.com>
47957 * configure.in (-fgnu89-inline check): Set and substitute
47958 gnu89_inline, not libc_cv_gnu89_inline.
47959 * configure: Regenerated.
47960 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47962 2010-07-26 Ulrich Drepper <drepper@redhat.com>
47964 * string/test-strnlen.c: New file.
47965 * string/Makefile (strop-tests): Add strnlen.
47966 * string/tester.c (test_strnlen): Add a few more test cases.
47967 * string/tst-strlen.c: Better error reporting.
47969 * sysdeps/x86_64/strnlen.S: New file.
47971 2010-07-24 Ulrich Drepper <drepper@redhat.com>
47973 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47974 lower-latency instructions.
47976 2010-07-23 Ulrich Drepper <drepper@redhat.com>
47978 * string/test-strcasestr.c: New file.
47979 * string/test-strstr.c: New file.
47980 * string/Makefile (strop-tests): Add strstr and strcasestr.
47981 * string/str-two-way.h: Don't undefine MAX.
47982 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47984 2010-07-21 Andreas Schwab <schwab@redhat.com>
47986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47987 strcasestr-nonascii.
47988 (CFLAGS-strcasestr-nonascii.c): Define.
47989 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47990 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47991 Remove unused attribute.
47993 2010-07-20 Roland McGrath <roland@redhat.com>
47995 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47996 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
47997 ld.so.cache was broken. With it, there is no way to disable dsocaps
47998 like LD_HWCAP_MASK can disable hwcaps.
48000 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48002 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48004 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48006 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48007 call in strcasestr.
48008 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48009 __strcasestr_sse42_nonascii.
48010 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48011 strcasestr-nonascii.c.
48012 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48014 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48016 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48017 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48018 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48019 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48021 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48023 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48026 2010-07-06 Andreas Schwab <schwab@redhat.com>
48029 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48032 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48035 _PC_PIPE_BUF using F_GETPIPE_SZ.
48037 2010-07-05 Roland McGrath <roland@redhat.com>
48039 * manual/arith.texi (Rounding Functions): Fix rint description
48040 implicit in round description.
48042 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48044 * elf/Makefile: Fix linking for a few tests to make recent linker
48047 2010-06-30 Andreas Schwab <schwab@redhat.com>
48049 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48050 $(common-objpfx)libc_nonshared.a.
48052 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48054 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48055 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48056 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48057 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48058 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48059 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48060 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48061 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48076 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48077 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48078 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48079 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48080 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48081 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48082 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48083 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48084 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48085 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48086 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48087 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48103 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48105 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48106 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48107 * string/memmove.c (memmove): Renamed to ...
48108 (MEMMOVE): ...this. Default to memmove.
48109 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48110 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48113 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48114 mempcpy-ssse3-back memmove-ssse3-back.
48115 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48117 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48118 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48119 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48120 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48121 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48122 * sysdeps/x86_64/multiarch/memmove.c: New file.
48123 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48124 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48125 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48126 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48127 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48130 (index_Fast_Copy_Backward): Define.
48131 (HAS_ARCH_FEATURE): Define.
48132 (HAS_FAST_REP_STRING): Define.
48133 (HAS_FAST_COPY_BACKWARD): Define.
48135 2010-06-21 Andreas Schwab <schwab@redhat.com>
48137 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48138 Restore proper fallback handling.
48140 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48143 * posix/group_member.c (__group_member): Correct checking loop.
48145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48146 OOM in getpwuid_r correctly. Return error number when the caller
48147 should return, otherwise -1.
48148 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48149 call returning > 0 value.
48150 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48152 2010-06-07 Andreas Schwab <schwab@redhat.com>
48154 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48155 libc_nonshared.a from targets in modules-names.
48157 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48159 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48162 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48164 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48165 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48166 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48167 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48169 2010-06-02 Andreas Schwab <schwab@redhat.com>
48171 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48173 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48175 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48177 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48180 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48181 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48182 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48184 2010-06-14 Roland McGrath <roland@redhat.com>
48186 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48188 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48190 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48191 __REDIRECT followed by __THROW.
48192 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48193 * posix/getopt.h (getopt): Likewise.
48195 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48197 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48198 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48199 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48201 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48202 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48204 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48206 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48208 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48212 Properly check family and model.
48214 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48216 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48218 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48220 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48222 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48224 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48227 2010-05-19 Andreas Schwab <schwab@redhat.com>
48229 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48232 2010-05-21 Andreas Schwab <schwab@redhat.com>
48234 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48235 and internal_recvmmsg.
48236 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48237 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48238 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48239 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48241 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48242 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48243 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48245 2010-05-20 Andreas Schwab <schwab@redhat.com>
48247 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48249 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48251 POWER7 optimizations.
48252 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48253 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48255 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48257 * version.h: Update for 2.13 development version.
48259 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48261 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48262 exceptions. Return 0.
48264 2010-05-07 Roland McGrath <roland@redhat.com>
48266 * elf/ldconfig.c (main): Add a const.
48268 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48270 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48271 (args_options): Add no-idn option.
48272 (ahosts_keys_int): Add idn_flags to ai_flags.
48273 (parse_option): Handle 'i' option to clear idn_flags.
48275 * malloc/malloc.c (_int_free): Possible race in the most recently
48276 added check. Only act on the data if no current modification
48279 See ChangeLog.17 for earlier changes.