1 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7 2014-07-14 Alan Modra <amodra@gmail.com>
10 * elf/elf.h (DT_PPC64_NUM): Correct value.
11 * NEWS: Add to fixed bug list.
13 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15 * sysdeps/powerpc/memmove.c: Remove file.
16 * sysdeps/powerpc/powerpc32/power4/memcopy.h
17 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
18 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
20 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
21 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
23 string memmove instead of removed powerpc one.
25 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26 [weak_alias]: Fix compiler warning due trailing data.
27 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
28 [weak_alias]: Likewise.
29 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33 (__libc_ifunc_impl_list): Add memmove functions.
35 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
38 to avoid alignment traps in non-cacheable memory.
39 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
43 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44 file: multiarch power7 memmove.
45 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46 multiarch default memmove.
47 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
48 multiarch memove for powerpc32/power4.
50 * string/bcopy.c: Use full path to include memmove.c.
51 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
53 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
55 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
57 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
58 and memmove implementations.
59 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
60 optimized multiarch memmove for POWER7/powerpc64.
61 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
62 default multiarch memmove for powerpc64.
63 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
64 multiarch for powerpc64.
65 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
67 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
68 memmove for POWER7/powerpc64.
70 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
73 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
74 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
76 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
77 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
79 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
80 (__libc_ifunc_impl_list): Likewise.
81 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
82 multiarch strcat for PPC64.
83 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
84 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
86 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
89 macro: hardware supports Vector Crypto instructions.
91 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
94 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
95 double, adjusted for any remainder from the high double.
96 * math/libm-test.inc (nearbyint): Add tests.
99 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
101 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
102 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
103 multiarch strcmp for PPC64.
104 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
105 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
107 multiarch optimizations.
108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
109 (__libc_ifunc_impl_list): Likewise.
111 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
114 strlen for non SHARED builds.
116 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
117 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
118 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
119 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
121 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
122 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
123 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
124 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
126 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
127 strlen symbol for non multi-arch builds.
128 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
129 missing hidden_def and weak_alias.
131 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
135 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
136 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
137 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
138 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
140 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
141 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
143 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
146 libc_hidden_builtin_def to ifunc.
147 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
148 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
150 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
153 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
155 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
157 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
158 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
159 multiarch strncpy for PPC64.
160 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
161 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
163 multiarch optimizations.
164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
165 (__libc_ifunc_impl_list): Likewise.
166 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
167 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
168 multiarch stpncpy for PPC64.
169 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
170 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
172 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
174 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
175 [libc_hidden_builtin_def]: Define to empty value.
176 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
177 [libc_hidden_builtin_def]: Likewise.
178 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
179 [libc_hidden_builtin_def]: Likewise.
180 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
181 [libc_hidden_builtin_def]: Likewise.
182 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
183 __redirect_memcpy and define ifunc as default hidden symbol.
184 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
185 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
187 2014-04-16 Alan Modra <amodra@gmail.com>
191 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
192 * math/libm-test.inc (frexp_test_data): Add tests.
194 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
198 result for FE_DOWNWARD rounding mode.
199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
203 2014-04-02 Alan Modra <amodra@gmail.com>
206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
207 output when value is near a power of two. Use int64_t for lx and
208 remove casts. Use decimal rather than hex exponent constants.
209 Don't use long double multiplication when double will suffice.
210 * math/libm-test.inc (nextafter_test_data): Add tests.
211 * NEWS: Add 16739 and 16786 to bug list.
213 2014-04-02 Alan Modra <amodra@gmail.com>
215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
217 2014-04-02 Alan Modra <amodra@gmail.com>
219 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
221 2014-04-01 Alan Modra <amodra@gmail.com>
224 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
226 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
228 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
229 Encode instruction correctly in little endian.
230 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
232 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
234 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
236 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
239 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
240 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
242 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
243 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
244 and strpbrk-ppc64 objects.
245 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
246 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
247 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
248 multiarch strpbrk for POWER7.
249 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
250 multiarch strpbrk for PPC64.
251 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
253 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
256 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
258 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
260 and strcspn-ppc64 objects.
261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
262 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
263 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
264 multiarch strcspn for POWER7.
265 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
266 multiarch strcspn for PPC64.
267 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
269 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
272 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
277 * math/libm-test.inc (round_test_data): Add more tests.
279 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
284 * math/libm-test.inc (nearbyint_test_data): Add more tests.
286 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
289 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
291 * math/libm-test.inc (ceil_test_data): Add more tests.
293 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
295 * math/libm-test.inc (trunc_test_data): Add more tests related to
298 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
302 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
305 selector for static builds.
307 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
309 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
310 selector for static builds.
312 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
315 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
316 Define it for static builds as well.
317 (NO_BZERO_IMPL): Likewise.
319 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
321 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
322 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
323 multiarch strspn for PPC64.
324 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
325 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
327 (__libc_ifunc_impl_list): Likewise.
328 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
329 multiarch optimizations
330 * string/strspn.c (strspn): Using macro to redefine symbol name.
332 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
333 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
335 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
336 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
337 multiarch strncat for PPC64.
338 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
339 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
341 (__libc_ifunc_impl_list): Likewise.
342 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
343 multiarch optimizations
345 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
347 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
348 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
350 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
351 (__libc_ifunc_impl_list): Likewise.
352 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
353 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
354 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
355 * string/strrchr.c: Define STRRCHR.
357 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
362 POWER8 llround ifunc implementation.
363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
364 POWER8 implementation.
365 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
366 POWER8 llround implementation.
368 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
373 POWER8 llrint ifunc implementation.
374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
375 POWER8 implementation.
376 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
377 POWER8 llrint implementation.
379 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
384 POWER8 finite ifunc implementation.
385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
386 POWER8 implementation.
387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
389 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
390 POWER8 finite implementation.
391 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
393 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
395 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
398 POWER8 isinf ifunc implementation.
399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
400 POWER8 implementation.
401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
403 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
404 POWER8 isinf implementation.
405 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
407 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
410 Add hwcap2 initialization.
411 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
414 POWER8 isnan ifunc implementation.
415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
416 POWER8 implementation.
417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
419 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
420 POWER8 isnan implementation.
421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
423 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
426 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
429 2014-02-06 Carlos O'Donell <carlos@redhat.com>
432 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
434 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
436 * manual/contrib.texi: Update entry for Carlos O'Donell,
437 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
439 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
441 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
443 * sysdeps/unix/sysv/linux/kernel-features.h
444 [__LINUX_KERNEL_VERSION >= 0x020621]
445 (__ASSUME_PROC_PID_TASK_COMM): Define.
447 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
449 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
450 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
451 Leonard and Allan McRae.
453 2014-02-04 David S. Miller <davem@davemloft.net>
455 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
458 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
487 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
489 * nptl/shlib-versions: Change powerpc*le start to 2.17.
490 * shlib-versions: Likewise.
492 2014-02-04 Roland McGrath <roland@hack.frob.com>
493 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
495 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
496 (abilist-pattern): New variable, set to %-le.abilist.
498 * Makerules (abilist-pattern): New variable.
499 (vpath): Use $(abilist-pattern) in place of %.abilist.
500 (check-abi-% pattern rule): Likewise.
501 (check-abi, update-abi): Likewise.
503 2014-02-04 Eric Wong <normalperson@yhbt.net>
505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
507 2014-02-04 Eric Wong <normalperson@yhbt.net>
509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
511 2014-02-03 Carlos O'Donell <carlos@redhat.com>
513 * manual/startup.texi: Add next, previous, and top entries for
514 the `Program Arguments' and `Environment Variables' nodes.
516 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
518 * manual/macros.texi: Add comments before MTASC-safety macros.
520 * manual/users.texi: Document MTASC-safety properties.
522 * manual/threads.texi (pthread_key_create, pthread_key_delete,
523 pthread_getspecific, pthread_setspecific): Format with
524 @deftypefun, and add @safety note.
525 * manual/signal.texi: Move comments that analyze the above
526 functions to their home place.
528 2014-02-03 Allan McRae <allan@archlinux.org>
530 * po/sl.po: Update Slovenian translation from translation project.
532 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
534 * manual/time.texi (timegm): Add missing blank after @c.
535 Reported by Joseph Myers <joseph@codesourcery.com>.
537 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
539 * manual/check-safety.sh: New.
540 * manual/Makefile ($(objpfx)stamp-summary): Run it.
542 * manual/terminal.texi: Document MTASC-safety properties.
544 * manual/filesys.texi: Document MTASC-safety properties.
546 * manual/errno.texi: Document MTASC-safety properties.
548 * manual/intro.texi: Document safety identifiers and
551 * manual/string.texi (wcstok): Fix prototype.
552 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
554 * manual/time.texi: Document MTASC-safety properties.
556 * manual/string.texi: Document MTASC-safety properties.
558 * manual/threads.texi: Document MTASC-safety properties.
560 * manual/stdio.texi: Document MTASC-safety properties.
562 * manual/syslog.texi: Document MTASC-safety properties.
564 * manual/sysinfo.texi: Document MTASC-safety properties.
566 * manual/startup.texi: Document MTASC-safety properties.
568 * manual/socket.texi: Document MTASC-safety properties.
570 * manual/signal.texi: Document MTASC-safety properties.
572 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
574 * manual/setjmp.texi: Document MTASC-safety properties.
576 * manual/search.texi: Document MTASC-safety properties.
578 * manual/resource.texi: Document MTASC-safety properties.
580 * manual/process.texi: Document MTASC-safety properties.
582 * manual/platform.texi: Document MTASC-safety properties.
584 * manual/pipe.texi: Document MTASC-safety properties.
586 * manual/pattern.texi: Document MTASC-safety properties.
588 * manual/message.texi: Document MTASC-safety properties.
591 * manual/memory.texi: Document MTASC-safety properties.
593 * manual/math.texi: Document MTASC-safety properties.
595 * manual/locale.texi: Document MTASC-safety properties.
597 * manual/llio.texi: Document MTASC-safety properties.
599 * manual/libdl.texi: New.
601 * manual/lang.texi: Document MTASC-safety properties.
603 * manual/job.texi: Document MTASC-safety properties.
605 * manual/getopt.texi: Document MTASC-safety properties.
607 * manual/ctype.texi: Document MTASC-safety properties.
609 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
612 * csu/libc-tls.c (static_map): Remove variable.
613 (__libc_setup_tls): Use main executable's link map for TLS data.
614 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
615 casing for LM_ID_BASE and GL(dl_nns).
616 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
617 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
618 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
619 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
620 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
622 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
625 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
627 * manual/debug.texi: Document MTASC-safety properties.
629 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
632 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
633 of __x86_64__ when disabling x87 inline functions.
635 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
637 * manual/charset.texi: Document MTASC-safety properties.
639 * manual/crypt.texi: Document MTASC-safety properties.
641 * manual/conf.texi: Document MTASC-safety properties.
643 * manual/arith.texi: Document MTASC-safety properties.
645 * manual/argp.texi: Document MTASC-safety properties.
647 * manual/macros.texi: Introduce macros to document multi
648 thread, asynchronous signal and asynchronous cancellation
650 * manual/intro.texi: Introduce the properties themselves.
652 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
654 * sysdeps/sh/sh4/Makefile: New file.
656 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
658 * math/gen-libm-test.pl ($srcdir): New variable.
659 ($auto_input): Use it.
661 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
664 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
665 access beyond array bounds when parsing netgroups file.
667 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
668 the old buffer before realloc.
670 2014-01-27 Allan McRae <allan@archlinux.org>
672 * po/fr.po: Update French translation from translation project.
674 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
676 * sysdeps/sh/libm-test-ulps: Regenerate.
678 2014-01-24 David S. Miller <davem@davemloft.net>
680 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
682 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
684 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
685 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
687 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
690 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
691 string pointers after reallocation.
693 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
695 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
696 __SH4A__ instead of __SH_FPU_ANY__.
698 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
700 * sysdeps/sh/fpu_control.h: New file.
701 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
702 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
703 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
704 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
705 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
706 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
707 * sysdeps/sh/sys/ucontext.h: Remove.
708 * sysdeps/sh/sys: Remove directory.
710 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
712 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
714 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
715 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
717 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
720 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
722 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
726 Adjust the vDSO correctly for internal calls.
727 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
729 2014-01-20 Allan McRae <allan@archlinux.org>
731 * po/ca.po: Update Catalan translation from translation project.
733 2014-01-16 Mike Frysinger <vapier@gentoo.org>
735 * sysdeps/s390/sotruss-lib.c: New file.
737 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
740 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
741 (__GI___gettimeofday): Alias for a different internal symbol to avoid
742 local calls issues by not having a PLT stub required for IFUNC calls.
743 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
745 2014-01-16 Joseph Myers <joseph@codesourcery.com>
747 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
748 * math/test-fpucw-static.c: Likewise.
750 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
753 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
755 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
757 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
758 implementation for powerpc.
760 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
763 * sysdeps/posix/system.c (__libc_system): Do not enable
764 asynchronous cancellation.
766 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
769 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
770 handling only for numbers special also in the IEEE case.
772 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
774 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
776 2014-01-11 Allan McRae <allan@archlinux.org>
778 * po/bg.po: Update Bulgarian translation from translation project.
780 * po/de.po: Update German translation from translation project.
782 2014-01-10 Roland McGrath <roland@hack.frob.com>
784 * sysdeps/generic/gcc-compat.h: New file.
786 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
788 * benchtests/asin-inputs: Correct slow inputs.
789 * benchtests/acos-inputs: Likewise.
791 2014-01-10 Allan McRae <allan@archlinux.org>
793 * po:sv.po: Update Swedish translation from translation project.
795 * po/vi.po: Update Vietnamese translation from translation project.
797 * po/eo.po: Update Esperanto translation from translation project.
799 * po/cs.po: Update Czech translation from translation project.
801 * po/nl.po: Update Dutch translation from translation project.
803 * po/pl.po: Update Polish translation from translation project.
805 * po/ru.po: Update Russian translation from translation project.
807 * po/uk.po: Update Ukrainian translation from translation project.
809 2014-01-08 Brooks Moses <bmoses@google.com>
811 * elf/dl-load.c: Fix comment typo.
813 2014-01-08 Carlos O'Donell <carlos@redhat.com>
815 * po/header.pot: Rename to...
816 * po/pot.header: ... this.
817 * po/Makefile: Use pot.header.
819 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
820 Maxim Kuvyrkov <maxim@kugelworks.com>
823 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
824 SRC and DEST against LEN.
826 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
829 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
831 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
833 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
837 2014-01-08 Joseph Myers <joseph@codesourcery.com>
840 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
841 for large positive arguments.
843 2014-01-07 Joseph Myers <joseph@codesourcery.com>
845 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
847 * math/auto-libm-test-in: Mark various tests with
848 xfail-rounding:ldbl-128ibm.
849 * math/auto-libm-test-out: Regenerated.
852 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
853 Increase overflow threshold.
855 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
858 * stdio-common/vfprintf.c: Check for integer overflow.
860 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
862 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
863 the first argument and return value of __tls_get_addr_internal.
865 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
867 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
868 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
870 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
872 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
873 * sysdeps/s390/rtld-global-offsets.sym: New file.
874 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
876 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
877 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
878 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
880 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
881 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
887 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
888 halfs of GPRs for high_gprs contexts.
889 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
890 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
892 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
894 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
896 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
897 for high GPRs (uc_high_gprs) and for future extensions
899 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
900 for future extensions (__reserved).
901 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
903 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
904 SC_HIGHGPRS offset definition.
905 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
906 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
908 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
910 * Versions.def: Add GLIBC_2.19 for libpthread.
911 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
912 siglongjmp for libpthread with GLIBC_2.19 symver.
913 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
914 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
915 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
916 * sysdeps/s390/__longjmp.c: New file.
917 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
918 * sysdeps/s390/longjmp.c: New file.
919 * sysdeps/s390/setjmp.S: New file.
920 * sysdeps/s390/sigjmp.S: New file.
921 * sysdeps/s390/v1-longjmp.c: New file.
922 * sysdeps/s390/v1-setjmp.h: New file.
923 * sysdeps/s390/v1-sigjmp.c: New file.
924 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
925 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
927 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
928 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
929 versioned symbols for ____longjmp_chk.
930 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
940 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
941 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
942 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
943 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
944 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
945 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
946 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
947 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
948 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
949 * sysdeps/s390/rtld-__longjmp.c: New file.
950 * sysdeps/s390/rtld-setjmp.S: New file.
952 2014-01-06 Joseph Myers <joseph@codesourcery.com>
955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
956 Return -__logl (x) for small positive arguments without evaluating
959 2014-01-06 Mike Frysinger <vapier@gentoo.org>
961 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
963 (__ptrace_peeksiginfo_args): ... this.
964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
965 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
968 2014-01-06 Allan McRae <allan@archlinux.org>
970 * inet/netinet/in.h: Fix typo in comment.
972 2014-01-05 Andreas Jaeger <aj@suse.de>
974 * sysdeps/i386/fpu/libm-test-ulps: Update.
976 2014-01-05 Allan McRae <allan@archlinux.org>
978 * po/libc.pot: Regenerated.
980 * malloc/memusagestat.c: Fix gettext call formatting.
982 2014-01-04 Sami Kerola <kerolasa@iki.fi>
984 * nscd/nscd.c: Improve usage() output.
986 2014-01-04 Mike Frysinger <vapier@gentoo.org>
988 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
989 * sysdeps/unix/sysv/linux/configure: Regenerated.
990 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
991 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
993 2014-01-03 Joseph Myers <joseph@codesourcery.com>
996 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
997 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
999 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1001 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
1002 extra tokens at end of #undef directive.
1003 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
1004 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
1005 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1007 2014-01-03 Joseph Myers <joseph@codesourcery.com>
1009 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1011 * math/auto-libm-test-in: Mark various tests with
1012 xfail-rounding:ldbl-128ibm.
1013 * math/auto-libm-test-out: Regenerated.
1015 2014-01-02 Joseph Myers <joseph@codesourcery.com>
1018 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1019 numbers with subnormal high part when calculating exponent.
1022 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1028 (__ieee754_acoshl): Use __log1pl not __log1p.
1030 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
1032 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1033 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1034 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1035 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1036 Convert to GNU style.
1037 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1038 mem2mem_check, mem2chunk_check, top_check, realloc_check,
1039 memalign_check, __malloc_set_state): Likewise.
1040 * malloc/mallocbug.c (main): Likewise.
1041 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1042 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1043 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1044 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1045 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1046 * malloc/malloc.h: Likewise.
1047 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1048 memalignhook, reallochook, mabort): Likewise.
1049 * malloc/mcheck.h: Likewise.
1050 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1051 mmap64, mremap, munmap, dest): Likewise.
1052 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1053 * malloc/morecore.c (__default_morecore): Likewise.
1054 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1055 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1056 _obstack_allocated_p, obstack_free, _obstack_memory_used,
1057 print_and_abort): Likewise.
1058 * malloc/obstack.h: Likewise.
1059 * malloc/set-freeres.c (__libc_freeres): Likewise.
1060 * malloc/tst-mallocstate.c (main): Likewise.
1061 * malloc/tst-mtrace.c (main): Likewise.
1062 * malloc/tst-realloc.c (do_test): Likewise.
1064 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1067 * nscd/netgroupcache.c (do_notfound): New function.
1068 (addgetnetgrentX): Use it.
1071 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1072 NSS_STATUS_NOTFOUND.
1074 2014-01-01 Joseph Myers <joseph@codesourcery.com>
1076 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1079 2014-01-01 Allan McRae <allan@archlinux.org>
1081 * scripts/update-copyrights: Update configure input file suffix.
1083 * NEWS: Update copyright year.
1084 * catgets/gencat.c: Likewise.
1085 * csu/version.c: Likewise.
1086 * debug/catchsegv.sh: Likewise.
1087 * debug/pcprofiledump.c: Likewise.
1088 * debug/xtrace.sh: Likewise.
1089 * elf/ldconfig.c: Likewise.
1090 * elf/ldd.bash.in: Likewise.
1091 * elf/pldd.c: Likewise.
1092 * elf/sotruss.ksh: Likewise.
1093 * elf/sprof.c: Likewise.
1094 * iconv/iconv_prog.c: Likewise.
1095 * iconv/iconvconfig.c: Likewise.
1096 * locale/programs/locale.c: Likewise.
1097 * locale/programs/localedef.c: Likewise.
1098 * login/programs/pt_chown.c: Likewise.
1099 * malloc/memusage.sh: Likewise.
1100 * malloc/memusagestat.c: Likewise.
1101 * malloc/mtrace.pl: Likewise.
1102 * manual/libc.texinfo: Likewise.
1103 * nscd/nscd.c: Likewise.
1104 * nss/getent.c: Likewise.
1105 * nss/makedb.c: Likewise.
1106 * posix/getconf.c: Likewise.
1107 * scripts/test-installation.pl: Likewise.
1109 * All files with FSF copyright notices: Update copyright dates
1110 using scripts/update-copyrights.
1111 * intl/plural.c: Regenerated.
1112 * locale/programs/charmap-kw.h: Likewise.
1113 * locale/programs/locfile-kw.h: Likewise.
1115 2013-12-31 Mike Frysinger <vapier@gentoo.org>
1117 * sysdeps/unix/sysv/linux/configure: Regenerated.
1118 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1119 the linux/fanotify.h header.
1120 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1121 HAVE_LINUX_FANOTIFY_H is defined.
1123 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1125 * benchtests/cos-inputs: New inputs.
1126 * benchtests/sin-inputs: Likewise.
1128 * benchtests/atan-inputs: New inputs. Fix name of multiple
1129 precision fallback inputs.
1131 * benchtests/atanh-inputs: New inputs.
1132 * benchtests/tanh-inputs: Likewise.
1134 * benchtests/acosh-inputs: New inputs.
1135 * benchtests/asinh-inputs: Likewise.
1137 * benchtests/cosh-inputs: New inputs.
1138 * benchtests/sinh-inputs: Likewise.
1140 * benchtests/acos-inputs: Add more inputs.
1141 * benchtests/asin-inputs: Likewise.
1143 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
1146 * manual/arith.texi: Fix spelling.
1147 * manual/charset.texi: Likewise.
1148 * manual/errno.texi: Likewise.
1149 * manual/filesys.texi: Likewise.
1150 * manual/lang.texi: Likewise.
1151 * manual/llio.texi: Likewise.
1152 * manual/locale.texi: Likewise.
1153 * manual/message.texi: Likewise.
1154 * manual/resource.texi: Likewise.
1155 * manual/search.texi: Likewise.
1156 * manual/setjmp.texi: Likewise.
1157 * manual/stdio.texi: Likewise.
1158 * manual/string.texi: Likewise.
1159 * manual/sysinfo.texi: Likewise.
1160 * manual/time.texi: Likewise.
1162 2013-12-27 Carlos O'Donell <carlos@redhat.com>
1164 * po/sl.po: New file.
1166 2013-12-27 Mike Frysinger <vapier@gentoo.org>
1168 * .gitignore: Add core/.gdbinit/.gdb_history.
1170 2013-12-27 Allan McRae <allan@archlinux.org>
1173 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1174 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1176 2013-12-24 Brooks Moses <bmoses@google.com>
1178 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1179 all compilers that claim C++98 compliance, not just GCC.
1180 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1183 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1185 * NEWS: Restore accidentally deleted bug-fix entries.
1187 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
1188 Ondřej Bílka <neleai@seznam.cz>
1191 * malloc/malloc.c (_int_free): Perform sanity check only if we
1194 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
1197 * manual/stdio.texi (String Input Conversions): Clarify that character
1198 classes are not supported.
1200 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1204 2013-12-22 Joseph Myers <joseph@codesourcery.com>
1207 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1208 Calculate results for small negative arguments directly rather
1209 than using reflection formula with special underflow handling.
1211 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1212 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1213 sysdeps/unix/bsd/bsd4.4/syscalls.list.
1214 (fchflags): Likewise.
1216 (setlogin): Likewise.
1217 (sigaltstack): Likewise.
1220 (sigsetmask): Likewise.
1222 (waitpid): Likewise.
1223 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1224 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1226 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1227 * sysdeps/unix/bsd/Makefile: ... here.
1228 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1229 * sysdeps/unix/bsd/Versions: ... here.
1230 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1231 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1232 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1233 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1234 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1235 * sysdeps/unix/bsd/sigblock.c: ... here.
1236 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1237 * sysdeps/unix/bsd/sigsetmask.c: ... here.
1238 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1239 * sysdeps/unix/bsd/sigvec.c: ... here.
1240 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1241 * sysdeps/unix/bsd/tcdrain.c: ... here.
1242 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1243 * sysdeps/unix/bsd/tcgetattr.c: ... here.
1244 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1245 * sysdeps/unix/bsd/tcsetattr.c: ... here.
1246 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1247 * sysdeps/unix/bsd/wait.c: ... here.
1248 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1249 * sysdeps/unix/bsd/wait3.c: ... here.
1250 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1251 * sysdeps/unix/bsd/waitpid.c: ... here.
1253 2013-12-21 Joseph Myers <joseph@codesourcery.com>
1256 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1257 round-to-nearest for [!USE_AS_EXPM1L].
1258 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1259 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
1260 more tests of exp and exp10. Expect some exp10 tests to miss
1261 exceptions or fail in directed rounding modes.
1262 * math/auto-libm-test-out: Regenerated.
1263 * math/libm-test.inc (exp10_tonearest_test_data): New array.
1264 (exp10_test_tonearest): New function.
1265 (exp10_towardzero_test_data): New array.
1266 (exp10_test_towardzero): New function.
1267 (exp10_downward_test_data): New array.
1268 (exp10_test_downward): New function.
1269 (exp10_upward_test_data): New array.
1270 (exp10_test_upward): New function.
1271 (main): Call the new functions.
1272 * sysdeps/i386/fpu/libm-test-ulps: Update.
1273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1275 2013-12-20 Joseph Myers <joseph@codesourcery.com>
1277 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1278 asinh, atan, atan2, atanh, cbrt, cos and cosh.
1279 * math/auto-libm-test-out: Regenerated.
1280 * math/libm-test.inc (acosh_test_data): Add more tests.
1281 (atanh_test_data): Likewise.
1282 (ceil_test_data): Likewise.
1283 (copysign_test_data): Likewise.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1287 * timezone/checktab.awk: Update from tzcode 2013i.
1288 * timezone/private.h: Likewise.
1289 * timezone/scheck.c: Likewise.
1290 * timezone/tzfile.h: Likewise.
1291 * timezone/tzselect.ksh: Likewise.
1292 * timezone/zdump.c: Likewise.
1293 * timezone/zic.c: Likewise.
1295 * math/auto-libm-test-in: Add tests of cpow.
1296 * math/auto-libm-test-out: Regenerated.
1297 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1298 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1300 (func_calc_desc): Add mpc_cc_c union field.
1301 (test_functions): Add cpow.
1302 (special_fill_2pi): New function.
1303 (special_real_inputs): Add 2pi.
1304 (calc_generic_results): Handle mpc_cc_c.
1305 * sysdeps/i386/fpu/libm-test-ulps: Update.
1306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1308 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1309 csqrt, ctan and ctanh.
1310 * math/auto-libm-test-out: Regenerated.
1311 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1312 (TEST_COND_x86): Likewise.
1313 (ccos_test_data): Use AUTO_TESTS_c_c.
1314 (ccosh_test_data): Likewise.
1315 (cexp_test_data): Likewise.
1316 (clog_test_data): Likewise.
1317 (csqrt_test_data): Likewise.
1318 (ctan_test_data): Likewise.
1319 (ctan_tonearest_test_data): Likewise.
1320 (ctan_towardzero_test_data): Likewise.
1321 (ctan_downward_test_data): Likewise.
1322 (ctan_upward_test_data): Likewise.
1323 (ctanh_test_data): Likewise.
1324 (ctanh_tonearest_test_data): Likewise.
1325 (ctanh_towardzero_test_data): Likewise.
1326 (ctanh_downward_test_data): Likewise.
1327 (ctanh_upward_test_data): Likewise.
1328 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1330 (func_calc_desc): Add mpc_c_c union field.
1331 (FUNC_mpc_c_c): New macro.
1332 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1333 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1335 (special_fill_min_subnorm_p120): New function.
1336 (special_real_inputs): Add min_subnorm_p120.
1337 (calc_generic_results): Handle mpc_c_c.
1338 * sysdeps/i386/fpu/libm-test-ulps: Update.
1339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1341 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1343 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1344 do_sin_slow): New functions.
1345 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1346 cslow2, csloww1, csloww2): Use the new functions.
1348 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1349 Use M to change sign of result instead of X. Assume X is
1351 (csloww1): Likewise.
1355 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1362 (sloww1): Don't adjust sign of DX.
1363 (csloww1): Likewise.
1364 (sloww2): Use X directly and don't adjust sign of DX.
1365 (csloww2): Likewise.
1367 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1369 * math/auto-libm-test-in: Add tests of cabs and carg.
1370 * math/auto-libm-test-out: Regenerated.
1371 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1372 (carg_test_data): Likewise.
1373 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1375 (func_calc_desc): Add mpc_c_f union field.
1376 (test_functions): Add cabs and carg.
1377 (calc_generic_results): Handle mpc_c_f.
1379 * sysdeps/powerpc/powerpc32/libgcc-compat.S
1380 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1381 as a macro and a compat symbol.
1382 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1383 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1384 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1385 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1386 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1387 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1389 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1391 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1393 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1395 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1397 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1399 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1400 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1403 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1407 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1409 * manual/texinfo.tex: Update to version 2013-11-26.10 with
1410 trailing whitespace removed.
1411 * scripts/config.guess: Update to version 2013-11-29.
1412 * scripts/config.sub: Update to version 2013-10-01.
1414 * math/auto-libm-test-in: Add tests of sincos.
1415 * math/auto-libm-test-out: Regenerated.
1416 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1419 (func_calc_desc): Add mpfr_f_11 union field.
1420 (test_functions): Add sincos.
1421 (calc_generic_results): Handle mpfr_f_11.
1422 * sysdeps/i386/fpu/libm-test-ulps: Update.
1423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1425 2013-12-19 Andreas Schwab <schwab@suse.de>
1427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1429 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1431 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1433 2013-12-19 Joseph Myers <joseph@codesourcery.com>
1435 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1436 * sysdeps/i386/fpu/libm-test-ulps: Update.
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1440 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1441 round-to-nearest mode when using frndint.
1442 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1443 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1446 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
1448 * math/auto-libm-test-out: Regenerated.
1449 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1450 (TEST_COND_x86): Likewise.
1451 (expm1_tonearest_test_data): New array.
1452 (expm1_test_tonearest): New function.
1453 (expm1_towardzero_test_data): New array.
1454 (expm1_test_towardzero): New function.
1455 (expm1_downward_test_data): New array.
1456 (expm1_test_downward): New function.
1457 (expm1_upward_test_data): New array.
1458 (expm1_test_upward): New function.
1459 (main): Run the new test functions.
1460 * sysdeps/i386/fpu/libm-test-ulps: Update.
1461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1463 * include/features.h: Update comment documenting feature test
1464 macros. Mention _DEFAULT_SOURCE in comment.
1465 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1466 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1467 _BSD_SOURCE and _SVID_SOURCE.
1468 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1469 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1470 !_SVID_SOURCE]: Likewise.
1471 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1472 (__USE_POSIX_IMPLICITLY): Define.
1473 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1474 (_POSIX_SOURCE): Undefine and redefine.
1475 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1476 (_POSIX_C_SOURCE): Likewise.
1477 * manual/creature.texi (_DEFAULT_SOURCE): Document.
1478 (Feature Test Macros): Update documentation of default features.
1480 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1482 * benchtests/Makefile: Add bench-strtok.
1483 * benchtests/bench-strtok.c: New file: strtok benchtest.
1485 2013-12-19 Allan McRae <allan@archlinux.org>
1487 * manual/install.texi: Suppress menu for plain text output.
1488 * INSTALL: Regenerated.
1490 2013-12-18 Brooks Moses <bmoses@google.com>
1493 * misc/getauxval.c: Include errno.h.
1494 (__getauxval): Set errno to ENOENT if the requested type is not
1496 * misc/sys/auxv.h (getauxval): Document that it may set errno;
1497 don't declare with __attribute_const__.
1498 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1499 * manual/startup.texi: Document that getauxval sets errno.
1501 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1503 * math/auto-libm-test-in: Add tests of jn and yn.
1504 * math/auto-libm-test-out: Regenerated.
1505 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1506 (yn_test_data): Likewise.
1507 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1509 (func_calc_desc): Add mpfr_if_f union field.
1510 (FUNC_mpfr_if_f): New macro.
1511 (test_functions): Add jn and yn.
1512 (calc_generic_results): Assert type of second input for
1513 mpfr_ff_f. Handle mpfr_if_f.
1514 (output_for_one_input_case): Disable all checking for arguments
1515 fitting floating-point types in case of an integer argument.
1516 * sysdeps/i386/fpu/libm-test-ulps: Update.
1517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1520 Don't expect fegetround reference in libm.so.
1522 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1524 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1525 $(config-cflags-nofma).
1527 2013-12-18 Joseph Myers <joseph@codesourcery.com>
1529 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1530 * math/auto-libm-test-out: Regenerated.
1533 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1534 to determine exponent and adjust argument to have exponent of -1.
1535 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1537 * math/auto-libm-test-out: Regenerated.
1538 * sysdeps/i386/fpu/libm-test-ulps: Update.
1539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1541 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1543 * manual/probes.texi: Remove cases when per-thread arenas are
1546 2013-12-18 Andreas Schwab <schwab@suse.de>
1548 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1549 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1550 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1551 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1552 * sysdeps/i386/i686/multiarch/Makefile: Update.
1553 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1555 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1557 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1558 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1560 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1563 Support TZ transition times < 00:00:00.
1564 This is needed for version-3 tz-format files; it supports time
1565 stamps past 2037 for America/Godthab (the only entry in the tz
1566 database for which this change is relevant).
1567 * manual/time.texi (TZ Variable): Document transition times
1568 from -167:59:59 through -00:00:01.
1569 * time/tzset.c (tz_rule): Time of day is now signed.
1570 (__tzset_parse_tz): Parse negative time of day.
1572 Document TZ transition times >= 25:00:00.
1573 * manual/time.texi (TZ Variable): Document transition times from
1574 25:00:00 through 167:59:59. These are already supported, and this
1575 support will help with version-3 tz-format files.
1577 * manual/time.texi (TZ Variable): Modernize North America example
1578 to reflect current (i.e., 2007-and-later) daylight saving rules.
1580 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1582 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1584 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1585 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1587 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1588 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1589 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1590 * sysdeps/unix/bsd/clock.c: Likewise.
1591 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1592 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1593 * sysdeps/unix/bsd/init-posix.c: Likewise.
1594 * sysdeps/unix/bsd/poll.c: Likewise.
1595 * sysdeps/unix/bsd/ptsname.c: Likewise.
1596 * sysdeps/unix/bsd/seekdir.c: Likewise.
1597 * sysdeps/unix/bsd/setegid.c: Likewise.
1598 * sysdeps/unix/bsd/seteuid.c: Likewise.
1599 * sysdeps/unix/bsd/setgid.c: Likewise.
1600 * sysdeps/unix/bsd/setrgid.c: Likewise.
1601 * sysdeps/unix/bsd/setruid.c: Likewise.
1602 * sysdeps/unix/bsd/setsid.c: Likewise.
1603 * sysdeps/unix/bsd/setuid.c: Likewise.
1604 * sysdeps/unix/bsd/sigaction.c: Likewise.
1605 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1606 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1607 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1608 * sysdeps/unix/bsd/telldir.c: Likewise.
1609 * sysdeps/unix/bsd/times.c: Likewise.
1610 * sysdeps/unix/bsd/usleep.c: Likewise.
1612 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1613 ($(objpfx)libbsd-compat.a): Remove rule.
1615 * include/features.h (__FAVOR_BSD): Do not define.
1616 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1617 features conflicting with POSIX.
1618 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1619 (_BSD_SOURCE): Remove description of not being a subset of other
1620 feature test macros.
1621 * manual/job.texi (getpgrp): Do not document BSD version.
1622 (getpgid): Do not document by reference to BSD getpgrp.
1623 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1624 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1625 * signal/signal.h [__FAVOR_BSD]: Likewise.
1626 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1627 instead of making contents conditional on [__FAVOR_BSD].
1628 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1630 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1637 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1638 values below 2**-450, not 2**-500.
1639 * math/auto-libm-test-in: Don't allow spurious underflow from
1641 * math/auto-libm-test-out: Regenerated.
1645 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1646 values of ha and hb and sort them after adjusting subnormal
1648 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1650 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1651 values of ea and eb and sort them after adjusting subnormal
1653 * math/auto-libm-test-in: Do not expect some hypot tests of
1654 subnormals to fail. Add more hypot tests.
1655 * math/auto-libm-test-out: Regenerated.
1657 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1660 * sysdeps/sh/s_fma.c: New file.
1661 * sysdeps/sh/s_fmaf.c: New file.
1662 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1664 * sysdeps/sh/Implies: Add sh/soft-fp.
1666 2013-12-16 Roland McGrath <roland@hack.frob.com>
1668 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1669 level of indirection to members `objname', `errstring', `malloced'.
1670 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1671 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1672 it as the __longjmp argument (just pass 1 instead).
1673 (_dl_catch_error): Initialize C with argument pointers and address of
1674 volatile local ERRCODE rather than copying values out of C at return.
1676 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1678 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1679 * math/auto-libm-test-out: Regenerated.
1680 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1681 (hypot_test_data): Likewise.
1682 (pow_test_data): Likewise.
1683 (pow_tonearest_test_data): Likewise.
1684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1686 (func_calc_desc): Add mpfr_ff_f union field.
1687 (FUNC_mpfr_ff_f): New macro.
1688 (test_functions): Add atan2, hypot and pow.
1689 (special_fill_min): New function.
1690 (special_fill_minus_min): Likewise.
1691 (special_fill_min_subnorm): Likewise.
1692 (special_fill_minus_min_subnorm): Likewise.
1693 (special_real_inputs): Add min, -min, min_subnorm and
1695 (calc_generic_results): Handle mpfr_ff_f.
1696 * sysdeps/i386/fpu/libm-test-ulps: Update.
1697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1699 2013-12-16 Will Newton <will.newton@linaro.org>
1701 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1702 (Aligned Memory Blocks): Add documentation for aligned_alloc
1703 and suggest it as an alternative to posix_memalign.
1704 (Hooks for Malloc): Document __memalign_hook is also called
1705 for aligned_alloc. (Summary of Malloc): Add summary for
1706 aligned alloc. Document __memalign_hook is also called
1709 2013-12-16 Will Newton <will.newton@linaro.org>
1711 * manual/memory.texi (Malloc Examples): Clarify default
1712 alignment documentation. Suggest posix_memalign rather
1713 than memalign or valloc.
1714 (Aligned Memory Blocks): Remove suggestion to use memalign
1715 or valloc. Remove obsolete comment about BSD.
1716 Document memalign errno values and mark the function obsolete.
1717 Document posix_memalign returned error codes. Mark valloc
1718 as obsolete. (Hooks for Malloc): __memalign_hook is also
1719 called for posix_memalign and valloc.
1720 (Summary of Malloc): Add posix_memalign to function summary.
1721 __memalign_hook is also called for posix_memalign and valloc.
1723 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1725 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1729 (sloww): Use mynumber union. Expand ternary operator into
1731 (cslow): use mynumber union.
1733 2013-12-16 Allan McRae <allan@archlinux.org>
1735 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1736 * configure: Regenerated.
1738 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1741 * configure.ac: Added --enable-maintainer-mode. Check for
1742 autoconf when enabled.
1743 * configure: Regenerated.
1745 * nscd/nscd.service: New file.
1746 * nscd/nscd.tmpfiles: New file.
1748 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1751 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1752 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1753 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1754 (strstr): Add __strstr_sse2_unaligned ifunc.
1755 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1756 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1757 (strcasestr): Remove __strcasestr_sse42 ifunc.
1758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1762 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1764 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1765 * sysdeps/sh/bits/fenv.h: ... here.
1766 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1768 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1772 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1775 hypotf multiarch implementations.
1776 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1778 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1779 multiarch hypot for PPC64.
1780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1783 multiarch hypotf for PPC64.
1785 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1787 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1788 modff multiarch implementations.
1789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1792 multiarch modf for PPC64.
1793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1796 multiarch modff for PPC64.
1798 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1800 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1801 and logl multiarch implementations.
1802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1805 multiarch logb for PPC64.
1806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1809 multiarch logb for PPC64.
1810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1813 multiarch logb for PPC64.
1815 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1818 isinff multiarch implementation.
1819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1823 multiarch isinf for PPC64.
1824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1827 multiarch isinff for PPC64.
1829 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1832 finitef multiarch implementation.
1833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1837 multiarch finite for PPC64.
1838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1841 multiarch finitef for PPC64.
1843 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1846 lrint multiarch implementation.
1847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1851 multiarch llrint for PPC64.
1852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1853 multiarch lrint for PPC64.
1855 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1858 copysignf multiarch implementation.
1859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1864 multiarch copysign for PPC64.
1865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1866 multiarch copysignf for PPC64.
1868 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1871 multiarch implementation.
1872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1880 multiarch llround for PPC64.
1881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1882 multiarch trunc for PPC64.
1883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1884 multiarch truncf for PPC64.
1886 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1889 multiarch implementation.
1890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1898 multiarch llround for PPC64.
1899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1900 multiarch round for PPC64.
1901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1902 multiarch roundf for PPC64.
1904 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1907 multiarch implementation.
1908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1916 multiarch llround for PPC64.
1917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1918 multiarch floor for PPC64.
1919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1920 multiarch floorf for PPC64.
1922 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1924 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1925 multiarch implementation.
1926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1934 multiarch llround for PPC64.
1935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1936 multiarch ceil for PPC64.
1937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1938 multiarch ceilf for PPC64.
1940 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1943 multiarch implementation.
1944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1951 multiarch llround for PPC64.
1952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1953 multiarch lround for PPC64.
1955 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1958 multiarch implementation.
1959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1966 multiarch isnan for PPC64.
1967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1968 multiarch isnanf for PPC64.
1970 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1972 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1973 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1974 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1975 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1976 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1979 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1981 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1982 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1986 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1989 multiarch implementations.
1990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1991 (__libc_ifunc_impl_list): Likewise.
1992 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1993 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1994 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1995 multiarch stpcpy for PPC64.
1997 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1999 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
2000 multiarch implementations.
2001 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2002 (__libc_ifunc_impl_list): Likewise.
2003 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
2004 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
2005 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
2006 multiarch strcpy for PPC64.
2008 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2010 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
2011 redefine function name.
2012 (_wordcopy_fwd_dest_aligned): Likewise.
2013 (_wordcopy_bwd_aligned): Likewise.
2014 (_wordcopy_bwd_dest_aligned): Likewise.
2015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2016 multiarch implementations.
2017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2018 (__libc_ifunc_impl_list): Likewise.
2019 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2021 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2022 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2023 multiarch wcscpy for PPC64.
2025 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2028 multiarch implementations.
2029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2030 (__libc_ifunc_impl_list): Likewise.
2031 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2032 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2033 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2034 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
2035 multiarch wcscpy for PPC64.
2037 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
2040 multiarch implementations.
2041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2042 (__libc_ifunc_impl_list): Likewise.
2043 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2044 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2045 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2046 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2047 multiarch wcsrchr for PPC64.
2049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2052 multiarch implementations.
2053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2054 (__libc_ifunc_impl_list): Likewise.
2055 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2056 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2058 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2059 multiarch wcschr for PPC64.
2061 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2064 multiarch implementations.
2065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2066 (__libc_ifunc_impl_list): Likewise.
2067 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2070 multiarch strchrnul for PPC64.
2072 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2077 (__libc_ifunc_impl_list): Likewise.
2078 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2079 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2080 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2081 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2084 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2086 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2088 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2089 (__libc_ifunc_impl_list): Likewise.
2090 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2091 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2092 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2093 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2096 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2099 multiarch implementations.
2100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2101 (__libc_ifunc_impl_list): Likewise.
2102 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2103 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2104 strncasecmp for PPC64.
2105 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2106 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2107 multiarch strncasecmp_l for PPC64.
2109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2112 multiarch implementations.
2113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2114 (__libc_ifunc_impl_list): Likewise.
2115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2117 multiarch strcasecmp for PPC64.
2118 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2120 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2121 multiarch strcasecmp_l for PPC64.
2123 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2128 (__libc_ifunc_impl_list): Likewise.
2129 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2130 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2131 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2134 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2138 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2139 (__libc_ifunc_impl_list): Likewise.
2140 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2141 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2142 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2145 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2150 (__libc_ifunc_impl_list): Likewise.
2151 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2152 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2153 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2154 rawmemrchr for PPC64.
2156 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2161 (__libc_ifunc_impl_list): Likewise.
2162 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2163 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2164 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2167 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2169 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2172 (__libc_ifunc_impl_list): Likewise.
2173 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2174 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2175 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2178 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2183 (__libc_ifunc_impl_list): Likewise.
2184 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2185 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2186 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2189 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2191 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2192 avoid cretion of __bzero symbol.
2193 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2195 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2197 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2200 multiarch implementations.
2201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2202 (__libc_ifunc_impl_list): Likewise.
2203 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2204 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2205 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2206 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2208 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2209 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2210 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2211 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2212 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2214 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2216 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2222 (__libc_ifunc_impl_list): Likewise.
2223 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2225 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2226 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2229 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2232 multiarch for POWER/PPC64.
2233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2234 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2235 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2236 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2238 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2239 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2240 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2241 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2244 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2247 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2248 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2249 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2250 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2251 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2252 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2253 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2254 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2255 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2256 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2257 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2258 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2259 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2260 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2269 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2273 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2275 * benchtests/Makefile (bench): Add exp2 and log2.
2276 (LDLIBS-bench-exp2): Add -lm.
2277 (LDLIBS-bench-log2): Likewise.
2278 * benchtests/exp2-inputs: New inputs file.
2279 * benchtests/log2-inputs: New inputs file.
2280 * benchtests/log-inputs: Add new inputs.
2281 * benchtests/tan-inputs: Likewise.
2283 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2285 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2287 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2288 csloww1, csloww2): ... from here.
2290 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2291 instead of structures.
2292 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2293 (POLYNOMIAL): Likewise.
2294 (TAYLOR_SLOW): Likewise.
2302 (bsloww1): Likewise.
2303 (bsloww2): Likewise.
2306 (csloww1): Likewise.
2307 (csloww2): Likewise.
2309 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2311 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2312 (__malloc_assert, __libc_realloc, __libc_calloc,
2313 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2315 * malloc/hooks.c (realloc_check): Likewise.
2317 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
2319 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2320 * malloc/arena.c: Remove PER_THREAD conditional.
2321 [!PER_THREAD]: Remove code.
2322 (ptmalloc_unlock_all2): Likewise.
2323 (ptmalloc_init): Likewise.
2324 (_int_new_arena): Likewise.
2325 (arena_get2): Likewise.
2326 * malloc/hooks.c (__malloc_get_state): Likewise.
2327 (__malloc_set_state): Likewise.
2328 * malloc/malloc.c: Likewise.
2329 (struct malloc_state): Likewise.
2330 (struct malloc_par): Likewise.
2331 (__libc_realloc): Likewise.
2332 (__libc_mallopt): Likewise.
2334 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2336 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2338 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2340 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2341 macro to a function. Check for zero perturb_byte.
2342 (_int_malloc, _int_free): Remove zero perturb_byte checks.
2344 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
2346 * malloc/malloc.c: (force_reg): Remove.
2347 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2348 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2349 force_reg by atomic_forced_read.
2350 * malloc/arena.c (ptmalloc_init): Likewise.
2351 * malloc/hooks.c (top_check): Likewise.
2353 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2357 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
2359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2361 2013-12-08 Joseph Myers <joseph@codesourcery.com>
2363 * math/auto-libm-test-in: Add tests of lgamma.
2364 * math/auto-libm-test-out: Regenerated.
2365 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2366 (M_LOG_2_SQRT_PIl): Likewise.
2367 (lgamma_test_data): Use AUTO_TESTS_f_f1.
2368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2370 (func_calc_desc): Add mpfr_f_f1 union field.
2379 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2380 (test_functions): Add lgamma.
2381 (calc_generic_results): Handle mpfr_f_f1.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2385 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2387 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2388 __mpn_add_n for PowerPC64/POWER7.
2389 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2390 __mpn_sub_n for PowerPC64/POWER7.
2392 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2394 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2395 __mpn_addmul_1 for PowerPC64.
2396 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2397 __mpn_submul_1 for PowerPC64.
2398 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2400 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2403 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
2406 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2408 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2410 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2412 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2414 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2415 add multiarch folders.
2416 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2417 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2418 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2419 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2420 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2421 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2422 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2423 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2424 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2425 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2426 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2434 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2437 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2443 multiarch __ieee754_hypot for PowerPC32.
2444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2449 multiarch __ieee754_hypotf for PowerPC32.
2451 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2454 long_double_symbol only if __logbl is defined.
2455 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2456 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2457 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2458 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2459 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2460 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2461 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2462 path for implementation.
2463 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2466 logb, and logbl multiarch implementations for PowerPC32.
2467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2472 multiarch logb for PowerPC32.
2473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2478 multiarch logbf for PowerPC32.
2479 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2483 multiarch logbl implementation for PowerPC32.
2485 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2488 and modff multiarch implementations.
2489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2494 multiarch modf for PowerPC32.
2495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2500 multiarch modff for PowerPC32.
2502 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2505 and lrintf multiarch implementations.
2506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2511 multiarch lrint for PowerPC32.
2512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2513 file: multiarch lrintf for PowerPC32.
2515 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2518 and lroundf multiarch implementations.
2519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2526 multiarch lround for PowerPC32.
2527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2528 file: multiarch lroundf for PowerPC32.
2530 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2533 copysign and copysignf multiarch implementations.
2534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2539 file: multiarch copysign for PowerPC32.
2540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2541 file: multiarch copysignf for PowerPC32.
2543 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2546 and truncf multiarch implementations.
2547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2552 multiarch trunc for PowerPC32.
2553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2558 multiarch truncf for PowerPC32.
2560 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2563 and roundf multiarch implementations.
2564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2569 multiarch round for PowerPC32.
2570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2575 multiarch roundf for PowerPC32.
2577 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2580 and floorf multiarch implementations.
2581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2586 multiarch floor for PowerPC32.
2587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2592 multiarch floorf for PowerPC32.
2594 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2597 and ceilf multiarch implementations.
2598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2603 multiarch ceil for PowerPC32.
2604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2609 multiarch ceilf for PowerPC32.
2611 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2613 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2615 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2618 and finitef multiarch implementations.
2619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2624 multiarch finite for PowerPC32.
2625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2628 file: multiarch finitef for PowerPC32.
2630 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2633 and isinff multiarch implementations.
2634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2639 multiarch isinf for PowerPC32.
2640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2643 multiarch isinff for PowerPC32.
2645 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2647 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2648 alias when __isnan is defined.
2649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2650 and isnanf multiarch implementations.
2651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2660 multiarch isnan for PowerPC32.
2661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2666 multiarch isnanf for PowerPC32.
2668 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2671 and sqrtf multiarch implementations.
2672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2677 multiarch sqrt for PowerPC32.
2678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2683 multiarch sqrtf for PowerPC32.
2685 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2688 and llroundf multiarch implementations.
2689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2696 file: multiarch llround for PowerPC32.
2697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2698 file: multiarch llroundf for PowerPC32.
2700 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2703 multiarch PowerPC32 fpu implementations.
2704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2709 multiarch llrint for PowerPC32.
2710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2717 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2721 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2723 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2725 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2727 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2729 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2730 multiarch wordcopy for PPC32.
2731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2734 (__libc_ifunc_impl_list): Likewise.
2735 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2736 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2737 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2738 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2739 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2740 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2742 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2752 multiarch wcscpy for PPC32.
2753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2756 (__libc_ifunc_impl_list): Likewise.
2757 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2758 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2759 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2760 sysdeps/powerpc/power6/wcscpy.c.
2762 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2772 multiarch wcsrchr for PPC32.
2773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2776 (__libc_ifunc_impl_list): Likewise.
2777 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2778 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2779 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2780 sysdeps/powerpc/power6/wcsrchr.c.
2782 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2790 multiarch wcschr for PPc32.
2791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2794 (__libc_ifunc_impl_list): Likewise.
2795 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2796 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2797 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2798 sysdeps/powerpc/power6/wcschr.c.
2800 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2802 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2803 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2805 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2806 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2807 file: multiarch strchr for PPC32.
2808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2811 (__libc_ifunc_impl_list): Likewise.
2813 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2815 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2817 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2819 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2821 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2822 multiarch strchrnul for PPC32.
2823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2826 (__libc_ifunc_impl_list): Likewise.
2828 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2832 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2833 multiarch strncasecmp for PPC32.
2834 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2837 multiarch strncasecmp_l for PPC32.
2838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2839 strncasecmp multiarch objects.
2840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2841 (__libc_ifunc_impl_list): Likewise.
2843 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2845 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2847 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2848 multiarch strncasecmp for PPC32.
2849 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2852 multiarch strcasecmp_l for PPC32.
2853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2856 (__libc_ifunc_impl_list): Likewise.
2858 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2865 multiarch strncmp for PPC32.
2866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2869 (__libc_ifunc_impl_list): Likewise.
2871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2873 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2874 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2876 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2877 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2881 (__libc_ifunc_impl_list): Likewise.
2883 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2887 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2889 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2893 (__libc_ifunc_impl_list): Likewise.
2895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2897 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2899 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2901 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2902 multiarch rawmemchr for PPC32.
2903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2906 (__libc_ifunc_impl_list): Likewise.
2908 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2910 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2912 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2914 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2915 file: memrchr multiarch for PPC32.
2916 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2918 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2919 (__libc_ifunc_impl_list): Likewise.
2921 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2923 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2924 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2926 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2927 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2928 multiarch memchr for PPC32.
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2932 (__libc_ifunc_impl_list): Likewise.
2934 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2936 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2937 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2939 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2941 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2942 file: multiarch mempcpy for PPC32.
2943 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2945 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2946 (__libc_ifunc_impl_list): Likewise.
2948 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2950 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2951 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2952 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2953 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2954 multiarch bzero for PPC32.
2955 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2957 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2959 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2960 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2961 file: multiarch memset for PPC32.
2962 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2964 memset multiarch objects.
2965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2966 (__libc_ifunc_impl_list): Likewise.
2968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2975 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2976 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2978 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2979 (__libc_ifunc_impl_list): Likewise.
2981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2987 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2989 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2991 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2992 multiarch memcpy for PPC32.
2993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2996 (__libc_ifunc_impl_list): Likewise.
2998 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
3001 support multiarch for POWER/PPC32.
3002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
3004 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
3006 Implies file to make multiarch folder appers before the fpu and
3007 default folder for power4 configuration.
3009 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3011 * scripts/bench.pl: Append volatile keyword to type.
3013 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3015 * sysdeps/sh/sotruss-lib.c: New file.
3016 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3018 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3022 2013-12-05 Joseph Myers <joseph@codesourcery.com>
3025 * math/w_tgamma.c: Include <errno.h>.
3026 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
3027 * math/w_tgammaf.c: Include <errno.h>.
3028 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
3029 * math/w_tgammal.c: Include <errno.h>.
3030 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
3031 * math/auto-libm-test-in: Do not allow missing errno on tgamma
3032 underflow. Add more tgamma tests.
3033 * math/auto-libm-test-out: Regenerated.
3034 * sysdeps/i386/fpu/libm-test-ulps: Update.
3035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3037 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3038 sin, sinh, tan, tanh, tgamma, y0 and y1.
3039 * math/auto-libm-test-out: Regenerated.
3040 * math/libm-test.inc (TEST_COND_x86_64): New macro.
3041 (TEST_COND_x86): Likewise.
3042 (M_E2l): Remove macro.
3044 (M_2_SQRT_PIl): Likewise.
3045 (M_SQRT_PIl): Likewise.
3046 (M_1_DIV_El): Likewise.
3047 (log_test_data): Use AUTO_TESTS_f_f.
3048 (log10_test_data): Likewise.
3049 (log1p_test_data): Likewise.
3050 (log2_test_data): Likewise.
3051 (sin_test_data): Likewise.
3052 (sin_tonearest_test_data): Likewise.
3053 (sin_towardzero_test_data): Likewise.
3054 (sin_downward_test_data): Likewise.
3055 (sin_upward_test_data): Likewise.
3056 (sinh_test_data): Likewise.
3057 (sinh_tonearest_test_data): Likewise.
3058 (sinh_towardzero_test_data): Likewise.
3059 (sinh_downward_test_data): Likewise.
3060 (sinh_upward_test_data): Likewise.
3061 (tan_test_data): Likewise.
3062 (tan_tonearest_test_data): Likewise.
3063 (tan_towardzero_test_data): Likewise.
3064 (tan_downward_test_data): Likewise.
3065 (tan_upward_test_data): Likewise.
3066 (tanh_test_data): Likewise.
3067 (tgamma_test_data): Likewise.
3068 (y0_test_data): Likewise.
3069 (y1_test_data): Likewise.
3070 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3071 (special_real_inputs): Add pi/4.
3072 * sysdeps/i386/fpu/libm-test-ulps: Update.
3073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3075 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3077 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3078 "longjmp_target" static probes.
3079 (__longjmp): Rename to __longjmp_symbol.
3080 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3081 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3082 on which longjmp to generate.
3083 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3084 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3086 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3087 (__sigjmp_save): Rename to __sigjmp_save_symbol.
3088 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3089 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3090 and __sigjmp_save_symbol based on which sigsetjmp to generated.
3091 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3093 __longjmp_symbol based on which __longjmp to generate.
3094 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3096 (setjmp): Rename to setjmp_symbol.
3097 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3098 (_setjmp): Rename to _setjmp_symbol.
3099 (__sigsetjmp): Rename to __sigsetjmp_symbol.
3100 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3101 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3102 which setjmp to generate.
3103 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3104 "longjmp_target" static probes.
3106 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3108 * benchtests/README: Add note about output arguments.
3109 * benchtests/bench-sincos.c: Remove file.
3110 * benchtests/sincos-inputs: New file.
3111 * scripts/bench.pl: Identify output arguments and define
3112 static variables for them.
3114 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3117 * Makefile (INSTALL): Add install-plain.texi as the primary
3119 * manual/install-plain.texi: New file.
3120 * manual/install.texi: Include node directive only for
3121 non-plaintext output.
3123 2013-12-04 Joseph Myers <joseph@codesourcery.com>
3125 * stdlib/longlong.h: Update from GCC.
3129 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3130 * math/w_j0f.c (y0f): Likewise.
3131 * math/w_j0l.c (__y0l): Likewise.
3132 * math/w_j1.c (y1): Likewise.
3133 * math/w_j1f.c (y1f): Likewise.
3134 * math/w_j1l.c (__y1l): Likewise
3135 * math/w_jn.c (yn): Likewise.
3136 * math/w_jnf.c (ynf): Likewise.
3137 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3138 Bessel function pole errors in _POSIX_ mode. Use NAN as return
3139 value for Bessel function domain errors outside _SVID_ mode.
3140 Adjust sign of return value for yn (negative integer, 0).
3141 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3142 by zero in return for negative x and set sign appropriately for
3144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3145 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3146 * math/libm-test.inc (y0_test_data): Add more tests and adjust
3147 expectations in error cases.
3148 (y1_test_data): Likewise.
3149 (yn_test_data): Likewise.
3150 * sysdeps/i386/fpu/libm-test-ulps: Update.
3151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3153 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3155 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3156 "64" to "64-v1". Add "64-v2".
3157 (abi-64-options): Rename to ...
3158 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
3159 (abi-64-condition): Rename to ...
3160 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
3161 (abi-64-ld-soname): Rename to ...
3162 (abi-64-v1-ld-soname): ... this.
3163 (abi-64-v2-options): Define.
3164 (abi-64-v2-condition): Likewise.
3165 (abi-64-v2-ld-soname): Likewise.
3166 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3167 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3172 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3173 Alan Modra <amodra@gmail.com>
3175 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3176 New versions for use with the ELFv2 ABI.
3177 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3178 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3180 (struct La_ppc64v2_retval): Likewise.
3181 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3182 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3183 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3184 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3185 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3186 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3187 Do not save or restore CR.
3188 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3189 (_dl_profile_resolve): Do no save or restore CR. Support extended
3190 return values for ELFv2 ABI. Fix location of FPR return registers.
3191 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3192 updated values for _CALL_ELF == 2.
3193 (La_regs, La_retval, int_retval): Likewise.
3195 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3197 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3198 (FRAME_MIN_SIZE_PARM): Likewise.
3199 (FRAME_BACKCHAIN): Likewise.
3200 (FRAME_CR_SAVE): Likewise.
3201 (FRAME_LR_SAVE): Likewise.
3202 (FRAME_TOC_SAVE): Likewise.
3203 (FRAME_PARM_SAVE): Likewise.
3204 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3205 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3206 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3207 (call_mcount_parm_offset): New macro.
3208 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3209 (PROF): Use symbolic stack frame offsets.
3210 (TAIL_CALL_SYSCALL_ERROR): Likewise.
3211 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3212 Redefine in terms of FRAME_MIN_SIZE.
3213 (_dl_runtime_resolve): Use symbolic stack frame offsets.
3214 (_dl_profile_resolve): Likewise. Update comment.
3215 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3216 symbols stack frame offsets.
3217 (__sigsetjmp): Likewise.
3218 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3219 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3220 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3221 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3224 (FRAME_BACKCHAIN): Remove.
3225 (FRAME_CR_SAVE): Likewise.
3226 (FRAME_LR_SAVE): Likewise.
3227 (FRAME_COMPILER_DW): Likewise.
3228 (FRAME_LINKER_DW): Likewise.
3229 (FRAME_TOC_SAVE): Likewise.
3230 (FRAME_PARM_SAVE): Likewise.
3231 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3232 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3233 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3235 (CHECK_SP): Use symbolic stack frame offsets.
3236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3237 zone" instead of caller's parameter save area for temp storage.
3238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3239 Likewise. Also, use symbolic stack frame offsets.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3241 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3242 our own stack frame instead of the caller's.
3243 (__socket): Use symbolic stack frame offsets.
3245 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3246 Alan Modra <amodra@gmail.com>
3248 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3250 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3251 PPC64_LOCAL_ENTRY_OFFSET): Define.
3252 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3254 (elf_machine_fixup_plt): Call it.
3255 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
3257 (elf_machine_rela): Update call to elf_machine_plt_conflict.
3258 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3259 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3260 r2 before calling target.
3262 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3263 Alan Modra <amodra@gmail.com>
3265 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3266 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3267 versions of macros to support ELFv2 ABI.
3268 (LOCALENTRY): New macro.
3269 (ENTRY, EALIGN): Use it.
3270 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3271 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3272 fall through into ENTRY entry point.
3273 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3274 Only define if _CALL_ELF != 2.
3276 (elf_machine_matches_host): Verify ABI version matches.
3277 (RTLD_START): Use LOCALENTRY.
3278 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3279 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3280 (PLT_ENTRY_WORDS): New macro.
3281 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3282 (elf_machine_runtime_setup): Support ELFv2 ABI.
3283 (elf_machine_fixup_plt): Likewise.
3284 (elf_machine_plt_conflict): Likewise.
3285 (resolve_ifunc): Likewise.
3286 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3290 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3292 (makecontext): Support ELFv2 ABI.
3293 * elf/elf.h (EF_PPC64_ABI): Define.
3295 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3297 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3298 New assembler macro.
3299 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3300 [ASSEMBLER] (ENTRY): ... but instead here ...
3301 [ASSEMBLER] (EALIGN): ... and here.
3302 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3303 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3304 [!ASSEMBLER] (ENTRY_2): Use it.
3305 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3306 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
3307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3308 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3309 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3311 Use PPC64_LOAD_FUNCPTR.
3313 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3315 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3317 2013-12-04 Alan Modra <amodra@gmail.com>
3319 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3320 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3321 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3322 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3325 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3326 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3327 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3328 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3329 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3331 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3334 (__makecontext): Fix incorrect CFI when backtracing out of
3335 context created via makecontext.
3336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3337 (__setcontext): Fix incorrect CFI during switch to new context.
3338 (__novec_setcontext): Likewise.
3340 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3343 * time/strptime_l.c (__strptime_internal): Allow modifiers
3345 * time/tst-strptime.c (day_tests): Add testcase.
3348 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3350 * scripts/bench.pl: Skip over blank lines.
3352 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
3355 * manual/time.texi (Calendar Time): Clarify what timezone functions
3358 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3362 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
3364 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3366 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3367 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3368 * debug/memset_chk.c (__memset_chk): Likewise.
3369 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3370 * debug/strncpy_chk.c: Likewise.
3372 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3376 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3377 (__ieee754_exp): For possibly underflowing results, check size of
3378 result and force underflow exception if required.
3379 * math/auto-libm-test-in: Add more tests of exp.
3380 * math/auto-libm-test-out: Regenerated.
3381 * sysdeps/i386/fpu/libm-test-ulps: Update.
3382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3385 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3386 * math/w_exp2f.c (__exp2f): Likewise.
3387 * math/w_exp2l.c (__exp2l): Likewise.
3388 * math/auto-libm-test-in: Do not allow missing errno on exp2
3390 * math/auto-libm-test-out: Regenerated.
3392 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
3395 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3396 handle filename validation.
3397 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3400 2013-12-03 Joseph Myers <joseph@codesourcery.com>
3403 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3404 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3405 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3407 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3409 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3410 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3411 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3412 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3413 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3414 * math/auto-libm-test-in: Don't allow missing errno from erfc.
3415 Add more erfc tests.
3416 * math/auto-libm-test-out: Regenerated.
3417 * sysdeps/i386/fpu/libm-test-ulps: Update.
3418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3420 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3421 exp2, expm1, j0 and j1.
3422 * math/auto-libm-test-out: Regenerated.
3423 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3424 (erfc_test_data): Likewise.
3425 (exp_test_data): Likewise.
3426 (exp_tonearest_test_data): Likewise.
3427 (exp_towardzero_test_data): Likewise.
3428 (exp_downward_test_data): Likewise.
3429 (exp_upward_test_data): Likewise.
3430 (exp10_test_data): Likewise.
3431 (exp2_test_data): Likewise.
3432 (expm1_test_data): Likewise.
3433 (j0_test_data): Likewise.
3434 (j1_test_data): Likewise.
3435 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3436 (input_flag_type): Add flag_xfail_rounding.
3437 (input_flags): Add xfail-rounding.
3438 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3439 (output_for_one_input_case): Handle flag_xfail_rounding.
3440 * sysdeps/i386/fpu/libm-test-ulps: Update.
3441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3443 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
3446 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3449 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3452 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3453 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3454 (STAP_PROBE0): New macro.
3455 (STAP_PROBE1): Likewise.
3456 (STAP_PROBE2): Likewise.
3457 (STAP_PROBE3): Likewise.
3458 (STAP_PROBE4): Likewise.
3460 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
3462 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3464 2013-12-02 Steve Ellcey <sellcey@mips.com>
3466 * benchtests/Makefile (bench): Add sqrt.
3467 (LDLIBS-bench-sqrt): New.
3468 * benchtests/sqrt-input: New.
3470 2013-12-02 Pavel Simerda <psimerda@redhat.com>
3472 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3473 (GAIH_EAI): Likewise.
3474 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3475 (gaih_inet): Likewise.
3476 (getaddrinfo): Don't use GAIH_EAI.
3478 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3479 (struct gaih): Remove definition.
3481 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3483 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3484 Use HERRNOP directly.
3486 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3490 2013-11-30 Joseph Myers <joseph@codesourcery.com>
3492 * math/gen-auto-libm-tests.c (test_functions): Add more
3493 single-argument functions.
3494 (special_fill_pi_2): New function.
3495 (special_fill_minus_pi_2): Likewise.
3496 (special_fill_pi_6): Likewise.
3497 (special_fill_minus_pi_6): Likewise.
3498 (special_fill_pi_3): Likewise.
3499 (special_fill_2pi_3): Likewise.
3500 (special_fill_e): Likewise.
3501 (special_fill_1_e): Likewise.
3502 (special_fill_e_minus_1): Likewise.
3503 (special_real_inputs): Add more special inputs.
3504 (output_for_one_input_case): Do not require ERANGE on underflow to
3505 zero if round-to-nearest result does not underflow to zero, unless
3506 exact results required.
3507 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3508 atan, atanh, cbrt, cos and cosh.
3509 * math/auto-libm-test-out: Regenerated.
3510 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3511 (acos_tonearest_test_data): Likewise.
3512 (acos_towardzero_test_data): Likewise.
3513 (acos_downward_test_data): Likewise.
3514 (acos_upward_test_data): Likewise.
3515 (acosh_test_data): Likewise.
3516 (asin_test_data): Likewise.
3517 (asin_tonearest_test_data): Likewise.
3518 (asin_towardzero_test_data): Likewise.
3519 (asin_upward_test_data): Likewise.
3520 (asinh_test_data): Likewise.
3521 (atan_test_data): Likewise.
3522 (atanh_test_data): Likewise.
3523 (cbrt_test_data): Likewise.
3524 (cos_test_data): Likewise.
3525 (cos_tonearest_test_data): Likewise.
3526 (cos_towardzero_test_data): Likewise.
3527 (cos_downward_test_data): Likewise.
3528 (cos_upward_test_data): Likewise.
3529 (cosh_test_data): Likewise.
3530 (cosh_tonearest_test_data): Likewise.
3531 (cosh_towardzero_test_data): Likewise.
3532 (cosh_downward_test_data): Likewise.
3533 (cosh_upward_test_data): Likewise.
3534 * sysdeps/i386/fpu/libm-test-ulps: Update.
3535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3537 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3540 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3541 * math/w_exp10f.c (__exp10f): Likewise.
3542 * math/w_exp10l.c (__exp10l): Likewise.
3543 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3544 errno settings in existing tests.
3547 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3548 precision control set to double precision.
3549 * sysdeps/i386/fpu/w_sqrt.c: New file.
3550 * math/auto-libm-test-in: Add more tests.
3551 * math/auto-libm-test-out: Update.
3553 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3554 (sqrt_test_tonearest): New function.
3555 (sqrt_towardzero_test_data): New variable.
3556 (sqrt_test_towardzero): New function.
3557 (sqrt_downward_test_data): New variable.
3558 (sqrt_test_downward): New function.
3559 (sqrt_upward_test_data): New variable.
3560 (sqrt_test_upward): New function.
3561 (main): Call the new functions.
3563 * math/gen-auto-libm-tests.c: New file.
3564 * math/auto-libm-test-in: Likewise.
3565 * math/auto-libm-test-out: New generated file.
3566 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3568 (%beautify): Add generated representations of zero.
3569 (top level): Set $auto_input and call parse_auto_input.
3570 (beautify): Remove trailing "f" from hex float constants.
3571 (parse_args): Handle XFAIL_TEST.
3572 (convert_condition): New function.
3573 (or_value): Likewise.
3574 (or_cond_value): Likewise.
3575 (generate_testfile): Handle AUTO_TESTS_* lines.
3576 (parse_auto_input): New function.
3577 * math/libm-test.inc (XFAIL_TEST): New macro.
3578 (ERRNO_UNCHANGED): Update value.
3579 (ERRNO_EDOM): Likewise.
3580 (ERRNO_ERANGE): Likewise.
3581 (IGNORE_RESULT): Likewise.
3582 (TEST_COND_flt_32): New macro.
3583 (TEST_COND_dbl_64): Likewise.
3584 (TEST_COND_ldbl_96_intel): Likewise.
3585 (TEST_COND_ldbl_96_m68k): Likewise.
3586 (TEST_COND_ldbl_128): Likewise.
3587 (TEST_COND_ldbl_128ibm): Likewise.
3588 (TEST_COND_long32): Likewise.
3589 (TEST_COND_long64): Likewise.
3590 (TEST_COND_before_rounding): Likewise.
3591 (TEST_COND_after_rounding): Likewise.
3592 (enable_test): Handle XFAIL_TEST flag.
3593 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3594 with finite results.
3595 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3598 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3599 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3602 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3603 __tls_get_addr_internal instead of __tls_get_offset in order to
3604 avoid GOT pointer dependency. Make rtld export
3605 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3606 __tls_get_addr since we are a __tls_get_offset platform.
3607 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3608 GOT pointer being set up before.
3609 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3611 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3613 * manual/math.texi (Errors in Math Functions): Document accuracy
3617 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3618 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3620 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3621 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3622 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3623 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3632 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3634 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3635 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3636 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3637 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3638 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3640 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3642 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3644 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3645 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3646 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3647 atomic-feupdateenv and flt-rounds.
3648 * sysdeps/powerpc/nofpu/Versions (libc): Add
3649 __atomic_feholdexcept, __atomic_feclearexcept,
3650 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3651 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3652 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3653 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3654 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3659 * manual/arith.texi (FP Exceptions): Document that exceptions may
3660 not be raised when matherr is used.
3661 (Math Error Reporting): Document overflow in directed rounding
3662 modes. Document that errno may not be set when finite values are
3663 returned on overflow. Document intent to set errno on underflow
3664 only for underflow to zero.
3667 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3668 round-to-nearest then adjust result for other rounding modes.
3669 * include/fenv.h (fegetround): Use libm_hidden_proto.
3670 * math/fegetround.c (fegetround): Use libm_hidden_def.
3671 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3672 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3673 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3674 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3676 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3677 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3678 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3679 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3681 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3684 * nss/Versions (libnss_files): Add
3685 _nss_files_gethostbyname3_r.
3686 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3688 (HOST_DB_LOOKUP): Remove macro.
3689 (_nss_files_gethostbyname_r): Implement function without the
3690 HOST_DB_LOOKUP macro.
3691 (_nss_files_gethostbyname2_r): Likewise.
3693 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3695 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3697 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3699 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3700 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3703 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3706 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3707 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3708 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3709 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3710 __fe_nomask_env_priv and attribute_hidden.
3711 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3712 (libc_feupdateenv_test_ppc): Likewise.
3713 (libc_feresetround_ppc): Likewise.
3714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3715 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3716 compat_symbol macro.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3718 (__fe_nomask_env): Likewise.
3719 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3721 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3723 * string/Makefile: Remove ifunc tests.
3724 * string/test-string.h: Define TEST_IFUNC.
3725 * string/test-bcopy-ifunc.c: Remove.
3726 * string/test-bzero-ifunc.c: Likewise.
3727 * string/test-memccpy-ifunc.c: Likewise.
3728 * string/test-memchr-ifunc.c: Likewise.
3729 * string/test-memcmp-ifunc.c: Likewise.
3730 * string/test-memcpy-ifunc.c: Likewise.
3731 * string/test-memmem-ifunc.c: Likewise.
3732 * string/test-memmove-ifunc.c: Likewise.
3733 * string/test-mempcpy-ifunc.c: Likewise.
3734 * string/test-memrchr-ifunc.c: Likewise.
3735 * string/test-memset-ifunc.c: Likewise.
3736 * string/test-rawmemchr-ifunc.c: Likewise.
3737 * string/test-stpcpy-ifunc.c: Likewise.
3738 * string/test-stpncpy-ifunc.c: Likewise.
3739 * string/test-strcasecmp-ifunc.c: Likewise.
3740 * string/test-strcasestr-ifunc.c: Likewise.
3741 * string/test-strcat-ifunc.c: Likewise.
3742 * string/test-strchr-ifunc.c: Likewise.
3743 * string/test-strchrnul-ifunc.c: Likewise.
3744 * string/test-strcmp-ifunc.c: Likewise.
3745 * string/test-strcpy-ifunc.c: Likewise.
3746 * string/test-strcspn-ifunc.c: Likewise.
3747 * string/test-strlen-ifunc.c: Likewise.
3748 * string/test-strncasecmp-ifunc.c: Likewise.
3749 * string/test-strncat-ifunc.c: Likewise.
3750 * string/test-strncmp-ifunc.c: Likewise.
3751 * string/test-strncpy-ifunc.c: Likewise.
3752 * string/test-strnlen-ifunc.c: Likewise.
3753 * string/test-strpbrk-ifunc.c: Likewise.
3754 * string/test-strrchr-ifunc.c: Likewise.
3755 * string/test-strspn-ifunc.c: Likewise.
3756 * string/test-strstr-ifunc.c: Likewise.
3758 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3760 * benchtests/Makefile: Remove ifunc tests.
3761 * benchtests/bench-string.h: Define TEST_IFUNC.
3762 * benchtests/bench-bcopy-ifunc.c: Remove.
3763 * benchtests/bench-bzero-ifunc.c: Likewise.
3764 * benchtests/bench-memccpy-ifunc.c: Likewise.
3765 * benchtests/bench-memchr-ifunc.c: Likewise.
3766 * benchtests/bench-memcmp-ifunc.c: Likewise.
3767 * benchtests/bench-memcpy-ifunc.c: Likewise.
3768 * benchtests/bench-memmem-ifunc.c: Likewise.
3769 * benchtests/bench-memmove-ifunc.c: Likewise.
3770 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3771 * benchtests/bench-memrchr-ifunc.c: Likewise.
3772 * benchtests/bench-memset-ifunc.c: Likewise.
3773 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3774 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3775 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3776 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3777 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3778 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3779 * benchtests/bench-strcat-ifunc.c: Likewise.
3780 * benchtests/bench-strchr-ifunc.c: Likewise.
3781 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3782 * benchtests/bench-strcmp-ifunc.c: Likewise.
3783 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3784 * benchtests/bench-strcpy-ifunc.c: Likewise.
3785 * benchtests/bench-strcspn-ifunc.c: Likewise.
3786 * benchtests/bench-strlen-ifunc.c: Likewise.
3787 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3788 * benchtests/bench-strncat-ifunc.c: Likewise.
3789 * benchtests/bench-strncmp-ifunc.c: Likewise.
3790 * benchtests/bench-strncpy-ifunc.c: Likewise.
3791 * benchtests/bench-strnlen-ifunc.c: Likewise.
3792 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3793 * benchtests/bench-strrchr-ifunc.c: Likewise.
3794 * benchtests/bench-strsep-ifunc.c: Likewise.
3795 * benchtests/bench-strspn-ifunc.c: Likewise.
3796 * benchtests/bench-strstr-ifunc.c: Likewise.
3798 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3800 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3802 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3804 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3805 * rt/aio.h: Likewise.
3806 * sysdeps/gnu/bits/utmp.h: Likewise.
3807 * sysdeps/gnu/bits/utmpx.h: Likewise.
3808 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3809 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3810 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3811 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3812 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3813 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3814 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3815 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3816 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3817 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3818 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3822 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3823 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3824 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3825 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3826 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3827 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3828 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3829 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3830 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3831 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3832 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3834 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3835 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3836 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3838 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3839 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3842 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3843 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3844 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3845 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3846 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3847 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3848 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3849 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3851 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3854 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3855 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3857 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3859 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3860 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3863 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3865 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3866 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3867 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3868 (__fesetround): Remove define.
3869 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3870 rounding and exceptions handling.
3871 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3872 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3873 (__fe_nomask_env): Likewise.
3874 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3875 __fegetround instead of fegetround.
3876 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3877 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3879 2013-11-21 Roland McGrath <roland@hack.frob.com>
3881 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3884 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3886 2013-11-21 Meador Inge <meadori@codesourcery.com>
3889 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3890 (encrypt_r): Likewise.
3891 * malloc/obstack.h (obstack_free): Likewise.
3892 * posix/unistd.h (encrypt): Likewise.
3894 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3896 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3897 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3898 DL_CALL_DT_FINI() that call the functions directly.
3899 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3900 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3901 * elf/dl-fini.c: Likewise.
3903 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3905 * malloc/hooks.c (memalign_check): Add alignment rounding.
3906 * malloc/malloc.c (_mid_memalign): New function.
3907 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3908 Implement by calling _mid_memalign.
3909 * manual/probes.texi (Memory Allocation Probes): Remove
3910 memory_valloc_retry and memory_pvalloc_retry.
3912 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3914 * locale/programs/locarchive.c (open_archive): Add const
3915 qualifier to ARCHIVEFNAME and copy default fname to
3919 * libio/tst-widetext.input: Rename Oriya to Odia.
3920 * locale/iso-639.def: Likewise.
3922 * manual/probes.texi (Mathematical Function Probes): Add
3923 documentation for sin, cos, asin and acos probes.
3924 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3925 (__sin32): Add slowasin probe.
3926 (__cos32): Add slowacos probe.
3927 (__mpsin): Add slowsin probe.
3928 (__mpcos): Add slowcos probe.
3930 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3933 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3934 thread-local __sim_exceptions_thread and global
3935 __sim_exceptions_global.
3936 (__sim_disabled_exceptions): Change to thread-local
3937 __sim_disabled_exceptions_thread and global
3938 __sim_disabled_exceptions_global.
3939 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3940 and global __sim_round_mode_global.
3941 (__simulate_exceptions): Use thread-local floating-point state and
3942 set global state from it as needed.
3943 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3944 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3945 __sim_round_mode_thread.
3946 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3947 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3948 and global __sim_exceptions_global.
3949 (__sim_disabled_exceptions): Change to thread-local
3950 __sim_disabled_exceptions_thread and global
3951 __sim_disabled_exceptions_global.
3952 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3953 and global __sim_round_mode_global.
3954 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3955 (SIM_SET_GLOBAL): Likewise.
3956 * sysdeps/powerpc/soft-fp/sfp-machine.h
3957 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3958 __sim_round_mode_thread.
3959 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3960 __sim_disabled_exceptions_thread.
3961 (__sim_exceptions): Change to __sim_exceptions_thread.
3962 (__sim_disabled_exceptions): Change to
3963 __sim_disabled_exceptions_thread.
3964 (__sim_round_mode): Change to __sim_round_mode_thread.
3965 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3966 thread-local floating-point state and set global state from it as
3968 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3969 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3970 (__sim_disabled_exceptions): Remove extern declaration.
3971 (feenableexcept): Use thread-local floating-point state and set
3972 global state from it as needed.
3973 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3975 (__sim_disabled_exceptions): Likewise.
3976 (__sim_round_mode): Likewise.
3977 (__fegetenv): Use thread-local floating-point state.
3978 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3979 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3980 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3981 floating-point state and set global state from it as needed.
3982 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3983 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3984 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3986 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3987 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3989 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3990 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3991 Use __sim_round_mode_thread.
3992 * math/test-fenv-tls.c: New file.
3993 * math/Makefile (tests): Add test-fenv-tls.
3994 ($(objpfx)test-fenv-tls): Depend on
3995 $(common-objpfx)nptl/libpthread.so.
3997 2013-11-19 Andreas Schwab <schwab@suse.de>
3999 * locale/programs/locale.c (show_info): Decode wordarray elements.
4000 * locale/categories.def (LC_MONETARY): Add element for
4001 _NL_MONETARY_CRNCYSTR.
4002 * locale/C-monetary.c (conversion_rate): New variable.
4003 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
4006 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
4008 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
4009 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
4011 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4013 * elf/Makefile (tst-auxv): New test.
4014 * elf/tst-auxv.c: New
4015 * elf/rtld.c (dl_main): Adjust AT_EXECFN
4017 2013-11-18 Joseph Myers <joseph@codesourcery.com>
4019 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4020 (hidden_proto): Caller changed.
4021 (hidden_tls_proto): New macro.
4022 (libc_hidden_tls_proto): Likewise.
4023 (rtld_hidden_tls_proto): Likewise.
4024 (libm_hidden_tls_proto): Likewise.
4025 (libresolv_hidden_tls_proto): Likewise.
4026 (librt_hidden_tls_proto): Likewise.
4027 (libdl_hidden_tls_proto): Likewise.
4028 (libnss_files_hidden_tls_proto): Likewise.
4029 (libnsl_hidden_tls_proto): Likewise.
4030 (libnss_nisplus_hidden_tls_proto): Likewise.
4031 (libutil_hidden_tls_proto): Likewise.
4033 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
4036 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4037 (decompose_rpath): Defer expansion to fillin_rpath.
4038 (_dl_init_paths): Pass linkmap to fillin_rpath.
4040 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4042 * benchtests/Makefile: Add strsep.
4043 * benchtests/bench-strsep.c: New file: strsep benchtest.
4044 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4046 2013-11-18 Andreas Schwab <schwab@suse.de>
4048 * locale/programs/locale.c (show_info) [case byte]: Check for
4049 '\377' instead of '\177'.
4050 * locale/C-monetary.c (not_available): Always use "\377".
4051 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4052 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
4053 detect unavailable sign_posn locale elements.
4054 * locale/localeconv.c (__localeconv): For grouping and
4055 mon_grouping handle "\177" and "\377" like no grouping.
4056 (INT_ELEM): New macro. Use it to set all numeric members.
4057 * locale/programs/ld-monetary.c (monetary_read)
4058 <tok_mon_grouping>: Normalize single -1 to the empty string.
4059 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4062 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4065 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4066 when we match (nil).
4067 * stdio-common/tst-sscanf.c (struct test): Add testcase.
4069 2013-11-16 Joseph Myers <joseph@codesourcery.com>
4071 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4072 (NO_TEST_INLINE): Update value.
4073 (ERRNO_UNCHANGED): Likewise.
4074 (ERRNO_EDOM): Likewise.
4075 (ERRNO_ERANGE): Likewise.
4076 (IGNORE_RESULT): Likewise.
4077 (check_float_internal): Check signs of NaN results if
4079 (check_complex): Pass TEST_NAN_SIGN flag through to second
4080 check_float_internal call.
4081 (copysign_test_data): Add tests with quiet NaNs as second
4082 argument. Use TEST_NAN_SIGN.
4083 (fabs_test_data): Add test of negative quiet NaN argument. Use
4085 (signbit_test_data): Add tests of quiet NaN argument.
4086 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4088 * math/gen-libm-test.pl (show_exceptions): Take extra argument
4090 (parse_args): Handle function results specified as IGNORE.
4091 * math/libm-test.inc (IGNORE_RESULT): New macro.
4092 (check_float_internal): Do not check numerical result if flag
4094 (check_complex): Pass through IGNORE_RESULT to second
4095 check_float_internal call.
4096 (check_int): Do not check numerical result if flag IGNORE_RESULT
4098 (check_long): Likewise.
4099 (check_bool): Likewise.
4100 (check_longlong): Likewise.
4101 (lrint_test_data): Add tests of infinite and NaN arguments.
4102 (lrint_tonearest_test_data): Likewise.
4103 (lrint_towardzero_test_data): Likewise.
4104 (lrint_downward_test_data): Likewise.
4105 (lrint_upward_test_data): Likewise.
4106 (llrint_test_data): Likewise.
4107 (llrint_tonearest_test_data): Likewise.
4108 (llrint_towardzero_test_data): Likewise.
4109 (llrint_downward_test_data): Likewise.
4110 (llrint_upward_test_data): Likewise.
4111 (lround_test_data): Likewise.
4112 (llround_test_data): Likewise.
4114 * math/libm-test.inc (NO_TEST_INLINE): New macro.
4115 (ERRNO_UNCHANGED): Update value.
4116 (ERRNO_EDOM): Likewise.
4117 (ERRNO_ERANGE): Likewise.
4118 (NO_TEST_INLINE_FLOAT): New macro.
4119 (NO_TEST_INLINE_DOUBLE): Likewise.
4120 (enable_test): New function.
4121 (RUN_TEST_f_f): Check enable_test before running test.
4122 (RUN_TEST_2_f): Likewise.
4123 (RUN_TEST_fff_f): Likewise.
4124 (RUN_TEST_c_f): Likewise.
4125 (RUN_TEST_f_f1): Likewise.
4126 (RUN_TEST_fF_f1): Likewise.
4127 (RUN_TEST_fI_f1): Likewise.
4128 (RUN_TEST_ffI_f1): Likewise.
4129 (RUN_TEST_c_c): Likewise.
4130 (RUN_TEST_cc_c): Likewise.
4131 (RUN_TEST_f_i): Likewise.
4132 (RUN_TEST_f_i_tg): Likewise.
4133 (RUN_TEST_ff_i_tg): Likewise.
4134 (RUN_TEST_f_b): Likewise.
4135 (RUN_TEST_f_b_tg): Likewise.
4136 (RUN_TEST_f_l): Likewise.
4137 (RUN_TEST_f_L): Likewise.
4138 (RUN_TEST_fFF_11): Likewise.
4139 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4141 (cosh_test_data): Likewise.
4142 (exp_test_data): Likewise.
4143 (expm1_test_data): Likewise.
4144 (hypot_test_data): Likewise.
4145 (pow_test_data): Likewise.
4146 (sinh_test_data): Likewise.
4147 (tanh_test_data): Likewise.
4148 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4151 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4152 tests with quiet NaN input and output.
4153 (acosh_test_data): Likewise.
4154 (asin_test_data): Likewise.
4155 (asinh_test_data): Likewise.
4156 (atan_test_data): Likewise.
4157 (atanh_test_data): Likewise.
4158 (atan2_test_data): Likewise.
4159 (cbrt_test_data): Likewise.
4160 (cos_test_data): Likewise.
4161 (cosh_test_data): Likewise.
4162 (erf_test_data): Likewise.
4163 (erfc_test_data): Likewise.
4164 (exp_test_data): Likewise.
4165 (exp10_test_data): Likewise.
4166 (exp2_test_data): Likewise.
4167 (expm1_test_data): Likewise.
4168 (hypot_test_data): Likewise.
4169 (j0_test_data): Likewise.
4170 (j1_test_data): Likewise.
4171 (jn_test_data): Likewise.
4172 (lgamma_test_data): Likewise.
4173 (log_test_data): Likewise.
4174 (log10_test_data): Likewise.
4175 (log1p_test_data): Likewise.
4176 (log2_test_data): Likewise.
4177 (pow_test_data): Likewise.
4178 (scalb_test_data): Likewise.
4179 (sin_test_data): Likewise.
4180 (sincos_test_data): Likewise.
4181 (sinh_test_data): Likewise.
4182 (tan_test_data): Likewise.
4183 (tanh_test_data): Likewise.
4184 (tgamma_test_data): Likewise.
4185 (y0_test_data): Likewise.
4186 (y1_test_data): Likewise.
4187 (yn_test_data): Likewise.
4190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4191 argument being NaN and avoid computations with second argument in
4193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4194 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4195 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4197 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
4199 * locale/iso-639.def: Add Chitwani Tharu (the).
4201 2013-11-14 Andreas Schwab <schwab@suse.de>
4203 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4204 word instead of empty string.
4206 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4209 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4211 (__fe_nomask_env): Likewise.
4213 2013-11-13 Steve Ellcey <sellcey@mips.com>
4215 * benchtests/bench-timing.h: Include time.h.
4217 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
4220 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4222 * sysdeps/unix/sysv/linux/configure: Regenerated.
4224 2013-11-13 Joseph Myers <joseph@codesourcery.com>
4227 * stdlib/strtod_l.c (round_and_return): Do not consider
4228 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4229 exponent one less than half the least subnormal exponent.
4230 * stdlib/test-strtod-round-data: Add more tests.
4231 * stdlib/tst-strtod-round.c (tests): Regenerated.
4233 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4236 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4237 (__fe_mask_env): Likewise.
4238 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4239 libm_hidden_proto and add function prototype.
4240 (__fe_mask_env): Add function prototype.
4241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4242 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4244 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4246 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4248 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4250 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4251 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4253 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4255 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4256 of htab_find_slot().
4258 2013-11-11 David S. Miller <davem@davemloft.net>
4261 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4262 symbol in the non-vis3 case in static builds.
4263 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4264 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4265 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4266 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4268 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4271 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4274 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4276 * benchtests/Makefile: Add bench-strtod.
4277 * benchtests/bench-strtod.c: New file: strtod benchtest
4279 2013-11-11 Andreas Schwab <schwab@suse.de>
4282 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4283 terminating NUL in key length.
4285 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4287 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4288 Add artificial ODP entry for vDSO symbol for PPC64.
4289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4290 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4292 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
4295 * nss/getent.c (services_keys): Recognize services starting with digit.
4297 2013-11-06 David S. Miller <davem@davemloft.net>
4300 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4301 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4303 2013-11-06 Will Newton <will.newton@linaro.org>
4305 * manual/memory.texi (Malloc Examples): Remove register
4306 keyword from examples.
4308 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
4310 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4312 2013-11-04 Joseph Myers <joseph@codesourcery.com>
4315 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4316 depending on [__GCC_IEC_559 > 0].
4317 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4318 depending on [__GCC_IEC_559_COMPLEX > 0].
4320 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
4322 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4325 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
4327 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4329 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
4332 * malloc/malloc (malloc_info): Do not handle first bin as
4335 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
4337 * locale/iso-639.def: Add Central Nahuatl (nhn).
4339 2013-11-01 Bruno Haible <bruno@clisp.org>
4342 * manual/math.texi (BSD Random): Specify range upper bound as
4345 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
4347 * locale/iso-639.def: Add Meadow Mari (mhr).
4349 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
4351 [BZ #14752], [BZ #15763]
4352 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4354 * rt/tst_shm.c: Add test for escaping directory.
4356 2013-10-31 Andreas Schwab <schwab@suse.de>
4359 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4360 followed by 'x' as part of digit sequence.
4361 * stdio-common/tst-sscanf.c (double_tests2): New tests.
4363 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4366 * configure.ac: allow GNU Make 4.0 and greater.
4367 * configure: Regenerated.
4369 2013-10-30 Will Newton <will.newton@linaro.org>
4372 * malloc/hooks.c (memalign_check): Limit alignment to the
4373 maximum representable power of two.
4374 * malloc/malloc.c (__libc_memalign): Likewise.
4375 * malloc/tst-memalign.c (do_test): Add test for very
4376 large alignment values.
4377 * malloc/tst-posix_memalign.c (do_test): Likewise.
4379 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4382 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4383 (munmap_chunk): Likewise.
4384 (mremap_chunk): Likewise.
4386 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
4389 * stdlib/div.c (div): Remove obsolete code.
4390 * stdlib/ldiv.c (ldiv): Likewise.
4391 * stdlib/lldiv.c (lldiv): Likewise.
4393 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4396 * nss/nss_files/files-XXX.c (get_contents_ret): New
4398 (get_contents): New function.
4399 (internal_getent): Use it. Expand size of LINEBUFLEN.
4401 2013-10-30 Mike Frysinger <vapier@gentoo.org>
4403 * configure.in: Moved to ...
4404 * configure.ac: ... here. Change reference to configure.in
4406 * sysdeps/arm/preconfigure.ac: ... here.
4407 configure.in to configure.ac.
4408 * sysdeps/gnu/configure.in: Moved to ...
4409 * sysdeps/gnu/configure.ac: ... here.
4410 * sysdeps/i386/configure.in: Moved to ...
4411 * sysdeps/i386/configure.ac: ... here.
4412 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4413 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4414 * sysdeps/mach/configure.in: Moved to ...
4415 * sysdeps/mach/configure.ac: ... here.
4416 * sysdeps/mach/hurd/configure.in: Moved to ...
4417 * sysdeps/mach/hurd/configure.ac: ... here.
4418 * sysdeps/powerpc/configure.in: Moved to ...
4419 * sysdeps/powerpc/configure.ac: ... here.
4420 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4421 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4422 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4423 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4424 * sysdeps/s390/s390-32/configure.in: Moved to ...
4425 * sysdeps/s390/s390-32/configure.ac: ... here.
4426 * sysdeps/s390/s390-64/configure.in: Moved to ...
4427 * sysdeps/s390/s390-64/configure.ac: ... here.
4428 * sysdeps/sh/configure.in: Moved to ...
4429 * sysdeps/sh/configure.ac: ... here.
4430 * sysdeps/sparc/configure.in: Moved to ...
4431 * sysdeps/sparc/configure.ac: ... here.
4432 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4433 * sysdeps/unix/sysv/linux/configure.ac: ... here.
4434 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4435 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4436 * sysdeps/x86_64/configure.in: Moved to ...
4437 * sysdeps/x86_64/configure.ac: ... here.
4438 * sysdeps/x86_64/preconfigure.in: Moved to ...
4439 * sysdeps/x86_64/preconfigure.ac: ... here.
4440 * aclocal.m4: Change reference to configure.in to configure.ac.
4441 * config.h.in: Likewise.
4442 * manual/install.texi: Likewise.
4443 * manual/maint.texi: Likewise.
4444 * Makefile: Likewise.
4445 * malloc/Makefile: Likewise.
4446 * nscd/Makefile: Likewise.
4447 * Makeconfig: Change reference to configure.in and
4448 preconfigure.in to configure.ac and preconfigure.ac
4450 * INSTALL: Regenerated.
4451 * configure: Likewise.
4452 * sysdeps/gnu/configure: Likewise.
4453 * sysdeps/i386/configure: Likewise.
4454 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4455 * sysdeps/mach/configure: Likewise.
4456 * sysdeps/mach/hurd/configure: Likewise.
4457 * sysdeps/powerpc/configure: Likewise.
4458 * sysdeps/powerpc/powerpc32/configure: Likewise.
4459 * sysdeps/powerpc/powerpc64/configure: Likewise.
4460 * sysdeps/s390/s390-32/configure: Likewise.
4461 * sysdeps/s390/s390-64/configure: Likewise.
4462 * sysdeps/sh/configure: Likewise.
4463 * sysdeps/sparc/configure: Likewise.
4464 * sysdeps/unix/sysv/linux/configure: Likewise.
4465 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4466 * sysdeps/x86_64/configure: Likewise.
4467 * sysdeps/x86_64/preconfigure: Likewise.
4469 2013-10-29 Andreas Schwab <schwab@suse.de>
4471 * stdio-common/Makefile (tst-swscanf-ENV): Define.
4473 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4475 * benchtests/pow-inputs: Add new inputs.
4477 * benchtests/exp-inputs: Add new inputs.
4479 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4480 conditional check for return value.
4481 (__cos32): Likewise.
4483 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4485 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4486 to provide a boost for large inputs with word alignment.
4487 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4488 implementation based on optimized PPC64 strcpy.
4489 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4490 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4491 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4492 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4494 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4497 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4499 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4502 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4503 * time/tst-strptime.c (day_tests): Add testcase.
4505 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
4508 * manual/pattern.texi: Acknowledge that fnmatch can fail.
4510 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
4513 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4514 MAP_FAILED on error.
4516 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4519 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4520 heap for large requests.
4522 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
4525 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4526 result if the result has no associated interface.
4527 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4528 interface for all 127.X.Y.Z addresses.
4530 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
4532 * locale/iso-639.def: Add Ligurian (lij)
4534 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4537 * sunrpc/rpc_main.c: Document rpcgen -5.
4539 2013-10-19 Michael Stahl <mstahl@redhat.com>
4541 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4543 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4546 * posix/glob.c: Match only directories when trailing slash is present.
4547 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4548 (main): Add testcase.
4550 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4553 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4555 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4557 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4558 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4559 AUTH_DES and cindex for FIPS 140-2.
4560 (DES Encryption): Add cindex FIPS 46-3.
4562 * locale/locarchive.h (struct locarhandle): Add fname.
4563 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4564 if an optional argument was specified to --list-archive,
4566 * locale/programs/locarchive.c (show_archive_content): Take new
4567 argument fname and pass it via ah.fname to open_archive.
4568 * locale/programs/localedef.h: Update decl.
4569 (open_archive): If AH->fname is non-null, open that file
4570 rather than the default file name, and don't ignore ENOENT.
4571 (create_archive): Set AH.fname to NULL.
4572 (delete_locales_from_archive): Likewise.
4573 (add_locales_to_archive): Likewise.
4574 * locale/programs/locfile.c (write_all_categories): Likewise.
4576 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4577 Aldy Hernandez <aldyh@redhat.com>
4579 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4580 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4581 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4582 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4583 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4585 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4586 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4587 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4588 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4589 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4590 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4591 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4592 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4593 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4595 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4597 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4599 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4601 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4602 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4604 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4605 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4606 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4607 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4609 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4610 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4611 * sysdeps/powerpc/preconfigure: Likewise.
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4614 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4615 Replace contents of file by #include of <fenv_libc.h>.
4616 * sysdeps/powerpc/soft-fp/sfp-machine.h
4617 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4619 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4622 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4628 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4632 Allow copysignl PLT reference to be missing.
4634 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4635 Joseph Myers <joseph@codesourcery.com
4638 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4640 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4642 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4644 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4645 * elf/tst-tls1.c: Likewise.
4646 * elf/tst-tls10.h: Likewise.
4647 * elf/tst-tls14.c: Likewise.
4648 * elf/tst-tls2.c: Likewise.
4649 * elf/tst-tls3.c: Likewise.
4650 * elf/tst-tls4.c: Likewise.
4651 * elf/tst-tls5.c: Likewise.
4652 * elf/tst-tls6.c: Likewise.
4653 * elf/tst-tls7.c: Likewise.
4654 * elf/tst-tls8.c: Likewise.
4655 * elf/tst-tls9.c: Likewise.
4656 * elf/tst-tlsmod1.c: Likewise.
4657 * elf/tst-tlsmod13.c: Likewise.
4658 * elf/tst-tlsmod13a.c: Likewise.
4659 * elf/tst-tlsmod14a.c: Likewise.
4660 * elf/tst-tlsmod16a.c: Likewise.
4661 * elf/tst-tlsmod16b.c: Likewise.
4662 * elf/tst-tlsmod2.c: Likewise.
4663 * elf/tst-tlsmod3.c: Likewise.
4664 * elf/tst-tlsmod4.c: Likewise.
4665 * elf/tst-tlsmod5.c: Likewise.
4666 * elf/tst-tlsmod6.c: Likewise.
4668 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4671 * malloc/malloc.c: remove checks for statistics.
4673 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4676 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4677 * inet/tst-network.c: Add testcase.
4679 2013-10-17 Andreas Schwab <schwab@suse.de>
4682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4683 to determine canonical name.
4685 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4687 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4688 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4698 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4699 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4700 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4701 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4711 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4712 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4715 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4716 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4717 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4720 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4724 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4725 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4727 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4728 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4729 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4730 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4732 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4733 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4734 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4735 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4736 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4737 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4738 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4739 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4746 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4749 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4750 make result into a quiet NaN.
4752 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4754 * soft-fp/adddf3.c: Fix horizontal whitespace.
4755 * soft-fp/addsf3.c: Likewise.
4756 * soft-fp/addtf3.c: Likewise.
4757 * soft-fp/divdf3.c: Likewise.
4758 * soft-fp/divsf3.c: Likewise.
4759 * soft-fp/divtf3.c: Likewise.
4760 * soft-fp/double.h: Likewise.
4761 * soft-fp/eqdf2.c: Likewise.
4762 * soft-fp/eqsf2.c: Likewise.
4763 * soft-fp/eqtf2.c: Likewise.
4764 * soft-fp/extenddftf2.c: Likewise.
4765 * soft-fp/extended.h: Likewise.
4766 * soft-fp/extendsfdf2.c: Likewise.
4767 * soft-fp/extendsftf2.c: Likewise.
4768 * soft-fp/extendxftf2.c: Likewise.
4769 * soft-fp/fixdfdi.c: Likewise.
4770 * soft-fp/fixdfsi.c: Likewise.
4771 * soft-fp/fixdfti.c: Likewise.
4772 * soft-fp/fixsfdi.c: Likewise.
4773 * soft-fp/fixsfsi.c: Likewise.
4774 * soft-fp/fixsfti.c: Likewise.
4775 * soft-fp/fixtfdi.c: Likewise.
4776 * soft-fp/fixtfsi.c: Likewise.
4777 * soft-fp/fixtfti.c: Likewise.
4778 * soft-fp/fixunsdfdi.c: Likewise.
4779 * soft-fp/fixunsdfsi.c: Likewise.
4780 * soft-fp/fixunsdfti.c: Likewise.
4781 * soft-fp/fixunssfdi.c: Likewise.
4782 * soft-fp/fixunssfsi.c: Likewise.
4783 * soft-fp/fixunssfti.c: Likewise.
4784 * soft-fp/fixunstfdi.c: Likewise.
4785 * soft-fp/fixunstfsi.c: Likewise.
4786 * soft-fp/fixunstfti.c: Likewise.
4787 * soft-fp/floatdidf.c: Likewise.
4788 * soft-fp/floatdisf.c: Likewise.
4789 * soft-fp/floatditf.c: Likewise.
4790 * soft-fp/floatsidf.c: Likewise.
4791 * soft-fp/floatsisf.c: Likewise.
4792 * soft-fp/floatsitf.c: Likewise.
4793 * soft-fp/floattidf.c: Likewise.
4794 * soft-fp/floattisf.c: Likewise.
4795 * soft-fp/floattitf.c: Likewise.
4796 * soft-fp/floatundidf.c: Likewise.
4797 * soft-fp/floatundisf.c: Likewise.
4798 * soft-fp/floatunditf.c: Likewise.
4799 * soft-fp/floatunsidf.c: Likewise.
4800 * soft-fp/floatunsisf.c: Likewise.
4801 * soft-fp/floatunsitf.c: Likewise.
4802 * soft-fp/floatuntidf.c: Likewise.
4803 * soft-fp/floatuntisf.c: Likewise.
4804 * soft-fp/floatuntitf.c: Likewise.
4805 * soft-fp/fmadf4.c: Likewise.
4806 * soft-fp/fmasf4.c: Likewise.
4807 * soft-fp/fmatf4.c: Likewise.
4808 * soft-fp/gedf2.c: Likewise.
4809 * soft-fp/gesf2.c: Likewise.
4810 * soft-fp/getf2.c: Likewise.
4811 * soft-fp/ledf2.c: Likewise.
4812 * soft-fp/lesf2.c: Likewise.
4813 * soft-fp/letf2.c: Likewise.
4814 * soft-fp/muldf3.c: Likewise.
4815 * soft-fp/mulsf3.c: Likewise.
4816 * soft-fp/multf3.c: Likewise.
4817 * soft-fp/negdf2.c: Likewise.
4818 * soft-fp/negsf2.c: Likewise.
4819 * soft-fp/negtf2.c: Likewise.
4820 * soft-fp/op-1.h: Likewise.
4821 * soft-fp/op-2.h: Likewise.
4822 * soft-fp/op-4.h: Likewise.
4823 * soft-fp/op-8.h: Likewise.
4824 * soft-fp/op-common.h: Likewise.
4825 * soft-fp/quad.h: Likewise.
4826 * soft-fp/single.h: Likewise.
4827 * soft-fp/soft-fp.h: Likewise.
4828 * soft-fp/sqrtdf2.c: Likewise.
4829 * soft-fp/sqrtsf2.c: Likewise.
4830 * soft-fp/sqrttf2.c: Likewise.
4831 * soft-fp/subdf3.c: Likewise.
4832 * soft-fp/subsf3.c: Likewise.
4833 * soft-fp/subtf3.c: Likewise.
4834 * soft-fp/truncdfsf2.c: Likewise.
4835 * soft-fp/trunctfdf2.c: Likewise.
4836 * soft-fp/trunctfsf2.c: Likewise.
4837 * soft-fp/trunctfxf2.c: Likewise.
4838 * soft-fp/unorddf2.c: Likewise.
4839 * soft-fp/unordsf2.c: Likewise.
4840 * soft-fp/unordtf2.c: Likewise.
4842 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4844 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4845 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4847 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4849 * elf/dl-libc.c: Clear initfini list after freeing.
4851 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4853 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4854 * soft-fp/addsf3.c: Likewise.
4855 * soft-fp/addtf3.c: Likewise.
4856 * soft-fp/divdf3.c: Likewise.
4857 * soft-fp/divsf3.c: Likewise.
4858 * soft-fp/divtf3.c: Likewise.
4859 * soft-fp/double.h: Likewise.
4860 * soft-fp/eqdf2.c: Likewise.
4861 * soft-fp/eqsf2.c: Likewise.
4862 * soft-fp/eqtf2.c: Likewise.
4863 * soft-fp/extenddftf2.c: Likewise.
4864 * soft-fp/extended.h: Likewise.
4865 * soft-fp/extendsfdf2.c: Likewise.
4866 * soft-fp/extendsftf2.c: Likewise.
4867 * soft-fp/extendxftf2.c: Likewise.
4868 * soft-fp/fixdfdi.c: Likewise.
4869 * soft-fp/fixdfsi.c: Likewise.
4870 * soft-fp/fixdfti.c: Likewise.
4871 * soft-fp/fixsfdi.c: Likewise.
4872 * soft-fp/fixsfsi.c: Likewise.
4873 * soft-fp/fixsfti.c: Likewise.
4874 * soft-fp/fixtfdi.c: Likewise.
4875 * soft-fp/fixtfsi.c: Likewise.
4876 * soft-fp/fixtfti.c: Likewise.
4877 * soft-fp/fixunsdfdi.c: Likewise.
4878 * soft-fp/fixunsdfsi.c: Likewise.
4879 * soft-fp/fixunsdfti.c: Likewise.
4880 * soft-fp/fixunssfdi.c: Likewise.
4881 * soft-fp/fixunssfsi.c: Likewise.
4882 * soft-fp/fixunssfti.c: Likewise.
4883 * soft-fp/fixunstfdi.c: Likewise.
4884 * soft-fp/fixunstfsi.c: Likewise.
4885 * soft-fp/fixunstfti.c: Likewise.
4886 * soft-fp/floatdidf.c: Likewise.
4887 * soft-fp/floatdisf.c: Likewise.
4888 * soft-fp/floatditf.c: Likewise.
4889 * soft-fp/floatsidf.c: Likewise.
4890 * soft-fp/floatsisf.c: Likewise.
4891 * soft-fp/floatsitf.c: Likewise.
4892 * soft-fp/floattidf.c: Likewise.
4893 * soft-fp/floattisf.c: Likewise.
4894 * soft-fp/floattitf.c: Likewise.
4895 * soft-fp/floatundidf.c: Likewise.
4896 * soft-fp/floatundisf.c: Likewise.
4897 * soft-fp/floatunsidf.c: Likewise.
4898 * soft-fp/floatunsisf.c: Likewise.
4899 * soft-fp/floatuntidf.c: Likewise.
4900 * soft-fp/floatuntisf.c: Likewise.
4901 * soft-fp/floatuntitf.c: Likewise.
4902 * soft-fp/fmadf4.c: Likewise.
4903 * soft-fp/fmasf4.c: Likewise.
4904 * soft-fp/fmatf4.c: Likewise.
4905 * soft-fp/gedf2.c: Likewise.
4906 * soft-fp/gesf2.c: Likewise.
4907 * soft-fp/getf2.c: Likewise.
4908 * soft-fp/ledf2.c: Likewise.
4909 * soft-fp/lesf2.c: Likewise.
4910 * soft-fp/letf2.c: Likewise.
4911 * soft-fp/muldf3.c: Likewise.
4912 * soft-fp/mulsf3.c: Likewise.
4913 * soft-fp/multf3.c: Likewise.
4914 * soft-fp/negdf2.c: Likewise.
4915 * soft-fp/negsf2.c: Likewise.
4916 * soft-fp/negtf2.c: Likewise.
4917 * soft-fp/op-1.h: Likewise.
4918 * soft-fp/op-2.h: Likewise.
4919 * soft-fp/op-4.h: Likewise.
4920 * soft-fp/op-8.h: Likewise.
4921 * soft-fp/op-common.h: Likewise.
4922 * soft-fp/quad.h: Likewise.
4923 * soft-fp/single.h: Likewise.
4924 * soft-fp/soft-fp.h: Likewise.
4925 * soft-fp/sqrtdf2.c: Likewise.
4926 * soft-fp/sqrtsf2.c: Likewise.
4927 * soft-fp/sqrttf2.c: Likewise.
4928 * soft-fp/subdf3.c: Likewise.
4929 * soft-fp/subsf3.c: Likewise.
4930 * soft-fp/subtf3.c: Likewise.
4931 * soft-fp/truncdfsf2.c: Likewise.
4932 * soft-fp/trunctfdf2.c: Likewise.
4933 * soft-fp/trunctfsf2.c: Likewise.
4934 * soft-fp/trunctfxf2.c: Likewise.
4935 * soft-fp/unorddf2.c: Likewise.
4936 * soft-fp/unordsf2.c: Likewise.
4937 * soft-fp/unordtf2.c: Likewise.
4939 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4942 * misc/error.c (error_tail): Fix possible buffer overflow.
4944 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4947 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4950 2013-10-14 P. J. McDermott <pj@pehjota.net>
4953 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4954 testing pipefail option.
4956 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4958 * soft-fp/double.h: Indent preprocessor directives inside #if.
4959 * soft-fp/extended.h: Likewise.
4960 * soft-fp/op-2.h: Likewise.
4961 * soft-fp/op-4.h: Likewise.
4962 * soft-fp/op-common.h: Likewise.
4963 * soft-fp/quad.h: Likewise.
4964 * soft-fp/single.h: Likewise.
4965 * soft-fp/soft-fp.h: Likewise.
4967 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4969 * iconv/iconv_prog.c: Fix typos.
4970 * stdio-common/psiginfo-data.h: Likewise.
4972 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4975 * locale/setlocale.c: Fix typo.
4977 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4980 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4981 signaling NaN arguments.
4982 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4983 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4986 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4988 * soft-fp/gesf2.c (__gesf2): Likewise.
4989 * soft-fp/getf2.c (__getf2): Likewise.
4990 * soft-fp/ledf2.c (__ledf2): Likewise.
4991 * soft-fp/lesf2.c (__lesf2): Likewise.
4992 * soft-fp/letf2.c (__letf2): Likewise.
4994 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4995 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4996 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4997 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4998 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4999 * soft-fp/fixdfti.c (__fixdfti): Likewise.
5000 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
5001 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
5002 * soft-fp/fixsfti.c (__fixsfti): Likewise.
5003 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
5004 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
5005 * soft-fp/fixtfti.c (__fixtfti): Likewise.
5006 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
5007 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
5008 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
5009 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
5010 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
5011 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5012 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5013 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5014 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5015 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5016 * soft-fp/floatdisf.c (__floatdisf): Likewise.
5017 * soft-fp/floatsisf.c (__floatsisf): Likewise.
5018 * soft-fp/floattidf.c (__floattidf): Likewise.
5019 * soft-fp/floattisf.c (__floattisf): Likewise.
5020 * soft-fp/floattitf.c (__floattitf): Likewise.
5021 * soft-fp/floatundidf.c (__floatundidf): Likewise.
5022 * soft-fp/floatundisf.c (__floatundisf): Likewise.
5023 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5024 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5025 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5026 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5027 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5028 * soft-fp/gesf2.c (__gesf2): Likewise.
5029 * soft-fp/getf2.c (__getf2): Likewise.
5030 * soft-fp/ledf2.c (__ledf2): Likewise.
5031 * soft-fp/lesf2.c (__lesf2): Likewise.
5032 * soft-fp/letf2.c (__letf2): Likewise.
5034 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5035 Undefine and redefine.
5036 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5037 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5038 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5039 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5040 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5041 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5042 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5043 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5044 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5045 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5046 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5047 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5048 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5049 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5050 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5053 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5054 without decrementing exponent if mantissa >= that for the
5056 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5057 denominator, not >. Decrement exponent in < case instead of
5058 incrementing in >= case.
5059 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5060 without decrementing exponent if mantissa >= that for the
5063 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5064 computing saturated result for unsigned overflow.
5066 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5067 Jeff Law <law@redhat.com>
5069 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5070 (atan2Mp): Add systemtap probe marker.
5071 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5072 (__ieee754_log): Add systemtap probe marker.
5073 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5074 (atanMp): Add systemtap probe marker.
5075 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5076 (tanMp): Add systemtap probe marker.
5077 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5078 (__slowexp): Add systemtap probe marker.
5079 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5080 (__slowpow): Add systemtap probe marker.
5081 * manual/probes.texi: Document probes.
5083 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
5086 * libio/fileops.c (_IO_new_file_write): Return count of bytes
5088 (_IO_new_file_xsputn): Don't return EOF if nothing has been
5090 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5091 written to buffer but not flushed.
5092 * libio/iofwrite_u.c: Likewise.
5093 * libio/iopadn.c: Return bytes returned even if EOF was
5095 * libio/iowpadn.c: Likewise.
5096 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5097 if _IO_padn does not write the whole buffer.
5098 [!COMPILE_WPRINTF] (PAD): Likewise.
5100 2013-10-10 David S. Miller <davem@davemloft.net>
5102 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5105 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5107 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
5108 instead of FSF address.
5109 * soft-fp/fixdfti.c: Likewise.
5110 * soft-fp/fixsfti.c: Likewise.
5111 * soft-fp/fixtfti.c: Likewise.
5112 * soft-fp/fixunsdfti.c: Likewise.
5113 * soft-fp/fixunssfti.c: Likewise.
5114 * soft-fp/fixunstfti.c: Likewise.
5115 * soft-fp/floattidf.c: Likewise.
5116 * soft-fp/floattisf.c: Likewise.
5117 * soft-fp/floattitf.c: Likewise.
5118 * soft-fp/floatuntidf.c: Likewise.
5119 * soft-fp/floatuntisf.c: Likewise.
5120 * soft-fp/floatuntitf.c: Likewise.
5121 * soft-fp/trunctfxf2.c: Likewise.
5123 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
5124 * soft-fp/fixdfti.c: Likewise.
5125 * soft-fp/fixsfti.c: Likewise.
5126 * soft-fp/fixtfti.c: Likewise.
5127 * soft-fp/fixunsdfti.c: Likewise.
5128 * soft-fp/fixunssfti.c: Likewise.
5129 * soft-fp/fixunstfti.c: Likewise.
5130 * soft-fp/floattidf.c: Likewise.
5131 * soft-fp/floattisf.c: Likewise.
5132 * soft-fp/floattitf.c: Likewise.
5133 * soft-fp/floatuntidf.c: Likewise.
5134 * soft-fp/floatuntisf.c: Likewise.
5135 * soft-fp/floatuntitf.c: Likewise.
5136 * soft-fp/trunctfxf2.c: Likewise.
5138 2013-10-10 David S. Miller <davem@davemloft.net>
5140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5142 2013-10-10 Joseph Myers <joseph@codsourcery.com>
5144 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5145 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5146 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5147 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5148 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5149 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5150 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5152 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5153 for NaNs before doing comparisons on argument.
5154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5157 2013-10-10 Will Newton <will.newton@linaro.org>
5159 * malloc/hooks.c (memalign_check): Ensure the value of bytes
5160 passed to _int_memalign does not overflow.
5162 2013-10-10 Torvald Riegel <triegel@redhat.com>
5164 * scripts/bench.pl: Add include-sources directive.
5165 * benchtests/README: Update documentation.
5167 2013-10-10 Joseph Myers <joseph@codesourcery.com>
5169 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5170 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5171 instead of FP_INIT_ROUNDMODE.
5172 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5173 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5176 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
5177 copy class of input value.
5178 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
5179 not handle exceptions.
5180 * soft-fp/negsf2.c (__negsf2): Likewise.
5181 * soft-fp/negtf2.c (__negtf2): Likewise.
5182 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5184 2013-10-09 Joseph Myers <joseph@codesourcery.com>
5186 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5187 semicolon. From Linux kernel.
5189 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
5191 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5193 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
5196 * manual/socket.texi: Added statement about buffer
5197 for gethostbyname2_r.
5199 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
5201 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5202 Use .p2align directive instead, throughout.
5203 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5204 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5205 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5206 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5208 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5209 * sysdeps/x86_64/strchr.S: Likewise.
5210 * sysdeps/x86_64/strrchr.S: Likewise.
5212 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5214 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5216 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5218 * sysdeps/generic/math_private.h (__mpsin1): Remove
5220 (__mpcos1): Likewise.
5221 (__mpsin): New argument __range_reduce.
5222 (__mpcos): Likewise.
5223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5224 (slow): Use __mpsin and __mpcos.
5231 (bsloww1): Likewise.
5232 (bsloww2): Likewise.
5235 (csloww1): Likewise.
5236 (csloww2): Likewise.
5237 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5238 range_reduce. Merge in __mpsin1.
5239 (__mpcos): Likewise.
5241 (__mpcos1): Likewise.
5243 2013-10-07 Joseph Myers <joseph@codesourcery.com>
5245 * locale/loadlocale.c (_nl_intern_locale_data): Use
5247 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5248 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5249 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5250 obstack data is appropriately aligned.
5251 (obstack_int32_grow_fast): Likewise.
5252 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5253 * locale/programs/locfile.c (add_locale_uint32): Likewise.
5254 (add_locale_uint32_array): Likewise.
5256 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5258 * benchtests/Makefile: Remove ARGLIST and RET variables.
5259 ($(objpfx)bench-%.c): Pass only function name to the script.
5260 * benchtests/README: Update documentation.
5261 * benchtests/acos-inputs: Add new directives.
5262 * benchtests/acosh-inputs: Likewise.
5263 * benchtests/asin-inputs: Likewise.
5264 * benchtests/asinh-inputs: Likewise.
5265 * benchtests/atan-inputs: Likewise.
5266 * benchtests/atanh-inputs: Likewise.
5267 * benchtests/cos-inputs: Likewise.
5268 * benchtests/cosh-inputs: Likewise.
5269 * benchtests/exp-inputs: Likewise.
5270 * benchtests/log-inputs: Likewise.
5271 * benchtests/pow-inputs: Likewise.
5272 * benchtests/rint-inputs: Likewise.
5273 * benchtests/sin-inputs: Likewise.
5274 * benchtests/sinh-inputs: Likewise.
5275 * benchtests/tan-inputs: Likewise.
5276 * benchtests/tanh-inputs: Likewise.
5277 * scripts/bench.pl: Add support for new directives.
5279 2013-10-07 Alan Modra <amodra@gmail.com>
5281 * README: Fix careless merge.
5283 2013-10-05 Alan Modra <amodra@gmail.com>
5285 * NEWS: Mention powerpc64le support and bugs fixed.
5286 * README: Both big-endian and little-endian powerpc64 supported.
5288 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5290 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5291 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5292 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5293 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5295 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
5297 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5300 2013-10-04 Joseph Myers <joseph@codesourcery.com>
5302 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5303 Move -mhard-float appending from
5304 ports/sysdeps/powerpc/powerpc32/Makefile.
5305 [$(with-fp) = yes] (ASFLAGS): Likewise.
5306 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5307 * sysdeps/powerpc/nofpu: Move directory from
5308 ports/sysdeps/powerpc/nofpu.
5309 * sysdeps/powerpc/soft-fp: Move directory from
5310 ports/sysdeps/powerpc/soft-fp.
5311 * sysdeps/powerpc/powerpc32/405: Move directory from
5312 ports/sysdeps/powerpc/powerpc32/405.
5313 * sysdeps/powerpc/powerpc32/440: Move directory from
5314 ports/sysdeps/powerpc/powerpc32/440.
5315 * sysdeps/powerpc/powerpc32/464: Move directory from
5316 ports/sysdeps/powerpc/powerpc32/464.
5317 * sysdeps/powerpc/powerpc32/476: Move directory from
5318 ports/sysdeps/powerpc/powerpc32/476.
5319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5320 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5322 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5324 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5326 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5328 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5329 * README: Update for powerpc-*-linux-gnu software floating point
5332 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5333 case to powerpc/powerpc32*.
5334 * sysdeps/unix/sysv/linux/configure: Regenerated.
5336 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5337 (_FPU_MASK_OM): Define as 0x04.
5338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5346 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5349 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5352 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5353 and setcontext_e500.
5355 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
5357 * locale/iso-3166.def: Update iso-1366.def and related occurrences
5359 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5361 * manual/threads.texi (Default Thread Attributes): Fix typo.
5363 2013-10-04 Will Newton <will.newton@linaro.org>
5365 * malloc/Makefile: Add tst-memalign.
5366 * malloc/tst-memalign.c: New file.
5368 * malloc/tst-posix_memalign.c: Add comments.
5369 (do_test): Add comments and call free on all potentially
5370 allocated pointers. Add space after cast.
5372 * malloc/tst-pvalloc.c: Add comments.
5373 (do_test): Add comments and call free on all potentially
5374 allocated pointers. Remove duplicate check for NULL pointer.
5375 Add space after cast.
5377 * malloc/tst-valloc.c: Add comments.
5378 (do_test): Add comments and call free on all potentially
5379 allocated pointers. Remove duplicate check for NULL pointer.
5380 Add space after cast.
5382 2013-10-04 Alan Modra <amodra@gmail.com>
5384 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5385 Use stdint types in rather than __attribute__((mode())).
5386 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5388 2013-10-04 Alan Modra <amodra@gmail.com>
5390 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5391 Correct handling of unaligned relocs for little-endian.
5392 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5394 2013-10-04 Alan Modra <amodra@gmail.com>
5396 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5397 * configure: Regenerate.
5398 * nptl/shlib-versions: Powerpc*le starts at 2.18.
5399 * shlib-versions: Likewise.
5401 2013-10-04 Alan Modra <amodra@gmail.com>
5403 * string/tester.c (test_memrchr): Increment reported test cycle.
5405 2013-10-04 Alan Modra <amodra@gmail.com>
5407 * string/test-memcpy.c (do_one_test): When reporting errors, print
5408 string address and don't overrun end of string.
5410 2013-10-04 Alan Modra <amodra@gmail.com>
5412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5413 insrdi. Make better use of reg selection to speed exit slightly.
5414 Schedule entry path a little better. Remove useless "are we done"
5415 checks on entry to main loop. Handle wrapping around zero address.
5416 Correct main loop count. Handle single left-over word from main
5417 loop inline rather than by using loop_small. Remove extra word
5418 case in loop_small caused by wrong loop count. Add little-endian
5420 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5421 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
5423 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5424 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5425 support. Avoid rlwimi.
5426 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5428 2013-10-04 Alan Modra <amodra@gmail.com>
5430 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5432 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5433 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5434 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5435 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5436 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5437 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5439 2013-10-04 Alan Modra <amodra@gmail.com>
5441 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5442 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5443 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5444 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5445 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5446 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
5450 use of regs. Use power7 mtocrf. Tidy function tails.
5452 2013-10-04 Alan Modra <amodra@gmail.com>
5454 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5455 Formatting. Consistently use rXXX register defines or rN defines.
5456 Use early exit labels that avoid restoring unused non-volatile regs.
5457 Make cr field use more consistent with rWORDn compares. Rename
5458 regs used as shift registers for unaligned loop, using rN defines
5459 for short lifetime/multiple use regs.
5460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5461 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
5462 addi 1,1,64 to pop stack frame. Simplify return value code.
5463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5465 2013-10-04 Alan Modra <amodra@gmail.com>
5467 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5468 support. Correct typos, formatting. Optimize tail. Use insrdi
5470 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5471 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5472 little-endian support. Correct typos.
5473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
5475 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
5476 in loop and entry code to keep "and." results.
5477 (strchr): Add little-endian support. Comment. Move cntlzd
5479 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5481 2013-10-04 Alan Modra <amodra@gmail.com>
5483 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5484 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5485 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5486 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5488 2013-10-04 Alan Modra <amodra@gmail.com>
5490 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5491 (rTMP): Define as r11.
5492 (strcmp): Add little-endian support. Optimise tail.
5493 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5494 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5495 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5497 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5499 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5501 2013-10-04 Alan Modra <amodra@gmail.com>
5503 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5504 little-endian support. Remove unnecessary "are we done" tests.
5505 Handle "s" wrapping around zero and extremely large "size".
5506 Correct main loop count. Handle single left-over word from main
5507 loop inline rather than by using small_loop. Correct comments.
5508 Delete "zero" tail, use "end_max" instead.
5509 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5511 2013-10-04 Alan Modra <amodra@gmail.com>
5513 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5514 support. Don't branch over align.
5515 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5516 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5517 support. Rearrange tmp reg use to suit. Comment.
5518 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5520 2013-10-04 Alan Modra <amodra@gmail.com>
5522 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5524 2013-10-04 Alan Modra <amodra@gmail.com>
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5527 conditional form of branch and link when obtaining pc.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5530 2013-10-04 Alan Modra <amodra@gmail.com>
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5537 2013-10-04 Alan Modra <amodra@gmail.com>
5539 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5540 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5541 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5542 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5543 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5544 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5545 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5546 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5547 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5548 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5550 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5551 Alistair Popple <alistair@ozlabs.au.ibm.com>
5552 Alan Modra <amodra@gmail.com>
5555 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5556 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5557 _dl_hwcap access for little-endian.
5558 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5559 destroy vmx regs when saving unaligned.
5560 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5561 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5562 destroy vmx regs when saving unaligned.
5564 2013-10-04 Alan Modra <amodra@gmail.com>
5566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5567 Don't use a union to pack hi/low value.
5569 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5571 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5573 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5575 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5576 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5577 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5579 2013-10-04 Alan Modra <amodra@gmail.com>
5581 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5582 constants to usual value for .cst8 section, and remove redundant
5584 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5585 constant for 0x1p52. Load little-endian words of double from
5586 correct stack offsets.
5588 2013-10-04 Alan Modra <amodra@gmail.com>
5590 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5591 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5592 words of double from correct stack offsets.
5593 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5594 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5595 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5596 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5597 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5598 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5599 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5600 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5601 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5602 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5603 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5604 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5605 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5606 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5607 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5608 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5609 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5611 2013-10-04 Alan Modra <amodra@gmail.com>
5613 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5614 64-bit int/double union.
5615 (_FPU_SETCW): Likewise.
5616 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5617 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5619 2013-10-04 Alan Modra <amodra@gmail.com>
5621 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5622 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5624 2013-10-04 Alan Modra <amodra@gmail.com>
5626 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5627 use vector int constants.
5628 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5630 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5632 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5633 array with long long.
5634 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5635 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5636 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5637 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5638 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5639 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5640 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5641 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5642 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5643 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5644 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5645 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5646 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5648 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5650 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5651 (__signbit): Likewise. Correct for little-endian.
5652 (__signbitl): Call __signbit.
5653 (lrint): Correct for little-endian.
5654 (lrintf): Call lrint.
5656 2013-10-04 Alan Modra <amodra@gmail.com>
5658 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5659 union 32-bit int array member with 64-bit int array.
5660 (t515, tm256): Double rather than long double.
5661 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5663 2013-10-04 Alan Modra <amodra@gmail.com>
5665 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5667 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5668 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5669 version of math_ldbl.h.
5671 2013-10-04 Alan Modra <amodra@gmail.com>
5673 [BZ #15734], [BZ #15735]
5674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5675 all uses of ieee875 long double macros and unions. Simplify test
5676 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5677 ldbl_extract_mantissa value for ix,iy exponents. Properly
5678 normalize after ldbl_extract_mantissa, and don't add hidden bit
5679 already handled. Don't treat low word of ieee854 mantissa like
5680 low word of IBM long double and mask off bit when testing for
5682 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5683 all uses of ieee875 long double macros and unions. Simplify tests
5684 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5685 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5686 two1022, instead use their values. Recognise that tests for large
5687 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5688 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5689 Rewrite all uses of ieee875 long double macros and unions. Simplify
5690 test for 0.0L and nan. Correct negation.
5691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5692 ieee875 long double macros and unions. Correct output for large
5693 magnitude x. Correct absolute value calculation.
5694 (__erfcl): Likewise.
5695 * math/libm-test.inc: Add tests for errors discovered in IBM long
5696 double versions of fmodl, remainderl, erfl and erfcl.
5698 2013-10-04 Alan Modra <amodra@gmail.com>
5700 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5701 all uses of ieee854 long double macros and unions. Simplify tests
5702 for long doubles that are fully specified by the high double.
5703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5705 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5706 Remove dead code too.
5707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5708 (__ieee754_ynl): Likewise.
5709 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5712 Remove dead code too.
5713 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5714 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5715 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5716 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5718 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5720 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5723 Comment on variable precision.
5724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5727 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5730 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5731 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5733 2013-10-04 Alan Modra <amodra@gmail.com>
5735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5736 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5737 all uses of ieee854 long double macros and unions.
5738 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5743 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5745 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5751 Simplify sign and nan test too.
5752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5757 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5758 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5761 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5762 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5767 2013-10-04 Alan Modra <amodra@gmail.com>
5769 * stdio-common/printf_size.c (__printf_size): Don't use
5770 union ieee854_long_double in fpnum union.
5771 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5772 signbit macro to retrieve sign from long double.
5773 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5774 retrieve sign from long double.
5775 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5776 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5777 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5778 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5779 * math/test-misc.c (main): Don't use union ieee854_long_double.
5781 2013-10-04 Alan Modra <amodra@gmail.com>
5784 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5785 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5786 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5787 calculation. Remove unnecessary test for denormal exponent.
5788 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5789 Correct handling of denormals. Avoid undefined shift behaviour.
5790 Correct normalisation of low mantissa when low double is denormal.
5791 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5792 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5793 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5794 Correct normalisation of low mantissa. Test for overflow of high
5795 mantissa and normalise.
5796 (ldbl_nearbyint): Use more readable constant for two52.
5797 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5798 (__mpn_construct_long_double): Fix test for overflow of high
5799 mantissa and correct normalisation. Avoid undefined shift.
5801 2013-10-04 Alan Modra <amodra@gmail.com>
5803 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5804 (union ibm_extended_long_double): Define as an array of ieee754_double.
5805 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5807 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5808 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5812 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5817 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5819 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5820 page size instead of calling getpagesize.
5822 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5823 (LOCFILE_ALIGN_MASK): Likewise.
5824 (LOCFILE_ALIGN_UP): Likewise.
5825 (LOCFILE_ALIGNED_P): Likewise.
5826 * locale/programs/ld-collate.c (collate_output): Use the new
5827 macros instead of __alignof__ (int32_t).
5828 * locale/weight.h (findidx): Likewise.
5830 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5833 * manual/string.texi: Fix strncat and wcsncat.
5835 2013-10-03 Brooks Moses <bmoses@google.com>
5838 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5839 * Makerules: ...here, and adjust associated comments.
5841 2013-10-02 Will Newton <will.newton@linaro.org>
5843 * malloc/Makefile: Add tst-pvalloc.
5844 * malloc/tst-pvalloc.c: New file.
5846 2013-10-02 Will Newton <will.newton@linaro.org>
5848 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5849 improve test coverage.
5851 2013-10-02 Will Newton <will.newton@linaro.org>
5853 * malloc/Makefile: Add tst-posix_memalign.
5854 * malloc/tst-posix_memalign.c: New file.
5856 2013-10-01 Eric Blake <eblake@redhat.com>
5858 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5859 Use __THROWNL rather than __THROW on static functions.
5861 2013-09-30 Petr Machata <pmachata@redhat.com>
5863 * elf/elf.h (R_AARCH64_ABS16): New macro.
5864 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5865 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5866 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5867 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5868 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5869 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5870 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5871 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5872 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5873 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5874 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5875 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5876 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5877 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5878 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5879 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5880 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5881 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5882 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5883 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5884 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5885 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5886 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5887 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5888 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5889 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5890 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5891 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5892 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5893 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5894 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5895 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5896 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5897 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5898 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5899 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5900 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5901 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5902 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5903 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5904 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5905 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5906 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5907 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5908 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5909 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5910 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5911 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5912 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5913 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5914 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5915 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5916 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5917 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5918 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5919 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5920 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5921 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5922 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5923 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5924 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5925 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5926 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5927 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5928 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5929 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5930 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5931 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5932 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5933 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5934 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5935 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5936 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5937 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5938 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5939 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5940 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5941 (R_AARCH64_TLSDESC_LDR): Likewise.
5942 (R_AARCH64_TLSDESC_ADD): Likewise.
5943 (R_AARCH64_TLSDESC_CALL): Likewise.
5945 2013-09-30 Andreas Schwab <schwab@suse.de>
5948 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5949 the nss database lookup.
5950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5953 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5955 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5957 2013-09-28 P. J. McDermott <pj@pehjota.net>
5959 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5960 ${Bash-specific parameter/pattern/string} parameter expansion.
5961 * sysdeps/unix/make-syscalls.sh: Likewise.
5963 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5965 * sysdeps/sh/stackguard-macros.h: New file.
5967 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5970 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5971 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5972 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5974 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5976 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5978 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5979 Fix thread ID register.
5981 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5983 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5984 [POSIX || UNIX98]: Require rather than permitting all symbols from
5986 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5987 element of struct sched_param.
5988 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5989 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5990 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5991 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5994 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5996 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5997 argument calculation.
5999 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6001 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
6003 [POSIX] (pthread_attr_t): Do not require type.
6004 [POSIX] (pthread_cond_t): Likewise.
6005 [POSIX] (pthread_condattr_t): Likewise.
6006 [POSIX] (pthread_key_t): Likewise.
6007 [POSIX] (pthread_mutex_t): Likewise.
6008 [POSIX] (pthread_mutexattr_t): Likewise.
6009 [POSIX] (pthread_once_t): Likewise.
6010 [POSIX] (pthread_t): Likewise.
6011 [POSIX-based standards] (pthread_atfork): Expect function.
6013 2013-09-24 Joseph Myers <joseph@codesourcery.com>
6014 Richard Sandiford <richard@codesourcery.com>
6016 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6017 (swap_endianness_p): New extern variable.
6018 (set_big_endian): New inline function.
6019 (maybe_swap_uint32): Likewise.
6020 (maybe_swap_uint32_array): Likewise.
6021 (maybe_swap_uint32_obstack): Likewise.
6022 * locale/programs/locfile.c: Include <stdbool.h>.
6023 (swap_endianness_p): New variable.
6024 (add_locale_uint32): Call maybe_swap_uint32.
6025 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6026 (write_locale_data): Call maybe_swap_uint32_array.
6027 * locale/programs/ld-collate.c (obstack_int32_grow): Call
6029 (obstack_int32_grow_fast): Likewise.
6030 (output_weightwc): Call maybe_swap_uint32_obstack.
6031 (collate_output): Likewise.
6032 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6033 (OPT_LITTLE_ENDIAN): Likewise.
6034 (options): Add --little-endian and --big-endian options.
6035 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6036 * locale/programs/locarchive.c: Include "locfile.h".
6040 (create_archive): Use the new macros to access fields of
6041 structures directly mapped from or written to locale archives.
6042 (oldlocrecentcmp): Likewise.
6043 (enlarge_archive): Likewise.
6044 (insert_name): Likewise.
6045 (add_alias): Likewise.
6046 (add_locale): Likewise.
6047 (delete_locales_from_archive): Likewise.
6048 (show_archive_content): Likewise.
6049 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
6052 2013-09-24 Roland McGrath <roland@hack.frob.com>
6054 * manual/freemanuals.texi: Updated from (newly) canonical copy at
6055 http://www.gnu.org/doc/freemanuals.texi.
6056 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6058 2013-09-24 Will Newton <will.newton@linaro.org>
6060 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6063 2013-09-23 Joseph Myers <joseph@codesourcery.com>
6065 * locale/hashval.h (compute_hashval): Interpret bytes of key as
6068 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
6070 * manual/threads.texi (POSIX Threads): Fix a typo.
6072 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6075 * string/tst-strcoll-overflow.c: New test case.
6076 * string/Makefile (xtests): Add tst-strcoll-overflow.
6077 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6078 cache if string sizes may cause integer overflow.
6081 * string/strcoll_l.c (coll_seq): New members rule, idx,
6082 save_idx and back_us.
6083 (get_next_seq_nocache): New function.
6084 (do_compare_nocache): New function.
6085 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6088 2013-09-23 Carlos O'Donell <carlos@redhat.com>
6091 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6092 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6093 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6096 * elf/Makefile (tests): Add tst-ptrguard1.
6097 (tests-static): Add tst-ptrguard1-static.
6098 (tst-ptrguard1-ARGS): Define.
6099 (tst-ptrguard1-static-ARGS): Define.
6100 * elf/tst-ptrguard1.c: New file.
6101 * elf/tst-ptrguard1-static.c: New file.
6102 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6103 * sysdeps/i386/stackguard-macros.h: Likewise.
6104 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6105 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6106 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6107 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6108 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6109 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6111 2013-09-23 Hector Marco <hecmargi@upv.es>
6112 Ismael Ripoll <iripoll@disca.upv.es>
6113 Carlos O'Donell <carlos@redhat.com>
6116 * sysdeps/generic/stackguard-macros.h: Define
6117 __pointer_chk_guard_local and POINTER_CHK_GUARD.
6118 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6119 Define __pointer_chk_guard_local.
6120 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6121 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6123 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
6126 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6128 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
6130 * include/string.h (__ffs): Declare as hidden.
6131 * string/ffs.c (__ffs): Define as hidden.
6132 * sysdeps/i386/ffs.c (__ffs): Likewise.
6133 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6134 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6135 * sysdeps/s390/ffs.c (__ffs): Likewise.
6136 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6138 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
6140 * NEWS: Mention malloc probes.
6142 * malloc/arena.c (new_heap): New memory_heap_new probe.
6143 (grow_heap): New memory_heap_more probe.
6144 (shrink_heap): New memory_heap_less probe.
6145 (heap_trim): New memory_heap_free probe.
6146 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6147 (systrim): New memory_sbrk_less probe.
6148 * manual/probes.texi: Document them.
6150 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6151 * manual/probes.texi: Document it.
6153 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6154 (__libc_realloc): Add memory_realloc_retry probe.
6155 (__libc_memalign): Add memory_memalign_retry probe.
6156 (__libc_valloc): Add memory_valloc_retry probe.
6157 (__libc_pvalloc): Add memory_pvalloc_retry probe.
6158 (__libc_calloc): Add memory_calloc_retry probe.
6159 * manual/probes.texi: Document them.
6161 * malloc/arena.c (get_free_list): Add probe
6162 memory_arena_reuse_free_list.
6163 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6164 and memory_arena_reuse.
6165 (arena_get2) [!PER_THREAD]: Likewise.
6166 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6167 memory_arena_reuse_realloc.
6168 * manual/probes.texi: Document them.
6170 * malloc/malloc.c (__libc_free): Add
6171 memory_mallopt_free_dyn_thresholds probe.
6172 (__libc_mallopt): Add multiple memory_mallopt probes.
6173 * manual/probes.texi: Document them.
6175 * malloc/malloc.c: Include stap-probe.h.
6176 (__libc_mallopt): Add memory_mallopt probe.
6177 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6178 * manual/probes.texi: New.
6179 * manual/Makefile (chapters): Add probes.
6180 * manual/threads.texi: Set next node.
6182 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
6185 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6186 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6187 Add `Chinese' to `nan' entry name.
6189 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6191 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6192 (POLYNOMIAL): Likewise.
6193 (TAYLOR_SINCOS): Likewise.
6194 (TAYLOR_SLOW): Likewise.
6195 (__sin): Use TAYLOR_SINCOS.
6197 (slow): Use TAYLOR_SLOW.
6202 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6204 * stdlib/strtod_l.c: Fix buffer overrun.
6206 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6208 * benchtests/Makefile (bench): Add sincos.
6209 * benchtests/bench-sincos.c: New file.
6211 * math/libm-test.inc (cos_test_data): New test inputs.
6212 (sin_test_data): Likewise.
6214 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6222 (bsloww1): Likewise.
6223 (bsloww2): Likewise.
6225 (csloww1): Likewise.
6226 (csloww2): Likewise.
6228 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6233 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6237 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
6239 * config.h.in (HAVE_MIPS_NAN2008): New macro.
6240 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6241 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6242 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6243 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6244 * elf/cache.c (print_entry): Handle the new cache flags.
6246 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6247 Aldy Hernandez <aldyh@redhat.com>
6249 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6250 Change condition to [_SOFT_FLOAT].
6251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6263 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6266 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6269 2013-09-18 Joseph Myers <joseph@codesourcery.com>
6271 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6272 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6273 (__longjmp): Use LOAD_GP to load saved GPRs.
6274 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6275 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6276 (__sigsetjmp): Use SAVE_GP to save GPRs.
6278 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6279 Do not append -msoft-float.
6280 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6282 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6284 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6286 2013-09-17 Joseph Myers <joseph@codesourcery.com>
6289 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6290 (_FPU_GETCW): Use initial "__" on variable and field names but not
6291 on macro parameter name.
6292 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
6293 parentheses around reference to macro parameter.
6295 2013-09-13 Richard Sandiford <richard@codesourcery.com>
6297 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6299 (ctype_startup): Use uint32_t in cast and sizeof for
6302 2013-09-11 Jia Liu <proljc@gmail.com>
6304 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6306 [__FreeBSD__]: Likewise.
6308 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
6310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6311 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6312 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6313 (strchr): Remove __strchr_sse42 ifunc selection.
6314 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6315 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6317 2013-09-11 Will Newton <will.newton@linaro.org>
6319 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6320 parameter to RES. Remove hardcoded 1000 value.
6321 * benchtests/bench-skeleton.c (main): Pass RES parameter
6322 to TIMING_INIT and multiply result by 1000.
6324 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6328 2013-09-11 Andreas Schwab <schwab@suse.de>
6330 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6332 (O_TMPFILE) [__USE_GNU]: Define.
6333 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6336 2013-09-11 Will Newton <will.newton@linaro.org>
6339 * malloc/malloc.c (__libc_memalign): Check the value of bytes
6342 2013-09-11 Will Newton <will.newton@linaro.org>
6345 * malloc/malloc.c (__libc_valloc): Check the value of bytes
6348 2013-09-11 Will Newton <will.newton@linaro.org>
6351 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6354 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
6356 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6357 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6362 2013-09-10 Allan McRae <allan@archlinux.org>
6365 * manual/arith.texi (Parsing of Floats): Clarify
6369 * manual/install.texi (Running make install): Mention
6371 * INSTALL: Regenerated.
6373 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6375 * csu/init-first.c (_init): Remove the !SHARED condition around
6376 FPU control word initialization.
6377 * elf/dl-support.c (_dl_fpu_control): New variable.
6378 (_dl_aux_init) <AT_FPUCW>: Initialize it.
6379 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6380 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6381 * math/test-fpucw-static.c: New file.
6382 * math/test-fpucw-ieee.c: New file.
6383 * math/test-fpucw-ieee-static.c: New file.
6384 * math/Makefile (tests): Add `test-fpucw-ieee' and
6386 (tests-static): New variable.
6387 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6389 [($(build-shared),yes)]
6390 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6392 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6395 2013-09-09 Allan McRae <allan@archlinux.org>
6398 * manual/string.texi (Collation Functions): Fix typo in
6400 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6403 * stdlib/isomac.c (get_null_defines): Fix memory leak.
6406 * libio/memstream.c (open_memstream): Fix memory leak.
6407 * libio/wmemstream.c (open_wmemstream): Likewise.
6410 * nscd/netgroupcache.c: Fix nesting of ifdefs.
6412 2013-09-09 Will Newton <will.newton@linaro.org>
6414 * malloc/Makefile: Add tst-realloc to tests.
6415 * malloc/tst-realloc.c: New file.
6417 2013-09-09 Allan McRae <allan@archlinux.org>
6420 * COPYING: Update from GNU website to fix FSF address.
6421 * COPYING.LIB: Likewise.
6423 2013-09-06 David S. Miller <davem@davemloft.net>
6425 * po/zh_TW.po: Update Chinese (traditional) translation from
6426 translation project.
6428 2013-09-06 Richard Sandiford <richard@codesourcery.com>
6429 Joseph Myers <joseph@codesourcery.com>
6431 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6433 (obstack_chunk_alloc): New macro.
6434 (obstack_chunk_free): Likewise.
6435 (record_offset): New function.
6436 (init_locale_data): Likewise.
6437 (align_locale_data): Likewise.
6438 (add_locale_empty): Likewise.
6439 (add_locale_raw_data): Likewise.
6440 (add_locale_raw_obstack): Likewise.
6441 (add_locale_string): Likewise.
6442 (add_locale_wstring): Likewise.
6443 (add_locale_uint32): Likewise.
6444 (add_locale_uint32_array): Likewise.
6445 (add_locale_char): Likewise.
6446 (start_locale_structure): Likewise.
6447 (end_locale_structure): Likewise.
6448 (start_locale_prelude): Likewise.
6449 (end_locale_prelude): Likewise.
6450 (write_locale_data): Take locale_file structure rather than an
6452 * locale/programs/locfile.h: Include "obstack.h".
6453 (struct locale_file): Change to store locale file contents instead
6455 (init_locale_data): New prototype.
6456 (align_locale_data): Likewise.
6457 (add_locale_empty): Likewise.
6458 (add_locale_raw_data): Likewise.
6459 (add_locale_raw_obstack): Likewise.
6460 (add_locale_string): Likewise.
6461 (add_locale_wstring): Likewise.
6462 (add_locale_uint32): Likewise.
6463 (add_locale_uint32_array): Likewise.
6464 (add_locale_char): Likewise.
6465 (start_locale_structure): Likewise.
6466 (end_locale_structure): Likewise.
6467 (start_locale_prelude): Likewise.
6468 (end_locale_prelude): Likewise.
6469 (write_locale_data): Update prototype.
6470 * locale/programs/3level.h (struct TABLE): Remove result field.
6471 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6472 Use new locale_file interface.
6473 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6474 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6475 * locale/programs/ld-address.c (address_output): Use new
6476 locale_file interface.
6477 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6479 (collate_finish): Don't call collseq_table_finalize.
6480 (collate_output): Use new locale_file interface.
6481 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6483 (NO_FINALIZE): Change to NO_ADD_LOCALE.
6484 (TABLE): Move defines earlier in file.
6485 (ELEMENT): Likewise.
6486 (DEFAULT): Likewise.
6487 (wctrans_table_add): Move macro and inline function earlier in
6489 (struct wctype_table): Move type earlier in file.
6490 (add_locale_wctype_table): New static prototype.
6491 (struct locale_ctype_t): Use logical types instead of struct iovec
6492 pointers for members.
6493 (ctype_output): Use new locale_file interface.
6494 (wctype_table_finalize): Change to add_locale_wctype_table. Use
6495 new locale_file interface.
6496 (allocate_arrays): Update for use of new locale_file interface.
6497 * locale/programs/ld-identification.c (identification_output): Use
6498 new locale_file interface.
6499 * locale/programs/ld-measurement.c (measurement_output): Likewise.
6500 * locale/programs/ld-messages.c (messages_output): Likewise.
6501 * locale/programs/ld-monetary.c (monetary_output): Likewise.
6502 * locale/programs/ld-name.c (name_output): Likewise.
6503 * locale/programs/ld-numeric.c (numeric_output): Likewise.
6504 * locale/programs/ld-paper.c (paper_output): Likewise.
6505 * locale/programs/ld-telephone.c (telephone_output): Likewise.
6506 * locale/programs/ld-time.c (time_output): Likewise.
6508 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6510 * benchtests/Makefile: Add memrchr benchmark.
6511 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6512 benchmark as memrchr.
6513 * benchtests/bench-memrchr-ifunc.c: New file.
6514 * benchtests/bench-memrchr.c: New file.
6516 2013-09-06 Will Newton <will.newton@linaro.org>
6518 * benchtests/Makefile (string-bench): Add memcpy.
6520 2013-09-05 Carlos O'Donell <carlos@redhat.com>
6521 Cong Wang <amwang@redhat.com>
6524 * sysdeps/unix/sysv/linux/bits/in.h
6525 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6526 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6527 before __USE_KERNEL_IPV6_DEFS uses.
6528 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6530 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6531 sockaddr_in6, or ipv6_mreq.
6533 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6535 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6536 memory access for final bytes in some large inputs.
6537 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6539 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6541 * string/test-memrchr.c: New file.
6542 * string/test-memrchr-ifunc.c: New file.
6543 * string/Makefile: Add new memrchr testcase.
6545 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6547 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6548 fanotify_init returns EPERM.
6550 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6552 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6554 (top level): Treat second token from macro or constant entries for
6555 allowed headers as allowed.
6556 * include/complex.h: Condition internal declarations on
6558 * include/fenv.h: Condition include of <stdbool.h> and internal
6559 declarations on [!_ISOMAC].
6561 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6564 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6566 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6568 * configure.in (--enable-versioning): Remove configure option.
6569 (libc_cv_asm_symver_directive): Remove configure test.
6570 (libc_cv_ld_version_script_option): Likewise.
6571 (VERSIONING): Remove variable and AC_SUBST.
6572 (DO_VERSIONING): Remove AC_DEFINE.
6573 * configure: Regenerated.
6574 * config.h.in (DO_VERSIONING): Remove macro.
6575 * Makerules [$(versioning) = yes]: Change conditionals to
6576 [$(build-shared) = yes].
6577 * config.make.in (versioning): Remove variable.
6578 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6579 [$(build-shared) = yes].
6580 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6581 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6582 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6583 [$(build-shared) = yes].
6584 * extra-lib.mk [$(versioning) = yes]: Likewise.
6585 * hurd/Makefile [$(versioning) = yes]: Likewise.
6586 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6588 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6590 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6591 [SHARED && !NO_HIDDEN].
6592 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6594 [SHARED && DO_VERSIONING]: Likewise..
6595 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6596 [$(build-shared) = yes].
6597 * manual/install.texi (--disable-versioning): Remove
6599 * INSTALL: Regenerated.
6600 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6602 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6603 [$(build-shared) = yes].
6604 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6605 * sysdeps/i386/i686/multiarch/strstr-c.c
6606 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6607 [SHARED && !NO_HIDDEN].
6608 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6609 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6610 * sysdeps/powerpc/powerpc32/dl-machine.c
6611 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6612 * sysdeps/powerpc/powerpc32/sysdep.h
6613 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6614 to [SHARED && PIC && !NO_HIDDEN].
6615 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6616 conditional to [SHARED].
6618 2013-09-04 Will Newton <will.newton@linaro.org>
6620 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6621 * benchtests/bench-string.h: Include bench-timing.h instead
6622 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6623 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6624 call to HP_TIMING_DIFF_INIT.
6625 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6626 instead of hp-timing.h macros.
6627 * benchtests/bench-memchr.c: Likewise.
6628 * benchtests/bench-memcmp.c: Likewise.
6629 * benchtests/bench-memcpy.c: Likewise.
6630 * benchtests/bench-memmem.c: Likewise.
6631 * benchtests/bench-memmove.c: Likewise.
6632 * benchtests/bench-memset.c: Likewise.
6633 * benchtests/bench-rawmemchr.c: Likewise.
6634 * benchtests/bench-strcasecmp.c: Likewise.
6635 * benchtests/bench-strcasestr.c: Likewise.
6636 * benchtests/bench-strcat.c: Likewise.
6637 * benchtests/bench-strchr.c: Likewise.
6638 * benchtests/bench-strcmp.c: Likewise.
6639 * benchtests/bench-strcpy.c: Likewise.
6640 * benchtests/bench-strcpy_chk.c: Likewise.
6641 * benchtests/bench-strlen.c: Likewise.
6642 * benchtests/bench-strncasecmp.c: Likewise.
6643 * benchtests/bench-strncat.c: Likewise.
6644 * benchtests/bench-strncmp.c: Likewise.
6645 * benchtests/bench-strncpy.c: Likewise.
6646 * benchtests/bench-strnlen.c: Likewise.
6647 * benchtests/bench-strpbrk.c: Likewise.
6648 * benchtests/bench-strrchr.c: Likewise.
6649 * benchtests/bench-strspn.c: Likewise.
6650 * benchtests/bench-strstr.c: Likewise.
6652 2013-09-04 Will Newton <will.newton@linaro.org>
6654 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6656 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6659 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6660 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6661 * math/libm-test.inc (lgamma_test_data): Add more tests.
6662 * sysdeps/i386/fpu/libm-test-ulps: Update.
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6665 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6667 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6671 Add strcmp-sse2-unaligned
6672 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6674 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6676 * Versions.def (libc): Add GLIBC_2.19.
6678 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6680 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6681 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6683 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6686 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6687 intermediate calculations in recurrence.
6688 (__ieee754_ynf): Likewise.
6689 * math/libm-test.inc (jn_test_data): Do not allow spurious
6690 underflow exception. Add more tests.
6691 (yn_test_data): Add more tests.
6692 * sysdeps/i386/fpu/libm-test-ulps: Update.
6693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6695 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6697 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6699 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6701 * csu/init-first.c: Fix then/than typos.
6702 * locale/programs/ld-collate.c: Likewise.
6703 * locale/programs/linereader.h: Likewise.
6704 * manual/charset.texi: Likewise.
6705 * manual/filesys.texi: Likewise.
6706 * manual/stdio.texi: Likewise.
6707 * manual/string.texi: Likewise.
6708 * stdlib/fmtmsg.c: Likewise.
6709 * sysdeps/i386/stpncpy.S: Likewise.
6710 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6711 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6713 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6715 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6717 * elf/dl-open.c: Fix typos.
6718 * iconvdata/gbbig5.c: Likewise.
6719 * iconvdata/iso-2022-jp.c: Likewise.
6720 * iconv/gconv_int.h: Likewise.
6721 * iconv/loop.c: Likewise.
6722 * nis/rpcsvc/nis.h: Likewise.
6723 * resolv/ns_name.c: Likewise.
6724 * stdio-common/vfscanf.c: Likewise.
6725 * streams/stropts.h: Likewise.
6726 * sunrpc/rpc_thread.c: Likewise.
6727 * sysdeps/i386/strpbrk.S: Likewise.
6728 * sysdeps/ieee754/k_standard.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6731 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6732 * sysdeps/mach/hurd/profil.c: Likewise.
6733 * sysdeps/s390/dl-procinfo.h: Likewise.
6734 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6735 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6736 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6737 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6740 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6742 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6743 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6745 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6747 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6750 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6752 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6753 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6754 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6755 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6756 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6758 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6759 Roland McGrath <roland@hack.frob.com>
6761 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6762 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6764 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6766 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6767 __executable_start symbol instead of _start.
6769 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6771 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6772 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6774 * sysdeps/gnu/ldsodefs.h: ... this new file.
6776 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6777 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6778 instead of ELFOSABI_LINUX.
6780 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6781 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6782 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6783 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6785 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6786 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6789 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6790 (ibm_extended_long_double): Add ieee_nan member.
6791 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6792 (do_test): New function.
6794 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6796 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6797 functions, renamed from truncdfsf_test, trunctfsf_test,
6799 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6801 (do_test): Run all these.
6803 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6805 * argp/argp-help.c: Fix typos.
6806 * argp/argp-parse.c: Likewise.
6807 * debug/backtracesyms.c: Likewise.
6808 * elf/elf.h: Likewise.
6809 * malloc/malloc.c: Likewise.
6810 * nis/nis_print.c: Likewise.
6811 * resolv/res_comp.c: Likewise.
6812 * stdlib/stdlib.h: Likewise.
6813 * sunrpc/clnt_tcp.c: Likewise.
6814 * sunrpc/clnt_udp.c: Likewise.
6815 * sunrpc/clnt_unix.c: Likewise.
6816 * sysdeps/unix/bsd/ptsname.c: Likewise.
6817 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6825 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6827 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6829 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6832 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6835 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6836 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6837 ($(objpfx)bug-dl-leaf): New rule.
6838 ($(objpfx)bug-dl-leaf.so): Likewise.
6839 ($(objpfx)bug-dl-leaf.out): Likewise.
6840 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6841 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6842 * dlfcn/bug-dl-leaf.c: New test.
6843 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6844 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6845 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6846 (dlclose): Likewise.
6847 (dlmopen): Likewise.
6849 2013-08-27 Roland McGrath <roland@hack.frob.com>
6851 * include/netdb.h [!_ISOMAC]:
6852 Don't include <tls.h>.
6853 (h_errno, __libc_h_errno): Move declaration and macros out of
6856 * include/resolv.h [_RESOLV_H_]:
6857 Don't include <tls.h>.
6858 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6859 * resolv/res_libc.c: Don't include <tls.h>.
6860 (_res): Use __attribute__ ((nocommon)) in place of
6861 __attribute__ ((section (".bss"))).
6863 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6864 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6866 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6868 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6869 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6871 * resolv/res_mkquery.c: Include <sys/time.h>.
6873 * inet/ifreq.c: Moved to ...
6874 * sysdeps/unix/ifreq.c: ... here.
6875 * inet/ifreq.c: New file, true stub version.
6877 * socket/sa_len.c: New file.
6878 * socket/Makefile (aux): Add it.
6879 * sysdeps/unix/sysv/linux/Makefile
6880 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6881 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6882 and #include <socket/sa_len.c>.
6883 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6884 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6886 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6887 * bits/socket.h: ... here.
6889 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6890 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6891 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6893 2013-08-27 Andreas Schwab <schwab@suse.de>
6896 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6897 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6898 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6899 * string/test-strcasecmp.c (test_main): Run tests in several
6901 * string/test-strncasecmp.c (test_main): Likewise.
6903 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6904 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6905 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6907 (__strncasecmp_ssse3) [PIC]: Likewise.
6909 2013-08-26 Roland McGrath <roland@hack.frob.com>
6911 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6913 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6914 instead of explicitly declaring xdecrypt.
6915 * nis/nss_nis/nis-publickey.c: Likewise.
6917 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6920 * nscd/aicache.c: Include res_hconf.h.
6921 (addhstaiX): Initialize res_hconf.
6923 2013-08-26 Andreas Schwab <schwab@suse.de>
6925 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6926 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6928 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6930 * nscd/aicache.c (addhstaiX): Fix indentation.
6932 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6934 * configure.ac: Quote $build_pt_chown test.
6935 * configure: Regenerated.
6937 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6940 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6941 * math/s_cexpf.c (__cexpf): Likewise.
6942 * math/s_cexpl.c (__cexpl): Likewise.
6943 * math/libm-test.inc (cexp_test_data): Correct expected return
6944 value for NaN + i0. Add another test.
6946 2013-08-22 David S. Miller <davem@davemloft.net>
6948 * po/ca.po: Update Catalan translation from translation project.
6949 * po/uk.po: Add Ukrainian translations from translation project.
6951 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6954 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6955 is infinite, not alongside NaN test.
6956 * math/s_fdimf.c (__fdimf): Likewise.
6957 * math/s_fdiml.c (__fdiml): Likewise.
6958 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6961 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6963 * argp/argp-help.c: Fix typos.
6964 * crypt/speeds.c: Likewise.
6965 * csu/check_fds.c: Likewise.
6966 * elf/dl-load.c: Likewise.
6967 * elf/dl-open.c: Likewise.
6968 * elf/reldep3.c: Likewise.
6969 * elf/reldep.c: Likewise.
6970 * elf/sprof.c: Likewise.
6971 * iconv/iconv_charmap.c: Likewise.
6972 * iconv/skeleton.c: Likewise.
6973 * iconv/strtab.c: Likewise.
6974 * io/lockf64.c: Likewise.
6975 * libio/libioP.h: Likewise.
6976 * resolv/gai_notify.c: Likewise.
6977 * resolv/ns_name.c: Likewise.
6978 * resolv/ns_samedomain.c: Likewise.
6979 * resolv/res_send.c: Likewise.
6980 * stdlib/random.c: Likewise.
6981 * sunrpc/rpc/xdr.h: Likewise.
6982 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6983 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6986 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6989 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6990 * sysdeps/mach/hurd/check_fds.c: Likewise.
6991 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6992 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6993 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6994 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6995 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6996 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6997 * sysdeps/pthread/aio_notify.c: Likewise.
6998 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6999 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
7000 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
7001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7002 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7004 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7006 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
7007 version if bit_Slow_SSE4_2 is set.
7008 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7009 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7011 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7014 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7015 trampoline stack frame information.
7016 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7017 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7018 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7019 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7020 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7021 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7022 (_libc_vdso_platform_setup): Initialize the signal trampolines.
7023 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7025 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7026 interrupting a syscall and set with option SA_SIGINFO.
7028 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7031 * math/s_cproj.c (__cproj): Only return an infinity if one part of
7032 argument is infinite.
7033 * math/s_cprojf.c (__cprojf): Likewise.
7034 * math/s_cprojl.c (__cprojl): Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7036 * math/libm-test.inc (cproj_test_data): Add more tests.
7038 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7040 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7041 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7042 size. Use __ffs to determine corresponding shift.
7044 2013-08-20 Joseph Myers <joseph@codesourcery.com>
7045 Roland McGrath <roland@hack.frob.com>
7047 * Makefile (INSTALL): Remove trailing blank lines from output of
7050 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7052 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7053 Align 32 bit compat elf_greg to 8 bytes.
7055 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
7057 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7059 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7061 * string/strcoll_l.c (coll_seq): New structure.
7062 (get_next_seq_cached): New function.
7063 (get_next_seq): New function.
7064 (do_compare): New function.
7065 (STRCOLL): Use GNU style definition. Simplify implementation
7066 by using get_next_seq, get_next_seq_cached and do_compare.
7068 2013-08-16 Florian Weimer <fweimer@redhat.com>
7072 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7074 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7076 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7077 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7078 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
7080 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7081 GETDENTS_64BIT_ALIGNED.
7082 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7083 * manual/filesys.texi (Reading/Closing Directory): Document
7084 ENAMETOOLONG return value of readdir_r. Recommend readdir more
7086 * manual/conf.texi (Limits for Files): Add portability note to
7088 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7090 2013-08-13 Andreas Schwab <schwab@suse.de>
7093 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7095 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7096 LDBL_MAX_EXP >= 16384]: Add tests for it.
7098 2013-08-12 David S. Miller <davem@davemloft.net>
7100 * version.h (RELEASE): Set to "development".
7101 (VERSION): Set to "2.18.90".
7102 * NEWS: Add 2.19 section.
7104 2013-08-03 David S. Miller <davem@davemloft.net>
7106 * po/ko.po: Update Korean translation from translation project.
7108 2013-08-01 David S. Miller <davem@davemloft.net>
7110 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
7111 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7114 2013-07-30 David S. Miller <davem@davemloft.net>
7116 * po/fr.po: Update French translation from translation project.
7118 2013-07-28 David S. Miller <davem@davemloft.net>
7120 * po/cs.po: Update Czech translation from translation project.
7122 * po/sv.po: Update Swedish translation from translation project.
7124 2013-07-27 David S. Miller <davem@davemloft.net>
7126 * po/eo.po: Update Esperanto translation from translation project.
7128 * po/vi.po: Update Vietnamese translation from translation project.
7130 * po/de.po: Update German translation from translation project.
7132 2013-07-26 David S. Miller <davem@davemloft.net>
7134 * po/bg.po: Update Bulgarian translation from translation project.
7136 * po/nl.po: Update Dutch translation from translation project.
7137 * po/pl.po: Update Polish translation from translation project.
7138 * po/ru.po: Update Russian translation from translation project.
7140 2013-07-24 David S. Miller <davem@davemloft.net>
7142 * po/libc.pot: Update.
7144 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7146 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7148 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7149 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7150 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7152 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7154 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7156 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7157 Andreas Schwab <schwab@suse.de>
7158 Roland McGrath <roland@hack.frob.com>
7159 Joseph Myers <joseph@codesourcery.com>
7160 Carlos O'Donell <carlos@redhat.com>
7163 * config.h.in: Define HAVE_PT_CHOWN.
7164 * config.make.in (build-pt-chown): New variable.
7165 * configure.in (--enable-pt_chown): New configure option.
7166 * configure: Regenerate.
7167 * login/Makefile: Include Makeconfig. Build pt_chown only if
7168 build-pt-chown is enabled.
7169 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7170 pt_chown to fix pty ownership.
7171 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7173 * manual/install.texi (Configuring and compiling): Mention
7174 --enable-pt_chown. Add @findex for grantpt.
7175 * INSTALL: Regenerate.
7177 2013-07-20 David S. Miller <davem@davemloft.net>
7179 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7180 difference between 32-bit and 64-bit.
7182 2013-07-15 Carlos O'Donell <carlos@redhat.com>
7185 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7186 Avoid system header dependency with -ffreestanding.
7187 ($(objpfx)bits/syscall%d): Likewise.
7189 2013-07-13 David S. Miller <davem@davemloft.net>
7191 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7192 underflows from atanl/atan2l due to bug 15319.
7193 (casinh_test_data): Likewise.
7195 2013-07-07 David S. Miller <davem@davemloft.net>
7197 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7199 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
7201 * sysdeps/i386/fpu/libm-test-ulps: Update.
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7204 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7206 * configure.in (--enable-lock-elision): Fix message text.
7207 * INSTALL: Regenerate.
7208 * configure: Regenerate.
7210 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7214 2013-07-03 Andreas Jaeger <aj@suse.de>
7216 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7218 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7219 (ptrace_peeksiginfo_args): Add.
7220 (__ptrace_peeksiginfo_flags): Add.
7221 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7222 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7223 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7225 2013-07-03 Allan McRae <allan@archlinux.org>
7227 * sysdeps/i386/fpu/libm-test-ulps: Update.
7229 2013-07-02 David S. Miller <davem@davemloft.net>
7231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7233 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
7235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7237 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7239 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242 2013-07-02 Andi Kleen <ak@linux.intel.com>
7244 * config.h.in (ENABLE_LOCK_ELISION): Add.
7245 * configure.in (--enable-lock-elision): Add option.
7246 * manual/install.texi: Document --enable lock elision.
7247 * configure: Regenerate
7248 * INSTALL: Regenerate.
7250 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
7252 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7253 SSE4.2 strcasecmp for libc.a.
7254 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7256 2013-07-02 Joseph Myers <joseph@codesourcery.com>
7259 * soft-fp/op-common.h (_FP_FMA): New macro.
7260 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7261 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
7262 (_FP_MUL_MEAT_1_imm): ... here.
7263 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
7264 (_FP_MUL_MEAT_1_wide): ... here.
7265 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
7266 (_FP_MUL_MEAT_1_hard): ... here.
7267 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7268 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
7269 (_FP_MUL_MEAT_2_wide): ... here.
7270 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
7271 (_FP_MUL_MEAT_2_wide_3mul): ... here.
7272 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
7273 (_FP_MUL_MEAT_2_gmp): ... here.
7274 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7275 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
7276 (_FP_MUL_MEAT_4_wide): ... here.
7277 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
7278 (_FP_MUL_MEAT_4_gmp): ... here.
7279 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7280 (_FP_WFRACBITS_DW_S): Likewise.
7281 (_FP_WFRACXBITS_DW_S): Likewise.
7282 (_FP_HIGHBIT_DW_S): Likewise.
7283 (FP_FMA_S): Likewise.
7284 (_FP_FRAC_HIGH_DW_S): Likewise.
7285 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7286 (_FP_WFRACBITS_DW_D): Likewise.
7287 (_FP_WFRACXBITS_DW_D): Likewise.
7288 (_FP_HIGHBIT_DW_D): Likewise.
7289 (FP_FMA_D): Likewise.
7290 (_FP_FRAC_HIGH_DW_D): Likewise.
7291 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7292 (_FP_WFRACBITS_DW_E): Likewise.
7293 (_FP_WFRACXBITS_DW_E): Likewise.
7294 (_FP_HIGHBIT_DW_E): Likewise.
7295 (FP_FMA_E): Likewise.
7296 (_FP_FRAC_HIGH_DW_E): Likewise.
7297 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7298 (_FP_WFRACBITS_DW_Q): Likewise.
7299 (_FP_WFRACXBITS_DW_Q): Likewise.
7300 (_FP_HIGHBIT_DW_Q): Likewise.
7301 (FP_FMA_Q): Likewise.
7302 (_FP_FRAC_HIGH_DW_Q): Likewise.
7303 * soft-fp/fmasf4.c: New file.
7304 * soft-fp/fmadf4.c: Likewise.
7305 * soft-fp/fmatf4.c: Likewise.
7307 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7310 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7312 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7314 (index_Slow_SSE4_2): Likewise.
7315 (index_Prefer_PMINUB_for_stringop): Likewise.
7316 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7317 bit_Slow_SSE4_2 is set.
7318 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7321 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7323 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7324 rtld_global._dl_hwcap2.
7325 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7327 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7328 POWER8 feature descriptions defined in _dl_hwcap2.
7329 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7330 string handling for POWER8 feature bits.
7331 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7332 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7333 _dl_powerpc_cap_flags.
7334 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7335 * sysdeps/powerpc/rtld-global-offsets.sym
7336 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7337 _dl_hwcap2 in the rtld_global_ro structure.
7339 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7341 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7342 hardware capabilities in support of AT_HWCAP2.
7343 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7344 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7346 (_dl_show_auxv): Add support for calling _dl_procinfo to display
7347 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
7348 explicitly the unknown a_type display mechanism is used.
7349 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7350 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7352 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7353 to macro prototype for AT_HWCAP2 support.
7354 * sysdeps/i386/dl-procinfo.h: Likewise.
7355 * sysdeps/s390/dl-procinfo.h: Likewise.
7356 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7357 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
7358 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
7359 return -1 for unknown a_type display fallback.
7360 * sysdeps/sparc/dl-procinfo.h: Likewise.
7361 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7362 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7364 2013-06-28 Joseph Myers <joseph@codesourcery.com>
7366 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7367 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7369 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
7372 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7373 mprotect making __stack_prot writable.
7375 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
7376 Joseph Myers <joseph@codesourcery.com>
7378 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7379 as being properly aligned.
7381 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
7383 * dlfcn/modstatic5.c: New file.
7384 * dlfcn/tststatic5.c: New file.
7385 * dlfcn/Makefile (tests): Add tststatic5.
7386 (tests-static): Likewise.
7387 (modules-names): Add modstatic5.
7388 (tststatic5-ENV): New variable.
7389 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7392 * elf/dl-support.c (_dl_main_map): New variable.
7393 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7394 (_dl_nns, _dl_load_adds): Set to 1.
7395 (_dl_initial_searchlist): Refer to _dl_main_map.
7396 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7397 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7398 call to _dl_get_origin.
7399 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7401 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7402 * dlfcn/modstatic3.c: New file.
7403 * dlfcn/tststatic3.c: New file.
7404 * dlfcn/tststatic4.c: New file.
7405 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7406 (tests-static): Likewise.
7407 (modules-names): Add modstatic3.
7408 (tststatic3-ENV, tststatic4-ENV): New variables.
7409 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7410 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7412 2013-06-26 Joseph Myers <joseph@codesourcery.com>
7414 * configure.in (CC): Require GCC version 4.4 or later.
7415 * configure: Regenerated.
7416 * manual/install.texi (Tools for Compilation): Update GCC version
7418 * INSTALL: Regenerated.
7420 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7423 * string/test-memcmp.c (check2): New.
7424 (main): Call check2.
7426 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7428 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
7431 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7433 (dl_open_worker) [!SHARED]: ... here.
7435 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7437 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7439 2013-06-25 Richard Henderson <rth@redhat.com>
7441 * locale/programs/locarchive.c: Include <libc-internal.h>
7443 2013-06-25 Joseph Myers <joseph@codesourcery.com>
7445 * manual/texinfo.tex: Update to version 2013-06-21.17, with
7446 trailing whitespace removed.
7448 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7451 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7452 * locale/programs/locarchive.c: Include libc-mmap.h.
7453 (prepare_address_space): Take two new outputs (the mmap base and len).
7454 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
7456 (create_archive): Declare new mmap base and len values for
7457 prepare_address_space, and store the result in ah.
7458 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7459 (enlarge_archive): If ah->mmap_base is not NULL, use that and
7460 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7461 Declare new mmap base and len values for
7462 prepare_address_space, and store the result in new_ah.
7463 (open_archive): Declare new mmap base and len values for
7464 prepare_address_space, and store the result in ah.
7465 (close_archive): If ah->mmap_base is not NULL, use that and
7466 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7467 * sysdeps/generic/libc-mmap.h: New file.
7469 2013-06-24 Mike Frysinger <vapier@gentoo.org>
7471 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7472 (ALIGN_UP): Likewise.
7473 (PTR_ALIGN_DOWN): Likewise.
7474 (PTR_ALIGN_UP): Likewise.
7476 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7478 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7479 entry mapped to PPC_PLATFORM_POWER8.
7480 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7482 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7483 (_dl_string_platform): Add case for exporting platform position for
7485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7486 search path to sysdeps/powerpc/powerpc32/power8 directory.
7487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7488 search path to sysdeps/powerpc/powerpc64/power8 directory.
7489 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7491 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7494 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7496 * INSTALL: Regenerate.
7498 * nscd/connections.c (nscd_init): Fix comment.
7500 2013-06-22 Joseph Myers <joseph@codesourcery.com>
7502 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7505 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7506 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7508 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7510 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7512 (DL_DST_REQ_STATIC): Remove macro.
7514 2013-06-21 Joseph Myers <joseph@codesourcery.com>
7517 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7518 with a shift of 0 bits.
7520 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
7522 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7525 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7528 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7530 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7532 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7533 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7534 accepts -fno-tree-loop-distribute-patterns.
7535 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7536 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7538 * string/memset.c (memset): Likewise.
7539 * string/test-memmove.c (simple_memmove): Disable loop transformation
7541 * string/test-memset.c (simple_memset): Likewise.
7542 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7543 * benchtests/bench-memset.c (simple_memset): Likewise.
7544 * configure: Regenerated.
7546 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7548 * math/test-misc.c (main): Ignore fesetround failure when failures
7549 of subsequent rounding tests would be ignored.
7552 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7553 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7554 * math/fegetenv.c (__fegetenv): Return 0.
7555 * math/fegetexcept.c (fegetexcept): Return 0.
7556 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7558 * math/feholdexcpt.c (feholdexcept): Return 0.
7559 * math/fesetenv.c (__fesetenv): Return 0.
7560 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7561 argument FE_TONEAREST.
7562 * math/feupdateenv.c (__feupdateenv): Return 0.
7563 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7565 2013-06-18 Roland McGrath <roland@hack.frob.com>
7567 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7568 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7569 ($(objpfx)rtld-%.os rules): Use them.
7571 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7573 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7576 2013-06-17 Roland McGrath <roland@hack.frob.com>
7578 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7579 length of target pattern, then descending length of dependency pattern.
7580 * configure.in (AWK): Require gawk 3.1.2 or newer.
7581 * manual/install.texi (Tools for Compilation): Say that we do.
7582 * configure: Regenerated.
7584 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7585 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7586 * scripts/sysd-rules.awk: ... this new script.
7587 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7588 than a glob-style pattern.
7590 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7592 * math/test-misc.c (main): Do not treat incorrectly rounded
7593 conversions as failure unless ROUNDING_TESTS passes.
7595 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7598 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7599 restore exception state around main square root computation, then
7600 check for inexactness explicitly.
7602 * math/libm-test.inc (fma_test_data): Add another test.
7604 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7606 * manual/threads.texi (Non-POSIX Extensions): New document
7607 node. Document pthread_getattr_default_np and
7608 pthread_setattr_default_np.
7610 * Versions.def (libpthread): Add GLIBC_2.18.
7611 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7618 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7620 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7631 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7634 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7636 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7637 H.J. Lu <hjl.tools@gmail.com>
7640 * sysdeps/x86_64/rtld-memset.c: Remove file.
7641 * sysdeps/x86_64/rtld-memset.S: New file.
7643 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7645 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7646 (test_in_one_mode): Take arguments for whether the rounding mode
7647 is supported for each floating-point type.
7648 (do_test): Pass new arguments to test_in_one_mode using
7651 2013-06-13 Roland McGrath <roland@hack.frob.com>
7653 * posix/tst-waitid.c (do_test): Distinguish different instances of
7654 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7655 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7656 before entering the kernel for waitpid.
7658 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7660 * NEWS: Fix note on clock function precision. Text by Roland
7663 2013-06-13 Roland McGrath <roland@hack.frob.com>
7665 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7666 it into place only when and if the sanity check passes.
7668 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7670 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7671 output for whether conversion result is exact. Take argument
7672 indicating whether type is IBM long double.
7673 (round_for_all): Change need_exact field to ibm_ld.
7674 * stdlib/tst-strtod-round.c (struct exactness): New type.
7675 (struct test): Change bool ld_ok field to struct exactness exact.
7676 (TEST): Update all definitions for change to field.
7677 (tests): Regenerate array contents.
7678 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7679 field value. Check for IBM long double here.
7680 (do_test): Update calls to test_in_one_mode.
7682 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7685 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7686 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7688 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7691 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7692 generated by the compiler on loop optimizations.
7693 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7694 general definitions.
7696 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7698 * math/bug-nextafter.c: Include <math-tests.h>.
7699 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7701 * math/bug-nexttoward.c: Include <math-tests.h>.
7702 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7704 * math/test-misc.c: Include <math-tests.h>.
7705 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7708 2013-06-12 Andreas Jaeger <aj@suse.de>
7710 * po/ia.po: Update Interlingua translation from translation
7713 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7715 * include/fenv.h: Include stdbool.h.
7716 (struct rm_ctx): New structure.
7717 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7719 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7720 (SET_RESTORE_ROUNDF): Likewise.
7721 (SET_RESTORE_ROUNDL): Likewise.
7722 (SET_RESTORE_ROUND_NOEX): Likewise.
7723 (SET_RESTORE_ROUND_NOEXF): Likewise.
7724 (SET_RESTORE_ROUND_NOEXL): Likewise.
7725 (SET_RESTORE_ROUND_53BIT): Likewise.
7726 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7727 (libc_feresetround_noexf_ctx): Likewise.
7728 (libc_feresetround_noexl_ctx): Likewise.
7729 (libc_feholdsetround_53bit_ctx): Likewise.
7730 (libc_feresetround_53bit_ctx): Likewise.
7731 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7732 (libc_feholdexcept_setround_sse_ctx): New function.
7733 (libc_fesetenv_sse_ctx): Likewise.
7734 (libc_feupdateenv_sse_ctx): Likewise.
7735 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7736 (libc_feholdexcept_setround_387_ctx): Likewise.
7737 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7738 (libc_feholdsetround_387_prec_ctx): Likewise.
7739 (libc_feholdsetround_387_ctx): Likewise.
7740 (libc_feholdsetround_387_53bit_ctx): Likewise.
7741 (libc_feholdsetround_sse_ctx): Likewise.
7742 (libc_feresetround_sse_ctx): Likewise.
7743 (libc_feresetround_387_ctx): Likewise.
7744 (libc_feupdateenv_387_ctx): Likewise.
7745 (libc_feholdexcept_setroundf_ctx): Define macro.
7746 (libc_fesetenvf_ctx): Likewise.
7747 (libc_feupdateenvf_ctx): Likewise.
7748 (libc_feholdsetroundf_ctx): Likewise.
7749 (libc_feresetroundf_ctx): Likewise.
7750 (libc_feholdexcept_setround_ctx): Likewise.
7751 (libc_fesetenv_ctx): Likewise.
7752 (libc_feupdateenv_ctx): Likewise.
7753 (libc_feholdsetround_ctx): Likewise.
7754 (libc_feresetround_ctx): Likewise.
7755 (libc_feholdexcept_setroundl_ctx): Likewise.
7756 (libc_feupdateenvl_ctx): Likewise.
7757 (libc_feholdsetroundl_ctx): Likewise.
7758 (libc_feresetroundl_ctx): Likewise.
7759 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7760 (libc_feresetround_53bit_ctx): Likewise.
7762 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7764 * locale/iso-639.def: Convert to UTF-8.
7766 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7768 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7769 (EXCEPTION_TESTS_double): Likewise.
7770 (EXCEPTION_TESTS_long_double): Likewise.
7771 (EXCEPTION_TESTS): Likewise.
7772 * math/libm-test.inc (test_exceptions): Only test exceptions if
7773 EXCEPTION_TESTS (FLOAT).
7775 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7777 * benchtests/Makefile (string-bench): Add strcpy_chk and
7779 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7780 * benchtests/bench-stpcpy_chk.c: New file.
7781 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7782 * benchtests/bench-strcpy_chk.c: New file.
7783 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7785 (do_test): Likewise.
7787 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7789 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7790 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7791 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7792 with tabs where appropriate.
7793 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7795 [PPC_PLATFORM_PPC440]: Likewise.
7796 [PPC_PLATFORM_PPC464]: Likewise.
7797 [PPC_PLATFORM_PPC476]: Likewise.
7798 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7799 ppc464, and ppc476 platform strings merging from ports/
7802 2013-06-11 Andreas Schwab <schwab@suse.de>
7805 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7806 (from_ucs4_idx): Regenerate.
7807 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7808 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7809 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7810 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7811 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7812 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7813 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7814 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7815 from FROM_LOOP and TO_LOOP specific macros.
7816 (BODY): Handle combining characters.
7817 * iconvdata/BIG5HKSCS.irreversible: Update.
7818 * iconvdata/BIG5HKSCS.precomposed: New file.
7819 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7821 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7823 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7825 * include/sys/time.h: Fix indentation and add copyright header.
7827 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7828 (do_test): Likewise.
7829 * string/test-memchr.c (do_one_test): Likewise.
7830 (do_test): Likewise.
7831 * string/test-memcmp.c (do_one_test): Likewise.
7832 (do_test): Likewise.
7833 * string/test-memcpy.c (do_one_test): Likewise.
7834 (do_test): Likewise.
7835 * string/test-memmem.c (do_one_test): Likewise.
7836 (do_test): Likewise.
7837 (do_random_tests): Likewise.
7838 * string/test-memmove.c (do_one_test): Likewise.
7839 (do_test): Likewise.
7840 * string/test-memset.c (do_one_test): Likewise.
7841 (do_test): Likewise.
7842 * string/test-rawmemchr.c (do_one_test): Likewise.
7843 (do_test): Likewise.
7844 * string/test-strcasecmp.c (do_one_test): Likewise.
7845 (do_test): Likewise.
7846 * string/test-strcasestr.c (do_one_test): Likewise.
7847 (do_test): Likewise.
7848 * string/test-strcat.c (do_one_test): Likewise.
7849 (do_test): Likewise.
7850 * string/test-strchr.c (do_one_test): Likewise.
7851 (do_test): Likewise.
7852 * string/test-strcmp.c (do_one_test): Likewise.
7853 (do_test): Likewise.
7854 * string/test-strcpy.c (do_one_test): Likewise.
7855 (do_test): Likewise.
7856 * string/test-string.h: Likewise.
7857 (test_init): Likewise.
7858 * string/test-strlen.c (do_one_test): Likewise.
7859 (do_test): Likewise.
7860 * string/test-strncasecmp.c (do_one_test): Likewise.
7861 (do_test): Likewise.
7862 * string/test-strncat.c (do_one_test): Likewise.
7863 (do_test): Likewise.
7864 * string/test-strncmp.c (do_one_test): Likewise.
7865 (do_test_limit): Likewise.
7866 (do_test): Likewise.
7867 * string/test-strncpy.c (do_one_test): Likewise.
7868 (do_test): Likewise.
7869 * string/test-strnlen.c (do_one_test): Likewise.
7870 (do_test): Likewise.
7871 * string/test-strpbrk.c (do_one_test): Likewise.
7872 (do_test): Likewise.
7873 * string/test-strrchr.c (do_one_test): Likewise.
7874 (do_test): Likewise.
7875 * string/test-strspn.c (do_one_test): Likewise.
7876 (do_test): Likewise.
7877 * string/test-strstr.c (do_one_test): Likewise.
7878 (do_test): Likewise.
7880 * benchtests/Makefile (string-bench): Add string benchmarks.
7881 * benchtests/bench-bcopy-ifunc.c: New file.
7882 * benchtests/bench-bcopy.c: New file.
7883 * benchtests/bench-bzero-ifunc.c: New file.
7884 * benchtests/bench-bzero.c: New file.
7885 * benchtests/bench-memccpy-ifunc.c: New file.
7886 * benchtests/bench-memccpy.c: New file.
7887 * benchtests/bench-memchr-ifunc.c: New file.
7888 * benchtests/bench-memchr.c: New file.
7889 * benchtests/bench-memcmp-ifunc.c: New file.
7890 * benchtests/bench-memcmp.c: New file.
7891 * benchtests/bench-memmem-ifunc.c: New file.
7892 * benchtests/bench-memmem.c: New file.
7893 * benchtests/bench-memmove-ifunc.c: New file.
7894 * benchtests/bench-memmove.c: New file.
7895 * benchtests/bench-mempcpy-ifunc.c: New file.
7896 * benchtests/bench-mempcpy.c: New file.
7897 * benchtests/bench-memset-ifunc.c: New file.
7898 * benchtests/bench-memset.c: New file.
7899 * benchtests/bench-rawmemchr-ifunc.c: New file.
7900 * benchtests/bench-rawmemchr.c: New file.
7901 * benchtests/bench-stpcpy-ifunc.c: New file.
7902 * benchtests/bench-stpcpy.c: New file.
7903 * benchtests/bench-stpncpy-ifunc.c: New file.
7904 * benchtests/bench-stpncpy.c: New file.
7905 * benchtests/bench-strcasecmp-ifunc.c: New file.
7906 * benchtests/bench-strcasecmp.c: New file.
7907 * benchtests/bench-strcasestr-ifunc.c: New file.
7908 * benchtests/bench-strcasestr.c: New file.
7909 * benchtests/bench-strcat-ifunc.c: New file.
7910 * benchtests/bench-strcat.c: New file.
7911 * benchtests/bench-strchr-ifunc.c: New file.
7912 * benchtests/bench-strchr.c: New file.
7913 * benchtests/bench-strchrnul-ifunc.c: New file.
7914 * benchtests/bench-strchrnul.c: New file.
7915 * benchtests/bench-strcmp-ifunc.c: New file.
7916 * benchtests/bench-strcmp.c: New file.
7917 * benchtests/bench-strcpy-ifunc.c: New file.
7918 * benchtests/bench-strcpy.c: New file.
7919 * benchtests/bench-strcspn-ifunc.c: New file.
7920 * benchtests/bench-strcspn.c: New file.
7921 * benchtests/bench-strlen-ifunc.c: New file.
7922 * benchtests/bench-strlen.c: New file.
7923 * benchtests/bench-strncasecmp-ifunc.c: New file.
7924 * benchtests/bench-strncasecmp.c: New file.
7925 * benchtests/bench-strncat-ifunc.c: New file.
7926 * benchtests/bench-strncat.c: New file.
7927 * benchtests/bench-strncmp-ifunc.c: New file.
7928 * benchtests/bench-strncmp.c: New file.
7929 * benchtests/bench-strncpy-ifunc.c: New file.
7930 * benchtests/bench-strncpy.c: New file.
7931 * benchtests/bench-strnlen-ifunc.c: New file.
7932 * benchtests/bench-strnlen.c: New file.
7933 * benchtests/bench-strpbrk-ifunc.c: New file.
7934 * benchtests/bench-strpbrk.c: New file.
7935 * benchtests/bench-strrchr-ifunc.c: New file.
7936 * benchtests/bench-strrchr.c: New file.
7937 * benchtests/bench-strspn-ifunc.c: New file.
7938 * benchtests/bench-strspn.c: New file.
7939 * benchtests/bench-strstr-ifunc.c: New file.
7940 * benchtests/bench-strstr.c: New file.
7942 * benchtests/Makefile: Disable parallel execution of targets.
7943 (string-bench): Add memcpy.
7944 (benchset): New variable to store a list of benchmark sets.
7945 (bench-func): Renamed from bench.
7946 (bench-set): New target.
7947 (bench): Depend on bench-func and bench-set.
7948 * benchtests/README: Add section on benchmark sets.
7949 * benchtests/bench-memcpy-ifunc.c: New file.
7950 * benchtests/bench-memcpy.c: New file.
7951 * benchtests/bench-string.h: New file.
7953 2013-06-11 Andreas Schwab <schwab@suse.de>
7956 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7957 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7958 values in the triple.
7959 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7960 terminator in the group key.
7962 2013-06-11 Andreas Jaeger <aj@suse.de>
7964 * po/zh_TW.po: Update Chinese (traditional) translation from
7965 translation project.
7967 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7969 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7970 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7971 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7972 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7973 (clock_getcpuclockid): Likewise.
7974 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7975 Add weak_alias and libc_hidden_def.
7976 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7977 * rt/clock_gettime.c (clock_gettime): Rename to
7978 __clock_gettime. Add weak_alias and libc_hidden_def.
7979 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7980 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7981 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7982 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7983 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7985 * rt/clock_settime.c (clock_settime): Rename to
7986 __clock_settime. Add weak_alias and libc_hidden_def.
7987 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7989 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7991 * mach/err_boot.sub: Remove trailing whitespace.
7992 * mach/err_ipc.sub: Likewise.
7993 * mach/err_mach.sub: Likewise.
7995 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7996 (ROUNDING_TESTS_double): Likewise.
7997 (ROUNDING_TESTS_long_double): Likewise.
7998 (ROUNDING_TESTS): Likewise.
7999 * math/libm-test.inc: Include <math-tests.h>.
8000 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
8001 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8002 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8003 (IF_ROUND_INIT_FE_UPWARD): Likewise.
8005 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8007 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
8010 2013-06-08 Joseph Myers <joseph@codesourcery.com>
8012 * sysdeps/gnu/errlist.awk: Do not generate space at end of
8013 otherwise empty TRANS lines.
8014 * sysdeps/gnu/errlist.c: Regenerated.
8016 * catgets/gencat.c (error_print): Use (void) in function
8018 * crypt/crypt_util.c (__init_des): Likewise.
8019 * crypt/speeds.c (Stop): Likewise.
8021 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8022 * inet/ruserpass.c (token): Likewise.
8023 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8024 * intl/localealias.c (extend_alias_table): Likewise.
8025 * intl/plural-exp.c (init_germanic_plural): Likewise.
8026 * libio/fcloseall.c (__fcloseall): Likewise.
8027 * libio/genops.c (_IO_flush_all): Likewise.
8028 (_IO_flush_all_linebuffered): Likewise.
8029 (_IO_cleanup): Likewise.
8030 (_IO_iter_begin): Likewise.
8031 (_IO_iter_end): Likewise.
8032 (_IO_list_lock): Likewise.
8033 (_IO_list_unlock): Likewise.
8034 (_IO_list_resetlock): Likewise.
8035 * libio/getchar.c (getchar): Likewise.
8036 * libio/getchar_u.c (getchar_unlocked): Likewise.
8037 * libio/getwchar.c (getwchar): Likewise.
8038 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8039 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8040 * login/getpt.c (__getpt): Likewise.
8041 * login/tst-utmp.c (main): Likewise.
8042 * malloc/hooks.c (__malloc_check_init): Likewise.
8043 * malloc/malloc.c (__malloc_stats): Likewise.
8044 * malloc/mtrace.c (tr_break): Likewise.
8046 (muntrace): Likewise.
8047 * misc/fstab.c (endfsent): Likewise.
8048 * misc/getclktck.c (__getclktck): Likewise.
8049 * misc/getdtsz.c (__getdtablesize): Likewise.
8050 * misc/gethostid.c (gethostid): Likewise.
8051 * misc/getpagesize.c (__getpagesize): Likewise.
8052 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8053 (__get_nprocs): Likewise.
8054 (__get_phys_pages): Likewise.
8055 (__get_avphys_pages): Likewise.
8056 * misc/getttyent.c (getttyent): Likewise.
8057 (setttyent): Likewise.
8058 (endttyent): Likewise.
8059 * misc/getusershell.c (getusershell): Likewise.
8060 (endusershell): Likewise.
8061 (setusershell): Likewise.
8062 (initshells): Likewise.
8063 * misc/hsearch.c (__hdestroy): Likewise.
8064 * misc/sync.c (sync): Likewise.
8065 * misc/syslog.c (closelog_internal): Likewise.
8066 (closelog): Likewise.
8067 * misc/ttyslot.c (ttyslot): Likewise.
8068 * misc/vhangup.c (vhangup): Likewise.
8069 * posix/fork.c (__fork): Likewise.
8070 * posix/getegid.c (__getegid): Likewise.
8071 * posix/geteuid.c (__geteuid): Likewise.
8072 * posix/getgid.c (__getgid): Likewise.
8073 * posix/getpid.c (__getpid): Likewise.
8074 * posix/getppid.c (__getppid): Likewise.
8075 * posix/getuid.c (__getuid): Likewise.
8076 * posix/pause.c (pause): Likewise.
8077 * posix/setpgrp.c (setpgrp): Likewise.
8078 * posix/setsid.c (__setsid): Likewise.
8079 * posix/test-vfork.c (noop): Likewise.
8080 * resolv/gethnamaddr.c (_endhtent): Likewise.
8081 (_gethtent): Likewise.
8082 (ht_endhostent): Likewise.
8083 (gethostent): Likewise.
8084 (dns_service): Likewise.
8085 * stdlib/drand48.c (drand48): Likewise.
8086 * stdlib/lrand48.c (lrand48): Likewise.
8087 * stdlib/mrand48.c (mrand48): Likewise.
8088 * stdlib/rand.c (rand): Likewise.
8089 * stdlib/random.c (__random): Likewise.
8090 * stdlib/setenv.c (clearenv): Likewise.
8091 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8092 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8093 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8094 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8095 (__get_nprocs): Likewise.
8096 (__get_phys_pages): Likewise.
8097 (__get_avphys_pages): Likewise.
8098 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8099 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8100 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8101 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8102 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8103 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8104 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8105 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8106 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8107 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8108 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8109 * sysdeps/mach/hurd/sync.c (sync): Likewise.
8110 * sysdeps/posix/clock.c (clock): Likewise.
8111 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8112 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8113 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8114 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8115 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8117 (__get_nprocs_conf): Likewise.
8118 (__get_phys_pages): Likewise.
8119 (__get_avphys_pages): Likewise.
8120 * time/clock.c (clock): Likewise.
8121 * time/tzset.c (__tzname_max): Likewise.
8123 2013-06-07 Joseph Myers <joseph@codesourcery.com>
8125 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8126 (__bswap_32): Do not use "register".
8127 * crypt/crypt.c (_ufc_doit_r): Likewise.
8128 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8129 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8130 * gmon/gmon.c (__monstartup): Likewise.
8131 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8132 * hurd/hurdmalloc.c (more_memory): Likewise.
8135 (realloc): Likewise.
8136 (malloc_fork_prepare): Likewise.
8137 (malloc_fork_parent): Likewise.
8138 (malloc_fork_child): Likewise.
8139 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8140 (_svcauth_des): Likewise.
8141 * inet/inet_lnaof.c (inet_lnaof): Likewise.
8142 * inet/inet_net.c (inet_network): Likewise.
8143 * inet/inet_netof.c (inet_netof): Likewise.
8144 * inet/rcmd.c (__validuser2_sa): Likewise.
8145 * io/fts.c (fts_open): Likewise.
8146 (fts_load): Likewise.
8147 (fts_close): Likewise.
8148 (fts_read): Likewise.
8149 (fts_children): Likewise.
8150 (fts_build): Likewise.
8151 (fts_stat): Likewise.
8152 (fts_sort): Likewise.
8153 (fts_alloc): Likewise.
8154 (fts_lfree): Likewise.
8155 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8156 (_IO_file_xsgetn): Likewise.
8157 (_IO_file_xsgetn_mmap): Likewise.
8158 * libio/iofopncook.c (_IO_cookie_read): Likewise.
8159 (_IO_cookie_write): Likewise.
8160 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8161 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8162 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8163 * malloc/obstack.c (_obstack_begin): Likewise.
8164 (_obstack_begin_1): Likewise.
8165 (_obstack_newchunk): Likewise.
8166 (_obstack_allocated_p): Likewise.
8167 (obstack_free): Likewise.
8168 (_obstack_memory_used): Likewise.
8169 * misc/getttyent.c (getttynam): Likewise.
8170 (getttyent): Likewise.
8173 * misc/getusershell.c (initshells): Likewise.
8174 * misc/syslog.c (__vsyslog_chk): Likewise.
8175 * misc/ttyslot.c (ttyslot): Likewise.
8176 * nis/nis_hash.c (__nis_hash): Likewise.
8177 * posix/fnmatch_loop.c (FCT): Likewise.
8178 * posix/getconf.c (print_all): Likewise.
8180 * posix/getopt.c (exchange): Likewise.
8181 * posix/glob.c (globfree): Likewise.
8182 (prefix_array): Likewise.
8183 (__glob_pattern_type): Likewise.
8184 * resolv/arpa/nameser.h (NS_GET16): Likewise.
8185 (NS_GET32): Likewise.
8186 (NS_PUT16): Likewise.
8187 (NS_PUT32): Likewise.
8188 * resolv/gethnamaddr.c (getanswer): Likewise.
8189 (gethostbyname2): Likewise.
8190 (gethostbyaddr): Likewise.
8191 (_gethtent): Likewise.
8192 (_gethtbyname2): Likewise.
8193 (_gethtbyaddr): Likewise.
8194 * resolv/ns_print.c (dst_s_get_int16): Likewise.
8195 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8196 * resolv/res_init.c (__res_vinit): Likewise.
8197 (net_mask): Likewise.
8198 * resolv/res_mkquery.c (outchar): Likewise.
8200 * stdio-common/printf_fp.c (outchar): Likewise.
8202 * stdio-common/printf_fphex.c (outchar): Likewise.
8204 * stdio-common/printf_size.c (outchar): Likewise.
8206 * stdio-common/test_rdwr.c (main): Likewise.
8207 * stdio-common/tfformat.c (matches): Likewise.
8208 * stdio-common/vfprintf.c (outchar): Likewise.
8209 (printf_unknown): Likewise.
8210 (buffered_vfprintf): Likewise.
8211 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8212 * stdio-common/xbug.c (AppendToBuffer): Likewise.
8213 (ReadFile): Likewise.
8214 * stdlib/qsort.c (SWAP): Likewise.
8215 (_quicksort): Likewise.
8216 * stdlib/setenv.c (__add_to_environ): Likewise.
8217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8218 * stdlib/strtol_l.c (__strtol_l): Likewise.
8219 * stdlib/tst-strtod.c (main): Likewise.
8220 * stdlib/tst-strtol.c (main): Likewise.
8221 * stdlib/tst-strtoll.c (main): Likewise.
8222 * string/bits/string2.h (__strcmp_cc): Likewise.
8223 (__strcmp_cg): Likewise.
8224 (__strcspn_c1): Likewise.
8225 (__strcspn_c2): Likewise.
8226 (__strcspn_c3): Likewise.
8227 (__strspn_c1): Likewise.
8228 (__strspn_c2): Likewise.
8229 (__strspn_c3): Likewise.
8230 (__strsep_1c): Likewise.
8231 (__strsep_2c): Likewise.
8232 (__strsep_3c): Likewise.
8233 * string/memccpy.c (__memccpy): Likewise.
8234 * string/stpcpy.c (__stpcpy): Likewise.
8235 * string/strcmp.c (strcmp): Likewise.
8236 * string/strrchr.c (strrchr): Likewise.
8237 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8239 * sysdeps/mach/hurd/getcwd.c
8240 (_hurd_canonicalize_directory_name_internal): Likewise.
8241 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8242 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8243 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8244 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8245 Likewise, in both definitions.
8246 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8248 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8249 64] (__bswap_64): Likewise.
8250 * time/test_time.c (main): Likewise.
8251 * time/tzfile.c (__tzfile_read): Likewise.
8252 (__tzfile_compute): Likewise.
8253 * time/tzset.c (__tzset_parse_tz): Likewise.
8254 (tzset_internal): Likewise.
8255 (compute_change): Likewise.
8256 * wcsmbs/wcscat.c (__wcscat): Likewise.
8257 * wcsmbs/wcschr.c (wcschr): Likewise.
8258 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8259 * wcsmbs/wcscspn.c (wcscspn): Likewise.
8260 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8261 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8262 * wcsmbs/wcsspn.c (wcsspn): Likewise.
8263 * wcsmbs/wcsstr.c (wcsstr): Likewise.
8264 * wcsmbs/wmemchr.c (wmemchr): Likewise.
8265 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8266 * wcsmbs/wmemset.c (wmemset): Likewise.
8268 2013-06-06 Joseph Myers <joseph@codesourcery.com>
8270 * scripts/config.guess: Update to version 2013-05-16.
8271 * scripts/config.sub: Update to version 2013-04-24.
8272 * scripts/install-sh: Update to version 2011-11-20.07.
8273 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8274 * scripts/move-if-change: Update to version 2012-01-06 07:23.
8276 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
8278 * debug/fgetws_u_chk.c: Fix leading whitespaces.
8279 * elf/sln.c: Likewise.
8280 * hurd/hurd/ioctl.h: Likewise.
8281 * hurd/hurdmalloc.c: Likewise.
8282 * hurd/xattr.c: Likewise.
8283 * include/shlib-compat.h: Likewise.
8284 * inet/ruserpass.c: Likewise.
8285 * libio/iofgets_u.c: Likewise.
8286 * libio/iofgetws_u.c: Likewise.
8287 * locale/programs/ld-identification.c: Likewise.
8288 * locale/programs/ld-time.c: Likewise.
8289 * mach/msg-destroy.c: Likewise.
8290 * nss/nss_files/files-netgrp.c: Likewise.
8291 * resolv/res_data.c: Likewise.
8292 * soft-fp/op-1.h: Likewise.
8293 * soft-fp/op-2.h: Likewise.
8294 * soft-fp/op-4.h: Likewise.
8295 * soft-fp/op-common.h: Likewise.
8296 * stdio-common/printf_fphex.c: Likewise.
8297 * stdlib/strtod_l.c: Likewise.
8298 * sunrpc/rpc/clnt.h: Likewise.
8299 * sysdeps/generic/framestate.c: Likewise.
8300 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8301 * sysdeps/i386/bsd-setjmp.S: Likewise.
8302 * sysdeps/i386/__longjmp.S: Likewise.
8303 * sysdeps/i386/setjmp.S: Likewise.
8304 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8305 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8306 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8322 * sysdeps/ieee754/support.c: Likewise.
8323 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8324 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8325 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8326 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8327 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8328 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8329 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8330 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8331 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8332 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8333 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8334 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8335 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8336 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8337 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8338 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8339 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8342 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
8344 * posix/transbug.c: Remove executable mode.
8346 2013-06-05 Joseph Myers <joseph@codesourcery.com>
8348 * crypt/speeds.c: Remove trailing whitespace.
8349 * dlfcn/default.c: Likewise.
8350 * elf/ifuncdep2.c: Likewise.
8351 * elf/ifuncmain1.c: Likewise.
8352 * elf/ifuncmain1vis.c: Likewise.
8353 * elf/testobj.h: Likewise.
8354 * elf/tst-stackguard1.c: Likewise.
8355 * gmon/sys/gmon.h: Likewise.
8356 * hurd/hurdmsg.c: Likewise.
8357 * hurd/new-fd.c: Likewise.
8358 * hurd/ports-get.c: Likewise.
8359 * iconvdata/ibm1008_420.c: Likewise.
8360 * inet/tst-getni1.c: Likewise.
8361 * inet/tst-getni2.c: Likewise.
8362 * libio/ioungetc.c: Likewise.
8363 * libio/wfiledoalloc.c: Likewise.
8364 * manual/libm-err-tab.pl: Likewise.
8365 * math/w_dremf.c: Likewise.
8366 * misc/ftruncate.c: Likewise.
8367 * posix/bug-glob2.c: Likewise.
8368 * posix/tst-pcre.c: Likewise.
8369 * posix/wait4.c: Likewise.
8370 * resolv/README: Likewise.
8371 * resolv/res_debug.h: Likewise.
8372 * resolv/tst-inet_ntop.c: Likewise.
8373 * setjmp/bug269-setjmp.c: Likewise.
8374 * soft-fp/extended.h: Likewise.
8375 * soft-fp/op-1.h: Likewise.
8376 * soft-fp/op-2.h: Likewise.
8377 * soft-fp/op-4.h: Likewise.
8378 * soft-fp/op-8.h: Likewise.
8379 * soft-fp/testit.c: Likewise.
8380 * stdio-common/bug16.c: Likewise.
8381 * stdlib/random.c: Likewise.
8382 * sunrpc/rpcsvc/rquota.x: Likewise.
8383 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8384 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8386 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8387 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8388 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8389 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8390 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8391 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8392 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8393 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8412 * sysdeps/ieee754/s_lib_version.c: Likewise.
8413 * sysdeps/mach/hurd/check_fds.c: Likewise.
8414 * sysdeps/mach/hurd/getsockname.c: Likewise.
8415 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8416 * sysdeps/mach/hurd/recvfrom.c: Likewise.
8417 * sysdeps/powerpc/bits/link.h: Likewise.
8418 * sysdeps/powerpc/dl-procinfo.c: Likewise.
8419 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8420 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8421 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8422 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8423 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8424 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8425 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8426 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8427 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8428 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8429 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8430 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8431 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8432 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8433 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8434 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8435 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8436 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8438 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8439 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8440 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8441 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8442 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8443 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8445 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8446 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8447 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8450 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8451 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8452 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8453 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8454 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8455 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8456 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8457 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8458 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8459 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8460 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8461 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8462 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8463 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8464 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8466 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8467 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8468 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8469 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8470 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8471 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8472 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8473 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8474 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8475 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8476 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8477 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8478 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8479 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8480 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8481 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8482 * sysdeps/powerpc/sysdep.h: Likewise.
8483 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8484 * sysdeps/s390/s390-64/sub_n.S: Likewise.
8485 * sysdeps/sh/dl-trampoline.S: Likewise.
8486 * sysdeps/sh/memset.S: Likewise.
8487 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8488 * sysdeps/sh/strlen.S: Likewise.
8489 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8490 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8491 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8492 * sysdeps/sparc/sparc32/rem.S: Likewise.
8493 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8494 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8495 * sysdeps/sparc/sparc32/strchr.S: Likewise.
8496 * sysdeps/sparc/sparc32/udiv.S: Likewise.
8497 * sysdeps/sparc/sparc32/urem.S: Likewise.
8498 * sysdeps/sparc/sparc64/add_n.S: Likewise.
8499 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8500 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8501 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8503 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8504 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8505 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8506 * sysdeps/unix/bsd/times.c: Likewise.
8507 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8508 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8512 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8513 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8514 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8515 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8516 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8517 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8518 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8519 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8520 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8521 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8522 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8523 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8524 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8525 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8526 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8527 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8528 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8529 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8530 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8531 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8532 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8533 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8534 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8535 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8536 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8537 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8538 * sysdeps/x86_64/strcspn.S: Likewise.
8540 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8542 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8543 generated file. Regenerate properly from gen-translit.pl.
8544 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8545 locale/C-translit.h.
8547 2013-06-05 Andreas Schwab <schwab@suse.de>
8550 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8551 week as 6 instead of -1.
8552 * time/tst-strptime.c (day_tests): Add test case.
8554 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8556 * sysdeps/generic/math_private.h
8557 (libc_feholdexcept_setround_53bit): Replace with
8558 libc_feholdsetround_53bit.
8559 (libc_feupdateenv_53bit): Replace with
8560 libc_feresetround_53bit.
8561 (SET_RESTORE_ROUND_53BIT): Adjust.
8563 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8565 * string/test-strchrnul.c: Add copyright header.
8567 * posix/tst-getaddrinfo4.c: Increase test timeout.
8569 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8572 * math/libm-test.inc (MAX_EXP): Remove
8574 (ulp): Use MIN_EXP - MANT_DIG.
8575 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8577 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8579 * po/be.po: Revert last change.
8580 * po/zh_CN.po: Likewise.
8581 * po/header.pot: Likewise.
8583 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8585 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8586 link-libc-deps to empty as target-specific variable.
8587 * Makerules (link-libc-args): New variable.
8588 (libc-for-link): Likewise.
8589 (link-libc-deps): Likewise.
8590 (lib%.so): Depend on $(link-libc-deps). Link with
8592 (build-module): Link with $(link-libc-args).
8593 (build-module-asneeded): Likewise.
8594 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8596 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8597 target-specific variable.
8598 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8599 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8600 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8602 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8604 ($(objpfx)libpcprofile.so): Likewise.
8605 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8607 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8608 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8609 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8611 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8612 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8613 * login/Makefile ($(objpfx)libutil.so): Likewise.
8614 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8615 * math/Makefile ($(objpfx)libm.so): Likewise.
8616 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8617 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8618 variable instead of depending directly on libc.
8619 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8620 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8622 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8624 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8625 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8626 ($(objpfx)libanl.so): Likewise.
8627 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8629 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8631 * sysdeps/i386/fpu/Makefile: Remove file.
8632 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8633 ($(objpfx)libm.so): Remove dependency on ld.so.
8635 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8638 * nis/yp_xdr.c (XDRMAXNAME): Define.
8639 (XDRMAXRECORD): Define.
8640 (xdr_domainname): Use XDRMAXNAME.
8641 (xdr_mapname): Likewise.
8642 (xdr_peername): Likewise.
8643 (xdr_keydat): Use XDRMAXRECORD.
8644 (xdr_valdat): Likewise.
8646 2013-05-30 Jeff Law <law@redhat.com>
8649 * manual/errno.texi (ESTALE): Update to account for more than
8650 just NFS file systems.
8651 * sysdeps/gnu/errlist.c: Regenerated.
8653 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8656 * elf/Makefile (tests): Add tst-null-argv.
8657 (modules-names): Add tst-null-argv-lib.
8658 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8659 (tst-null-argv-ENV): Set environment for tst-null-argv.
8660 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8661 (RTLD_PROGNAME): New macro.
8662 * elf/tst-null-argv.c: New test case.
8663 * elf/tst-null-argv-lib.c: Library for test case.
8664 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8665 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8666 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8667 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8668 * elf/dl-init.c (call_init): Likewise.
8669 (_dl_init): Likewise.
8670 * elf/dl-load.c (print_search_path): Likewise.
8671 (_dl_map_object): Likewise.
8672 * elf/dl-lookup.c (do_lookup_x): Likewise.
8673 (add_dependency): Likewise.
8674 (_dl_lookup_symbol_x): Likewise.
8675 (_dl_debug_bindings): Likewise.
8676 * elf/dl-open.c (_dl_show_scope): Likewise.
8677 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8678 * elf/dl-version.c (match_symbol): Likewise.
8679 (_dl_check_map_versions): Likewise.
8680 * elf/rtld.c (dl_main): Likewise.
8681 (print_unresolved): Use RTLD_PROGNAME.
8682 (print_missing_version): Likewise.
8683 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8684 (elf_machine_rela): Likewise.
8685 * sysdeps/powerpc/powerpc32/dl-machine.c
8686 (__process_machine_rela): Likewise.
8687 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8691 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8693 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8694 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8698 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8700 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8702 * po/be.po: Add descriptive title.
8703 * po/zh_CN.po: Likewise.
8704 * po/header.pot: Likewise.
8706 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8708 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8710 (enlarge_archive): Likewise.
8712 2013-05-28 Ben North <ben@redfrontdoor.org>
8714 * manual/arith.texi (frexp): It is the magnitude of the return
8715 value which lies in [0.5, 1), not the return value itself.
8717 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8721 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8723 * stdio-common/bug26.c (main): Correct fscanf template.
8725 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8726 declare _dl_skip_args.
8728 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8731 * manual/platform.texi: Add missing @end deftypefun.
8733 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8736 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8737 bit of mantissa of 2^16382.
8738 * math/libm-test.inc (hypot_test_data): Add more tests.
8740 * math/libm-test.inc: Add drem and pow10 to list of tested
8742 (pow10_test): New function.
8743 (drem_test): Likewise.
8744 (drem_test_tonearest): Likewise.
8745 (drem_test_towardzero): Likewise.
8746 (drem_test_downward): Likewise.
8747 (drem_test_upward): Likewise.
8748 (main): Call the new functions.
8750 * math/libm-test.inc (finite_test_data): Remove.
8751 (finite_test): Run tests from isfinite_test_data.
8752 (gamma_test_data): Remove.
8753 (gamma_test): Run tests from lgamma_test_data.
8754 * sysdeps/i386/fpu/libm-test-ulps: Update.
8755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8757 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8759 * manual/platform.texi: Add PowerPC PPR function set documentation.
8760 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8763 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8765 * math/libm-test.inc (MAX_EXP): Define.
8767 (ulp): New function.
8768 (check_float_internal): Use ULPDIFF.
8769 (cpow_test): Disable failing test.
8770 (check_ulp): Test ulp() implemetnation.
8771 (main): Call check_ulp before starting tests.
8773 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8775 * math/gen-libm-test.pl (generate_testfile): Do not handle
8776 START_DATA and END_DATA.
8777 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8779 (acos_tonearest_test_data): Likewise.
8780 (acos_towardzero_test_data): Likewise.
8781 (acos_downward_test_data): Likewise.
8782 (acos_upward_test_data): Likewise.
8783 (acosh_test_data): Likewise.
8784 (asin_test_data): Likewise.
8785 (asin_tonearest_test_data): Likewise.
8786 (asin_towardzero_test_data): Likewise.
8787 (asin_downward_test_data): Likewise.
8788 (asin_upward_test_data): Likewise.
8789 (asinh_test_data): Likewise.
8790 (atan_test_data): Likewise.
8791 (atanh_test_data): Likewise.
8792 (atan2_test_data): Likewise.
8793 (cabs_test_data): Likewise.
8794 (cacos_test_data): Likewise.
8795 (cacosh_test_data): Likewise.
8796 (carg_test_data): Likewise.
8797 (casin_test_data): Likewise.
8798 (casinh_test_data): Likewise.
8799 (catan_test_data): Likewise.
8800 (catanh_test_data): Likewise.
8801 (cbrt_test_data): Likewise.
8802 (ccos_test_data): Likewise.
8803 (ccosh_test_data): Likewise.
8804 (ceil_test_data): Likewise.
8805 (cexp_test_data): Likewise.
8806 (cimag_test_data): Likewise.
8807 (clog_test_data): Likewise.
8808 (clog10_test_data): Likewise.
8809 (conj_test_data): Likewise.
8810 (copysign_test_data): Likewise.
8811 (cos_test_data): Likewise.
8812 (cos_tonearest_test_data): Likewise.
8813 (cos_towardzero_test_data): Likewise.
8814 (cos_downward_test_data): Likewise.
8815 (cos_upward_test_data): Likewise.
8816 (cosh_test_data): Likewise.
8817 (cosh_tonearest_test_data): Likewise.
8818 (cosh_towardzero_test_data): Likewise.
8819 (cosh_downward_test_data): Likewise.
8820 (cosh_upward_test_data): Likewise.
8821 (cpow_test_data): Likewise.
8822 (cproj_test_data): Likewise.
8823 (creal_test_data): Likewise.
8824 (csin_test_data): Likewise.
8825 (csinh_test_data): Likewise.
8826 (csqrt_test_data): Likewise.
8827 (ctan_test_data): Likewise.
8828 (ctan_tonearest_test_data): Likewise.
8829 (ctan_towardzero_test_data): Likewise.
8830 (ctan_downward_test_data): Likewise.
8831 (ctan_upward_test_data): Likewise.
8832 (ctanh_test_data): Likewise.
8833 (ctanh_tonearest_test_data): Likewise.
8834 (ctanh_towardzero_test_data): Likewise.
8835 (ctanh_downward_test_data): Likewise.
8836 (ctanh_upward_test_data): Likewise.
8837 (erf_test_data): Likewise.
8838 (erfc_test_data): Likewise.
8839 (exp_test_data): Likewise.
8840 (exp_tonearest_test_data): Likewise.
8841 (exp_towardzero_test_data): Likewise.
8842 (exp_downward_test_data): Likewise.
8843 (exp_upward_test_data): Likewise.
8844 (exp10_test_data): Likewise.
8845 (exp2_test_data): Likewise.
8846 (expm1_test_data): Likewise.
8847 (fabs_test_data): Likewise.
8848 (fdim_test_data): Likewise.
8849 (finite_test_data): Likewise.
8850 (floor_test_data): Likewise.
8851 (fma_test_data): Likewise.
8852 (fma_towardzero_test_data): Likewise.
8853 (fma_downward_test_data): Likewise.
8854 (fma_upward_test_data): Likewise.
8855 (fmax_test_data): Likewise.
8856 (fmin_test_data): Likewise.
8857 (fmod_test_data): Likewise.
8858 (fpclassify_test_data): Likewise.
8859 (frexp_test_data): Likewise.
8860 (gamma_test_data): Likewise.
8861 (hypot_test_data): Likewise.
8862 (ilogb_test_data): Likewise.
8863 (isfinite_test_data): Likewise.
8864 (isgreater_test_data): Likewise.
8865 (isgreaterequal_test_data): Likewise.
8866 (isinf_test_data): Likewise.
8867 (isless_test_data): Likewise.
8868 (islessequal_test_data): Likewise.
8869 (islessgreater_test_data): Likewise.
8870 (isnan_test_data): Likewise.
8871 (isnormal_test_data): Likewise.
8872 (issignaling_test_data): Likewise.
8873 (isunordered_test_data): Likewise.
8874 (j0_test_data): Likewise.
8875 (j1_test_data): Likewise.
8876 (jn_test_data): Likewise.
8877 (ldexp_test_data): Likewise.
8878 (lgamma_test_data): Likewise.
8879 (lrint_test_data): Likewise.
8880 (lrint_tonearest_test_data): Likewise.
8881 (lrint_towardzero_test_data): Likewise.
8882 (lrint_downward_test_data): Likewise.
8883 (lrint_upward_test_data): Likewise.
8884 (llrint_test_data): Likewise.
8885 (llrint_tonearest_test_data): Likewise.
8886 (llrint_towardzero_test_data): Likewise.
8887 (llrint_downward_test_data): Likewise.
8888 (llrint_upward_test_data): Likewise.
8889 (log_test_data): Likewise.
8890 (log10_test_data): Likewise.
8891 (log1p_test_data): Likewise.
8892 (log2_test_data): Likewise.
8893 (logb_test_data): Likewise.
8894 (logb_downward_test_data): Likewise.
8895 (lround_test_data): Likewise.
8896 (llround_test_data): Likewise.
8897 (modf_test_data): Likewise.
8898 (nearbyint_test_data): Likewise.
8899 (nextafter_test_data): Likewise.
8900 (nexttoward_test_data): Likewise.
8901 (pow_test_data): Likewise.
8902 (pow_tonearest_test_data): Likewise.
8903 (pow_towardzero_test_data): Likewise.
8904 (pow_downward_test_data): Likewise.
8905 (pow_upward_test_data): Likewise.
8906 (remainder_test_data): Likewise.
8907 (remainder_tonearest_test_data): Likewise.
8908 (remainder_towardzero_test_data): Likewise.
8909 (remainder_downward_test_data): Likewise.
8910 (remainder_upward_test_data): Likewise.
8911 (remquo_test_data): Likewise.
8912 (rint_test_data): Likewise.
8913 (rint_tonearest_test_data): Likewise.
8914 (rint_towardzero_test_data): Likewise.
8915 (rint_downward_test_data): Likewise.
8916 (rint_upward_test_data): Likewise.
8917 (round_test_data): Likewise.
8918 (scalb_test_data): Likewise.
8919 (scalbn_test_data): Likewise.
8920 (scalbln_test_data): Likewise.
8921 (signbit_test_data): Likewise.
8922 (sin_test_data): Likewise.
8923 (sin_tonearest_test_data): Likewise.
8924 (sin_towardzero_test_data): Likewise.
8925 (sin_downward_test_data): Likewise.
8926 (sin_upward_test_data): Likewise.
8927 (sincos_test_data): Likewise.
8928 (sinh_test_data): Likewise.
8929 (sinh_tonearest_test_data): Likewise.
8930 (sinh_towardzero_test_data): Likewise.
8931 (sinh_downward_test_data): Likewise.
8932 (sinh_upward_test_data): Likewise.
8933 (sqrt_test_data): Likewise.
8934 (tan_test_data): Likewise.
8935 (tan_tonearest_test_data): Likewise.
8936 (tan_towardzero_test_data): Likewise.
8937 (tan_downward_test_data): Likewise.
8938 (tan_upward_test_data): Likewise.
8939 (tanh_test_data): Likewise.
8940 (tgamma_test_data): Likewise.
8941 (trunc_test_data): Likewise.
8942 (y0_test_data): Likewise.
8943 (y1_test_data): Likewise.
8944 (yn_test_data): Likewise.
8945 (significand_test_data): Likewise.
8947 * math/gen-libm-test.pl (@functions): Remove variable.
8948 (generate_testfile): Don't handle START and END lines.
8949 * math/libm-test.inc (START): New macro.
8951 (END_COMPLEX): Likewise.
8952 (acos_test): Use END macro without arguments.
8953 (acos_test_tonearest): Likewise.
8954 (acos_test_towardzero): Likewise.
8955 (acos_test_downward): Likewise.
8956 (acos_test_upward): Likewise.
8957 (acosh_test): Likewise.
8958 (asin_test): Likewise.
8959 (asin_test_tonearest): Likewise.
8960 (asin_test_towardzero): Likewise.
8961 (asin_test_downward): Likewise.
8962 (asin_test_upward): Likewise.
8963 (asinh_test): Likewise.
8964 (atan_test): Likewise.
8965 (atanh_test): Likewise.
8966 (atan2_test): Likewise.
8967 (cabs_test): Likewise.
8968 (cacos_test): Use END_COMPLEX macro without arguments.
8969 (cacosh_test): Likewise.
8970 (carg_test): Use END macro without arguments.
8971 (casin_test): Use END_COMPLEX macro without arguments.
8972 (casinh_test): Likewise.
8973 (catan_test): Likewise.
8974 (catanh_test): Likewise.
8975 (cbrt_test): Use END macro without arguments.
8976 (ccos_test): Use END_COMPLEX macro without arguments.
8977 (ccosh_test): Likewise.
8978 (ceil_test): Use END macro without arguments.
8979 (cexp_test): Use END_COMPLEX macro without arguments.
8980 (cimag_test): Use END macro without arguments.
8981 (clog_test): Use END_COMPLEX macro without arguments.
8982 (clog10_test): Likewise.
8983 (conj_test): Likewise.
8984 (copysign_test): Use END macro without arguments.
8985 (cos_test): Likewise.
8986 (cos_test_tonearest): Likewise.
8987 (cos_test_towardzero): Likewise.
8988 (cos_test_downward): Likewise.
8989 (cos_test_upward): Likewise.
8990 (cosh_test): Likewise.
8991 (cosh_test_tonearest): Likewise.
8992 (cosh_test_towardzero): Likewise.
8993 (cosh_test_downward): Likewise.
8994 (cosh_test_upward): Likewise.
8995 (cpow_test): Use END_COMPLEX macro without arguments.
8996 (cproj_test): Likewise.
8997 (creal_test): Use END macro without arguments.
8998 (csin_test): Use END_COMPLEX macro without arguments.
8999 (csinh_test): Likewise.
9000 (csqrt_test): Likewise.
9001 (ctan_test): Likewise.
9002 (ctan_test_tonearest): Likewise.
9003 (ctan_test_towardzero): Likewise.
9004 (ctan_test_downward): Likewise.
9005 (ctan_test_upward): Likewise.
9006 (ctanh_test): Likewise.
9007 (ctanh_test_tonearest): Likewise.
9008 (ctanh_test_towardzero): Likewise.
9009 (ctanh_test_downward): Likewise.
9010 (ctanh_test_upward): Likewise.
9011 (erf_test): Use END macro without arguments.
9012 (erfc_test): Likewise.
9013 (exp_test): Likewise.
9014 (exp_test_tonearest): Likewise.
9015 (exp_test_towardzero): Likewise.
9016 (exp_test_downward): Likewise.
9017 (exp_test_upward): Likewise.
9018 (exp10_test): Likewise.
9019 (exp2_test): Likewise.
9020 (expm1_test): Likewise.
9021 (fabs_test): Likewise.
9022 (fdim_test): Likewise.
9023 (finite_test): Likewise.
9024 (floor_test): Likewise.
9025 (fma_test): Likewise.
9026 (fma_test_towardzero): Likewise.
9027 (fma_test_downward): Likewise.
9028 (fma_test_upward): Likewise.
9029 (fmax_test): Likewise.
9030 (fmin_test): Likewise.
9031 (fmod_test): Likewise.
9032 (fpclassify_test): Likewise.
9033 (frexp_test): Likewise.
9034 (gamma_test): Likewise.
9035 (hypot_test): Likewise.
9036 (ilogb_test): Likewise.
9037 (isfinite_test): Likewise.
9038 (isgreater_test): Likewise.
9039 (isgreaterequal_test): Likewise.
9040 (isinf_test): Likewise.
9041 (isless_test): Likewise.
9042 (islessequal_test): Likewise.
9043 (islessgreater_test): Likewise.
9044 (isnan_test): Likewise.
9045 (isnormal_test): Likewise.
9046 (issignaling_test): Likewise.
9047 (isunordered_test): Likewise.
9048 (j0_test): Likewise.
9049 (j1_test): Likewise.
9050 (jn_test): Likewise.
9051 (ldexp_test): Likewise.
9052 (lgamma_test): Likewise.
9053 (lrint_test): Likewise.
9054 (lrint_test_tonearest): Likewise.
9055 (lrint_test_towardzero): Likewise.
9056 (lrint_test_downward): Likewise.
9057 (lrint_test_upward): Likewise.
9058 (llrint_test): Likewise.
9059 (llrint_test_tonearest): Likewise.
9060 (llrint_test_towardzero): Likewise.
9061 (llrint_test_downward): Likewise.
9062 (llrint_test_upward): Likewise.
9063 (log_test): Likewise.
9064 (log10_test): Likewise.
9065 (log1p_test): Likewise.
9066 (log2_test): Likewise.
9067 (logb_test): Likewise.
9068 (logb_test_downward): Likewise.
9069 (lround_test): Likewise.
9070 (llround_test): Likewise.
9071 (modf_test): Likewise.
9072 (nearbyint_test): Likewise.
9073 (nextafter_test): Likewise.
9074 (nexttoward_test): Likewise.
9075 (pow_test): Likewise.
9076 (pow_test_tonearest): Likewise.
9077 (pow_test_towardzero): Likewise.
9078 (pow_test_downward): Likewise.
9079 (pow_test_upward): Likewise.
9080 (remainder_test): Likewise.
9081 (remainder_test_tonearest): Likewise.
9082 (remainder_test_towardzero): Likewise.
9083 (remainder_test_downward): Likewise.
9084 (remainder_test_upward): Likewise.
9085 (remquo_test): Likewise.
9086 (rint_test): Likewise.
9087 (rint_test_tonearest): Likewise.
9088 (rint_test_towardzero): Likewise.
9089 (rint_test_downward): Likewise.
9090 (rint_test_upward): Likewise.
9091 (round_test): Likewise.
9092 (scalb_test): Likewise.
9093 (scalbn_test): Likewise.
9094 (scalbln_test): Likewise.
9095 (signbit_test): Likewise.
9096 (sin_test): Likewise.
9097 (sin_test_tonearest): Likewise.
9098 (sin_test_towardzero): Likewise.
9099 (sin_test_downward): Likewise.
9100 (sin_test_upward): Likewise.
9101 (sincos_test): Likewise.
9102 (sinh_test): Likewise.
9103 (sinh_test_tonearest): Likewise.
9104 (sinh_test_towardzero): Likewise.
9105 (sinh_test_downward): Likewise.
9106 (sinh_test_upward): Likewise.
9107 (sqrt_test): Likewise.
9108 (tan_test): Likewise.
9109 (tan_test_tonearest): Likewise.
9110 (tan_test_towardzero): Likewise.
9111 (tan_test_downward): Likewise.
9112 (tan_test_upward): Likewise.
9113 (tanh_test): Likewise.
9114 (tgamma_test): Likewise.
9115 (trunc_test): Likewise.
9116 (y0_test): Likewise.
9117 (y1_test): Likewise.
9118 (yn_test): Likewise.
9119 (significand_test): Likewise.
9121 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
9124 * libio/genops.c (_IO_no_init): Initialize wide struct info.
9126 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
9129 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9130 __ppc_mdoio and __ppc_mdoom.
9131 * manual/platform.texi: Document new functions __ppc_yield,
9132 __ppc_mdoio and __ppc_mdoom.
9134 2013-05-22 Carlos O'Donell <carlos@redhat.com>
9136 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9137 (main): Mention "tls" pseudo-hwcap is legacy.
9138 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9140 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9142 * math/gen-libm-test.pl (parse_args): Output only string of
9143 arguments as text for test name, not full call or descriptions of
9144 tests for extra outputs.
9145 (generate_testfile): Do not pass function name to parse_args.
9146 Generate this_func variable from START.
9147 * math/libm-test.inc (struct test_f_f_data): Rename test_name
9149 (struct test_ff_f_data): Likewise.
9150 (test_ff_f_data_nexttoward): Likewise.
9151 (struct test_fi_f_data): Likewise.
9152 (struct test_fl_f_data): Likewise.
9153 (struct test_if_f_data): Likewise.
9154 (struct test_fff_f_data): Likewise.
9155 (struct test_c_f_data): Likewise.
9156 (struct test_f_f1_data): Likewise. Remove field extra_name.
9157 (struct test_fF_f1_data): Likewise.
9158 (struct test_ffI_f1_data): Likewise.
9159 (struct test_c_c_data): Rename test_name field to arg_str.
9160 (struct test_cc_c_data): Likewise.
9161 (struct test_f_i_data): Likewise.
9162 (struct test_ff_i_data): Likewise.
9163 (struct test_f_l_data): Likewise.
9164 (struct test_f_L_data): Likewise.
9165 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
9167 (COMMON_TEST_SETUP): New macro.
9168 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9169 (COMMON_TEST_CLEANUP): Likewise.
9170 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9171 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
9173 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9174 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
9176 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9177 (RUN_TEST_fff_f): Take argument string. Call new setup and
9179 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9180 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
9182 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9183 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
9185 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9186 (RUN_TEST_fF_f1): Take argument string. Call new setup and
9188 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9189 (RUN_TEST_fI_f1): Take argument string. Call new setup and
9191 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9192 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
9194 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9195 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
9197 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9198 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
9200 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9201 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
9203 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9204 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
9206 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9207 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
9209 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9210 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
9212 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9213 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
9215 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9216 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
9218 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9219 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
9221 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9222 (RUN_TEST_fFF_11): Take argument string. Call new setup and
9224 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9226 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
9228 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9229 to _sifields.sigfault.
9230 (si_addr_lsb): Define new macro.
9231 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9233 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9235 2013-05-03 Carlos O'Donell <carlos at redhat.com>
9238 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9240 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9242 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9245 2013-05-22 Joseph Myers <joseph@codesourcery.com>
9247 * math/gen-libm-test.pl (parse_args): Do not include expected
9248 result in test name.
9249 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9250 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9251 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9252 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9253 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9256 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9258 * benchtests/Makefile: Sort function entries.
9260 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9261 tanh, asinh, acosh, atanh.
9262 * benchtests/acos-inputs: New file.
9263 * benchtests/acosh-inputs: New file.
9264 * benchtests/asin-inputs: New file.
9265 * benchtests/asinh-inputs: New file.
9266 * benchtests/atanh-inputs: New file.
9267 * benchtests/cosh-inputs: New file.
9268 * benchtests/log-inputs: New file.
9269 * benchtests/sinh-inputs: New file.
9270 * benchtests/tanh-inputs: New file.
9272 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
9275 * posix/tst-getaddrinfo4.c: New test.
9276 * posix/Makefile (tests): Add it.
9278 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9281 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9282 when no services were used.
9283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9284 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9286 2013-05-21 Andreas Schwab <schwab@suse.de>
9289 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9290 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9292 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9293 redundant variable declarations and reallocation of buffer when
9294 parsing as IPv6 address. Always set NSS status when called from
9295 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
9296 buffer too small. Correct computation of needed size.
9297 * nss/Makefile (tests): Add test-digits-dots.
9298 * nss/test-digits-dots.c: New test.
9300 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 * benchtests/Makefile: Remove instructions for adding
9304 * benchtests/README: New file to explain how to execute and
9305 enhance the benchmark tests.
9307 2013-05-21 Andreas Schwab <schwab@suse.de>
9310 * setjmp/Makefile (tests): Add tst-sigsetjmp.
9311 * setjmp/tst-sigsetjmp.c: New test.
9313 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9315 * sysdeps/x86_64/memset.S (memset): New implementation.
9316 (__bzero): Likewise.
9317 (__memset_tail): New function.
9319 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
9321 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9322 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9323 __memcpy_sse2_unaligned ifunc selection.
9324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9325 Add memcpy-sse2-unaligned.S.
9326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9327 Add: __memcpy_sse2_unaligned.
9329 2013-05-19 Joseph Myers <joseph@codesourcery.com>
9332 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9333 math_force_eval before restoring floating-point envrionment.
9334 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9337 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9339 (__nearbyintl): Use math_force_eval before restoring
9340 floating-point environment.
9341 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9343 * math/gen-libm-test.pl (special_functions): Remove.
9344 (parse_args): Don't handle TEST_extra. Handle functions with no
9346 * math/libm-test.inc (struct test_sincos_data): Replace with
9347 struct test_fFF_11_data.
9348 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9349 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9350 (sincos_test_data): Change element type to struct
9351 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
9352 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9353 RUN_TEST_LOOP_sincos.
9354 * math/README.libm-test: Don't mention special handling of
9355 individual functions.
9356 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9357 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9358 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9359 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9360 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9363 * math/gen-libm-test.pl (get_variable): Remove function.
9364 (parse_args): Don't show pointer parameters to call in test
9365 names. Use "extra output N" in test names for extra outputs
9366 rather than naming variables.
9368 2013-05-18 Joseph Myers <joseph@codesourcery.com>
9371 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9372 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9373 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9375 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9377 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9380 * math/gen-libm-test.pl (@tests): Remove variable.
9382 (new_test): Remove function.
9383 (show_exceptions): New function.
9384 (special_functions): Use show_exceptions instead of new_test.
9385 (parse_args): Likewise.
9386 (generate_testfile): Pass only function name in generated call to
9387 print_max_error or print_complex_max_error.
9388 (get_ulps): Do not handle complex tests specially.
9389 (output_test): Rename to ...
9390 (get_all_ulps_for_test): ... this. Return a string rather than
9391 printing to a file. Require ulps to be present.
9392 (output_ulps): Generate arrays rather than #defines.
9393 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9394 (struct ulp_data): New type.
9395 (BUILD_COMPLEX_ULP): Remove macro.
9396 (compare_ulp_data): New function.
9397 (find_ulps): Likewise.
9398 (find_test_ulps): Likewise.
9399 (find_function_ulps): Likewise.
9400 (find_complex_function_ulps): Likewise.
9401 (print_max_error): Determine allowed ulps using
9403 (print_complex_max_error): Determine allowed ulps using
9404 find_complex_function_ulps.
9405 (check_float_internal): Determine max ulps using find_test_ulps.
9406 (check_float): Do not take max_ulp parameter. Update call to
9407 check_float_internal.
9408 (check_complex): Likewise.
9409 (check_int): Do not take max_ulp parameter.
9410 (check_long): Likewise.
9411 (check_bool): Likewise.
9412 (check_longlong): Likewise.
9413 (struct test_f_f_data): Remove max_ulp field.
9414 (struct test_ff_f_data): Likewise.
9415 (struct test_ff_f_data_nexttoward): Likewise.
9416 (struct test_fi_f_data): Likewise.
9417 (struct test_fl_f_data): Likewise.
9418 (struct test_if_f_data): Likewise.
9419 (struct test_fff_f_data): Likewise.
9420 (struct test_c_f_data): Likewise.
9421 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9422 (struct test_fF_f1_data): Likewise.
9423 (struct test_ffI_f1_data): Likewise.
9424 (struct test_c_c_data): Remove max_ulp field.
9425 (struct test_cc_c_data): Likewise.
9426 (struct test_f_i_data): Likewise.
9427 (struct test_ff_i_data): Likewise.
9428 (struct test_f_l_data): Likewise.
9429 (struct test_f_L_data): Likewise.
9430 (struct test_sincos_data): Likewise.
9431 (RUN_TEST_f_f): Do not handle ulps.
9432 (RUN_TEST_LOOP_f_f): Likewise.
9433 (RUN_TEST_2_f): Likewise.
9434 (RUN_TEST_LOOP_2_f): Likewise.
9435 (RUN_TEST_fff_f): Likewise.
9436 (RUN_TEST_LOOP_fff_f): Likewise.
9437 (RUN_TEST_c_f): Likewise.
9438 (RUN_TEST_LOOP_c_f): Likewise.
9439 (RUN_TEST_f_f1): Likewise.
9440 (RUN_TEST_LOOP_f_f1): Likewise.
9441 (RUN_TEST_fF_f1): Likewise.
9442 (RUN_TEST_LOOP_fF_f1): Likewise.
9443 (RUN_TEST_fI_f1): Likewise.
9444 (RUN_TEST_LOOP_fI_f1): Likewise.
9445 (RUN_TEST_ffI_f1): Likewise.
9446 (RUN_TEST_LOOP_ffI_f1): Likewise.
9447 (RUN_TEST_c_c): Likewise.
9448 (RUN_TEST_LOOP_c_c): Likewise.
9449 (RUN_TEST_cc_c): Likewise.
9450 (RUN_TEST_LOOP_cc_c): Likewise.
9451 (RUN_TEST_f_i): Likewise.
9452 (RUN_TEST_LOOP_f_i): Likewise.
9453 (RUN_TEST_f_i_tg): Likewise.
9454 (RUN_TEST_LOOP_f_i_tg): Likewise.
9455 (RUN_TEST_ff_i_tg): Likewise.
9456 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9457 (RUN_TEST_f_b): Likewise.
9458 (RUN_TEST_LOOP_f_b): Likewise.
9459 (RUN_TEST_f_b_tg): Likewise.
9460 (RUN_TEST_LOOP_f_b_tg): Likewise.
9461 (RUN_TEST_f_l): Likewise.
9462 (RUN_TEST_LOOP_f_l): Likewise.
9463 (RUN_TEST_f_L): Likewise.
9464 (RUN_TEST_LOOP_f_L): Likewise.
9465 (RUN_TEST_sincos): Likewise.
9466 (RUN_TEST_LOOP_sincos): Likewise.
9468 2013-05-17 Joseph Myers <joseph@codesourcery.com>
9472 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9473 main case of finite arguments, set rounding mode to FE_TONEAREST
9474 and discard exceptions.
9475 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9477 (remainder_tonearest_test_data): New variable.
9478 (remainder_test_tonearest): New function.
9479 (remainder_towardzero_test_data): New variable.
9480 (remainder_test_towardzero): New function.
9481 (remainder_downward_test_data): New variable.
9482 (remainder_test_downward): New function.
9483 (remainder_upward_test_data): New variable.
9484 (remainder_test_upward): New function.
9485 (main): Call the new test functions.
9487 * math/libm-test.inc (struct test_f_f1_data): Remove field
9489 (struct test_fF_f1_data): Likewise.
9490 (struct test_ffI_f1_data): Likewise.
9491 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
9492 based on value of EXTRA_EXPECTED.
9493 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9494 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
9495 EXTRA_VAR based on value of EXTRA_EXPECTED.
9496 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9497 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
9498 EXTRA_VAR based on value of EXTRA_EXPECTED.
9499 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9500 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
9501 EXTRA_VAR based on value of EXTRA_EXPECTED.
9502 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9503 * math/gen-libm-test.pl (parse_args): Don't output initializers
9504 for extra output values.
9506 * math/libm-test.inc (check_int): Expect result to be exactly
9507 equal to expected value and do not handle ulps.
9508 (check_long): Likewise.
9509 (check_longlong): Likewise.
9511 * math/libm-test.inc (ceil_test_data): Test for "inexact"
9513 (cimag_test_data): Likewise.
9514 (conj_test_data): Likewise.
9515 (copysign_test_data): Likewise.
9516 (cproj_test_data): Likewise.
9517 (creal_test_data): Likewise.
9518 (fabs_test_data): Likewise.
9519 (fdim_test_data): Likewise.
9520 (finite_test_data): Likewise.
9521 (floor_test_data): Likewise.
9522 (fmax_test_data): Likewise.
9523 (fmin_test_data): Likewise.
9524 (fmod_test_data): Likewise.
9525 (fpclassify_test_data): Likewise.
9526 (frexp_test_data): Likewise.
9527 (ilogb_test_data): Likewise.
9528 (isfinite_test_data): Likewise.
9529 (isgreater_test_data): Likewise.
9530 (isgreaterequal_test_data): Likewise.
9531 (isinf_test_data): Likewise.
9532 (isless_test_data): Likewise.
9533 (islessequal_test_data): Likewise.
9534 (islessgreater_test_data): Likewise.
9535 (isnan_test_data): Likewise.
9536 (isnormal_test_data): Likewise.
9537 (issignaling_test_data): Likewise.
9538 (isunordered_test_data): Likewise.
9539 (ldexp_test_data): Likewise.
9540 (lrint_test_data): Likewise.
9541 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9542 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9543 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9544 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9545 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9546 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9548 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9549 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9550 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9551 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9553 (lrint_downward_test_data): Test for "inexact" exceptions.
9554 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9555 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9556 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9558 (lrint_upward_test_data): Test for "inexact" exceptions.
9559 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9561 (llrint_test_data): Test for "inexact" exceptions.
9562 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9563 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9564 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9565 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9566 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9567 (llrint_downward_test_data): Test for "inexact" exceptions.
9568 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9569 (llrint_upward_test_data): Test for "inexact" exceptions.
9570 (logb_test_data): Likewise.
9571 (logb_downward_test_data): Likewise.
9572 (nextafter_test_data): Likewise.
9573 (nexttoward_test_data): Likewise.
9574 (remainder_test_data): Likewise.
9575 (remquo_test_data): Likewise.
9576 (scalbn_test_data): Likewise.
9577 (scalbln_test_data): Likewise.
9578 (signbit_test_data): Likewise.
9579 (sqrt_test_data): Likewise.
9580 (significand_test_data): Likewise.
9582 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9585 * benchtests/bench-modf.c (struct args): Mark arg0 as
9587 * scripts/bench.pl: Mark members of struct args as volatile.
9589 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9592 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9593 negative infinity on POWER6 or lower.
9594 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9596 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9599 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9600 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9601 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9602 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9603 (_FP_SETQNAN): New macro.
9604 (_FP_SETQNAN_SEMIRAW): Likewise.
9605 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9606 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9607 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9608 (FP_EXTEND): Use _FP_FRAC_SNANP.
9609 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9610 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9612 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9614 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9617 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9619 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9620 with DIVIDE_BY_ZERO_EXCEPTION.
9621 (gamma_test_data): Likewise.
9622 (lgamma_test_data): Likewise.
9623 (log_test_data): Likewise.
9624 (log10_test_data): Likewise.
9625 (log2_test_data): Likewise.
9626 (tgamma_test_data): Likewise.
9628 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9629 (acos_test_tonearest): Likewise.
9630 (acos_test_towardzero): Likewise.
9631 (acos_test_downward): Likewise.
9632 (acos_test_upward): Likewise.
9633 (acosh_test): Likewise.
9634 (asin_test): Likewise.
9635 (asin_test_tonearest): Likewise.
9636 (asin_test_towardzero): Likewise.
9637 (asin_test_downward): Likewise.
9638 (asin_test_upward): Likewise.
9639 (asinh_test): Likewise.
9640 (atan_test): Likewise.
9641 (atanh_test): Likewise.
9642 (atan2_test): Likewise.
9643 (cabs_test): Likewise.
9644 (cacos_test): Likewise.
9645 (cacosh_test): Likewise.
9646 (casin_test): Likewise.
9647 (casinh_test): Likewise.
9648 (catan_test): Likewise.
9649 (catanh_test): Likewise.
9650 (cbrt_test): Likewise.
9651 (ccos_test): Likewise.
9652 (ccosh_test): Likewise.
9653 (cexp_test): Likewise.
9654 (clog_test): Likewise.
9655 (clog10_test): Likewise.
9656 (cos_test): Likewise.
9657 (cos_test_tonearest): Likewise.
9658 (cos_test_towardzero): Likewise.
9659 (cos_test_downward): Likewise.
9660 (cos_test_upward): Likewise.
9661 (cosh_test): Likewise.
9662 (cosh_test_tonearest): Likewise.
9663 (cosh_test_towardzero): Likewise.
9664 (cosh_test_downward): Likewise.
9665 (cosh_test_upward): Likewise.
9666 (cpow_test): Likewise.
9667 (csin_test): Likewise.
9668 (csinh_test): Likewise.
9669 (csqrt_test): Likewise.
9670 (ctan_test): Likewise.
9671 (ctan_test_tonearest): Likewise.
9672 (ctan_test_towardzero): Likewise.
9673 (ctan_test_downward): Likewise.
9674 (ctan_test_upward): Likewise.
9675 (ctanh_test): Likewise.
9676 (ctanh_test_tonearest): Likewise.
9677 (ctanh_test_towardzero): Likewise.
9678 (ctanh_test_downward): Likewise.
9679 (ctanh_test_upward): Likewise.
9680 (erf_test): Likewise.
9681 (erfc_test): Likewise.
9682 (exp_test): Likewise.
9683 (exp_test_tonearest): Likewise.
9684 (exp_test_towardzero): Likewise.
9685 (exp_test_downward): Likewise.
9686 (exp_test_upward): Likewise.
9687 (exp10_test): Likewise.
9688 (exp2_test): Likewise.
9689 (expm1_test): Likewise.
9690 (fmod_test): Likewise.
9691 (gamma_test): Likewise.
9692 (hypot_test): Likewise.
9693 (j0_test): Likewise.
9694 (j1_test): Likewise.
9695 (jn_test): Likewise.
9696 (lgamma_test): Likewise.
9697 (log_test): Likewise.
9698 (log10_test): Likewise.
9699 (log1p_test): Likewise.
9700 (log2_test): Likewise.
9701 (logb_test_downward): Likewise.
9702 (pow_test): Likewise.
9703 (pow_test_tonearest): Likewise.
9704 (pow_test_towardzero): Likewise.
9705 (pow_test_downward): Likewise.
9706 (pow_test_upward): Likewise.
9707 (remainder_test): Likewise.
9708 (remquo_test): Likewise.
9709 (sin_test): Likewise.
9710 (sin_test_tonearest): Likewise.
9711 (sin_test_towardzero): Likewise.
9712 (sin_test_downward): Likewise.
9713 (sin_test_upward): Likewise.
9714 (sincos_test): Likewise.
9715 (sinh_test): Likewise.
9716 (sinh_test_tonearest): Likewise.
9717 (sinh_test_towardzero): Likewise.
9718 (sinh_test_downward): Likewise.
9719 (sinh_test_upward): Likewise.
9720 (sqrt_test): Likewise.
9721 (tan_test): Likewise.
9722 (tan_test_tonearest): Likewise.
9723 (tan_test_towardzero): Likewise.
9724 (tan_test_downward): Likewise.
9725 (tan_test_upward): Likewise.
9726 (tanh_test): Likewise.
9727 (tgamma_test): Likewise.
9728 (y0_test): Likewise.
9729 (y1_test): Likewise.
9730 (yn_test): Likewise.
9732 * math/gen-libm-test.pl (adjust_arg): Remove function.
9733 (special_function): Remove argument $in_func. Only handle
9734 generating output for tables of tests, not inside functions.
9735 (parse_args): Likewise.
9736 (generate_testfile): Remove variable $in_func. Update call to
9738 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9739 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9740 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9741 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9742 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9743 (MAX_VALUE_INIT): Rename macro to max_value.
9744 (MIN_VALUE_INIT): Rename macro to min_value.
9745 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9746 (plus_zero): Remove variable.
9747 (minus_zero): Likewise.
9748 (plus_infty): Likewise.
9749 (minus_infty): Likewise.
9750 (qnan_value): Likewise.
9751 (max_value): Likewise.
9752 (min_value): Likewise.
9753 (min_subnorm_value): Likewise.
9755 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9757 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9758 uint64_t or uint32_t usage.
9759 * crypt/sha256-block.c: Likewise.
9760 * crypt/sha256-crypt.c: Likewise.
9761 * crypt/sha256.c: Likewise.
9762 * crypt/sha512-block.c: Likewise.
9763 * crypt/sha512-crypt.c: Likewise.
9764 * crypt/sha512.c: Likewise.
9765 * debug/backtrace-tst.c: Likewise.
9766 * debug/pcprofiledump.c: Likewise.
9767 * elf/cache.c: Likewise.
9768 * elf/dl-cache.c: Likewise.
9769 * elf/dl-misc.c: Likewise.
9770 * elf/dl-profile.c: Likewise.
9771 * elf/dl-support.c: Likewise.
9772 * elf/ldconfig.c: Likewise.
9773 * elf/sprof.c: Likewise.
9774 * iconv/dummy-repertoire.c: Likewise.
9775 * iconv/iconv_charmap.c: Likewise.
9776 * iconv/skeleton.c: Likewise.
9777 * iconvdata/8bit-generic.c: Likewise.
9778 * iconvdata/cp737.h: Likewise.
9779 * iconvdata/cp775.h: Likewise.
9780 * iconvdata/ibm1008.h: Likewise.
9781 * iconvdata/ibm1025.h: Likewise.
9782 * iconvdata/ibm1046.h: Likewise.
9783 * iconvdata/ibm1097.h: Likewise.
9784 * iconvdata/ibm1112.h: Likewise.
9785 * iconvdata/ibm1122.h: Likewise.
9786 * iconvdata/ibm1123.h: Likewise.
9787 * iconvdata/ibm1124.h: Likewise.
9788 * iconvdata/ibm1129.h: Likewise.
9789 * iconvdata/ibm1130.h: Likewise.
9790 * iconvdata/ibm1132.h: Likewise.
9791 * iconvdata/ibm1133.h: Likewise.
9792 * iconvdata/ibm1137.h: Likewise.
9793 * iconvdata/ibm1140.h: Likewise.
9794 * iconvdata/ibm1141.h: Likewise.
9795 * iconvdata/ibm1142.h: Likewise.
9796 * iconvdata/ibm1143.h: Likewise.
9797 * iconvdata/ibm1144.h: Likewise.
9798 * iconvdata/ibm1145.h: Likewise.
9799 * iconvdata/ibm1146.h: Likewise.
9800 * iconvdata/ibm1147.h: Likewise.
9801 * iconvdata/ibm1148.h: Likewise.
9802 * iconvdata/ibm1149.h: Likewise.
9803 * iconvdata/ibm1153.h: Likewise.
9804 * iconvdata/ibm1154.h: Likewise.
9805 * iconvdata/ibm1155.h: Likewise.
9806 * iconvdata/ibm1156.h: Likewise.
9807 * iconvdata/ibm1157.h: Likewise.
9808 * iconvdata/ibm1158.h: Likewise.
9809 * iconvdata/ibm1160.h: Likewise.
9810 * iconvdata/ibm1161.h: Likewise.
9811 * iconvdata/ibm1162.h: Likewise.
9812 * iconvdata/ibm1163.h: Likewise.
9813 * iconvdata/ibm1164.h: Likewise.
9814 * iconvdata/ibm1166.h: Likewise.
9815 * iconvdata/ibm1167.h: Likewise.
9816 * iconvdata/ibm12712.h: Likewise.
9817 * iconvdata/ibm1390.h: Likewise.
9818 * iconvdata/ibm1399.h: Likewise.
9819 * iconvdata/ibm16804.h: Likewise.
9820 * iconvdata/ibm4517.h: Likewise.
9821 * iconvdata/ibm4899.h: Likewise.
9822 * iconvdata/ibm4909.h: Likewise.
9823 * iconvdata/ibm4971.h: Likewise.
9824 * iconvdata/ibm5347.h: Likewise.
9825 * iconvdata/ibm803.h: Likewise.
9826 * iconvdata/ibm856.h: Likewise.
9827 * iconvdata/ibm901.h: Likewise.
9828 * iconvdata/ibm902.h: Likewise.
9829 * iconvdata/ibm9030.h: Likewise.
9830 * iconvdata/ibm9066.h: Likewise.
9831 * iconvdata/ibm921.h: Likewise.
9832 * iconvdata/ibm922.h: Likewise.
9833 * iconvdata/ibm9448.h: Likewise.
9834 * iconvdata/isiri-3342.h: Likewise.
9835 * iconvdata/jis0201.h: Likewise.
9836 * include/link.h: Likewise.
9837 * include/netdb.h: Likewise.
9838 * inet/check_native.c: Likewise.
9839 * inet/check_pf.c: Likewise.
9840 * inet/getipv4sourcefilter.c: Likewise.
9841 * inet/getnameinfo.c: Likewise.
9842 * inet/getsourcefilter.c: Likewise.
9843 * inet/htonl.c: Likewise.
9844 * inet/setipv4sourcefilter.c: Likewise.
9845 * inet/setsourcefilter.c: Likewise.
9846 * inet/test-inet6_opt.c: Likewise.
9847 * inet/tst-network.c: Likewise.
9848 * locale/C-collate.c: Likewise.
9849 * locale/C-ctype.c: Likewise.
9850 * locale/C-time.c: Likewise.
9851 * locale/C-translit.h: Likewise.
9852 * locale/loadarchive.c: Likewise.
9853 * locale/programs/3level.h: Likewise.
9854 * locale/programs/charmap.c: Likewise.
9855 * locale/programs/charmap.h: Likewise.
9856 * locale/programs/ld-address.c: Likewise.
9857 * locale/programs/ld-collate.c: Likewise.
9858 * locale/programs/ld-ctype.c: Likewise.
9859 * locale/programs/ld-identification.c: Likewise.
9860 * locale/programs/ld-measurement.c: Likewise.
9861 * locale/programs/ld-messages.c: Likewise.
9862 * locale/programs/ld-monetary.c: Likewise.
9863 * locale/programs/ld-name.c: Likewise.
9864 * locale/programs/ld-numeric.c: Likewise.
9865 * locale/programs/ld-paper.c: Likewise.
9866 * locale/programs/ld-telephone.c: Likewise.
9867 * locale/programs/ld-time.c: Likewise.
9868 * locale/programs/linereader.c: Likewise.
9869 * locale/programs/locale.c: Likewise.
9870 * locale/programs/locarchive.c: Likewise.
9871 * locale/programs/locfile.h: Likewise.
9872 * locale/programs/repertoire.c: Likewise.
9873 * locale/programs/simple-hash.c: Likewise.
9874 * locale/programs/simple-hash.h: Likewise.
9875 * malloc/memusage.c: Likewise.
9876 * malloc/memusagestat.c: Likewise.
9877 * nis/nis_defaults.c: Likewise.
9878 * nis/nis_hash.c: Likewise.
9879 * nis/nis_print.c: Likewise.
9880 * nis/nis_xdr.c: Likewise.
9881 * nscd/connections.c: Likewise.
9882 * nscd/hstcache.c: Likewise.
9883 * nscd/nscd_gethst_r.c: Likewise.
9884 * nscd/nscd_getserv_r.c: Likewise.
9885 * nscd/nscd_helper.c: Likewise.
9886 * nscd/servicescache.c: Likewise.
9887 * nss/makedb.c: Likewise.
9888 * nss/nss_db/db-XXX.c: Likewise.
9889 * nss/nss_db/db-initgroups.c: Likewise.
9890 * nss/nss_db/db-netgrp.c: Likewise.
9891 * nss/nss_files/files-network.c: Likewise.
9892 * nss/nss_files/files-parse.c: Likewise.
9893 * posix/bug-regex5.c: Likewise.
9894 * posix/fnmatch_loop.c: Likewise.
9895 * posix/regcomp.c: Likewise.
9896 * posix/regexec.c: Likewise.
9897 * posix/tst-rfc3484-2.c: Likewise.
9898 * posix/tst-rfc3484-3.c: Likewise.
9899 * posix/tst-rfc3484.c: Likewise.
9900 * resolv/nss_dns/dns-canon.c: Likewise.
9901 * resolv/nss_dns/dns-network.c: Likewise.
9902 * resolv/res_init.c: Likewise.
9903 * resolv/res_mkquery.c: Likewise.
9904 * resolv/tst-aton.c: Likewise.
9905 * stdlib/cxa_atexit.c: Likewise.
9906 * stdlib/cxa_finalize.c: Likewise.
9907 * stdlib/gen-fpioconst.c: Likewise.
9908 * stdlib/strtol_l.c: Likewise.
9909 * string/tst-endian.c: Likewise.
9910 * sunrpc/auth_des.c: Likewise.
9911 * sunrpc/clnt_udp.c: Likewise.
9912 * sunrpc/rtime.c: Likewise.
9913 * sunrpc/svcauth_des.c: Likewise.
9914 * sunrpc/xdr.c: Likewise.
9915 * sunrpc/xdr_intXX_t.c: Likewise.
9916 * sunrpc/xdr_rec.c: Likewise.
9917 * sysdeps/generic/ldconfig.h: Likewise.
9918 * sysdeps/generic/ldsodefs.h: Likewise.
9919 * sysdeps/generic/memusage.h: Likewise.
9920 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9923 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9926 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9927 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9928 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9929 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9930 * sysdeps/posix/getaddrinfo.c: Likewise.
9931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9933 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9934 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9935 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9936 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9937 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9938 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9939 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9940 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9941 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9942 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9943 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9944 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9945 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9946 * sysdeps/x86_64/dl-tls.h: Likewise.
9947 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9948 * time/alt_digit.c: Likewise.
9949 * time/era.c: Likewise.
9950 * wcsmbs/tst-c16c32-1.c: Likewise.
9952 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9954 * math/libm-test.inc (struct test_sincos_data): New type.
9955 (RUN_TEST_LOOP_sincos): New macro.
9956 (sincos_test_data): New variable.
9957 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9959 2013-05-16 Richard Henderson <rth@redhat.com>
9961 * math/atest-exp2.c (LIMB64): New macro.
9962 (CONSTSZ): New macro.
9963 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9965 (print_mpn_fp): ... to function scope.
9966 (read_mpn_hex): Remove.
9968 (exp2_mpn): Use mp_log2.
9969 (main): Use mp_exp1.
9971 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9973 * math/libm-test.inc: Remove comment about not testing "inexact"
9975 (INEXACT_EXCEPTION): New macro.
9976 (NO_INEXACT_EXCEPTION): Likewise.
9977 (INVALID_EXCEPTION_OK): Update value.
9978 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9979 (OVERFLOW_EXCEPTION_OK): Likewise.
9980 (UNDERFLOW_EXCEPTION_OK): Likewise.
9981 (IGNORE_ZERO_INF_SIGN): Likewise.
9982 (ERRNO_UNCHANGED): Likewise.
9983 (ERRNO_EDOM): Likewise.
9984 (ERRNO_ERANGE): Likewise.
9985 (test_exceptions): Handle testing "inexact" exceptions.
9986 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9987 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9988 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9989 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9991 (rint_towardzero_test_data): Likewise.
9992 (rint_downward_test_data): Likewise.
9993 (rint_upward_test_data): Likewise.
9995 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9996 with OVERFLOW_EXCEPTION.
9997 (exp10_test_data): Likewise.
9998 (exp2_test_data): Likewise.
9999 (expm1_test_data): Likewise.
10000 (lgamma_test_data): Likewise.
10001 (pow_test_data): Likewise.
10002 (tgamma_test_data): Likewise.
10003 (yn_test_data): Remove duplicate test of overflow.
10005 * math/libm-test.inc (struct test_cc_c_data): New type.
10006 (RUN_TEST_LOOP_cc_c): New macro.
10007 (cpow_test_data): New variable.
10008 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
10010 * math/libm-test.inc (struct test_f_L_data): New type.
10011 (RUN_TEST_LOOP_f_L): New macro.
10012 (llrint_test_data): New variable.
10013 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10014 (llrint_tonearest_test_data): New variable.
10015 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10016 (llrint_towardzero_test_data): New variable.
10017 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10018 (llrint_downward_test_data): New variable.
10019 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10020 (llrint_upward_test_data): New variable.
10021 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10022 (llround_test_data): New variable.
10023 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10025 2013-05-13 Peter Collingbourne <pcc@google.com>
10027 * math/atest-exp2.c (get_log2): Remove const attribute.
10029 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10031 * math/libm-test.inc (struct test_f_l_data): New type.
10032 (RUN_TEST_LOOP_f_l): New macro.
10033 (lrint_test_data): New variable.
10034 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10035 (lrint_tonearest_test_data): New variable.
10036 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10037 (lrint_towardzero_test_data): New variable.
10038 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10039 (lrint_downward_test_data): New variable.
10040 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10041 (lrint_upward_test_data): New variable.
10042 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10043 (lround_test_data): New variable.
10044 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10046 2013-05-15 Peter Collingbourne <pcc@google.com>
10048 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10049 (EXTRACT_WORDS64) Use where appropriate.
10050 (INSERT_WORDS64) Likewise.
10052 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10053 constraints with x constraints.
10054 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10056 * malloc/obstack.c (_obstack_compat): Add initializer.
10058 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
10060 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10061 si_trapno and add si_addr_lsb to _sifields.sigfault.
10062 (si_trapno): Remove macro.
10063 (si_addr_lsb): Define new macro.
10064 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10066 2013-05-15 Joseph Myers <joseph@codesourcery.com>
10068 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10069 instead of TEST_f_l.
10070 (llrint_test_tonearest): Likewise.
10071 (llrint_test_towardzero): Likewise.
10072 (llrint_test_downward): Likewise.
10073 (llrint_test_upward): Likewise.
10074 (llround_test): Likewise.
10076 * math/libm-test.inc (struct test_f_i_data): Add comment.
10077 (RUN_TEST_LOOP_f_b): New macro.
10078 (RUN_TEST_LOOP_f_b_tg): Likewise.
10079 (finite_test_data): New variable.
10080 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10081 (isfinite_test_data): New variable.
10082 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10083 (isinf_test_data): New variable.
10084 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10085 (isnan_test_data): New variable.
10086 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10087 (isnormal_test_data): New variable.
10088 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10089 (issignaling_test_data): New variable.
10090 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10091 (signbit_test_data): New variable.
10092 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10094 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10095 with INVALID_EXCEPTION.
10096 (acosh_test_data): Likewise.
10097 (asin_test_data): Likewise.
10098 (atanh_test_data): Likewise.
10099 (fmod_test_data): Likewise.
10100 (log_test_data): Likewise.
10101 (log10_test_data): Likewise.
10102 (log2_test_data): Likewise.
10103 (pow_test_data): Likewise.
10104 (sqrt_test_data): Likewise.
10105 (y0_test_data): Likewise.
10106 (y1_test_data): Likewise.
10107 (yn_test_data): Likewise.
10109 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10112 * math/libm-test.inc (struct test_ff_i_data): New type.
10113 (RUN_TEST_LOOP_ff_i_tg): New macro.
10114 (isgreater_test_data): New variable.
10115 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10116 (isgreaterequal_test_data): New variable.
10117 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10118 (isless_test_data): New variable.
10119 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10120 (islessequal_test_data): New variable.
10121 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10122 (islessgreater_test_data): New variable.
10123 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10124 (isunordered_test_data): New variable.
10125 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10127 2013-05-14 David S. Miller <davem@davemloft.net>
10129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10131 2013-05-14 Joseph Myers <joseph@codesourcery.com>
10133 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10135 * math/libm-test.inc (struct test_fF_f1_data): Change type of
10137 (struct test_f_i_data): Change type of max_ulp to int.
10139 * math/libm-test.inc (test_ffI_f1_data): New type.
10140 (RUN_TEST_LOOP_ffI_f1): New macro.
10141 (remquo_test_data): New variable.
10142 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10144 * setjmp/tst-setjmp-fp.c: New file.
10145 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10146 (link-libm): New variable.
10147 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10149 * math/libm-test.inc (struct test_f_i_data): New type.
10150 (RUN_TEST_LOOP_f_i): New macro.
10151 (RUN_TEST_LOOP_f_i_tg): Likewise.
10152 (fpclassify_test_data): New variable.
10153 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10154 (ilogb_test_data): New variable.
10155 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10157 * math/libm-test.inc (scalbln_test): Correct function name in END
10160 * math/libm-test.inc (struct test_f_f1_data): Add comment.
10161 (RUN_TEST_LOOP_fI_f1): New macro.
10162 (frexp_test_data): New variable.
10163 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10165 * math/libm-test.inc (struct test_fF_f1_data): New type.
10166 (RUN_TEST_LOOP_fF_f1): New macro.
10167 (modf_test_data): New variable.
10168 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10170 * math/libm-test.inc (struct test_f_f1_data): New type.
10171 (RUN_TEST_LOOP_f_f1): New macro.
10172 (gamma_test_data): New variable.
10173 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10174 (lgamma_test_data): New variable.
10175 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10177 2013-05-13 Carlos O'Donell <carlos@redhat.com>
10179 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10180 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10181 (main): Comment "tls" pseudo-hwcap.
10183 2013-05-13 Joseph Myers <joseph@codesourcery.com>
10185 * math/libm-test.inc (struct test_fl_f_data): New type.
10186 (RUN_TEST_LOOP_fl_f): New variable.
10187 (scalbln_test_data): New variable.
10188 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10190 * math/libm-test.inc (struct test_fi_f_data): New type.
10191 (RUN_TEST_LOOP_fi_f): New macro.
10192 (ldexp_test_data): New variable.
10193 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10194 (scalbn_test_data): New variable.
10195 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10197 * math/libm-test.inc (struct test_c_f_data): New type.
10198 (RUN_TEST_LOOP_c_f): New macro.
10199 (cabs_test_data): New variable.
10200 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10201 (carg_test_data): New variable.
10202 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10203 (cimag_test_data): New variable.
10204 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10205 (creal_test_data): New variable.
10206 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10208 * math/libm-test.inc (struct test_if_f_data): New type.
10209 (RUN_TEST_LOOP_if_f): New macro.
10210 (jn_test_data): New variable.
10211 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10212 (yn_test_data): New variable.
10213 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10215 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10217 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10219 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10220 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10222 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10224 * benchtests/Makefile (CPPFLAGS-nonlib): Add
10225 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10226 (bench-deps): Add bench-timing.h.
10227 * benchtests-bench-skeleton.c: Include bench-timing.h.
10228 (main): Use TIMING_* macros instead of clock_gettime.
10229 * benchtests/bench-timing.h: New file.
10232 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10233 Renamed from _LIB_VERSION.
10234 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10236 2013-05-12 Joseph Myers <joseph@codesourcery.com>
10238 * math/libm-test.inc (struct test_fff_f_data): New type.
10239 (RUN_TEST_LOOP_fff_f): New macro.
10240 (fma_test_data): New variable.
10241 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10242 (fma_towardzero_test_data): New variable.
10243 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10244 (fma_downward_test_data): New variable.
10245 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10246 (fma_upward_test_data): New variable.
10247 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10249 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10250 (struct test_c_c_data): New type.
10251 (RUN_TEST_LOOP_c_c): New macro.
10252 (cacos_test_data): New variable.
10253 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10254 (cacosh_test_data): New variable.
10255 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10256 (casin_test_data): New variable.
10257 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10258 (casinh_test_data): New variable.
10259 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10260 (catan_test_data): New variable.
10261 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10262 (catanh_test_data): New variable.
10263 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10264 (ccos_test_data): New variable.
10265 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10266 (ccosh_test_data): New variable.
10267 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10268 (cexp_test_data): New variable.
10269 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10270 (clog_test_data): New variable.
10271 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10272 (clog10_test_data): New variable.
10273 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10274 (conj_test_data): New variable.
10275 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10276 (cproj_test_data): New variable.
10277 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10278 (csin_test_data): New variable.
10279 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10280 (csinh_test_data): New variable.
10281 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10282 (csqrt_test_data): New variable.
10283 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10284 (ctan_test_data): New variable.
10285 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10286 (ctan_tonearest_test_data): New variable.
10287 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10288 (ctan_towardzero_test_data): New variable.
10289 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10290 (ctan_downward_test_data): New variable.
10291 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10292 (ctan_upward_test_data): New variable.
10293 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10294 (ctanh_test_data): New variable.
10295 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10296 (ctanh_tonearest_test_data): New variable.
10297 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10298 (ctanh_towardzero_test_data): New variable.
10299 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10300 (ctanh_downward_test_data): New variable.
10301 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10302 (ctanh_upward_test_data): New variable.
10303 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10304 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10307 * math/libm-test.inc (struct test_ff_f_data): New type.
10308 (struct test_ff_f_data_nexttoward): Likewise.
10309 (RUN_TEST_LOOP_2_f): New macro.
10310 (RUN_TEST_LOOP_ff_f): Likewise.
10311 (atan2_test_data): New variable.
10312 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10313 (copysign_test_data): New variable.
10314 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10315 (fdim_test_data): New variable.
10316 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10317 (fmax_test_data): New variable.
10318 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10319 (fmin_test_data): New variable.
10320 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10321 (fmod_test_data): New variable.
10322 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10323 (hypot_test_data): New variable.
10324 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10325 (nextafter_test_data): New variable.
10326 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10327 (nexttoward_test_data): New variable.
10328 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10329 (pow_test_data): New variable.
10330 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10331 (pow_tonearest_test_data): New variable.
10332 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10333 (pow_towardzero_test_data): New variable.
10334 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10335 (pow_downward_test_data): New variable.
10336 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10337 (pow_upward_test_data): New variable.
10338 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10339 (remainder_test_data): New variable.
10340 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10341 (scalb_test_data): New variable.
10342 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10343 * sysdeps/i386/fpu/libm-test-ulps: Update.
10345 2013-05-11 Joseph Myers <joseph@codesourcery.com>
10347 * math/libm-test.inc (fma_test): Use max_value instead of local
10349 (nextafter_test): Likewise.
10351 * math/libm-test.inc (acos_towardzero_test_data): New variable.
10352 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10353 (acos_downward_test_data): New variable.
10354 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10355 (acos_upward_test_data): New variable.
10356 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10357 (acosh_test_data): New variable.
10358 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10359 (asin_test_data): New variable.
10360 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10361 (asin_tonearest_test_data): New variable.
10362 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10363 (asin_towardzero_test_data): New variable.
10364 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10365 (asin_downward_test_data): New variable.
10366 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10367 (asin_upward_test_data): New variable.
10368 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10369 (asinh_test_data): New variable.
10370 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10371 (atan_test_data): New variable.
10372 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10373 (atanh_test_data): New variable.
10374 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10375 (cbrt_test_data): New variable.
10376 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10377 (ceil_test_data): New variable.
10378 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10379 (cos_test_data): New variable.
10380 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10381 (cos_tonearest_test_data): New variable.
10382 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10383 (cos_towardzero_test_data): New variable.
10384 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10385 (cos_downward_test_data): New variable.
10386 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10387 (cos_upward_test_data): New variable.
10388 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10389 (cosh_test_data): New variable.
10390 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10391 (cosh_tonearest_test_data): New variable.
10392 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10393 (cosh_towardzero_test_data): New variable.
10394 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10395 (cosh_downward_test_data): New variable.
10396 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10397 (cosh_upward_test_data): New variable.
10398 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10399 (erf_test_data): New variable.
10400 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10401 (erfc_test_data): New variable.
10402 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10403 (exp_test_data): New variable.
10404 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10405 (exp_tonearest_test_data): New variable.
10406 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10407 (exp_towardzero_test_data): New variable.
10408 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10409 (exp_downward_test_data): New variable.
10410 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10411 (exp_upward_test_data): New variable.
10412 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10413 (exp10_test_data): New variable.
10414 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10415 (exp2_test_data): New variable.
10416 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10417 (expm1_test_data): New variable.
10418 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10419 (fabs_test_data): New variable.
10420 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10421 (floor_test_data): New variable.
10422 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10423 (j0_test_data): New variable.
10424 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10425 (j1_test_data): New variable.
10426 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10427 (log_test_data): New variable.
10428 (log_test): Run tests with RUN_TEST_LOOP_f_f.
10429 (log10_test_data): New variable.
10430 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10431 (log1p_test_data): New variable.
10432 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10433 (log2_test_data): New variable.
10434 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10435 (logb_test_data): New variable.
10436 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10437 (logb_downward_test_data): New variable.
10438 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10439 (nearbyint_test_data): New variable.
10440 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10441 (rint_test_data): New variable.
10442 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10443 (rint_tonearest_test_data): New variable.
10444 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10445 (rint_towardzero_test_data): New variable.
10446 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10447 (rint_downward_test_data): New variable.
10448 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10449 (rint_upward_test_data): New variable.
10450 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10451 (round_test_data): New variable.
10452 (round_test): Run tests with RUN_TEST_LOOP_f_f.
10453 (sin_test_data): New variable.
10454 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10455 (sin_tonearest_test_data): New variable.
10456 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10457 (sin_towardzero_test_data): New variable.
10458 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10459 (sin_downward_test_data): New variable.
10460 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10461 (sin_upward_test_data): New variable.
10462 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10463 (sinh_test_data): New variable.
10464 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10465 (sinh_tonearest_test_data): New variable.
10466 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10467 (sinh_towardzero_test_data): New variable.
10468 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10469 (sinh_downward_test_data): New variable.
10470 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10471 (sinh_upward_test_data): New variable.
10472 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10473 (sqrt_test_data): New variable.
10474 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10475 (tan_test_data): New variable.
10476 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10477 (tan_tonearest_test_data): New variable.
10478 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10479 (tan_towardzero_test_data): New variable.
10480 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10481 (tan_downward_test_data): New variable.
10482 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10483 (tan_upward_test_data): New variable.
10484 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10485 (tanh_test_data): New variable.
10486 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10487 (tgamma_test_data): New variable.
10488 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10489 (trunc_test_data): New variable.
10490 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10491 (y0_test_data): New variable.
10492 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10493 (y1_test_data): New variable.
10494 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10495 (significand_test_data): New variable.
10496 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10498 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
10501 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10503 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
10505 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10507 2013-05-10 Andreas Jaeger <aj@suse.de>
10510 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10511 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10513 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10515 * math/gen-libm-test.pl (adjust_arg): New function.
10516 (special_functions): Handle generating output in both functions
10518 (parse_args): Likewise.
10519 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
10520 $in_func argument to parse_args.
10521 * math/libm-test.inc (struct test_f_f_data): New type.
10522 (IF_ROUND_INIT_): New macro.
10523 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10524 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10525 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10526 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10527 (ROUND_RESTORE_): Likewise.
10528 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10529 (ROUND_RESTORE_FE_TONEAREST): Likewise.
10530 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10531 (ROUND_RESTORE_FE_UPWARD): Likewise.
10532 (RUN_TEST_LOOP_f_f): New macro.
10533 (acos_test_data): New variable.
10534 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10535 (acos_tonearest_test_data): New variable.
10536 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10538 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10540 * benchtests/bench-skeleton.c (startup): Fix coding style.
10542 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10545 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10546 negative infinity argument.
10547 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10548 negative infinity argument.
10549 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10550 negative infinity argument.
10551 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10554 2013-05-10 Florian Weimer <fweimer@redhat.com>
10556 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10557 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10558 * iconv/iconv_prog.c (main): Likewise.
10559 * locale/programs/charmap-dir.c (charmap_readdir)
10560 (fopen_uncompressed): Likewise.
10561 * locale/programs/locfile.c (siblings_uncached)
10562 (write_locale_data): Use lstat64 instead of lstat.
10563 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10566 2013-05-10 Andreas Jaeger <aj@suse.de>
10569 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10571 Include <locale.h>.
10573 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10575 * elf/dl-close.c (_dl_close_worker): Add comments.
10577 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10580 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10582 (__ieee754_rem_pio2l): Update comments.
10585 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10587 (__ieee754_rem_pio2l): Update comments.
10589 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10590 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10592 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10595 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10596 (M_PI_34_LOG10El): Likewise.
10597 (M_PI2_LOG10El): Likewise.
10598 (M_PI4_LOG10El): Likewise.
10599 (M_PI_LOG10El): Likewise.
10601 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10605 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10607 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10608 (MINUS_ZERO_INIT): Likewise.
10609 (PLUS_INFTY_INIT): Likewise.
10610 (MINUS_INFTY_INIT): Likewise.
10611 (QNAN_VALUE_INIT): Likewise.
10612 (MAX_VALUE_INIT): Likewise.
10613 (MIN_VALUE_INIT): Likewise.
10614 (MIN_SUBNORM_VALUE_INIT): Likewise.
10615 (plus_zero): Initialize with PLUS_ZERO_INIT.
10616 (minus_zero): Initialize with MINUS_ZERO_INIT.
10617 (plus_infty): Initialize with PLUS_INFTY_INIT.
10618 (minus_infty): Initialize with MINUS_INFTY_INIT.
10619 (qnan_value): Initialize with QNAN_VALUE_INIT.
10620 (max_value): Initialize with MAX_VALUE_INIT.
10621 (min_value): Initialize with MIN_VALUE_INIT.
10622 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10624 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10625 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10626 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10627 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10629 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10630 (RUN_TEST_2_f): Likewise.
10631 (RUN_TEST_ff_f): Likewise.
10632 (RUN_TEST_fi_f): Likewise.
10633 (RUN_TEST_fl_f): Likewise.
10634 (RUN_TEST_fff_f): Likewise.
10635 (RUN_TEST_c_f): Likewise.
10636 (RUN_TEST_f_f1): Likewise.
10637 (RUN_TEST_fF_f1): Likewise.
10638 (RUN_TEST_fI_f1): Likewise.
10639 (RUN_TEST_ffI_f1): Likewise.
10640 (RUN_TEST_c_c): Likewise.
10641 (RUN_TEST_cc_c): Likewise.
10642 (RUN_TEST_f_i): Likewise.
10643 (RUN_TEST_f_i_tg): Likewise.
10644 (RUN_TEST_ff_i_tg): Likewise.
10645 (RUN_TEST_f_b): Likewise.
10646 (RUN_TEST_f_b_tg): Likewise.
10647 (RUN_TEST_f_l): Likewise.
10648 (RUN_TEST_f_L): Likewise.
10649 (RUN_TEST_sincos): Likewise.
10650 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10651 whether to show exceptions. Do not include ");\n" in return
10653 (special_functions): Output call to RUN_TEST_sincos instead of
10654 check_float calls. Update calls to new_test.
10655 (parse_args): Output call to single RUN_TEST_* macro instead of
10656 check_* calls and other assignments. Update calls to new_test.
10662 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10663 input to result for tgamma overflow.
10664 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10665 (gamma_coeff): New variable.
10666 (NCOEFF): New macro.
10667 (gamma_positive): New function.
10668 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10669 underflow here. Use gamma_positive instead of exp (lgamma) for
10671 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10672 (gamma_coeff): New variable.
10673 (NCOEFF): New macro.
10674 (gammaf_positive): New function.
10675 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10676 underflow here. Use gamma_positive instead of exp (lgamma) for
10678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10679 (gamma_coeff): New variable.
10680 (NCOEFF): New macro.
10681 (gammal_positive): New function.
10682 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10683 underflow here. Use gamma_positive instead of exp (lgamma) for
10685 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10686 (gamma_coeff): New variable.
10687 (NCOEFF): New macro.
10688 (gammal_positive): New function.
10689 (__ieee754_gammal_r): Handle positive infinity, overflow and
10690 underflow here. Handle NaN the same as positive infinity. Remove
10691 check x < 0xffffffff for negative integers. Use gamma_positive
10692 instead of exp (lgamma) for other arguments.
10693 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10694 (gamma_coeff): New variable.
10695 (NCOEFF): New macro.
10696 (gammal_positive): New function.
10697 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10698 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10699 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10700 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10701 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10702 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10703 * sysdeps/generic/math_private.h (__gamma_productf): New
10705 (__gamma_product): Likewise.
10706 (__gamma_productl): Likewise.
10707 * math/Makefile (libm-calls): Add gamma_product.
10708 * math/libm-test.inc (tgamma_test): Add more tests.
10709 * sysdeps/i386/fpu/libm-test-ulps: Update.
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10714 * benchtests/bench-skeleton.c (main): Preheat CPU.
10716 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10718 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10720 2013-05-07 Roland McGrath <roland@hack.frob.com>
10722 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10723 and _dl_skip_args_internal.
10725 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10727 * manual/message.texi (Message Translation): Talk about users.
10728 Message to key mapping impacts design.
10730 2013-05-06 Roland McGrath <roland@hack.frob.com>
10732 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10734 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10736 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10737 * sysdeps/wordsize-64/glob64.c: ... here.
10739 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10740 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10743 * debug/getlogin_r_chk.c: Moved to ...
10744 * login/getlogin_r_chk.c: ... here.
10745 * debug/Makefile (routines): Move getlogin_r_chk to ...
10746 * login/Makefile (routines): ... here.
10747 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10748 * login/Versions (libc: GLIBC_2.4): ... here.
10750 * io/poll.c (__poll): Renamed from poll.
10751 Add libc_hidden_def.
10752 (poll): Define as weak alias.
10754 * debug/ptsname_r_chk.c: Moved to ...
10755 * login/ptsname_r_chk.c: ... here.
10756 * debug/Makefile (routines): Move ptsname_r_chk to ...
10757 * login/Makefile (routines): ... here.
10758 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10759 * login/Versions (libc: GLIBC_2.4): ... here.
10761 * posix/getlogin.c: Moved to ...
10762 * login/getlogin.c: ... here.
10763 * posix/getlogin_r.c: Moved to ...
10764 * login/getlogin_r.c: ... here.
10765 * posix/getlogin_r.c: Moved to ...
10766 * login/getlogin_r.c: ... here.
10767 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10768 * login/Makefile (routines): ... here.
10769 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10770 * login/Versions (libc: GLIBC_2.0): ... here.
10772 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10773 (setrlimit): Define as weak alias.
10775 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10776 Call __ names for open, ftruncate, and close.
10777 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10778 (truncate): Define as weak alias.
10780 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10782 * math/gen-libm-test.pl (parse_args): Initialize x before each
10783 test of frexp, modf and remquo.
10785 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10786 test signgam value.
10788 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10792 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10794 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10796 2013-05-06 Roland McGrath <roland@hack.frob.com>
10798 * elf/dl-writev.h: New file.
10799 * elf/dl-misc.c: Include it.
10800 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10801 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10803 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10805 * math/libm-test.inc (noXFails): Remove variable.
10806 (noXPasses): Likewise.
10807 (BUILD_COMPLEX_INT): Remove macro.
10808 (print_screen): Remove xfail argument.
10809 (print_screen_max_error): Likewise.
10810 (update_stats): Likewise.
10811 (print_max_error): Likewise. Update calls to other affected
10813 (print_complex_max_error): Likewise.
10814 (test_single_exception): Update calls to print_screen.
10815 (test_single_errno): Likewise.
10816 (check_float_internal): Remove xfail argument. Update calls to
10817 other affected functions.
10818 (check_float): Likewise.
10819 (check_complex): Likewise.
10820 (check_int): Likewise.
10821 (check_long): Likewise.
10822 (check_bool): Likewise.
10823 (check_longlong): Likewise.
10824 (main): Don't print noXFails and noXPasses.
10825 * math/gen-libm-test.pl (top level): Don't mention expected
10826 failure handling in comment.
10827 (new_test): Don't handle expected failures.
10828 (parse_args): Don't mention expected failure handling in comment.
10829 (generate_testfile): Don't handle expected failures.
10830 (parse_ulps): Likewise.
10831 (print_ulps_file): Likewise.
10832 (get_failure): Remove function.
10833 (output_test): Don't handle expected failures.
10834 * make/README.libm-test: Don't mention expected failure handling.
10836 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10837 (minus_zero): Likewise.
10838 (plus_infty): Likewise.
10839 (minus_infty): Likewise.
10840 (qnan_value): Likewise.
10841 (max_value): Likewise.
10842 (min_value): Likewise.
10843 (min_subnorm_value): Likewise.
10844 (initialize): Do not initialize those variables dynamically.
10846 2013-05-03 Roland McGrath <roland@hack.frob.com>
10848 * io/open.c (__open_2): Moved to ...
10849 * io/open_2.c: ... this new file.
10850 * io/open64.c (__open64_2): Moved to ...
10851 * io/open64_2.c: ... this new file.
10852 * io/openat.c (__openat_2): Moved to ...
10853 * io/openat_2.c: ... this new file.
10854 * io/openat64.c (__openat64_2): Moved to ...
10855 * io/openat64_2.c: ... this new file.
10856 * io/Makefile (routines): Add them.
10857 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10858 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10859 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10860 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10861 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10862 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10863 (__openat64): Add hidden_ver.
10864 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10865 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10867 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10868 Separately conditionalize setting of GLRO(dl_sysinfo) so
10869 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10870 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10872 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10874 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10875 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10877 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10878 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10879 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10880 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10881 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10883 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10885 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10886 test signgam value.
10888 * math/libm-test.inc (hypot_test): Do not use
10889 IGNORE_ZERO_INF_SIGN.
10891 2013-05-03 Andreas Jaeger <aj@suse.de>
10893 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10895 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10896 (PF_MAX): Adjust for VSOCK change.
10898 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10902 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10905 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10906 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10907 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10909 2013-05-02 David S. Miller <davem@davemloft.net>
10911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10913 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10915 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10917 2013-05-01 Roland McGrath <roland@hack.frob.com>
10919 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10921 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10924 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10925 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10926 Use __attribute__ ((__gnu_inline__)).
10927 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10928 Don't use __attribute__ ((__gnu_inline__)).
10930 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10933 * math/s_catan.c (__catan): Handle small real or imaginary part of
10934 input specially to avoid spurious underflow.
10935 * math/s_catanf.c (__catanf): Likewise.
10936 * math/s_catanh.c (__catanh): Likewise.
10937 * math/s_catanhf.c (__catanhf): Likewise.
10938 * math/s_catanhl.c (__catanhl): Likewise.
10939 * math/s_catanl.c (__catanl): Likewise.
10940 * math/libm-test.inc (catan_test): Add more tests.
10941 (catanh_test): Likewise.
10942 * sysdeps/i386/fpu/libm-test-ulps: Update.
10943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10945 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10949 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10952 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10953 accurately for denominator in atan2.
10954 * math/s_catanf.c (__catanf): Likewise.
10955 * math/s_catanh.c (__catanh): Likewise.
10956 * math/s_catanhf.c (__catanhf): Likewise.
10957 * math/s_catanhl.c (__catanhl): Likewise.
10958 * math/s_catanl.c (__catanl): Likewise.
10959 * math/libm-test.inc (catan_test): Add more tests.
10960 (catanh_test): Likewise.
10961 * sysdeps/i386/fpu/libm-test-ulps: Update.
10962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10964 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10966 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10968 * benchtests/Makefile (bench): Remove slow benchmarks.
10969 * benchtests/atan-inputs: Add slow benchmark inputs.
10970 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10971 (BENCH_FUNC): Accept variant offset.
10973 * benchtests/bench-skeleton.c (main): Run benchmark for each
10975 * benchtests/cos-inputs: Add slow benchmark inputs.
10976 * benchtests/exp-inputs: Likewise.
10977 * benchtests/pow-inputs: Likewise.
10978 * benchtests/sin-inputs: Likewise.
10979 * benchtests/slowatan-inputs: Remove.
10980 * benchtests/slowatan.c: Remove.
10981 * benchtests/slowcos-inputs: Remove.
10982 * benchtests/slowcos.c: Remove.
10983 * benchtests/slowexp-inputs: Remove.
10984 * benchtests/slowexp.c: Remove.
10985 * benchtests/slowpow-inputs: Remove.
10986 * benchtests/slowpow.c: Remove.
10987 * benchtests/slowsin-inputs: Remove.
10988 * benchtests/slowsin.c: Remove.
10989 * benchtests/slowtan-inputs: Remove.
10990 * benchtests/slowtan.c: Remove.
10991 * benchtests/tan-inputs: Add slow benchmark inputs.
10992 * scripts/bench.pl: Parse comments and directives.
10994 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10996 ($(objpfx)bench-%.c): Remove *-ITER.
10997 * benchtests/bench-modf.c: Remove definition of ITER.
10998 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10999 (main): Loop for DURATION seconds instead of fixed number of
11001 * scripts/bench.pl: Don't expect iterations in parameters.
11003 2013-04-29 Roland McGrath <roland@hack.frob.com>
11005 * io/fchdir.c (__fchdir): Renamed from fchdir.
11006 (fchdir): Define as weak alias.
11008 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11010 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
11011 (ERRNO_EDOM): Likewise.
11012 (ERRNO_ERANGE): Likewise.
11013 (noErrnoTests): New variable.
11014 (init_max_error): Set errno to 0.
11015 (test_single_errno): New function.
11016 (test_errno): Likewise.
11017 (check_float_internal): Call test_errno. Set errno to 0.
11018 (check_complex): Refer to errno tests in comment.
11019 (check_int): Call test_errno. Set errno to 0.
11020 (check_long): Likewise.
11021 (check_bool): Likewise.
11022 (check_longlong): Likewise.
11023 (cos_test): Use ERRNO_* flags for errno tests instead of
11025 (expm1_test): Likewise.
11026 (fmod_test): Likewise.
11027 (ilogb_test): Likewise.
11028 (lgamma_test): Likewise.
11029 (pow_test): Likewise.
11030 (remainder_test): Likewise.
11031 (sin_test): Likewise.
11032 (tan_test): Likewise.
11033 (yn_test): Likewise.
11034 (initialize): Set errno to 0.
11035 (main): Print number of errno tests.
11036 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11038 2013-04-29 Andreas Jaeger <aj@suse.de>
11041 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11045 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11046 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11050 * stdlib/random.c (__initstate): Return NULL if
11054 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11055 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11058 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11062 2013-04-29 Joseph Myers <joseph@codesourcery.com>
11064 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11065 of individual tests.
11066 (casin_test): Likewise.
11067 (casinh_test): Likewise.
11069 2013-04-27 Joseph Myers <joseph@codesourcery.com>
11072 * math/s_catan.c (__catan): Handle arguments with large real or
11073 imaginary part separately without squaring.
11074 * math/s_catanf.c (__catanf): Likewise.
11075 * math/s_catanh.c (__catanh): Likewise.
11076 * math/s_catanhf.c (__catanhf): Likewise.
11077 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11079 (__catanhl): Handle arguments with large real or imaginary part
11080 separately without squaring.
11081 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11083 (__catanl): Handle arguments with large real or imaginary part
11084 separately without squaring.
11085 * math/libm-test.inc (catan_test): Add more tests.
11086 (catanh_test): Likewise.
11087 * sysdeps/i386/fpu/libm-test-ulps: Update.
11088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11090 2013-04-27 Andreas Jaeger <aj@suse.de>
11093 * stdlib/stdlib.h: Update guards for qecvt.
11094 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11097 2013-04-27 Allan McRae <allan@archlinux.org>
11099 * sysdeps/i386/fpu/libm-test-ulps: Update.
11101 2013-04-26 Joseph Myers <joseph@codesourcery.com>
11104 * math/s_catan.c: Include <float.h>.
11105 (__catan): Ensure underflow exception occurs for underflowed
11107 * math/s_catanf.c: Include <float.h>.
11108 (__catanf): Ensure underflow exception occurs for underflowed
11110 * math/s_catanh.c: Include <float.h>.
11111 (__catanh): Ensure underflow exception occurs for underflowed
11113 * math/s_catanhf.c: Include <float.h>.
11114 (__catanhf): Ensure underflow exception occurs for underflowed
11116 * math/s_catanhl.c: Include <float.h>.
11117 (__catanhl): Ensure underflow exception occurs for underflowed
11119 * math/s_catanl.c: Include <float.h>.
11120 (__catanl): Ensure underflow exception occurs for underflowed
11122 * math/libm-test.inc (catan_test): Add more tests.
11123 (catanh_test): Likewise.
11126 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11127 underflowed result.
11128 * math/s_ccoshf.c (__ccoshf): Likewise.
11129 * math/s_ccoshl.c (__ccoshl): Likewise.
11130 * math/s_csin.c (__csin): Likewise.
11131 * math/s_csinf.c (__csinf): Likewise.
11132 * math/s_csinh.c (__csinh): Likewise.
11133 * math/s_csinhf.c (__csinhf): Likewise.
11134 * math/s_csinhl.c (__csinhl): Likewise.
11135 * math/s_csinl.c (__csinl): Likewise.
11136 * math/libm-test.inc (ccos_test): Add more tests.
11137 (ccosh_test): Likewise.
11138 (csin_test): Likewise.
11139 (csinh_test): Likewise.
11141 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11143 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11144 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11145 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11146 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11147 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11148 powerpc/power5+/fpu folders.
11149 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11152 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
11154 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11156 2013-04-25 Joseph Myers <joseph@codesourcery.com>
11158 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11159 additions to variable.
11160 [$(config-machine) = x86_64] (modules-names): Likewise.
11161 ($(objpfx)tst-audit3): Remove dependency.
11162 ($(objpfx)tst-audit3.out): Likewise.
11163 ($(objpfx)tst-audit4): Likewise.
11164 ($(objpfx)tst-audit4.out): Likewise.
11165 ($(objpfx)tst-audit5): Likewise.
11166 ($(objpfx)tst-audit5.out): Likewise.
11167 ($(objpfx)tst-audit6): Likewise.
11168 ($(objpfx)tst-audit6.out): Likewise.
11169 ($(objpfx)tst-audit7): Likewise.
11170 ($(objpfx)tst-audit7.out): Likewise.
11171 (tst-audit3-ENV): Remove variable.
11172 (tst-audit4-ENV): Likewise.
11173 (tst-audit5-ENV): Likewise.
11174 (tst-audit6-ENV): Likewise.
11175 (tst-audit7-ENV): Likewise.
11176 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11177 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11178 addition to variable.
11179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11183 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11184 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11185 tst-audit3, tst-audit4 and tst-audit5.
11186 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11187 tst-audit6 and tst-audit7.
11188 [$(subdir) = elf] (modules-names): Add audit modules for those
11190 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11191 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11192 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11193 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11194 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11195 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11196 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11197 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11198 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11199 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11200 [$(subdir) = elf] (tst-audit3-ENV): New variable.
11201 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11202 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11203 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11204 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11205 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11207 [$(subdir) = elf && $(config-cflags-avx) = yes]
11208 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11209 [$(subdir) = elf && $(config-cflags-avx) = yes]
11210 (CFLAGS-tst-auditmod4a.c): Likewise.
11211 [$(subdir) = elf && $(config-cflags-avx) = yes]
11212 (CFLAGS-tst-auditmod4b.c): Likewise.
11213 [$(subdir) = elf && $(config-cflags-avx) = yes]
11214 (CFLAGS-tst-auditmod6b.c): Likewise.
11215 [$(subdir) = elf && $(config-cflags-avx) = yes]
11216 (CFLAGS-tst-auditmod6c.c): Likewise.
11217 [$(subdir) = elf && $(config-cflags-avx) = yes]
11218 (CFLAGS-tst-auditmod7b.c): Likewise.
11219 * elf/tst-audit3.c: Move to ...
11220 * sysdeps/x86_64/tst-audit3.c: ... here.
11221 * elf/tst-audit4.c: Move to ...
11222 * sysdeps/x86_64/tst-audit4.c: ... here.
11223 * elf/tst-audit5.c: Move to ...
11224 * sysdeps/x86_64/tst-audit5.c: ... here.
11225 * elf/tst-audit6.c: Move to ...
11226 * sysdeps/x86_64/tst-audit6.c: ... here.
11227 * elf/tst-audit7.c: Move to ...
11228 * sysdeps/x86_64/tst-audit7.c: ... here.
11229 * elf/tst-auditmod3a.c: Move to ...
11230 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11231 * elf/tst-auditmod3b.c: Move to ...
11232 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11233 * elf/tst-auditmod4a.c: Move to ...
11234 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11235 * elf/tst-auditmod4b.c: Move to ...
11236 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11237 * elf/tst-auditmod5a.c: Move to ...
11238 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11239 * elf/tst-auditmod5b.c: Move to ...
11240 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11241 * elf/tst-auditmod6a.c: Move to ...
11242 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11243 * elf/tst-auditmod6b.c: Move to ...
11244 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11245 * elf/tst-auditmod6c.c: Move to ...
11246 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11247 * elf/tst-auditmod7a.c: Move to ...
11248 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11249 * elf/tst-auditmod7b.c: Move to ...
11250 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11252 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
11255 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11256 define unconditionally.
11257 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11258 define unconditionally.
11259 (INT8_C, INT16_C, etc.): Likewise.
11261 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
11263 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11264 __ehdr_start with hidden visibility.
11266 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11268 2013-04-24 Carlos O'Donell <carlos@redhat.com>
11270 * math/libm-test.inc (cos_test): Use accurate hex constants.
11271 (sincost_test): Likewise.
11273 2013-04-24 Joseph Myers <joseph@codesourcery.com>
11275 * math/libm-test.inc (catan_test): Add more tests.
11276 (catanh_test): Likewise.
11278 * math/s_catanf.c (__catanf): Use suffixed floating-point
11280 * math/s_catanhf.c (__catanhf): Likewise.
11281 * math/s_catanhl.c (__catanhl): Likewise.
11282 * math/s_catanl.c (__catanl): Likewise.
11285 * math/s_catan.c (__catan): Calculate imaginary part of result
11286 with log1p not log unless computing log of number close to 0.
11287 * math/s_catanf.c (__catanf): Likewise.
11288 * math/s_catanl.c (__catanl): Likewise.
11289 * math/s_catanh.c (__catanh): Calculate real part of result with
11290 log1p not log unless computing log of number close to 0.
11291 * math/s_catanhf.c (__catanhf): Likewise.
11292 * math/s_catanhl.c (__catanhl): Likewise.
11293 * math/libm-test.inc (catan_test): Add more tests.
11294 (catanh_test): Likewise.
11295 * sysdeps/i386/fpu/libm-test-ulps: Update.
11296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11298 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11300 * benchtests/Makefile: Mention files in which fast and slow
11301 paths of math functions are implemented.
11303 2013-04-23 Roland McGrath <roland@hack.frob.com>
11305 * sysdeps/posix/timespec_get.c: New file.
11307 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11311 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11313 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11314 powerpc/power5/fpu folders.
11315 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11316 * benchtests/Makefile: Add modf testcase.
11317 * benchtests/bench-modf.c: New file: Benchmark test for mo
11319 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11322 * time/Makefile (tests): Add tst-strptime-whitespace.
11323 * time/strptime_l.c (get_number): Use ISSPACE.
11324 (__strptime_internal): Likewise.
11325 * time/tst-strptime-whitespace.c: New test case.
11327 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
11329 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11331 (_nss_files_init): Set it here.
11333 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
11335 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11336 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11339 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
11341 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11343 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11345 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11348 2013-04-21 David S. Miller <davem@davemloft.net>
11350 * po/ru.po: Update Russion translation from translation project.
11352 2013-04-17 Adam Conrad <adconrad@0c3.net>
11354 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11357 2013-04-17 Carlos O'Donell <carlos@redhat.com>
11359 * configure.in: Remove i386 configure warning. Remove i386 case.
11360 * configure: Regenerate.
11361 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11362 Add example to error message.
11363 * sysdeps/i386/configure: Regenerate.
11365 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11367 * benchtests/Makefile (bench): Add cos, tan, slowcos and
11369 * benchtests/cos-inputs: New file.
11370 * benchtests/slowcos-inputs: New file.
11371 * benchtests/slowcos.c: New file.
11372 * benchtests/slowtan-inputs: New file.
11373 * benchtests/slowtan.c: New file.
11374 * benchtests/tan-inputs: New file.
11376 2013-04-16 Roland McGrath <roland@hack.frob.com>
11378 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11381 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11383 * benchtests/Makefile: Include cppflags-iterator.mk to add
11384 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11386 * Makefile.in (bench-clean): New target.
11387 * benchtests/Makefile (bench-clean): Likewise.
11389 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
11391 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11393 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11395 * stdio-common/tstdiomisc.c: Fix coding-style violation.
11397 2013-04-15 Andreas Schwab <schwab@suse.de>
11399 * nscd/grpcache.c (cache_addgr): Properly check for short write.
11400 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11401 * nscd/pwdcache.c (cache_addpw): Likewise.
11402 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
11405 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11407 * benchtests/Makefile (bench): Write all output to
11408 bench-out.tmp together.
11410 2013-04-15 Andreas Schwab <schwab@suse.de>
11412 * nscd/nscd.c (main): Don't fork again after closing files.
11414 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11416 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11418 * benchtests/Rules (bench-deps): Collect dependencies into a
11419 single variable. Add Makefile to dependencies.
11420 ($(objpfx)bench-%.c): Depend on bench-deps.
11422 2013-04-12 Roland McGrath <roland@hack.frob.com>
11423 Xavier Roche <roche+kml2@exalead.com>
11426 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11427 just that it's a file descriptor.
11428 * manual/llio.texi (Synchronizing AIO Operations): Update description
11429 for EBADF error from aio_fsync.
11431 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11433 * Rules (bench): Move target definition...
11434 * benchtests/Makefile: ... here.
11436 2013-04-11 Carlos O'Donell <carlos@redhat.com>
11438 * math/libm-test.inc (cos_test): Fix PI/2 test.
11439 (sincos_test): Likewise.
11440 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11441 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11443 2013-04-11 Andreas Schwab <schwab@suse.de>
11446 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11447 accept exponent character only when digits were seen.
11448 * stdio-common/Makefile (tests): Add bug26.
11449 * stdio-common/bug26.c: New file.
11452 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11455 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11457 * Makeconfig (rtld-prefix): Define built linker prefix.
11458 * Rules (run-bench): Use it.
11459 * math/Makefile (run-regen-ulps): Likewise.
11461 * Rules (bench): Remove eval.
11463 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11464 Roland McGrath <roland@hack.frob.com>
11465 Ondrej Bilka <neleai@seznam.cz>
11468 * time/getdate.c: Include ctype.h and alloca.h.
11469 (__getdate_r): Trim leading and trailing spaces of input.
11470 * time/tst-getdate.c (tests): Add tests with leading and
11473 2013-04-08 Roland McGrath <roland@hack.frob.com>
11476 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11477 when computing value.
11479 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11481 * math/README.libm-test (How can I generate "libm-test-ulps"?):
11482 Use testrun.sh to run libm tests.
11485 * elf/dl-open.c (dl_open_worker): memset all of seen array.
11487 2013-04-06 Marko Myllynen <myllynen@redhat.com>
11490 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11492 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11494 * Makefile.in (regen-ulps): New target.
11495 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11496 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11497 [ifneq (no,$(PERL)] (regen-ulps): New target.
11498 [ifeq (no,$(PERL)] (regen-ulps): New target.
11499 * math/libm-test.inc (ulps_file_name): Define.
11500 (output_dir): New variable.
11501 (options): Add "output-dir" option.
11502 (parse_opt): Handle 'o' case.
11503 (main): If output_dir is non-NULL use it as a prefix
11505 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11507 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11509 [BZ #10060, #10062]
11510 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11511 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11512 fail configure if __sync_val_compare_and_swap is not inlined.
11513 * sysdeps/i386/configure: Regenerate.
11514 * configure.in: Build for i686 when configured for i386.
11515 * configure: Regenerate.
11516 * README: Remove i386 reference.
11518 2013-04-06 Carlos O'Donell <carlos@redhat.com>
11520 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11521 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11523 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
11525 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11526 (lmsnanval): New variables.
11527 (F): Add conversion tests.
11528 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11529 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11531 * stdio-common/tstdiomisc.c (F): Properly collect individual
11534 [BZ #14686, #15336]
11535 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11536 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11537 Instead, use input NaN values or generate a qNaN by arithmetic
11538 operation. Also fix bugs to comply with the standard.
11539 * math/libm-test.inc (remainder_test): Add more tests.
11541 [BZ #15335, #15342]
11542 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11544 input NaN values or generate a qNaN by arithmetic operation.
11546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11549 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11552 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11555 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11556 underflowed result.
11557 * math/s_cexpf.c (__cexpf): Likewise.
11558 * math/s_cexpl.c (__cexpl): Likewise.
11559 * math/libm-test.inc (cexp_test): Add more tests.
11561 2013-04-03 Andreas Schwab <schwab@suse.de>
11564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11565 order arrays from heap if bigger than alloca cutoff.
11567 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11569 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11570 (SNAN_TESTS_double): Refer to GCC PR56831.
11571 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11574 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * Rules (bench): Move bench.out after the run is complete.
11578 * Rules (bench): Echo currently running benchmark.
11580 * benchtests/Makefile (bench): Add atan and slowatan.
11581 * benchtests/atan-inputs: New file.
11582 * benchtests/slowatan-inputs: New file.
11583 * benchtests/slowatan.c: New file.
11585 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11586 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11590 * sysdeps/unix/sysv/linux/kernel-features.h
11591 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11592 __ASSUME_XFS_RESTRICTED_CHOWN.
11593 * sysdeps/unix/sysv/linux/pathconf.c
11594 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11595 Save and restore errno.
11597 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11600 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11601 arguments using __kernel_casinh.
11602 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11603 arguments using __kernel_casinhf.
11604 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11605 arguments using __kernel_casinhl.
11606 * math/libm-test.inc (cacosh_test): Add more tests.
11607 * sysdeps/i386/fpu/libm-test-ulps: Update.
11608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11610 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11612 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11615 * bench/Makefile (bench): Add sin and slowsin.
11616 * benchtests/sin-inputs: New file.
11617 * benchtests/slowsin-inputs: New file.
11618 * benchtests/slowsin.c: New file.
11620 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11621 (bench): Add slowexp and slowpow.
11622 (exp-ITER): Increase iterations.
11623 (pow-ITER): Likewise.
11624 * benchtests/exp-inputs: Change input.
11625 * benchtests/pow-inputs: Likewise.
11626 * benchtests/slowexp-inputs: New file.
11627 * benchtests/slowexp.c: New file.
11628 * benchtests/slowpow-inputs: New file.
11629 * benchtests/slowpow.c: New file.
11631 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11633 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11635 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11636 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11637 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11638 * benchtests/Makefile: Add rint benchtest.
11639 * benchtests/rint-inputs: Input for rint benchtest.
11641 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11643 * Versions.def (libm): Add GLIBC_2.18.
11644 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11645 hidden libm prototypes.
11646 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11647 * math/Makefile (libm-calls): Add s_issignaling.
11648 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11649 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11650 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11652 * math/math.h [__USE_GNU] (issignaling): New macro.
11653 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11654 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11655 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11659 * manual/arith.texi (issignaling): New section.
11660 * manual/libm-err-tab.pl (@all_functions): Update comment.
11661 * math/gen-libm-test.pl (parse_args): Apply special handling for
11663 * math/libm-test.inc (print_float, issignaling_test): New
11665 (check_float_internal): Add issignaling checks.
11666 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11667 default definition.
11668 * sysdeps/powerpc/math-tests.h: New file.
11669 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11671 * math/test-snan.c (TEST_FUNC): Likewise.
11673 2013-03-30 David S. Miller <davem@davemloft.net>
11675 * po/de.po: Update from translation team.
11677 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11680 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11681 imaginary part less than 1.0 and real part less than 0.5
11683 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11684 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11685 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11686 (cacos_test): Add more tests.
11687 (casin_test): Likewise.
11688 (casinh_test): Likewise.
11689 * sysdeps/i386/fpu/libm-test-ulps: Update.
11690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11692 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11694 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11695 ONE with its value.
11697 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11698 (__pow_mp): Replace ONE and MONE with their values.
11699 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11700 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11701 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11702 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11703 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11704 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11706 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11708 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11709 (__pow_mp): Replace ZERO and MZERO with their values.
11710 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11712 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11714 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11715 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11718 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11720 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11722 2013-03-28 Roland McGrath <roland@hack.frob.com>
11724 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11725 Declare with __attribute__ ((weak)).
11726 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11727 Call __call_tls_dtors only if it's not NULL.
11729 2013-03-28 Roland McGrath <roland@hack.frob.com>
11731 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11732 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11733 magic __ehdr_start linker symbol if it's defined.
11734 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11735 them up here if it was already done.
11737 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11738 (_dl_aux_init): Use const in cast when setting it.
11739 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11740 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11741 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11743 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11745 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11746 * csu/libc-tls.c: Nor here.
11747 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11749 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11750 (__libc_message): Never call vsyslog.
11752 2013-03-28 Alan Modra <amodra@gmail.com>
11754 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11756 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11759 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11766 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11769 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11770 Don't add gid passed as argument.
11772 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11774 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11777 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11778 imaginary part between 1.0 and 1.5 and real part less than 0.5
11780 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11781 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11782 * math/libm-test.inc (cacos_test): Add more tests.
11783 (casin_test): Likewise.
11784 (casinh_test): Likewise.
11785 * sysdeps/i386/fpu/libm-test-ulps: Update.
11786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11788 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11790 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11793 (denorm): Likewise.
11794 (__dbl_mp): Likewise.
11795 (add_magnitudes): Likewise.
11796 (sub_magnitudes): Likewise.
11804 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11806 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11807 (__dubcos): Likewise.
11808 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11809 (__ieee754_acos): Likewise.
11810 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11811 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11812 (__exp1): Likewise.
11813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11814 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11816 (my_log2): Likewise.
11817 (checkint): Likewise.
11818 * sysdeps/ieee754/dbl-64/e_remainder.c
11819 (__ieee754_remainder): Likewise.
11820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11822 (bsloww): Likewise.
11823 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11825 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11826 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11827 MANTISSA_STORE_T to store computations on mantissa. Use
11828 macros for rounding and division.
11829 (denorm): Likewise.
11830 (__dbl_mp): Likewise.
11831 (add_magnitudes): Likewise.
11832 (sub_magnitudes): Likewise.
11835 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11836 powers of two in terms of TWOPOW macro.
11837 (mp_no): Make type of mantissa as MANTISSA_T.
11838 [!RADIXI]: Define RADIXI.
11839 [!TWO52]: Define TWO52.
11840 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11842 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11844 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11845 llroundl symbol when building for PPC32.
11847 2013-03-24 Mark H Weaver <mhw@netris.org>
11849 * manual/arith.texi (Normalization Functions): Fix prototypes for
11850 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11852 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11855 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11856 high value to check if expl overflow.
11857 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11858 to check for underflow and overflow.
11859 * math/libm-test.inc: Add exp test.
11861 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11864 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11867 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11869 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11872 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11874 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11875 wrap blocks consisting of several statements.
11877 * sysdeps/generic/math-tests.h: New file.
11878 * sysdeps/i386/fpu/math-tests.h: Likewise.
11879 * math/test-snan.c: Include it.
11880 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11882 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11885 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11886 (__ieee754_j0l): Do not improve calculations using cos of twice
11887 input for inputs above LDBL_MAX / 2.0L.
11888 (__ieee754_y0l): Likewise.
11889 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11890 (__ieee754_j1l): Do not improve calculations using cos of twice
11891 input for inputs above LDBL_MAX / 2.0L.
11892 (__ieee754_y1l): Likewise.
11893 * math/libm-test.inc (j0_test): Add another test.
11894 (j1_test): Likewise.
11895 (y0_test): Likewise.
11896 (y1_test): Likewise.
11897 * sysdeps/i386/fpu/libm-test-ulps: Update.
11899 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11901 * Rules ($(objpfx)bench-%.c): Include code from a C source
11904 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11907 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11908 imaginary part 1.0 and real part less than 0.5 specially.
11909 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11910 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11911 * math/libm-test.inc (cacos_test): Add more tests.
11912 (casin_test): Likewise.
11913 (casinh_test): Likewise.
11914 * sysdeps/i386/fpu/libm-test-ulps: Update.
11915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11917 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11919 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11920 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11922 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11924 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11925 * config.make.in (config-cflags-sse4): Remove variable.
11926 (config-cflags-avx): Likewise.
11927 (config-cflags-sse2avx): Likewise.
11928 (config-cflags-novzeroupper): Likewise.
11929 (config-asflags-i686): Likewise.
11930 (have-mfma4): Likewise.
11931 (have-as-vis3): Likewise.
11933 * configure.in (MIG): Do not AC_SUBST.
11934 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11935 (libc_cv_cc_sse4): Do not AC_SUBST.
11936 (libc_cv_cc_avx): Likewise.
11937 (libc_cv_cc_sse2avx): Likewise.
11938 (libc_cv_cc_novzeroupper): Likewise.
11939 (libc_cv_cc_fma4): Likewise.
11940 (libc_cv_as_i686): Likewise.
11941 (libc_cv_sparc_as_vis3): Likewise.
11942 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11944 (config-asflags-i686): Likewise.
11945 (config-cflags-avx): Likewise.
11946 (config-cflags-sse2avx): Likewise.
11947 (have-mfma4): Likewise.
11948 (config-cflags-novzeroupper): Likewise.
11949 * sysdeps/mach/configure.in (MIG): Likewise.
11950 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11951 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11953 (config-cflags-avx): Likewise.
11954 (config-cflags-sse2avx): Likewise.
11955 (have-mfma4): Likewise.
11956 (config-cflags-novzeroupper): Likewise.
11957 * configure: Regenerated.
11958 * sysdeps/i386/configure: Likewise.
11959 * sysdeps/mach/configure: Likewise.
11960 * sysdeps/sparc/configure: Likewise.
11961 * sysdeps/x86_64/configure: Likewise.
11963 2013-03-20 Roland McGrath <roland@hack.frob.com>
11966 * locale/programs/localedef.c (options): Put N_ translation marker
11967 on argument names, not just descriptions.
11969 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11971 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11973 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11976 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11978 2013-03-19 Roland McGrath <roland@hack.frob.com>
11980 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11981 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11982 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11983 [!BEFORE_ABORT] (before_abort): New function.
11984 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11985 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11986 (writev_for_fatal): New function.
11987 (WRITEV_FOR_FATAL): New macro; call that.
11988 (backtrace_and_maps): New function.
11989 (BEFORE_ABORT): New macro; call that.
11990 (struct str_list): Type removed.
11991 (__libc_message, __libc_fatal): Functions removed.
11992 Include <sysdeps/posix/libc_fatal.c> instead.
11994 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11996 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11998 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
12001 2013-03-19 Andreas Schwab <schwab@suse.de>
12003 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
12004 * sysdeps/gnu/configure: Regenerate.
12006 * configure.in: Substitute libc_cv_rtlddir.
12007 * configure: Regenerate.
12008 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
12009 * Makeconfig (rtlddir, inst_rtlddir): New variables.
12010 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
12011 * elf/Makefile (install-others, CFLAGS-interp.c)
12012 (ldso_install, common-ldd-rewrite): Likewise.
12013 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12014 $(inst_slibdir)/$(rtld-installed-name).
12015 * scripts/rellns-sh: Add -p option.
12016 * Makerules (make-shlib-link): Use rellns-sh to get relative name
12019 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12021 * manual/nptl.texi: Renamed to ...
12022 * manual/threads.texi: ... this.
12023 * manual/Makefile (chapters): Update.
12025 2013-03-18 Roland McGrath <roland@hack.frob.com>
12028 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12029 on argument names, not just descriptions.
12030 * malloc/memusagestat.c (options): Likewise.
12031 * nss/getent.c (options): Likewise.
12033 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
12036 * iconv/iconv_prog.c (options): Put N_ translation marker
12037 on argument names, not just descriptions.
12038 * iconv/iconvconfig.c (options): Likewise.
12040 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
12042 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12043 implementation which is faster on all x86_64 architectures.
12044 Tested on AMD, Intel Nehalem, SNB, IVB.
12045 * sysdeps/x86_64/strnlen.S: Likewise.
12047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12048 Remove all multiarch strlen and strnlen versions.
12049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12050 Remove strlen and strnlen related parts.
12052 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12053 Inline strlen part.
12054 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12056 * sysdeps/x86_64/multiarch/strlen.S: Remove.
12057 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12058 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12059 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12060 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12061 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12063 2013-03-17 Carlos O'Donell <carlos@redhat.com>
12065 * manual/memory.texi (Malloc Tunable Parameters):
12066 Sort parameters alphabetically. Add comments for missing entries.
12068 2013-03-17 David S. Miller <davem@davemloft.net>
12070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12072 2013-03-16 Joseph Myers <joseph@codesourcery.com>
12075 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12076 for arguments at most half maximum finite value.
12077 * math/libm-test.inc (j0_test): Add more tests.
12078 (j1_test): Likewise.
12079 (y0_test): Likewise.
12080 (y1_test): Likewise.
12081 * sysdeps/i386/fpu/libm-test-ulps: Update.
12082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12085 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12086 1 / x and functions P and Q for arguments above 0x1p256L.
12087 (__ieee754_y0l): Likewise.
12088 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12089 (__ieee754_y1l): Likewise.
12090 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12091 (j1_test): Likewise.
12092 (y0_test): Likewise.
12093 (y1_test): Likewise.
12095 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
12097 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12100 2013-03-15 Roland McGrath <roland@hack.frob.com>
12102 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12103 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12104 zero since it's initialized to EXEC_PAGESIZE.
12106 * sysdeps/unix/sysv/linux/ldsodefs.h
12107 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12108 * sysdeps/generic/ldsodefs.h: ... here.
12110 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
12112 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12114 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12116 * math/test-snan.c: Renamed from
12117 sysdeps/powerpc/fpu/test-powerpc-snan.c.
12118 * math/Makefile (tests): Add test-snan.
12119 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12122 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12123 SUFFIX. Initialize qNaN_var with __builtin_nan family of
12125 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
12126 __builtin_nan family of functions.
12127 * math/libm-test.inc (initialize): Initialize qnan_value with
12128 __builtin_nan family of functions.
12129 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12131 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12133 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
12134 storage class. Initialize qNaN_var and sNaN_var with
12135 __builtin_nan and __builtin_nans families of functions,
12138 * math/libm-test.inc (acosh_test): Also test with qNaN input.
12139 (sqrt_test): Remove duplicate test with qNaN input.
12140 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12141 (round_test, signbit_test, significand_test): Note missing +/-Inf
12142 as well as qNaN tests.
12144 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12145 qNaN_var. Fix a few strings, too.
12146 * math/libm-test.inc (nan_value): Rename to qnan_value.
12147 * math/gen-libm-test.pl (%beautify): Adjust to that.
12148 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12149 * math/test-misc.c (main): Likewise.
12150 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12151 to __qnan_bytes, and __qnan_union, respectively.
12152 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12154 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12155 and lqnanval, respectively.
12156 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12157 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12158 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12159 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12161 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12162 * math/test-misc.c (main) [__x86_64__]: Enable test for long
12165 * math/test-misc.c (main): Fix copy'n'pastos.
12166 * misc/tst-efgcvt.c (special): Likewise.
12168 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12169 Remove declarations.
12171 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12173 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12174 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12175 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12176 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12178 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12181 macro to return vdso values correctly in IFUNC implementations.
12182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12183 Optimization by using IFUNC.
12185 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12186 Richard Henderson <rth@redhat.com>
12187 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12189 * Makefile.in (bench): New target.
12190 * NEWS: Mention the benchmark framework.
12191 * Rules (bench): Likewise.
12192 (binaries-bench): Generate binaries for functions to
12194 * benchtests/Makefile: New makefile for benchmark tests.
12195 * benchtests/bench-skeleton.c: New skeleton file for benchmark
12197 * benchtests/exp-inputs: New input file for EXP function.
12198 * benchtests/pow-inputs: New input file for POW function.
12199 * scripts/bench.pl: New script to generate source files for
12200 benchmark programs.
12202 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12204 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12205 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12206 computations on mantissa. Use macros for rounding and
12208 (denorm): Likewise.
12209 (__dbl_mp): Likewise.
12210 (add_magnitudes): Likewise.
12211 (sub_magnitudes): Likewise.
12214 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
12215 powers of two in terms of TWOPOW macro.
12216 (mp_no): Make type of mantissa as MANTISSA_T.
12217 [!RADIXI]: Define RADIXI.
12218 [!TWO52]: Define TWO52.
12219 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12221 * manual/nptl.texi (cindex): Modify threads to pthreads.
12223 2013-03-15 Joseph Myers <joseph@codesourcery.com>
12225 * sysdeps/x86_64/preconfigure: Regenerated.
12227 2013-03-14 Joseph Myers <joseph@codesourcery.com>
12230 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12232 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12233 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12235 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12236 * math/libm-test.inc (j0_test): Do not allow one spurious
12237 underflow exception.
12238 (y1_test): Likewise.
12240 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * manual/Makefile (chapters): Add nptl.
12243 * manual/debug.texi (Debugging Support): Add link to Threads
12245 * manual/nptl.texi: New file.
12247 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12249 2013-03-14 Petr Baudis <pasky@ucw.cz>
12251 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12252 for non-NULL pointer before the memory validity test. Pointed
12253 out by Holger Brunck <holger.brunck@keymile.com>.
12255 2013-03-13 Andreas Schwab <schwab@suse.de>
12257 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12260 2013-03-13 Joseph Myers <joseph@codesourcery.com>
12262 * timezone/zic.c: Update from tzcode 2013b.
12264 2013-03-12 Carlos O'Donell <carlos@redhat.com>
12266 * manual/install.texi (Configuring and compiling):
12267 Mention i686 and i586.
12268 * INSTALL: Regenerate.
12270 2013-03-12 Roland McGrath <roland@hack.frob.com>
12272 * sysdeps/init_array/elf-init.c: New file.
12274 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12275 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12277 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12278 __gmon_start__ as global, but as static with a .preinit_array pointer.
12279 * sysdeps/init_array/gmon-start.c: New file. Use that.
12280 * sysdeps/init_array/crti.S: New file, empty except for comments.
12281 * sysdeps/init_array/crtn.S: Likewise.
12283 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
12285 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12288 Remove Prefer_SSE_for_memop.
12289 * sysdeps/x86_64/multiarch/init-arch.h: Remove
12290 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12291 HAS_PREFER_SSE_FOR_MEMOP.
12292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12295 Remove bzero, memset ifunc support.
12296 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12297 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12298 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12299 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12301 2013-03-11 Andreas Schwab <schwab@suse.de>
12304 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12307 (GLIBC_2.16): Remove pthread_atfork.
12309 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
12311 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12312 (ptestcases.h): Likewise.
12314 2013-03-08 Roland McGrath <roland@hack.frob.com>
12316 * Makeconfig ($(common-objpfx)config.status): Depend on
12317 sysdeps/*/preconfigure{,.in} too.
12319 2013-03-08 Joseph Myers <joseph@codesourcery.com>
12321 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12322 (__free_hook): Use void * instead of __malloc_ptr_t.
12323 (__malloc_hook): Likewise.
12324 (__realloc_hook): Likewise.
12325 (__memalign_hook): Likewise.
12326 (__after_morecore_hook): Likewise.
12327 * malloc/arena.c (save_malloc_hook): Likewise.
12328 (save_free_hook): Likewise.
12329 * malloc/hooks.c (malloc_hook_ini): Likewise.
12330 (realloc_hook_ini): Likewise.
12331 (memalign_hook_ini): Likewise.
12332 * malloc/malloc.c (malloc_hook_ini): Likewise.
12333 (realloc_hook_ini): Likewise.
12334 (memalign_hook_ini): Likewise.
12335 (__free_hook): Likewise.
12336 (__malloc_hook): Likewise.
12337 (__realloc_hook): Likewise.
12338 (__memalign_hook): Likewise.
12339 (__libc_malloc): Likewise.
12340 (__libc_free): Likewise.
12341 (__libc_realloc): Likewise.
12342 (__libc_memalign): Likewise.
12343 (__libc_valloc): Likewise.
12344 (__libc_pvalloc): Likewise.
12345 (__libc_calloc): Likewise.
12346 (__posix_memalign): Likewise.
12347 * malloc/morecore.c (__sbrk): Likewise.
12348 (__default_morecore): Likewise.
12350 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12352 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12353 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12354 __malloc_ptrdiff_t.
12356 * malloc/malloc.h (__malloc_size_t): Remove macro.
12357 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12359 (old_memalign_hook): Likewise.
12360 (old_realloc_hook): Likewise.
12361 (struct hdr): Likewise.
12363 (mallochook): Likewise.
12364 (memalignhook): Likewise.
12365 (reallochook): Likewise.
12366 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12367 (tr_old_realloc_hook): Likewise.
12368 (tr_old_memalign_hook): Likewise.
12369 (tr_mallochook): Likewise.
12370 (tr_reallochook): Likewise.
12371 (tr_memalignhook): Likewise.
12373 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12376 default_ldbl_pack and using as default implementation.
12377 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12379 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12380 redundant definition.
12381 (ldbl_insert_mantissa): Likewise.
12382 (ldbl_canonicalize): Likewise.
12383 (ldbl_nearbyint): Likewise.
12384 (ldbl_pack): Rename to ldbl_pack_ppc.
12385 (ldbl_unpack): Rename to ldbl_unpack_ppc.
12386 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12387 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12389 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12392 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12393 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12394 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12396 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12397 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12398 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12400 2013-03-07 Andreas Jaeger <aj@suse.de>
12402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12405 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12407 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12408 Include mpa.h and declare __MPEXP.
12409 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12411 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12412 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12414 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12415 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12417 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12418 (__slowpow): Use long double EXPL and LOGL functions to
12420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12421 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12423 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12424 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12428 intermediate variable to calculate exponent.
12430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12434 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12435 [!NO__SQR]: Define __sqr.
12436 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12437 and NO__SQR. Remove all code except __mul and __sqr. Include
12438 sysdeps/ieee754/dbl-64/mpa.c.
12439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12442 * posix/Makefile (tests): Add tst-pathconf.
12443 * posix/tst-pathconf.c: New test case.
12444 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12446 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12448 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
12450 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12452 2013-03-06 Andreas Jaeger <aj@suse.de>
12454 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12455 definition via __MAP_ANONYMOUS.
12457 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12458 it's not part of Linux headers.
12460 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12461 (MAP_HUGE_MASK): Define.
12463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12468 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12469 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12471 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12474 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12476 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12477 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12478 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12479 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12480 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12481 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12483 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12486 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12487 Handle f2fs and efivarfs.
12489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12492 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12493 (EFIVARFS_MAGIC): Add.
12494 (F2FS_LINK_MAX): Add.
12496 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12498 * stdio-common/vfprintf.c: Replace __builtin_expect with
12501 2013-03-06 Joseph Myers <joseph@codesourcery.com>
12504 * sysdeps/generic/bp-sym.h: Remove file.
12505 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12506 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12507 <bp-sym.h> and <bp-asm.h>.
12508 (__longjmp): Don't use BP_SYM.
12509 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12511 (memcpy): Don't use BP_SYM.
12512 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12513 <bp-sym.h> and <bp-asm.h>.
12514 (memcpy): Don't use BP_SYM.
12515 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12517 (memcpy): Don't use BP_SYM.
12518 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12520 (memset): Don't use BP_SYM.
12521 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12522 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12523 (__bzero): Don't use BP_SYM.
12524 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12525 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12526 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12527 <bp-sym.h> and <bp-asm.h>.
12528 (memcmp): Don't use BP_SYM. Remove comment about bounded
12530 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12531 <bp-sym.h> and <bp-asm.h>.
12532 (memcpy): Don't use BP_SYM.
12533 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12534 <bp-sym.h> and <bp-asm.h>.
12535 (memset): Don't use BP_SYM.
12536 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12537 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12538 (__bzero): Don't use BP_SYM.
12539 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12540 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12541 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12542 <bp-sym.h> and <bp-asm.h>.
12543 (strncmp): Don't use BP_SYM. Remove comment about bounded
12545 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12546 <bp-sym.h> and <bp-asm.h>.
12547 (memcpy): Don't use BP_SYM.
12548 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12549 <bp-sym.h> and <bp-asm.h>.
12550 (memset): Don't use BP_SYM.
12551 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12552 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12553 (__bzero): Don't use BP_SYM.
12554 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12555 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12556 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12557 <bp-sym.h> and <bp-asm.h>.
12558 (__memchr): Don't use BP_SYM.
12559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12560 <bp-sym.h> and <bp-asm.h>.
12561 (memcmp): Don't use BP_SYM. Remove comment about bounded
12563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12564 <bp-sym.h> and <bp-asm.h>.
12565 (memcpy): Don't use BP_SYM.
12566 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12567 <bp-sym.h> and <bp-asm.h>.
12568 (__mempcpy): Don't use BP_SYM.
12569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12570 <bp-sym.h> and <bp-asm.h>.
12571 (__memrchr): Don't use BP_SYM.
12572 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12573 <bp-sym.h> and <bp-asm.h>.
12574 (memset): Don't use BP_SYM.
12575 (__bzero): Likewise.
12576 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12577 <bp-sym.h> and <bp-asm.h>.
12578 (__rawmemchr): Don't use BP_SYM.
12579 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12580 <bp-sym.h> and <bp-asm.h>.
12581 (__STRCMP): Don't use BP_SYM.
12582 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12583 <bp-sym.h> and <bp-asm.h>.
12584 (strchr): Don't use BP_SYM.
12585 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12586 <bp-sym.h> and <bp-asm.h>.
12587 (__strchrnul): Don't use BP_SYM.
12588 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12589 <bp-sym.h> and <bp-asm.h>.
12590 (strlen): Don't use BP_SYM.
12591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12592 <bp-sym.h> and <bp-asm.h>.
12593 (strncmp): Don't use BP_SYM. Remove comment about bounded
12595 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12596 <bp-sym.h> and <bp-asm.h>.
12597 (__strnlen): Don't use BP_SYM.
12598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12599 <bp-sym.h> and <bp-asm.h>.
12600 (__GI__setjmp): Don't use BP_SYM.
12601 (_setjmp): Likewise.
12602 (__sigsetjmp): Likewise.
12603 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12604 (L(start_addresses)): Don't use BP_SYM.
12605 (_start): Likewise.
12606 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12608 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12609 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12610 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12611 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12612 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12614 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12615 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12616 about bounded pointers.
12617 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12618 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12619 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12621 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12622 about bounded pointers. Remove GKM FIXME comments.
12623 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12624 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12626 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12627 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12628 Remove GKM FIXME comments.
12629 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12630 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12631 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12633 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12634 about bounded pointers. Remove GKM FIXME comment.
12635 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12637 (strncmp): Don't use BP_SYM. Remove comment about bounded
12639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12640 <bp-sym.h> and <bp-asm.h>.
12641 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12643 <bp-sym.h> and <bp-asm.h>.
12644 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12647 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12649 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12652 2013-03-05 David S. Miller <davem@davemloft.net>
12654 * po/es.po: Update from translation team.
12656 2013-03-05 Andreas Jaeger <aj@suse.de>
12658 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12659 <bits/mman-linux.h>.
12660 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12662 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12663 <bits/mman-linux.h> to end of file.
12664 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12666 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12667 <bits/mman-linux.h> to end of file.
12668 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12671 <bits/mman-linux.h> to end of file.
12673 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12674 (MCL_CURRENT, MCL_FUTURE): Define here.
12676 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12681 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12683 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12685 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12686 fourth parameter needed for rt_sigprocmask syscall.
12687 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12688 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12689 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12690 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12691 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12692 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12694 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12697 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12698 comment about bounded pointers.
12699 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12700 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12702 2013-03-04 Andreas Jaeger <aj@suse.de>
12704 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12705 common definitions.
12707 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12708 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12709 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12710 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12712 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12714 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12718 __ieee754_sqrl instead of __sqrl.
12720 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12722 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12723 * sysdeps/powerpc/fpu_control.h: ... here.
12724 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12725 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12726 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12727 * sysdeps/powerpc/bits/mathinline.h: ... here.
12729 2013-03-01 Roland McGrath <roland@hack.frob.com>
12731 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12732 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12733 to just [NEED_DL_SYSINFO_DSO].
12734 * elf/dl-support.c: Likewise.
12735 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12736 * elf/rtld.c (dl_main): Likewise.
12737 * elf/setup-vdso.h (setup_vdso): Likewise.
12738 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12739 * sysdeps/unix/sysv/linux/dl-sysdep.c
12740 (_dl_discover_osversion): Likewise.
12742 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12744 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12745 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12747 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12749 * NEWS: Mention libm performance improvements and non-x86 PI
12752 * csu/libc-start.c (__pthread_initialize_minimal): Change
12753 function arguments.
12754 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12756 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12759 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12760 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12761 <bp-sym.h> and <bp-asm.h>.
12762 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12763 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12765 (memcpy): Don't use BP_SYM.
12766 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12768 (__mpn_add_n): Don't use BP_SYM.
12769 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12770 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12772 (__mpn_addmul_1): Don't use BP_SYM.
12773 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12774 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12776 (_setjmp): Don't use BP_SYM.
12777 (__novmx_setjmp): Likewise.
12778 (__GI__setjmp): Likewise.
12779 (__vmx_setjmp): Likewise.
12780 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12782 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12783 (__bzero): Don't use BP_SYM.
12784 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12785 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12786 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12787 <bp-sym.h> and <bp-asm.h>.
12788 (memcpy): Don't use BP_SYM.
12789 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12790 <bp-sym.h> and <bp-asm.h>.
12791 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12792 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12793 <bp-sym.h> and <bp-asm.h>.
12794 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12795 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12797 (__mpn_lshift): Don't use BP_SYM.
12798 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12799 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12801 (memset): Don't use BP_SYM.
12802 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12803 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12804 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12806 (__mpn_mul_1): Don't use BP_SYM.
12807 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12809 <bp-sym.h> and <bp-asm.h>.
12810 (memcmp): Don't use BP_SYM.
12811 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12812 <bp-sym.h> and <bp-asm.h>.
12813 (memcpy): Don't use BP_SYM.
12814 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12815 <bp-sym.h> and <bp-asm.h>.
12816 (memset): Don't use BP_SYM.
12817 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12818 <bp-sym.h> and <bp-asm.h>.
12819 (strncmp): Don't use BP_SYM.
12820 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12821 <bp-sym.h> and <bp-asm.h>.
12822 (memcpy): Don't use BP_SYM.
12823 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12824 <bp-sym.h> and <bp-asm.h>.
12825 (memset): Don't use BP_SYM.
12826 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12827 <bp-sym.h> and <bp-asm.h>.
12828 (__memchr): Don't use BP_SYM.
12829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12830 <bp-sym.h> and <bp-asm.h>.
12831 (memcmp): Don't use BP_SYM.
12832 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12833 <bp-sym.h> and <bp-asm.h>.
12834 (memcpy): Don't use BP_SYM.
12835 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12836 <bp-sym.h> and <bp-asm.h>.
12837 (__mempcpy): Don't use BP_SYM.
12838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12839 <bp-sym.h> and <bp-asm.h>.
12840 (__memrchr): Don't use BP_SYM.
12841 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12842 <bp-sym.h> and <bp-asm.h>.
12843 (memset): Don't use BP_SYM.
12844 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12845 <bp-sym.h> and <bp-asm.h>.
12846 (__rawmemchr): Don't use BP_SYM.
12847 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12848 <bp-sym.h> and <bp-asm.h>.
12849 (__STRCMP): Don't use BP_SYM.
12850 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12851 <bp-sym.h> and <bp-asm.h>.
12852 (strchr): Don't use BP_SYM.
12853 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12854 <bp-sym.h> and <bp-asm.h>.
12855 (__strchrnul): Don't use BP_SYM.
12856 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12857 <bp-sym.h> and <bp-asm.h>.
12858 (strlen): Don't use BP_SYM.
12859 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12860 <bp-sym.h> and <bp-asm.h>.
12861 (strncmp): Don't use BP_SYM.
12862 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12863 <bp-sym.h> and <bp-asm.h>.
12864 (__strnlen): Don't use BP_SYM.
12865 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12867 (__mpn_rshift): Don't use BP_SYM.
12868 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12869 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12870 <bp-sym.h> and <bp-asm.h>.
12871 (__sigsetjmp): Don't use BP_SYM.
12872 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12873 (L(start_addresses)): Don't use BP_SYM.
12874 (_start): Likewise.
12875 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12877 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12878 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12879 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12880 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12882 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12883 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12884 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12885 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12887 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12889 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12890 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12892 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12894 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12895 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12896 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12898 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12900 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12902 (strncmp): Don't use BP_SYM,
12903 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12905 (__mpn_sub_n): Don't use BP_SYM.
12906 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12907 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12909 (__mpn_submul_1): Don't use BP_SYM.
12910 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12912 <bp-sym.h> and <bp-asm.h>.
12913 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12915 <bp-sym.h> and <bp-asm.h>.
12916 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12919 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12922 Use ZK to minimize writes to Z.
12923 (sub_magnitudes): Simplify code a bit.
12924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12925 Use ZK to minimize writes to Z.
12926 (sub_magnitudes): Simplify code a bit.
12928 2013-02-27 Roland McGrath <roland@hack.frob.com>
12930 * csu/gmon-start.c: Add special exception to license text.
12932 2013-02-27 Richard Henderson <rth@redhat.com>
12934 * scripts/config.guess: Update from config.git.
12935 * scripts/config.sub: Likewise.
12937 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12939 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12941 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12943 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12945 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12947 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12949 2013-02-26 Roland McGrath <roland@hack.frob.com>
12951 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12952 [$(build-shared = yes].
12954 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12956 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12957 (__mul): Reduce iterations for calculating mantissa.
12959 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12961 (__mpranred): Likewise.
12964 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12965 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12967 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12969 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12970 Define __attribute__.
12972 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12974 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12976 * posix/regex_internal.h (__attribute): Remove.
12977 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12978 (re_string_context_at): Likewise.
12979 (bitset_not): Use __attribute__ and mark function as possibly
12981 (bitset_merge): Likewise.
12982 (bitset_mask): Likewise.
12983 (re_string_char_size_at): Likewise.
12984 (re_string_wchar_at): Likewise.
12985 (re_string_elem_size_at): Likewise.
12987 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12989 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12993 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12997 (denorm): Likewise.
12998 (__dbl_mp): Likewise.
12999 (add_magnitudes): Likewise.
13000 (sub_magnitudes): Likewise.
13004 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
13007 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
13010 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
13013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13014 up changes with default code.
13015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13018 2013-02-24 Allan McRae <allan@archlinux.org>
13020 * manual/socket.texi (The Internet Namespace): Order menu items
13021 to match that in the file.
13023 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13024 node listing of the info page menu.
13026 2013-02-21 Joseph Myers <joseph@codesourcery.com>
13029 * sysdeps/i386/bp-asm.h: Remove file.
13030 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13031 (PARMS): Do not use macros from bp-asm.h.
13035 (__mpn_add_n): Do not use BP_SYM
13036 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13038 (PARMS): Do not use macros from bp-asm.h.
13041 (__mpn_addmul_1): Do not use BP_SYM
13042 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13044 (PARMS): Do not use macros from bp-asm.h.
13045 (SIGMSK): Likewise.
13046 (_setjmp): Likewise. Do not use BP_SYM.
13047 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13049 (PARMS): Do not use macros from bp-asm.h.
13050 (SIGMSK): Likewise.
13051 (setjmp): Likewise. Do not use BP_SYM.
13052 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13054 (PARMS): Do not use macros from bp-asm.h.
13055 (__frexp): Do not use BP_SYM.
13057 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13059 (PARMS): Do not use macros from bp-asm.h.
13060 (__frexpf): Do not use BP_SYM.
13061 (frexpf): Likewise.
13062 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13064 (PARMS): Do not use macros from bp-asm.h.
13065 (__frexpl): Do not use BP_SYM.
13066 (frexpl): Likewise.
13067 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13069 (PARMS): Do not use macros from bp-asm.h.
13070 (__remquo): Do not use BP_SYM.
13071 (remquo): Likewise.
13072 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13074 (PARMS): Do not use macros from bp-asm.h.
13075 (__remquof): Do not use BP_SYM.
13076 (remquof): Likewise.
13077 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13079 (PARMS): Do not use macros from bp-asm.h.
13080 (__remquol): Do not use BP_SYM.
13081 (remquol): Likewise.
13082 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13084 (PARMS): Do not use macros from bp-asm.h.
13087 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
13088 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13090 (PARMS): Do not use macros from bp-asm.h.
13091 (strlen): Do not use BP_SYM.
13092 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13094 (PARMS): Do not use macros from bp-asm.h.
13098 (__mpn_add_n): Do not use BP_SYM.
13099 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13101 (PARMS): Do not use macros from bp-asm.h.
13104 (__mpn_addmul_1): Do not use BP_SYM.
13105 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13108 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13110 (PARMS): Do not use macros from bp-asm.h.
13113 (__mpn_lshift): Do not use BP_SYM.
13114 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13116 (PARMS): Do not use macros from bp-asm.h.
13120 (memcpy): Likewise. Do not use BP_SYM.
13121 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13122 libc_hidden_def and weak_alias.
13123 (mempcpy): Do not use BP_SYM in weak_alias.
13124 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13126 (PARMS): Do not use macros from bp-asm.h.
13129 [!BZERO_P] (CHR): Likewise.
13130 (memset): Likewise. Do not use BP_SYM.
13131 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13133 (PARMS): Do not use macros from bp-asm.h.
13136 (__mpn_mul_1): Do not use BP_SYM.
13137 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13139 (PARMS): Do not use macros from bp-asm.h.
13142 (__mpn_rshift): Do not use BP_SYM.
13143 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13145 (PARMS): Do not use macros from bp-asm.h.
13148 (strchr): Likewise. Do not use BP_SYM.
13149 (index): Do not use BP_SYM in weak_alias.
13150 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13152 (PARMS): Do not use macros from bp-asm.h.
13155 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
13156 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13158 (PARMS): Do not use macros from bp-asm.h.
13159 (strlen): Do not use BP_SYM.
13160 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13162 (PARMS): Do not use macros from bp-asm.h.
13166 (__mpn_sub_n): Do not use BP_SYM.
13167 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13169 (PARMS): Do not use macros from bp-asm.h.
13172 (__mpn_submul_1): Do not use BP_SYM.
13173 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13175 (PARMS): Do not use macros from bp-asm.h.
13179 (__mpn_add_n): Do not use BP_SYM.
13180 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13183 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13185 (PARMS): Do not use macros from bp-asm.h.
13188 (memcmp): Do not use BP_SYM.
13189 (bcmp): Do not use BP_SYM in weak_alias.
13190 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13192 (PARMS): Do not use macros from bp-asm.h.
13196 (memcpy): Likewise. Do not use BP_SYM.
13197 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13199 (PARMS): Do not use macros from bp-asm.h.
13203 (memmove): Likewise. Do not use BP_SYM.
13204 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13206 (PARMS): Do not use macros from bp-asm.h.
13210 (__mempcpy): Likewise. Do not use BP_SYM.
13211 (mempcpy): Do not use BP_SYM in weak_alias.
13212 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13214 (PARMS): Do not use macros from bp-asm.h.
13217 [!BZERO_P] (CHR): Likewise.
13218 (memset): Likewise. Do not use BP_SYM.
13219 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13221 (PARMS): Do not use macros from bp-asm.h.
13223 (strcmp): Do not use BP_SYM.
13224 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13226 (PARMS): Do not use macros from bp-asm.h.
13229 [USE_AS_STRTOK_R] (SAVE): Likewise.
13230 (FUNCTION): Likewise. Do not use BP_SYM.
13231 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13233 (strtok_r): Likewise.
13234 (__GI___strtok_r): Likewise.
13235 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13236 (PARMS): Do not use macros from bp-asm.h.
13239 (__mpn_lshift): Do not use BP_SYM.
13240 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13241 (PARMS): Do not use macros from bp-asm.h.
13244 (__memchr): Do not use BP_SYM.
13245 (memchr): Do not use BP_SYM in weak_alias.
13246 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13247 (PARMS): Do not use macros from bp-asm.h.
13250 (memcmp): Do not use BP_SYM.
13251 (bcmp): Do not use BP_SYM in weak_alias.
13252 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13253 (PARMS): Do not use macros from bp-asm.h.
13256 (__mpn_mul_1): Do not use BP_SYM.
13257 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13259 (PARMS): Do not use macros from bp-asm.h.
13262 (__rawmemchr): Do not use BP_SYM.
13263 (rawmemchr): Do not use BP_SYM in weak_alias.
13264 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13265 (PARMS): Do not use macros from bp-asm.h.
13268 (__mpn_rshift): Do not use BP_SYM.
13269 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13270 (PARMS): Do not use macros from bp-asm.h.
13271 (SIGMSK): Likewise.
13272 (__sigsetjmp): Likewise. Do not use BP_SYM.
13273 * sysdeps/i386/start.S: Do not include "bp-sym.h".
13274 (_start): Do not use BP_SYM.
13275 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13276 (PARMS): Do not use macros from bp-asm.h.
13279 (__stpcpy): Likewise. Do not use BP_SYM.
13280 (stpcpy): Do not use BP_SYM in weak_alias.
13281 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13283 (PARMS): Do not use macros from bp-asm.h.
13287 (__stpncpy): Likewise. Do not use BP_SYM.
13288 (stpncpy): Do not use BP_SYM in weak_alias.
13289 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13290 (PARMS): Do not use macros from bp-asm.h.
13293 (strchr): Likewise. Do not use BP_SYM.
13294 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13296 (PARMS): Do not use macros from bp-asm.h.
13299 (__strchrnul): Likewise. Do not use BP_SYM.
13300 (strchrnul): Do not use BP_SYM in weak_alias.
13301 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13303 (PARMS): Do not use macros from bp-asm.h.
13305 (strcspn): Do not use BP_SYM.
13306 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13308 (PARMS): Do not use macros from bp-asm.h.
13311 (strpbrk): Likewise. Do not use BP_SYM.
13312 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13314 (PARMS): Do not use macros from bp-asm.h.
13317 (strrchr): Likewise. Do not use BP_SYM.
13318 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13319 (PARMS): Do not use macros from bp-asm.h.
13321 (strspn): Do not use BP_SYM.
13322 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13323 (PARMS): Do not use macros from bp-asm.h.
13327 (FUNCTION): Likewise. Do not use BP_SYM.
13328 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13330 (strtok_r): Likewise.
13331 (__GI___strtok_r): Likewise.
13332 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13333 (PARMS): Do not use macros from bp-asm.h.
13337 (__mpn_sub_n): Do not use BP_SYM.
13338 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13340 (PARMS): Do not use macros from bp-asm.h.
13343 (__mpn_submul_1): Do not use BP_SYM.
13344 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13346 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13348 (PARMS): Do not use macros from bp-asm.h.
13353 (__clone): Do not use BP_SYM.
13354 (clone): Do not use BP_SYM in weak_alias.
13355 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13357 (PARMS): Do not use macros from bp-asm.h.
13359 (__mmap64): Do not use BP_SYM.
13360 (mmap64): Do not use BP_SYM in weak_alias.
13361 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13362 <bp-sym.h> and <bp-asm.h>.
13363 (PARMS): Do not use macros from bp-asm.h.
13364 (__posix_fadvise64_l64): Do not use BP_SYM.
13365 * sysdeps/unix/sysv/linux/i386/semtimedop.S
13366 (PARMS): Do not use macros from bp-asm.h.
13368 (semtimedop): Do not use BP_SYM.
13369 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13372 2013-02-21 Allan McRae <allan@archlinux.org>
13374 * manual/message.texi (Charset conversion in gettext):
13375 Move @end statement to beginning of line.
13377 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13384 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13385 (denorm): Likewise.
13386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13389 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13391 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13392 tail-call to the resolved function if pltexit isn't needed.
13394 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13397 or Y being zero as being unlikely.
13398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13401 2013-02-20 Carlos O'Donell <carlos@redhat.com>
13403 * manual/nss.texi (System Databases and Name Service Switch):
13404 Remove frobnicate @pxref.
13406 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13408 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13409 __attribute__ ((unused)) to __attribute__ ((__unused__)).
13411 2013-02-20 Petr Machata <pmachata@redhat.com>
13413 * elf/elf.h (R_ARM_TARGET1): New macro.
13414 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13415 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13416 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13417 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13418 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13419 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13420 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13421 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13422 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13423 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13424 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13425 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13426 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13427 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13428 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13429 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13430 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13431 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13432 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13433 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13434 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13435 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13436 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13437 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13438 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13439 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13440 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13441 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13442 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13443 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13444 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13445 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13446 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13447 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13448 (R_ARM_THM_GOT_BREL12): Likewise.
13449 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13450 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13451 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13452 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13453 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13454 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13455 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13456 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13457 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13459 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
13461 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13462 __attribute_used__ to __attribute__ ((unused)).
13464 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13466 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13469 comment formatting.
13470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13472 2013-02-19 Joseph Myers <joseph@codesourcery.com>
13475 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13477 (ENTER): Remove both macro definitions.
13479 (CHECK_BOUNDS_LOW): Likewise.
13480 (CHECK_BOUNDS_HIGH): Likewise.
13481 (CHECK_BOUNDS_BOTH): Likewise.
13482 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13483 (RETURN_BOUNDED_POINTER): Likewise.
13484 (RETURN_NULL_BOUNDED_POINTER): Likewise.
13485 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13486 (POP_ERRNO_LOCATION_RETURN): Likewise.
13487 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13488 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13489 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13491 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13492 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13493 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13494 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13495 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13496 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13497 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13498 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13499 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13500 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13501 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13502 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13503 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13504 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13506 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13507 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13509 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13510 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13511 * sysdeps/i386/i586/memset.S (memset): Likewise.
13512 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13513 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13514 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13516 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13517 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13518 Change uses of L(2) to L(out).
13519 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13520 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13521 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13522 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13523 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13525 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13526 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13528 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13529 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13530 (RETURN): Do not use macro LEAVE.
13531 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13532 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13533 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13534 * sysdeps/i386/i686/memset.S (memset): Likewise.
13535 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13536 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13537 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13538 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13540 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13541 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13542 L(1_2) and L(1_3) into L(1).
13543 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13544 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13545 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13546 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13547 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13548 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13549 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13551 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13553 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13554 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13555 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13556 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13557 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13558 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13559 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13560 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13561 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13562 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13563 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13564 * sysdeps/i386/strspn.S (strspn): Likewise.
13565 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13567 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13568 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13569 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13570 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13571 L(1_3) into L(1_1).
13572 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13573 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13574 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13576 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13578 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13580 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13583 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13585 * math/atest-exp.c (exp_mpn): Remove ROUND.
13586 * math/atest-exp2.c (exp_mpn): Likewise.
13587 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13589 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13590 * stdlib/tst-tls-atexit-lib.c: Likewise.
13591 * stdlib/tst-tls-atexit.c: Likewise.
13593 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13595 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13596 and __attribute_alloc_size__.
13598 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13600 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13601 __attribute_alloc_size__.
13602 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13603 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13605 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13607 * include/programs/xmalloc.h: New file.
13608 * catgets/gencat.c: Include it.
13609 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13610 * elf/pldd.c: Likewise.
13611 * iconv/iconv_charmap.c: Likewise.
13612 * iconv/iconvconfig.c: Likewise.
13613 * iconv/strtab.c: Likewise.
13614 * locale/programs/locale.c: Likewise.
13615 * locale/programs/localedef.h: Likewise.
13616 * locale/programs/simple-hash.c: Likewise.
13617 * nscd/nscd.h: Likewise.
13618 * nss/makedb.c: Likewise.
13619 * sysdeps/generic/ldconfig.h: Likewise.
13621 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13623 * Versions.def: Add GLIBC_2.18.
13624 * include/link.h (struct link_map): New member l_tls_dtor_count.
13625 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13626 (__call_tls_dtors): Likewise.
13627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13628 __cxa_thread_atexit_impl.
13629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13645 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13646 (tests): Add test case tst-tls-atexit.
13647 (modules-names): Add shared library for tst-tls-atexit.
13648 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13649 (GLIBC_PRIVATE): Add __call_tls_dtors.
13650 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13652 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13653 * stdlib/tst-tls-atexit.c: New test case.
13654 * stdlib/tst-tls-atexit-lib.c: New test case.
13656 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13658 * elf/Versions (ld): Add _dl_find_dso_for_object.
13659 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13660 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13661 (dl_open_worker): Use _dl_find_dso_for_object.
13662 * elf/dl-sym.c (do_sym): Likewise.
13663 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13665 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13667 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13668 Syntactic changes only.
13669 (_dl_runtime_profile): Do a tail-call to the resolved function.
13671 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13674 * sysdeps/x86_64/bp-asm.h: Remove file.
13675 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13676 <bp-sym.h> and <bp-asm.h>.
13677 (__clone): Do not use BP_SYM.
13678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13679 <bp-sym.h> and <bp-asm.h>.
13680 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13681 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13683 (_setjmp): Do not use BP_SYM.
13684 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13686 (setjmp): Do not use BP_SYM.
13687 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13689 (mempcpy): Do not use BP_SYM in weak_alias.
13690 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13692 (strchr): Do not use BP_SYM.
13693 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13695 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13696 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13697 (_start): Do not use BP_SYM.
13698 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13700 (strcat): Do not use BP_SYM.
13701 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13703 (STRCMP): Do not use BP_SYM.
13704 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13706 (STRCPY): Do not use BP_SYM.
13707 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13709 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13711 (FUNCTION): Do not use BP_SYM.
13712 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13714 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13716 2013-02-17 Andreas Jaeger <aj@suse.de>
13718 * time/Versions: Sort entries.
13719 * string/Versions: Likewise.
13720 * resolv/Versions: Likewise.
13721 * posix/Versions: Likewise.
13722 * iconv/Versions: Likewise.
13723 * elf/Versions: Likewise.
13724 * wcsmbs/Versions: Likewise.
13726 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13728 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13729 loop termination condition.
13731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13732 variable to calculate EZ.
13735 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13736 the lower precision input.
13738 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13741 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13742 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13743 (run-via-rtld-prefix): Do not handle %-bp tests.
13744 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13745 (all-object-suffixes): Remove .ob.
13746 (bppfx): Remove variable.
13747 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13748 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13749 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13750 [$(build-bounded) = yes] (libtype.ob): Likewise.
13751 * Makerules (elide-routines.ob): Remove variable.
13752 (do-tests-clean): Do not handle *-bp.out.
13753 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13754 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13755 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13756 (tests): Do not include $(tests-bp.out).
13757 (xtests): Do not include $(xtests-bp.out).
13758 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13759 [$(build-bounded) = yes] ($(addprefix
13760 $(objpfx),$(binaries-bounded))): Remove rule.
13761 ($(objpfx)%-bp.out): Remove rule.
13762 * config.make.in (build-bounded): Remove variable.
13763 * crypt/Makefile [$(build-bounded) = yes]
13764 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13765 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13766 append to variable.
13767 [$(build-bounded) = yes] (install-lib): Likewise.
13768 [$(build-bounded) = yes] (generated): Likewise.
13769 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13771 * intl/Makefile [$(build-bounded) = yes]
13772 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13773 * math/Makefile [$(build-bounded) = yes]
13774 ($(tests:%=$(objpfx)%-bp): Likewise.
13775 * misc/Makefile [$(build-bounded) = yes]
13776 ($(objpfx)tst-tsearch-bp): Likewise.
13777 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13778 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13780 * string/Makefile (o-objects.ob): Remove variable.
13781 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13782 (CFLAGS-.ob): Remove variable.
13783 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13784 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13785 both definitions of variable.
13786 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13787 (ASFLAGS-.ob): Remove variable.
13789 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13792 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13793 Remove __BOUNDED_POINTERS__ from condition.
13794 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13795 * string/bits/string2.h [!__NO_STRING_INLINES &&
13796 !__BOUNDED_POINTERS__]: Likewise.
13797 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13799 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13800 Remove conditional code.
13801 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13802 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13803 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13807 * csu/libc-start.c: Do not include <bp-sym.h>.
13808 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13809 * elf/dl-open.c: Do not include <bp-sym.h>.
13810 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13811 * math/fegetenv.c: Do not include <bp-sym.h>.
13812 (fegetenv): Do not use BP_SYM in versioned symbols.
13813 * nptl/sysdeps/pthread/bits/libc-lockP.h
13814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13817 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13819 (__pthread_mutex_destroy): Likewise.
13820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13821 (__pthread_mutex_lock): Likewise.
13822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13823 (__pthread_mutex_trylock): Likewise.
13824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13825 (__pthread_mutex_unlock): Likewise.
13826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13827 (__pthread_mutexattr_init): Likewise.
13828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13829 (__pthread_mutexattr_destroy): Likewise.
13830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13831 (__pthread_mutexattr_settype): Likewise.
13832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13833 (__pthread_rwlock_init): Likewise.
13834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13835 (__pthread_rwlock_destroy): Likewise.
13836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13837 (__pthread_rwlock_rdlock): Likewise.
13838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13839 (__pthread_rwlock_tryrdlock): Likewise.
13840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13841 (__pthread_rwlock_wrlock): Likewise.
13842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13843 (__pthread_rwlock_trywrlock): Likewise.
13844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13845 (__pthread_rwlock_unlock): Likewise.
13846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13847 (__pthread_key_create): Likewise.
13848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13849 (__pthread_setspecific): Likewise.
13850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13851 (__pthread_getspecific): Likewise.
13852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13855 (_pthread_cleanup_push_defer): Likewise.
13856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13857 (_pthread_cleanup_pop_restore): Likewise.
13858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13859 (pthread_setcancelstate): Likewise.
13860 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13862 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13863 (memchr): Do not use BP_SYM in weak_alias.
13864 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13865 (fegetenv): Do not use BP_SYM in versioned symbols.
13866 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13867 (fesetenv): Do not use BP_SYM in versioned symbols.
13868 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13869 (feupdateenv): Do not use BP_SYM in versioned symbols.
13870 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13871 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13872 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13873 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13874 (open64): Do not use BP_SYM in weak_alias.
13875 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13876 (fegetenv): Do not use BP_SYM in versioned symbols.
13877 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13878 (fesetenv): Do not use BP_SYM in versioned symbols.
13879 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13880 (feupdateenv): Do not use BP_SYM in versioned symbols.
13881 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13882 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13883 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13884 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13885 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13886 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13887 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13889 (__libc_start_main): Do not use BP_SYM.
13891 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13894 redundant return line.
13896 (denorm): Likewise.
13897 (dbl_mp): Likewise.
13898 (sub_magnitudes): Likewise.
13904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13906 (denorm): Likewise.
13907 (dbl_mp): Likewise.
13908 (sub_magnitudes): Likewise.
13915 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13917 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13918 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13921 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13922 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13924 of __mul for squares.
13925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13929 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13930 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13932 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13935 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13937 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13938 prototype or function definition. Rename ubp_* variables and
13939 parameters. Remove argv definitions conditional on
13940 [__BOUNDED_POINTERS__].
13941 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13942 * elf/dl-runtime.c (_dl_fixup): Likewise.
13943 * include/set-hooks.h (RUN_HOOK): Likewise.
13944 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13946 * string/strcpy.c (strcpy): Do not use __unbounded.
13947 * sysdeps/generic/frame.h (struct layout): Likewise.
13948 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13949 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13950 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13951 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13952 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13953 (__backtrace): Likewise.
13954 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13956 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13957 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13958 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13960 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13961 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13962 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13963 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13964 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13965 Do not use __unbounded.
13966 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13967 Rename __unboundedrlimits parameter to rlimits in prototype.
13968 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13969 Do not use __unbounded.
13970 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13971 not use __ptrvalue.
13972 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13973 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13974 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13975 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13976 __ptrvalue or __unbounded.
13977 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13978 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13980 (__new_msgctl): Do not use __ptrvalue.
13981 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13983 (__libc_msgrcv): Do not use __ptrvalue.
13984 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13985 startup_info): Do not use __unbounded.
13986 (__libc_start_main): Likewise. Rename ubp_* variables and
13987 parameters. Remove argv definitions conditional on
13988 [__BOUNDED_POINTERS__].
13989 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13991 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13993 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13995 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13997 (__new_shmctl): Do not use __ptrvalue.
13998 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13999 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14001 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14002 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
14003 (__libc_sigaction): Likewise.
14004 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
14005 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
14007 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14009 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
14011 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14013 * string/mempcpy.c: Implement by calling memcpy.
14015 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14017 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14022 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14023 values in the mantissa.
14025 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14026 minimize writes to Z.
14027 (sub_magnitudes): Simplify code a bit.
14029 2013-02-12 Roland McGrath <roland@hack.frob.com>
14031 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14032 from the message. The linker prefixes all warnings with that already.
14034 2013-02-12 Andreas Schwab <schwab@suse.de>
14037 * posix/regexec.c (extend_buffers): Add parameter min_len.
14038 (check_matching): Pass minimum needed length.
14039 (clean_state_log_if_needed): Likewise.
14040 (get_subexp): Likewise.
14041 * posix/Makefile (tests): Add bug-regex34.
14042 (bug-regex34-ENV): Define.
14043 * posix/bug-regex34.c: New file.
14046 * posix/regcomp.c (parse_bracket_exp): When looking up collating
14047 elements compare against the byte sequence of it, not its name.
14048 * posix/Makefile (tests): Add bug-regex35.
14049 (bug-regex35-ENV): Define.
14050 * posix/bug-regex35.c: New file.
14052 2013-02-11 Tom de Vries <tom@codesourcery.com>
14054 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
14056 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14057 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14058 (CHECK_EOL): Add undef.
14060 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
14062 * bits/stdlib-bsearch.h: New file.
14063 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14064 * stdlib/stdlib.h: Likewise.
14066 2013-02-11 Roland McGrath <roland@hack.frob.com>
14068 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14069 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14071 * manual/search.texi (Array Search Function): Add missing const in
14073 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14074 declaration to use rlim_t.
14075 (Basic Scheduling Functions): Remove erroneous const from
14076 sched_getparam prototype. Remove erroneous * from
14077 sched_get_priority_max and sched_get_priority_min prototypes.
14078 (Resource Usage): Fix summary @comment on vtimes to refer to
14079 sys/vtimes.h rather than vtimes.h.
14080 Add missing *s in vtimes prototype.
14081 (Limits on Resources): Fix ulimit prototype to return long int.
14082 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14083 prototypes to use long int rather than double.
14084 (BSD Random): Fix initstate and setstate to use char *, not void *.
14085 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14086 prototype to make second argument 'struct aiocb64 *const[]'.
14087 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14088 (Status of AIO Operations): Remove erroneous const in aio_return and
14089 aio_return64 prototypes.
14090 (Synchronizing I/O): Fix sync prototype to return void.
14091 * manual/startup.texi (Suboptions): Remove an erroneous const in
14092 getsubopt prototype.
14093 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14094 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14095 use size_t rather than int.
14096 (Scanning All Users): Likewise for getpwent_r.
14097 (Setting Groups): Add missing const to setgroups prototype.
14098 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14099 * manual/socket.texi (Host Names): Fix gethostbyaddr and
14100 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14101 'const void *' rather than 'const char *'.
14102 (Host Address Functions): Likewise for inet_ntop.
14103 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14104 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14105 ssize_t for return value.
14106 (Sending Data): Likewise for send, sendto, sendmsg.
14107 (Socket Option Functions): Add a missing const in setsockopt prototype.
14108 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14109 use wchar_t for the argument.
14110 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14111 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14113 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14114 double/float/long double for second argument.
14115 Fix return types of significand, significandf, significandl.
14116 * manual/filesys.texi (Setting Permissions): Use mode_t for second
14117 argument in fchmod prototype.
14118 (File Owner): Use uid_t and gid_t in fchown prototype.
14119 (File Times): Add const to utimes, futimes, and lutimes prototypes.
14120 (Making Special Files): Use mode_t and dev_t in mknod prototype.
14121 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14122 use 'const struct dirent **' as argument types to CMP function pointer
14124 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14125 (File Times): Fix summary magic @comment for struct utimbuf and utime
14126 to refer to utime.h, not time.h.
14127 * manual/string.texi (Argz Functions): Add missing const in
14128 argz_extract and argz_next prototypes.
14129 (Finding Tokens in a String): Likewise for basename.
14130 (String/Array Comparison): Fix typo in wcscasecmp prototype.
14131 (Copying and Concatenation): Fix typo in wmemmove prototype.
14132 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14133 (Signal Stack): Remove erroneous const in sigstack prototype.
14134 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14136 (Simple Calendar Time): Likewise for stime.
14137 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14139 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14140 say sys/sysctl.h instead.
14141 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14142 and vsyslog prototypes.
14144 2013-02-11 Tom de Vries <tom@codesourcery.com>
14146 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14149 2013-02-11 Roland McGrath <roland@hack.frob.com>
14151 * misc/sys/mman.h: Fix typo in mremap comment.
14153 2013-02-08 Roland McGrath <roland@hack.frob.com>
14155 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14156 the '\0' terminator.
14158 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14161 * debug/segfault.c: Don't include <bp-checks.h>.
14162 * sysdeps/generic/bp-checks.h: Remove file.
14163 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14164 (__GETDENTS): Don't use CHECK_N.
14165 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14166 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14167 (__getgroups): Don't use CHECK_N.
14168 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14169 (setgroups): Don't use CHECK_N.
14170 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14171 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14172 (__libc_msgrcv): Don't use CHECK_N.
14173 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14174 (__libc_msgsnd): Don't use CHECK_N.
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14177 (__libc_pread): Don't use CHECK_N.
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14179 include <bp-checks.h>.
14180 (__libc_pread64): Don't use CHECK_N.
14181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14182 include <bp-checks.h>.
14183 (__libc_pwrite): Don't use CHECK_N.
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14185 include <bp-checks.h>.
14186 (__libc_pwrite64): Don't use CHECK_N.
14187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14189 (__libc_pread): Don't use CHECK_N.
14190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14191 include <bp-checks.h>.
14192 (__libc_pread64): Don't use CHECK_N.
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14194 include <bp-checks.h>.
14195 (__libc_pwrite): Don't use CHECK_N.
14196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14197 include <bp-checks.h>.
14198 (__libc_pwrite64): Don't use CHECK_N.
14199 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14200 (do_pread): Don't use CHECK_N.
14201 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14202 (do_pread64): Don't use CHECK_N.
14203 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14204 (do_pwrite): Don't use CHECK_N.
14205 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14206 (do_pwrite64): Don't use CHECK_N.
14207 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14208 (__libc_readv): Don't use CHECK_N.
14209 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14210 (semop): Don't use CHECK_N.
14211 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14213 (semtimedop): Don't use CHECK_N.
14214 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14215 (__libc_pread): Don't use CHECK_N.
14216 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14218 (__libc_pread64): Don't use CHECK_N.
14219 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14221 (__libc_pwrite): Don't use CHECK_N.
14222 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14224 (__libc_pwrite64): Don't use CHECK_N.
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14227 (__libc_msgrcv): Don't use CHECK_N.
14228 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14229 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
14230 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14231 (__libc_writev): Don't use CHECK_N.
14233 2013-02-08 Roland McGrath <roland@hack.frob.com>
14235 * string/strcpy.c: Removed unused variable.
14237 * Makeconfig (+sysdep-includes): Define with := rather than =.
14238 Use an existing include/ subdir of each sysdeps dir before it.
14240 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14242 * nscd/connection.c (register_traced_file): Comment function.
14243 [HAVE_INOTIFY] (union __inev): Define.
14244 [HAVE_INOTIFY] (inotify_check_files): New function.
14245 [HAVE_INOTIFY] (clear_db_cache): Likewise.
14246 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14248 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14250 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14252 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14253 loaded if not already and that a failure is permanent.
14255 2013-02-08 Carlos O'Donell <carlos@redhat.com>
14258 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14259 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14261 2013-02-08 Joseph Myers <joseph@codesourcery.com>
14264 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14265 (CHECK_1_NULL_OK): Likewise.
14266 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14267 (__fxstat): Do not use CHECK_1.
14268 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14270 (___fxstat64): Do not use CHECK_1.
14271 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14273 (__fxstatat): Do not use CHECK_1.
14274 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14276 (__fxstatat64): Do not use CHECK_1.
14277 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14279 (__fxstat): Do not use CHECK_1.
14280 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14282 (__fxstatat): Do not use CHECK_1.
14283 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14285 (__getresgid): Do not use CHECK_1.
14286 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14288 (__getresuid): Do not use CHECK_1.
14289 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14291 (__lxstat): Do not use CHECK_1.
14292 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14294 (__old_msgctl): Do not use CHECK_1.
14295 (__new_msgctl): Likewise.
14296 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14298 (__new_setrlimit): Do not use CHECK_1.
14299 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14301 (__old_shmctl): Do not use CHECK_1.
14302 (__new_shmctl): Likewise.
14303 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14305 (__xstat): Do not use CHECK_1.
14306 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14307 (__lxstat): Do not use CHECK_1.
14308 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14310 (___lxstat64): Do not use CHECK_1.
14311 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14312 (__old_msgctl): Do not use CHECK_1.
14313 (__new_msgctl): Likewise.
14314 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14316 (__gettimeofday): Do not use CHECK_1.
14317 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14318 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14319 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14321 (__gettimeofday): Do not use CHECK_1.
14322 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14323 (__old_shmctl): Do not use CHECK_1_NULL_OK.
14324 (__new_shmctl): Do not use CHECK_1.
14325 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14327 (do_sigtimedwait): Do not use CHECK_1.
14328 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14330 (do_sigwaitinfo): Do not use CHECK_1.
14331 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14333 (msgctl): Do not use CHECK_1.
14334 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14336 (shmctl): Do not use CHECK_1.
14337 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14338 (ustat): Do not use CHECK_1.
14339 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14341 (__fxstat): Do not use CHECK_1.
14342 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14344 (__fxstatat): Do not use CHECK_1.
14345 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14347 (__lxstat): Do not use CHECK_1.
14348 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14350 (__xstat): Do not use CHECK_1.
14351 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14352 (__xstat): Do not use CHECK_1.
14353 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14354 (___xstat64): Do not use CHECK_1.
14357 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14359 (CHECK_BOUNDS_HIGH): Likewise.
14360 * string/strcpy.c: Do not include <bp-checks.h>.
14361 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14363 2013-02-07 Roland McGrath <roland@hack.frob.com>
14365 * nscd/nscd-client.h (__nscd_drop_map_ref):
14366 Add __attribute__ ((unused)).
14367 * nis/nss-nisplus.h (niserr2nss): Likewise.
14369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14370 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14372 * csu/libc-tls.c (init_static_tls, init_slotinfo):
14373 Remove inline keyword.
14374 * include/rounding-mode.h (round_away): Likewise.
14375 * libio/wfileops.c (adjust_wide_data): Likewise.
14376 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14377 (__m128i_strloadu_tolower): Likewise.
14378 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14379 (__m128i_strloadu_tolower): Likewise.
14380 * time/mktime.c (ydhms_diff): Likewise.
14381 * locale/elem-hash.h (elem_hash): Likewise.
14382 * locale/setlocale.c (setdata): Likewise.
14383 * posix/regex_internal.h (re_string_char_size_at): Likewise.
14384 (re_string_wchar_at): Likewise.
14385 (bitset_not, bitset_merge, bitset_mask): Likewise.
14386 [!(__GNUC__ > 3)] (inline): Remove macro.
14387 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14388 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14389 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14390 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14391 * string/memcmp.c (memcmp_bytes): Likewise.
14392 * locale/programs/locarchive.c (compute_hashval): Likewise.
14393 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14394 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14395 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14396 * nss/getent.c (print_rpc, print_protocols): Likewise.
14397 (print_passwd, print_group, print_aliases): Likewise.
14398 * nis/nss-nisplus.h (niserr2nss): Likewise.
14399 * nscd/connections.c (restart_p): Likewise.
14400 Change return type to bool.
14402 2013-02-05 Roland McGrath <roland@hack.frob.com>
14404 * Makeconfig (all-Depend-files): Add existing
14405 $(sorted-subdirs:=/Depend) files.
14406 (all-subdirs): Remove nss.
14407 * sysdeps/unix/inet/Subdirs: Add it here instead.
14408 * hesiod/Depend: New file.
14410 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14411 instead of calling alloca.
14413 * io/lseek.c (__lseek): Rename to __libc_lseek.
14414 Define __lseek as an alias.
14416 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14418 2013-02-04 Carlos O'Donell <carlos@redhat.com>
14420 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14421 else clause and remove check for non-standard endianness.
14423 2013-02-04 David S. Miller <davem@davemloft.net>
14425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14427 2013-02-04 Joseph Myers <joseph@codesourcery.com>
14430 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14431 (__ubp_memchr): Remove prototype.
14432 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14433 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14434 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14435 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14436 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14438 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14439 (__ubp_memchr): Likewise.
14440 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14441 (__ubp_memchr): Likewise.
14442 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14443 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14444 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14445 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14447 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14448 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14449 (__getcwd): Do not use CHECK_STRING.
14450 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14452 (__real_chown): Do not use CHECK_STRING.
14453 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14455 (fchownat): Do not use CHECK_STRING.
14456 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14458 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14460 (__lchown): Do not use CHECK_STRING.
14461 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14462 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14463 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14464 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14466 include <bp-checks.h>.
14467 (truncate64): Do not use CHECK_STRING.
14468 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14470 (__real_chown): Do not use CHECK_STRING.
14471 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14473 (__lchown): Do not use CHECK_STRING.
14474 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14476 (__chown): Do not use CHECK_STRING.
14477 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14479 (truncate64): Do not use CHECK_STRING.
14480 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14482 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14483 (__xmknod): Do not use CHECK_STRING.
14484 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14486 (__xmknodat): Do not use CHECK_STRING.
14487 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14488 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14490 2013-02-04 Andreas Schwab <schwab@suse.de>
14493 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14494 * include/netdb.h: Likewise for h_errno.
14495 * elf/tst-stackguard1.c: Include <tls.h>.
14497 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14499 * elf/link.h (struct link_map): Extend the l_addr comment.
14500 * include/link.h (struct link_map): Likewise.
14502 2013-02-01 Joseph Myers <joseph@codesourcery.com>
14505 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14506 (BOUNDED_1): Remove macro.
14507 * debug/backtrace.c: Don't include <bp-checks.h>.
14508 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14509 (__backtrace): Likewise.
14510 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14512 (__backtrace): Don't use BOUNDED_1.
14513 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14515 (__backtrace): Don't use BOUNDED_1.
14516 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14517 (__backtrace): Don't use BOUNDED_1.
14518 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14519 (shmat): Don't use BOUNDED_N.
14521 2013-01-31 Joseph Myers <joseph@codesourcery.com>
14524 * sysdeps/generic/bp-start.h: Remove file.
14525 * csu/libc-start.c: Don't include <bp-start.h>.
14526 (LIBC_START_MAIN): Set up __environ directly instead of using
14527 INIT_ARGV_and_ENVIRON.
14528 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14532 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14534 (CHECK_FCNTL): Likewise.
14535 (CHECK_N_PAGES): Likewise.
14538 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14540 (CHECK_SIGSET_NULL_OK): Likewise.
14541 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14543 (sigpending): Don't use CHECK_SIGSET.
14544 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14546 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14547 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14549 (do_sigsuspend): Don't use CHECK_SIGSET.
14550 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14552 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14553 (do_sigwait): Don't use CHECK_SIGSET.
14554 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14556 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14557 include <bp-checks.h>.
14558 (sigpending): Don't use CHECK_SIGSET.
14559 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14560 include <bp-checks.h>.
14561 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14562 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14564 (sigpending): Don't use CHECK_SIGSET.
14565 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14567 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14570 * sysdeps/generic/bp-semctl.h: Remove file.
14571 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14572 <bp-checks.h> and <bp-semctl.h>.
14573 (__old_semctl): Don't use CHECK_SEMCTL.
14574 (__new_semctl): Likewise.
14575 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14577 (__old_semctl): Don't use CHECK_SEMCTL.
14578 (__new_semctl): Likewise.
14579 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14580 <bp-checks.h> and <bp-semctl.h>.
14581 (__old_semctl): Don't use CHECK_SEMCTL.
14582 (__new_semctl): Likewise.
14583 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14584 <bp-checks.h> and <bp-semctl.h>.
14585 (semctl): Don't use CHECK_SEMCTL.
14588 * Makerules (elide-bp-thunks): Remove variable.
14589 (elide-routines.oS): Don't use $(elide-bp-thunks).
14590 (elide-routines.os): Likewise.
14591 (elide-routines.o): Likewise.
14592 (elide-routines.op): Likewise.
14593 (elide-routines.og): Likewise.
14594 (objects): Don't use $(bp-thunks).
14595 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14597 (common-generated): Do not add s-proto-bp.d.
14598 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14601 Do not generate makefile rules for bounded-pointer thunks.
14602 * sysdeps/generic/bp-thunks.h: Remove file.
14603 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14604 * sysdeps/unix/s-proto-bp.S: Likewise.
14607 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14608 parts of result separately when argument is not close to line from
14609 -i to i and one part of argument is small.
14610 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14611 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14612 * math/libm-test.inc (cacos_test): Add more tests.
14613 (casin_test): Likewise.
14614 (casinh_test): Likewise.
14615 * sysdeps/i386/fpu/libm-test-ulps: Update.
14616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14618 2013-01-31 David S. Miller <davem@davemloft.net>
14620 * po/de.po: Update from translation team.
14622 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14624 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14626 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14628 * configure.in (_AC_PROG_CC_C89): New definition.
14629 * configure: Regenerate.
14631 * configure.in (AC_PROG_CPP): New definition.
14632 * configure: Regenerate.
14634 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14636 * debug/tst-backtrace.h: New file.
14637 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14638 (ret): Remove variable.
14640 (FAIL): Remove macro.
14641 (NO_INLINE): Likewise.
14642 (fn1): Use match function instead of strstr.
14643 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14644 (ret): Remove variable.
14646 (FAIL): Remove macro.
14647 (NO_INLINE): Likewise.
14648 (fn): Use match function instead of strstr.
14649 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14650 (ret): Remove variable.
14652 (FAIL): Remove macro.
14653 (NO_INLINE): Likewise.
14654 (handle_signal): Use match function instead of strstr.
14655 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14656 (ret): Remove variable.
14658 (FAIL): Remove macro.
14659 (NO_INLINE): Likewise.
14660 (handle_signal): Use match function instead of strstr.
14662 2013-01-23 Roland McGrath <roland@hack.frob.com>
14664 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14666 2013-01-23 David S. Miller <davem@davemloft.net>
14668 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14669 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14670 argument of CAS if possible.
14671 * sysdeps/sparc/sparc64/bits/atomic.h
14672 (__arch_compare_and_exchange_val_32_acq): Likewise.
14673 (__arch_compare_and_exchange_val_64_acq): Likewise.
14675 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14677 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14678 * sysdeps/posix/ulimit.c: ... this.
14679 Include <limits.h>.
14680 * sysdeps/unix/bsd/ulimit.c: Remove file.
14682 2013-01-23 Adam Conrad <adconrad@0c3.net>
14684 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14685 (LDFLAGS-tst-array5): Likewise.
14687 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14690 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14691 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14692 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14693 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14695 2013-01-21 David S. Miller <davem@davemloft.net>
14697 * sysdeps/sparc/backtrace.c: New file.
14698 * sysdeps/sparc/sparc32/backtrace.h: New file.
14699 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14700 * sysdeps/sparc/sparc64/backtrace.h: New file.
14701 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14702 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14705 2013-01-21 Andreas Schwab <schwab@suse.de>
14708 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14711 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14717 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14718 Mark Mitchell <mark@codesourcery.com>
14719 Tom de Vries <tom@codesourcery.com>
14720 Paul Pluzhnikov <ppluzhnikov@google.com>
14722 * debug/tst-backtrace2.c: New file.
14723 * debug/tst-backtrace3.c: Likewise.
14724 * debug/tst-backtrace4.c: Likewise.
14725 * debug/tst-backtrace5.c: Likewise.
14726 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14727 (CFLAGS-tst-backtrace3.c): Likewise.
14728 (CFLAGS-tst-backtrace4.c): Likewise.
14729 (CFLAGS-tst-backtrace5.c): Likewise.
14730 (LDFLAGS-tst-backtrace2): Likewise.
14731 (LDFLAGS-tst-backtrace3): Likewise.
14732 (LDFLAGS-tst-backtrace4): Likewise.
14733 (LDFLAGS-tst-backtrace5): Likewise.
14734 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14735 tst-backtrace4 and tst-backtrace5.
14737 2013-01-18 Anton Blanchard <anton@samba.org>
14738 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14740 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14741 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14743 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14745 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14746 "+r" and remove output regs list as redundant. Add explicit inline
14747 asm to specify register of return val to work around compiler codegen
14748 bug. Remove (int) cast on return value. Add return type parameter to
14749 use in macro so that this macro does not truncate return value for
14751 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14752 pass to INTERNAL_VSYSCALL_NCS.
14753 (INLINE_VSYSCALL): Add 'long int' as return type to
14754 INTERNAL_VSYSCALL_NCS macro invocation.
14755 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14756 INTERNAL_VSYSCALL_NCS macro invocation.
14757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14759 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14762 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14763 Fix application of SIMD FP exception mask.
14765 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14766 mp_no from a power of two.
14767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14768 __mpexp_twomm1. Use __pow_mp.
14770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14773 2013-01-17 David S. Miller <davem@davemloft.net>
14775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14777 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14780 * include/complex.h: Condition contents on [!_COMPLEX_H].
14781 (__kernel_casinhf): New prototype.
14782 (__kernel_casinh): Likewise.
14783 (__kernel_casinhl): Likewise.
14784 * math/Makefile (libm_calls): Add k_casinh.
14785 * math/k_casinh.c: New file.
14786 * math/k_casinhf.c: Likewise.
14787 * math/k_casinhl.c: Likewise.
14788 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14789 finite nonzero arguments.
14790 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14791 finite nonzero arguments.
14792 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14793 finite nonzero arguments.
14794 * math/s_casinh.c: Do not include <float.h>.
14795 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14796 * math/s_casinhf.c: Do not include <float.h>.
14797 (__casinhf): Move code for finite nonzero arguments to
14799 * math/s_casinhl.c: Do not include <float.h>.
14800 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14802 (__casinhl): Move code for finite nonzero arguments to
14804 * math/libm-test.inc (cacos_test): Add more tests.
14805 * sysdeps/i386/fpu/libm-test-ulps: Update.
14806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14808 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14810 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14811 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14812 [!HAVE_MREMAP]: Remove [defined linux] case.
14813 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14815 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14817 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14819 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14821 * elf/elf.h (R_386_SIZE32): New relocation.
14822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14824 (elf_machine_rela): Likewise.
14825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14826 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14828 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14830 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14831 (FP_FAST_FMA): Do not define.
14832 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14833 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14834 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14835 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14836 !_SOFT_FLOAT]: Likewise.
14837 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14838 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14840 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14841 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14842 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14843 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14844 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14845 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14848 2013-01-16 Andreas Schwab <schwab@suse.de>
14851 * include/stdlib.h (__mktemp): Add declaration.
14852 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14853 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14855 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14857 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14859 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14860 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14861 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14863 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14864 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14868 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14869 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14870 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14872 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14873 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14875 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14877 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14879 2013-01-15 David S. Miller <davem@davemloft.net>
14881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14882 trunc{,f} to libm-sysdep_routes.
14883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14893 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14894 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14895 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14896 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14897 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14898 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14901 nearbyint{,f} to libm-sysdep_routes.
14902 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14913 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14916 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14918 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14919 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14920 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14922 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14923 libc_feholdexcept and libc_fesetenv.
14925 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14927 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14929 2013-01-14 David S. Miller <davem@davemloft.net>
14931 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14932 (SPARC_ASM_VIS2_IFUNC): Likewise.
14933 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14935 use of 'siam' instruction.
14936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14964 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14965 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14966 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14967 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14969 routines to libm-sysdep_routines.
14970 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14973 fdim/fdimf to libm-sysdep_routines.
14974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14982 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14983 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14984 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14985 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14987 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14990 to optimize copies.
14992 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14997 local variable MPTWO.
14998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
15001 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15003 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
15006 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15008 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
15010 2013-01-13 Mike Frysinger <vapier@gentoo.org>
15012 * manual/pattern.texi (glob_t): Document gl_flags.
15013 (glob64_t): Likewise.
15015 2013-01-11 David S. Miller <davem@davemloft.net>
15017 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15018 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15019 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
15020 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15021 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15022 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15023 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15024 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15025 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15026 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15027 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15028 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15029 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15032 sparc V9 rather than using V8 code.
15033 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15034 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15036 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15038 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15041 2013-01-11 Roland McGrath <roland@hack.frob.com>
15043 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15044 not in the main loop.
15045 * configure: Regenerated.
15047 2013-01-11 Joseph Myers <joseph@codesourcery.com>
15049 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15050 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15052 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
15053 [!__GLIBC_HAVE_LONG_LONG] case.
15054 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15055 condition to just #else.
15056 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15057 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15058 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15059 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15061 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15062 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15063 #elif condition to just #else.
15064 * sysdeps/unix/sysv/linux/sys/sysmacros.h
15065 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15066 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15067 #elif condition to just #else.
15069 2013-01-11 Steve Ellcey <sellcey@mips.com>
15071 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15072 (EF_MIPS_ARCH_64): Fix value.
15073 (EF_MIPS_ARCH_32R2): New.
15074 (EF_MIPS_ARCH_64R2): New.
15076 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
15078 * Makeconfig (+link-pie-before-libc): New.
15079 (+link-pie-after-libc): Likewise.
15080 (+link-pie-tests): Likewise.
15081 (+link-pie): Rewritten.
15082 (link-before-libc): Remove $(config-LDFLAGS).
15083 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15084 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15085 (config-LDFLAGS): Renamed to ...
15086 (rtld-LDFLAGS): This.
15087 (rtld-tests-LDFLAGS): New macro.
15088 (link-libc-rpath-link): Likewise.
15089 (link-libc-tests-rpath-link): Likewise.
15090 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15091 (link-libc): Prepand $(link-libc-rpath-link).
15092 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15093 (test-program-prefix): New macro.
15094 (test-via-rtld-prefix): Likewise.
15095 (test-program-cmd): Likewise.
15096 (host-test-program-cmd): Likewise.
15097 * Makefile ($(common-objpfx)testrun.sh): Replace
15098 $(run-program-prefix) with $(test-program-prefix).
15099 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15101 ($(common-objpfx)shlib.lds): Likewise.
15102 (build-module-helper): Likewise.
15103 ($(common-objpfx)format.lds): Likewise.
15104 * Rules (binaries-pie-tests): New.
15105 (binaries-pie-notests): Likewise.
15106 (binaries-pie): Rewritten.
15107 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15108 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15109 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15110 (make-test-out): Replace $(host-built-program-cmd) with
15111 $(host-test-program-cmd).
15112 * config.make.in (build-hardcoded-path-in-tests): New variable.
15113 * configure.in (--enable-hardcoded-path-in-tests): New configure
15115 (hardcoded_path_in_tests): New AC_SUBST.
15116 * configure: Regenerated.
15117 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15118 $(built-program-cmd) with $(test-program-cmd).
15119 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15120 (test_program_cmd): This.
15121 * elf/Makefile ($(objpfx)order.out): Run test with
15122 $(test-program-prefix).
15123 ($(objpfx)order2.out): Likewise.
15124 ($(objpfx)tst-initorder.out): Likewise.
15125 ($(objpfx)tst-initorder2.out): Likewise.
15126 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15127 $(test-program-cmd).
15128 ($(objpfx)tst-array1-static.out): Likewise.
15129 ($(objpfx)tst-array2.out): Likewise.
15130 ($(objpfx)tst-array3.out): Likewise.
15131 ($(objpfx)tst-array4.out): Likewise.
15132 ($(objpfx)tst-array5.out): Likewise.
15133 ($(objpfx)tst-array5-static.out): Likewise.
15134 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15135 $(test-program-cmd).
15136 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15137 $(run-program-prefix) with $(test-program-prefix).
15138 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15139 (test_program_prefix): This.
15140 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15141 $(run-program-prefix) with $(test-program-prefix).
15142 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15143 (test_program_prefix): This.
15144 * iconvdata/tst-tables.sh: Likewise.
15145 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15146 $(run-program-prefix) with $(test-program-prefix).
15147 ($(objpfx)tst-translit.out): Likewise.
15148 ($(objpfx)tst-gettext2.out): Likewise.
15149 ($(objpfx)tst-gettext4.out): Likewise.
15150 ($(objpfx)tst-gettext6.out): Likewise.
15151 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15152 (test_program_prefix): This.
15153 * intl/tst-gettext2.sh: Likewise.
15154 * intl/tst-gettext4.sh Likewise.
15155 * intl/tst-gettext6.sh: Likewise.
15156 * intl/tst-translit.sh: Likewise.
15157 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15158 with $(test-program-cmd).
15159 * libio/Makefile ($(objpfx)test-freopen.out): Replace
15160 $(run-program-prefix) with $(test-program-prefix).
15161 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15162 (test_program_prefix): This.
15163 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15164 $(run-program-prefix) with $(test-program-prefix).
15165 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15166 (test_program_prefix): This.
15167 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15168 * posix/Makefile ($(objpfx)globtest.out): Replace
15169 $(run-via-rtld-prefix) and $(test-wrapper) with
15170 $(test-program-prefix) and $(test-via-rtld-prefix).
15171 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15172 $(test-program-prefix).
15173 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15174 $(host-test-program-cmd).
15175 (tst-spawn-ARGS): Likewise.
15176 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15177 $(test-program-prefix).
15178 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15179 (test_via_rtld_prefix): This.
15180 (test_wrapper): Renamed to ...
15181 (test_program_prefix): This.
15182 (run_program_prefix): Replaced by test_program_prefix.
15183 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15184 (test_program_prefix): This.
15185 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15186 with $(host-test-program-cmd).
15187 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15188 $(run-program-prefix) with $(test-program-prefix).
15189 ($(objpfx)tst-printf.out): Likewise.
15190 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15191 $(test-program-cmd).
15192 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15193 (test_program_prefix): This.
15194 * stdio-common/tst-unbputc.sh: Likewise.
15195 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15196 $(run-program-prefix) with $(test-program-prefix).
15197 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15198 (test_program_prefix): This.
15199 * string/Makefile ($(objpfx)tst-svc.out): Replace
15200 $(built-program-cmd) with $(test-program-cmd).
15202 2013-01-11 Andreas Jaeger <aj@suse.de>
15205 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15206 value. Sync with Linux 3.7.
15208 2013-01-10 David S. Miller <davem@davemloft.net>
15210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15211 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15212 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15214 2013-01-10 Roland McGrath <roland@hack.frob.com>
15216 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15218 * configure: Regenerated.
15220 2013-01-10 David S. Miller <davem@davemloft.net>
15222 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15223 sparc V9 rather than using V8 code.
15224 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15225 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15227 2013-01-10 Roland McGrath <roland@hack.frob.com>
15229 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15230 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15231 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15232 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15233 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15234 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15235 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15236 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15237 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15238 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15239 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15240 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15241 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15242 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15243 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15244 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15245 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15246 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15247 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15248 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15249 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15250 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15251 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15252 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15253 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15254 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15255 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15257 2013-01-10 David S. Miller <davem@davemloft.net>
15259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15261 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15263 * posix/Makefile (tests-static): New variable.
15264 (tests): Add $(tests-static).
15265 (tst-exec-static-ARGS): New variable.
15266 (tst-spawn-static-ARGS): Likewise.
15267 * posix/tst-exec-static.c: New file.
15268 * posix/tst-spawn-static.c: Likewise.
15269 * posix/tst-exec.c: Support run directly.
15270 * posix/tst-spawn.c: Likewise.
15272 2013-01-10 Joseph Myers <joseph@codesourcery.com>
15274 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15276 * math/bits/mathcalls.h (llrint): Likewise.
15277 (llround): Likewise.
15278 * stdlib/stdlib.h (struct drand48_data): Likewise.
15279 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15280 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15281 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15283 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15285 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15286 (elf_greg_t): Likewise.
15287 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15288 (__jmp_buf): Likewise.
15289 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15291 (llrint): Likewise, for all definitions.
15292 (llrintl): Likewise.
15294 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15295 Remove [__GNUC__] condition.
15296 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15297 condition to just [__USE_ISOC99].
15298 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15300 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
15303 * sysdeps/unix/sysv/linux/x86/bits/environments.h
15304 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15306 (_POSIX_V6_ILP32_OFF32): Likewise.
15307 (_XBS5_ILP32_OFF32): Likewise.
15308 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15309 (__ILP32_OFFBIG_LDFLAGS): Likewise.
15311 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15313 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15315 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15316 doubles __mpexp_twomm1. Adjust usage.
15317 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15320 2013-01-10 Andreas Schwab <schwab@suse.de>
15323 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15324 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15326 2013-01-09 David S. Miller <davem@davemloft.net>
15329 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15330 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15331 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15332 TCP_FASTOPEN): Define.
15333 (tcp_repair_opt): New structure.
15334 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15336 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15337 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15338 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15339 (tcp_cookie_transactions): New structure.
15341 2013-01-09 Anton Blanchard <anton@samba.org>
15343 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15346 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15348 2013-01-09 Joseph Myers <joseph@codesourcery.com>
15350 * include/features.h (__USE_ANSI): Remove.
15352 2013-01-09 Roland McGrath <roland@hack.frob.com>
15354 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15356 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15358 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
15360 * sysdeps/s390/fpu/libm-test-ulps: Update.
15362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15364 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15368 (denorm): Likewise.
15369 (__mp_dbl): Likewise.
15370 (__dbl_mp): Likewise.
15371 (add_magnitudes): Likewise.
15372 (sub_magnitudes): Likewise.
15378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15382 (denorm): Likewise.
15383 (__mp_dbl): Likewise.
15384 (__dbl_mp): Likewise.
15385 (add_magnitudes): Likewise.
15386 (sub_magnitudes): Likewise.
15392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15396 (denorm): Likewise.
15397 (__mp_dbl): Likewise.
15398 (__dbl_mp): Likewise.
15399 (add_magnitudes): Likewise.
15400 (sub_magnitudes): Likewise.
15407 2013-01-08 Joseph Myers <joseph@codesourcery.com>
15409 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15410 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15411 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15412 2 && __USE_EXTERN_INLINES]: Likewise.
15414 2013-01-08 Andreas Jaeger <aj@suse.de>
15417 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15419 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15420 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15422 2013-01-07 Anton Blanchard <anton@samba.org>
15424 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15425 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15426 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15427 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15428 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15430 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15431 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15433 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15436 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15438 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15439 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15440 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15441 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15442 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15443 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15445 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15446 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15447 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15448 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15449 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15450 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15451 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15452 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15453 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15454 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15456 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15457 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15458 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15459 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15462 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15463 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15464 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15466 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15468 2013-01-07 Joseph Myers <joseph@codesourcery.com>
15470 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15471 (__MALLOC_PMT): Likewise.
15472 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15473 [__GNUC__], only on [_LIBC].
15474 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15475 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15476 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15477 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15478 forward declaration.
15479 (realloc_hook_ini): Likewise.
15480 (memalign_hook_ini): Likewise.
15481 (__libc_memalign): Do not use __MALLOC_PMT in variable
15483 (__libc_valloc): Likewise.
15484 (__libc_pvalloc): Likewise.
15485 (__libc_calloc): Likewise.
15486 (__posix_memalign): Likewise.
15489 * math/s_casinh.c: Include <float.h>.
15490 (__casinh): Do not do computation with squaring and square root
15491 for large arguments.
15492 * math/s_casinhf.c: Include <float.h>.
15493 (__casinhf): Do not do computation with squaring and square root
15494 for large arguments.
15495 * math/s_casinhl.c: Include <float.h>.
15496 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15497 (__casinhl): Do not do computation with squaring and square root
15498 for large arguments.
15499 * math/libm-test.inc (casin_test): Add more tests.
15500 (casinh_test): Likewise.
15501 * sysdeps/i386/fpu/libm-test-ulps: Update.
15502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15504 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
15506 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15507 (__x86_64_raw_data_cache_size): Likewise.
15508 (__x86_64_data_cache_size_half): Likewise.
15509 (__x86_64_raw_data_cache_size_half): Likewise.
15510 (__x86_64_shared_cache_size): Likewise.
15511 (__x86_64_raw_shared_cache_size): Likewise.
15512 (__x86_64_shared_cache_size_half): Likewise.
15513 (__x86_64_raw_shared_cache_size_half): Likewise.
15514 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15516 (__x86_data_cache_size): This.
15517 (__x86_64_raw_data_cache_size): Renamed to ...
15518 (__x86_raw_data_cache_size): This.
15519 (__x86_64_data_cache_size_half): Renamed to ...
15520 (__x86_data_cache_size_half): This.
15521 (__x86_64_raw_data_cache_size_half): Renamed to ...
15522 (__x86_raw_data_cache_size_half): This.
15523 (__x86_64_shared_cache_size): Renamed to ...
15524 (__x86_shared_cache_size): This.
15525 (__x86_64_raw_shared_cache_size): Renamed to ...
15526 (__x86_raw_shared_cache_size): This.
15527 (__x86_64_shared_cache_size_half): Renamed to ...
15528 (__x86_shared_cache_size_half): This.
15529 (__x86_64_raw_shared_cache_size_half): Renamed to ...
15530 (__x86_raw_shared_cache_size_half): This.
15531 * sysdeps/x86_64/memcpy.S: Updated.
15532 * sysdeps/x86_64/memset.S: Likewise.
15533 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15537 2013-01-04 David S. Miller <davem@davemloft.net>
15539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15541 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15544 1 to avoid redefinition warning.
15545 (__USE_GNU): Don't define.
15546 (init_signaling_nan): Protoize.
15548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15550 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15552 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15554 (__cpymn): Likewise.
15555 (norm): Remove commented code.
15556 (denorm): Likewise.
15557 (__mp_dbl): Likewise.
15559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15560 (__cpymn): Likewise.
15561 (norm): Remove commented code.
15562 (denorm): Likewise.
15563 (__mp_dbl): Likewise.
15566 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15567 mp_no value for 1.0 and 2.0.
15568 (norm): Use RADIXI instead of radixi.d.
15569 (denorm): Likewise.
15570 (__mul): Use 0.0 instead of zero.d.
15571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15572 mp_no value for 1.0 and 2.0.
15573 (norm): Use RADIXI instead of radixi.d.
15574 (denorm): Likewise.
15575 (__mul): Use 0.0 instead of zero.d.
15577 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15580 * math/s_casinh.c (__casinh): Reduce finite argument to first
15581 quadrant then set signs of results at the end.
15582 * math/s_casinhf.c (__casinhf): Likewise.
15583 * math/s_casinhl.c (__casinhl): Likewise.
15584 * math/libm-test.inc (casin_test): Add more tests.
15585 (casinh_test): Likewise.
15586 * sysdeps/i386/fpu/libm-test-ulps: Update.
15587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15589 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15591 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15593 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15595 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15597 (denorm): Likewise.
15598 (__mp_dbl): Likewise.
15601 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15602 and adjust the header comment.
15604 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15605 variable name from declaration.
15607 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15610 Initialize COMMON_CPUID_INDEX_7 element.
15611 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15612 (CPUID_RTM): Likewise.
15613 (HAS_RTM): Likewise.
15614 (COMMON_CPUID_INDEX_7): New enum.
15616 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15619 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15620 size is zero, record memory as freed.
15622 2013-01-03 Andreas Jaeger <aj@suse.de>
15624 * po/ia.po: Add new Interlingua translation.
15626 2012-01-03 Allan McRae <allan@archlinux.org>
15628 * locale/programs/localedef.c: Fix description of '--posix' flag.
15630 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15632 * NEWS: Update dates in second copyright notice.
15633 * README: Update copyright dates in example.
15634 * manual/libc.texinfo: Update copyright dates.
15635 * scripts/test-installation.pl: Update copyright date in --version
15638 * hurd/ctty-input.c: Fix copyright notice formatting.
15639 * hurd/ctty-output.c: Likewise.
15640 * hurd/dtable.c: Likewise.
15641 * hurd/hurd-raise.c: Likewise.
15642 * hurd/hurdprio.c: Likewise.
15643 * hurd/msgportdemux.c: Likewise.
15644 * misc/sys/file.h: Likewise.
15645 * misc/sys/ioctl.h: Likewise.
15646 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15647 * sysdeps/mach/hurd/chdir.c: Likewise.
15648 * sysdeps/mach/hurd/fchdir.c: Likewise.
15649 * sysdeps/mach/hurd/rename.c: Likewise.
15650 * sysdeps/mach/hurd/rmdir.c: Likewise.
15651 * sysdeps/mach/hurd/seekdir.c: Likewise.
15652 * sysdeps/mach/hurd/setsid.c: Likewise.
15653 * sysdeps/posix/wait3.c: Likewise.
15655 * All files with FSF copyright notices: Update copyright dates
15656 using scripts/update-copyrights.
15657 * intl/plural.c: Regenerated.
15658 * locale/programs/charmap-kw.h: Likewise.
15659 * locale/programs/locfile-kw.h: Likewise.
15661 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15663 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15666 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15667 calculation loop and add branch prediction.
15669 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15670 check access beyond bounds of m1np.
15672 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15674 (__inv): Remove local variable MPTWO to use the global
15676 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15677 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15679 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15680 MP3HALFS static const.
15682 2013-01-01 David S. Miller <davem@davemloft.net>
15684 * po/ca.po: Update from translation team.
15686 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15688 * scripts/update-copyrights: New file.
15689 * Makeconfig: Reformat copyright notice.
15690 * ctype/ctype.h: Likewise.
15691 * debug/swprintf_chk.c: Likewise.
15692 * elf/dl-cache.c: Likewise.
15693 * elf/dl-debug.c: Likewise.
15694 * elf/dl-object.c: Likewise.
15695 * grp/initgroups.c: Likewise.
15696 * hurd/Makefile: Likewise.
15697 * hurd/hurd/signal.h: Likewise.
15698 * hurd/hurdfault.c: Likewise.
15699 * hurd/hurdioctl.c: Likewise.
15700 * hurd/hurdlookup.c: Likewise.
15701 * hurd/intr-msg.c: Likewise.
15702 * iconv/gconv_open.c: Likewise.
15703 * libio/swprintf.c: Likewise.
15704 * locale/lc-ctype.c: Likewise.
15705 * locale/nl_langinfo.c: Likewise.
15706 * mach/Machrules: Likewise.
15707 * mach/Makefile: Likewise.
15708 * malloc/obstack.h: Likewise.
15709 * manual/Makefile: Likewise.
15710 * manual/tsort.awk: Likewise.
15711 * misc/bits/stab.def: Likewise.
15712 * nis/nis_print_group_entry.c: Likewise.
15713 * nis/nis_table.c: Likewise.
15714 * nis/nss_compat/compat-pwd.c: Likewise.
15715 * nis/nss_compat/compat-spwd.c: Likewise.
15716 * po/Makefile: Likewise.
15717 * posix/fnmatch.c: Likewise.
15718 * posix/regex.h: Likewise.
15719 * resolv/Makefile: Likewise.
15720 * resolv/nss_dns/dns-network.c: Likewise.
15721 * resolv/res_hconf.c: Likewise.
15722 * scripts/gen-sorted.awk: Likewise.
15723 * soft-fp/soft-fp.h: Likewise.
15724 * stdio-common/printf.h: Likewise.
15725 * stdlib/monetary.h: Likewise.
15726 * stdlib/random.c: Likewise.
15727 * stdlib/random_r.c: Likewise.
15728 * sysdeps/generic/Makefile: Likewise.
15729 * sysdeps/gnu/Makefile: Likewise.
15730 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15732 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15737 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15738 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15740 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15742 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15743 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15744 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15746 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15748 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15750 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15751 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15752 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15753 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15754 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15755 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15756 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15757 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15758 * sysdeps/mach/hurd/errnos.awk: Likewise.
15759 * sysdeps/mach/hurd/fork.c: Likewise.
15760 * sysdeps/mach/hurd/getcwd.c: Likewise.
15761 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15762 * sysdeps/mach/hurd/mmap.c: Likewise.
15763 * sysdeps/mach/hurd/utimes.c: Likewise.
15764 * sysdeps/mach/hurd/xmknod.c: Likewise.
15765 * sysdeps/posix/profil.c: Likewise.
15766 * sysdeps/posix/readdir_r.c: Likewise.
15767 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15768 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15769 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15770 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15772 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15773 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15774 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15776 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15777 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15778 * sysdeps/pthread/lio_listio.c: Likewise.
15779 * sysdeps/sparc/dl-procinfo.h: Likewise.
15780 * sysdeps/unix/i386/sysdep.S: Likewise.
15781 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15782 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15783 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15784 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15786 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15787 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15788 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15789 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15790 * sysdeps/wordsize-32/divdi3.c: Likewise.
15791 * time/sys/time.h: Likewise.
15792 * wcsmbs/Makefile: Likewise.
15794 2013-01-01 David S. Miller <davem@davemloft.net>
15796 * po/fr.po: Update from translation team.
15798 * catgets/gencat.c: Update copyright year.
15799 * csu/version.c: Likewise.
15800 * debug/catchsegv.sh: Likewise.
15801 * debug/pcprofiledump.c: Likewise.
15802 * debug/xtrace.sh: Likewise.
15803 * elf/ldconfig.c: Likewise.
15804 * elf/ldd.bash.in: Likewise.
15805 * elf/pldd.c: Likewise.
15806 * elf/sotruss.ksh: Likewise.
15807 * elf/sprof.c: Likewise.
15808 * iconv/iconv_prog.c: Likewise.
15809 * iconv/iconvconfig.c: Likewise.
15810 * locale/programs/locale.c: Likewise.
15811 * locale/programs/localedef.c: Likewise.
15812 * login/programs/pt_chown.c: Likewise.
15813 * malloc/memusage.sh: Likewise.
15814 * malloc/memusagestat.c: Likewise.
15815 * malloc/mtrace.pl: Likewise.
15816 * nscd/nscd.c: Likewise.
15817 * nss/getent.c: Likewise.
15818 * nss/makedb.c: Likewise.
15819 * posix/getconf.c: Likewise.
15821 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15823 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15826 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15828 * math/bits/mathcalls.h (modf): Use __nonnull.
15830 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15832 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15833 (split): Use macro CN instead of the bare value.
15834 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15837 instead of the bare value.
15838 (power1): Likewise.
15840 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15846 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15848 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15850 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15851 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15853 2012-12-28 Andreas Jaeger <aj@suse.de>
15855 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15856 values are from Linux 3.7.
15858 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15859 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15861 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15863 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15866 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15868 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15869 variables with preprocessor constants.
15870 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15871 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15872 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15874 2012-12-27 Bruno Haible <bruno@clisp.org>
15877 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15880 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15883 and use variable directly.
15884 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15886 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15888 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15889 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15891 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15892 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15893 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15894 include directive. Remove local variable MPONE.
15895 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15896 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15899 2012-12-25 David S. Miller <davem@davemloft.net>
15901 * version.h (RELEASE): Set to "development".
15902 (VERSION): Set to "2.17.90".
15903 * NEWS: Add 2.18 section.
15905 2012-12-21 David S. Miller <davem@davemloft.net>
15907 * po/hr.po: Update from translation team.
15909 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15911 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15913 2012-12-19 Steve Ellcey <sellcey@mips.com>
15915 * NEWS: Mention new memcpy for MIPS.
15917 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15919 * manual/contrib.texi (Contributors): Spelling correction.
15921 2012-12-15 David S. Miller <davem@davemloft.net>
15923 * po/ru.po: Update from translation team.
15925 2012-12-13 David S. Miller <davem@davemloft.net>
15927 * NEWS: Mention IFUNC testsuite enhancements.
15929 * po/pl.po: Update from translation team.
15930 * po/bg.po: Likewise.
15932 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15933 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15935 2012-12-11 David S. Miller <davem@davemloft.net>
15937 * po/sv.po: Update from translation team.
15939 * po/vi.po: Update from translation team.
15941 * po/cs.po: Update from translation team.
15943 * po/de.po: Update from translation team.
15944 * po/eo.po: Likewise.
15945 * po/nl.po: Likewise.
15947 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15950 * manual/argp.texi (Argp Helper Functions): Move node to follow
15951 Argp Parsing State.
15954 * manual/conf.texi (Limits on File System Capacity): Mention if
15955 terminating null is included in the max size.
15957 2012-12-10 Andreas Jaeger <aj@suse.de>
15959 * po/cs.po: Update from translation team.
15961 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15964 void pointer and cast to uintptr_t.
15965 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15967 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15968 * sysdeps/s390/s390-64/memset.S: Likewise.
15970 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15973 * menual/message.texi (Message Translation): Fix typos.
15974 (Helper programs for gettext): Likewise.
15976 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15979 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15982 2012-12-07 David S. Miller <davem@davemloft.net>
15984 * po/libc.pot: Update.
15986 2012-12-07 Richard Henderson <rth@redhat.com>
15989 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15990 normal/normal case to before the switch.
15991 (_FP_DIV): Likewise.
15993 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15994 Mike Frysinger <vapier@gentoo.org>
15996 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15997 check for __NR_fadvise64_64.
15999 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
16001 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
16002 0, not just to plain "0" as a statement.
16003 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
16006 2012-12-06 Joseph Myers <joseph@codesourcery.com>
16008 * NEWS: Use sourceware.org in Bugzilla URL.
16010 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16013 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16015 * stdio-common/tst-put-error.c (do_test): Add newline to the
16016 padded test to ensure flush.
16018 2012-12-05 Jeff Law <law@redhat.com>
16020 * sunrpc/etc.rpc (fedfs_admin): Add entry.
16022 2012-12-05 Joseph Myers <joseph@codesourcery.com>
16024 * README: Don't refer to ports add-on as distributed separately.
16025 Mention AArch64 in list of systems supported in the ports add-on.
16027 * LICENSES: Add more non-FSF copyright and license notices.
16029 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16032 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16034 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16035 10000 as width of padded output.
16037 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16039 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16042 variable LX with __attribute__ ((unused)).
16043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16045 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16048 with __attribute__ ((unused)).
16050 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
16052 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16054 2012-12-04 Joseph Myers <joseph@codesourcery.com>
16056 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16057 (CFLAGS-nldbl-acos.c): New variable.
16058 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16059 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16060 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16061 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16062 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16063 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16064 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16065 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16066 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16067 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16068 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16069 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16070 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16071 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16072 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16073 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16074 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16075 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16076 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16077 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16078 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16079 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16080 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16081 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16082 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16083 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16084 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16085 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16086 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16087 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16088 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16089 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16090 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16091 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16092 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16093 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16094 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16095 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16096 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16097 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16098 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16099 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16100 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16101 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16102 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16103 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16104 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16105 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16106 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16107 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16108 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16109 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16110 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16111 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16112 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16113 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16114 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16115 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16116 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16117 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16118 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16119 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16120 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16121 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16122 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16123 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16124 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16125 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16126 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16127 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16128 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16129 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16130 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16131 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16132 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16133 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16134 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16135 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16136 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16137 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16138 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16139 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16140 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16141 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16142 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16143 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16144 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16145 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16146 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16147 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16148 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16149 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16150 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16151 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16152 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16153 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16154 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16157 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16160 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16161 whole low double instead of just low 47 bits when splitting values
16164 2012-12-03 Allan McRae <allan@archlinux.org>
16166 * manual/stdio.texi (Predefined Printf Handlers): Remove
16167 @hsep and @vsep usage.
16169 2012-12-03 Mike Frysinger <vapier@gentoo.org>
16171 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16172 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16174 2012-12-03 Jeff Law <law@redhat.com>
16176 * time/sys/time.h (settimeofday): Do not mark TV argument
16179 2012-12-01 Mike Frysinger <vapier@gentoo.org>
16181 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16182 when currently writing and seek to current position when not.
16183 * libio/Makefile (tests): Remove bug-fclose1.
16184 * libio/bug-fclose1.c: Delete.
16186 2012-12-01 Joseph Myers <joseph@codesourcery.com>
16188 * manual/arith.texi (feenableexcept): Fix typo.
16189 (fedisableexcept): Likewise.
16191 2012-11-30 Roland McGrath <roland@hack.frob.com>
16193 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16194 second, differently-typed declaration, rather than a cast.
16196 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16198 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16199 * include/rpc/svc.h: ... here.
16201 2012-11-30 Aurelien Jarno <aurel32@debian.org>
16204 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16205 depending n and resplen2 to catch cases where answer
16208 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
16210 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16211 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16213 2012-11-29 Mike Frysinger <vapier@gentoo.org>
16215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16217 2012-11-29 Roland McGrath <roland@hack.frob.com>
16219 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16221 2012-11-28 Jeff Law <law@redhat.com>
16224 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16225 dataset_temporary. Track alloca usage into alloca_used.
16226 If dataset is large allocate and release it via malloc/free.
16228 2012-06-04 Florian Weimer <fweimer@redhat.com>
16231 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16233 2012-11-28 David S. Miller <davem@davemloft.net>
16235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16237 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16240 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16241 of pi/2 rounded to nearest to 64 bits.
16242 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16243 nearest to 64 bits.
16244 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16247 2012-11-28 Jeff Law <law@redhat.com>
16248 Martin Osvald <mosvald@redhat.com>
16251 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16252 * sunrpc/svc.c: Include time.h.
16253 (__svc_accept_failed): New function.
16254 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16255 any reason other than EINTR, call __svc_accept_failed.
16256 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16257 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16259 2012-11-28 Andreas Schwab <schwab@suse.de>
16261 * scripts/abilist.awk: Also handle indirect functions in .opd
16264 2012-11-28 Joseph Myers <joseph@codesourcery.com>
16267 * sysdeps/x86/fpu/powl_helper.c: New file.
16268 * sysdeps/x86/fpu/Makefile: Likewise.
16269 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16271 (__ieee754_powl): Use __powl_helper for finite arguments except
16272 integer exponents below 8.
16273 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16275 (__ieee754_powl): Use __powl_helper for finite arguments except
16276 integer exponents below 8.
16277 * math/libm-test.inc (pow_test): Add more tests and enable some
16278 previously disabled tests.
16279 * sysdeps/i386/fpu/libm-test-ulps: Update.
16280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16282 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16283 Carlos O'Donell <carlos_odonell@mentor.com>
16285 * nss/makedb.c (is_prime): Assert that input is odd and greater
16286 than 4. Note that fact in a comment too.
16287 (next_prime): Add 4 to input.
16289 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16292 * libio/Makefile (tests): Add test case tst-fwrite-error.
16293 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16294 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16295 * libio/tst-fwrite-error.c: New test case.
16297 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
16299 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16300 before casting to void *.
16301 * include/libc-internal.h (__pointer_type): New macro.
16302 (__integer_if_pointer_type_sub): Likewise.
16303 (__integer_if_pointer_type): Likewise.
16304 (cast_to_integer): Likewise.
16305 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16306 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16307 before casting to atomic64_t.
16308 (atomic_exchange_acq): Likewise.
16309 (__arch_exchange_and_add_body): Likewise.
16310 (__arch_add_body): Likewise.
16311 (atomic_add_negative): Likewise.
16312 (atomic_add_zero): Likewise.
16314 2012-11-26 Joseph Myers <joseph@codesourcery.com>
16316 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16317 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16318 (add_fdes): Likewise.
16319 (linear_search_fdes): Likewise.
16320 (binary_search_unencoded_fdes): Likewise.
16322 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
16324 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16326 2012-11-24 Adam Conrad <adconrad@0c3.net>
16328 * configure.in: Autodetect C++ header directories.
16329 * configure: Regenerated.
16331 2012-11-23 Mike Frysinger <vapier@gentoo.org>
16333 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16335 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
16337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16339 2012-11-22 Joseph Myers <joseph@codesourcery.com>
16341 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16342 LDBL_MANT_DIG == 106]: Disable some tests.
16343 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16345 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16350 input for small inputs. Return +/- pi/2 for large inputs.
16351 * math/libm-test.inc (atan_test): Add more tests.
16353 * sysdeps/generic/unwind-dw2-fde-glibc.c
16354 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16355 __attribute__ ((unused)).
16358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16359 x * y if x and y are nonzero and z is zero.
16362 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16363 nonzero exponents with absolute value below 0x1p-117 to +/-
16367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16368 up arguments below 2**-450, not just those below 2**-500.
16369 * math/libm-test.inc (hypot_test): Add another test.
16372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16373 Return a+b for ratio over 2**120, not 2**60.
16374 * math/libm-test.inc (hypot_test): Add another test.
16376 * math/libm-test.inc (clog_test): Use
16377 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16378 (clog10_test): Likewise.
16381 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16383 2012-11-22 Andreas Schwab <schwab@suse.de>
16385 * sysdeps/i386/fpu/libm-test-ulps: Update.
16387 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
16389 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16390 printf output with newline.
16392 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
16395 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16396 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16397 -z nodlopen, -z initfirst and -z execstack support.
16398 * configure: Regenerated.
16400 * elf/elf.h (DF_1_NODIRECT): New macro.
16401 (DF_1_IGNMULDEF): Likewise.
16402 (DF_1_NOKSYMS): Likewise.
16403 (DF_1_NOHDR): Likewise.
16404 (DF_1_EDITED): Likewise.
16405 (DF_1_NORELOC): Likewise.
16406 (DF_1_SYMINTPOSE): Likewise.
16407 (DF_1_GLOBAUDIT): Likewise.
16408 (DF_1_SINGLETON): Likewise.
16409 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16410 DT_1_SUPPORTED_MASK bits.
16411 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16413 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
16415 * sysdeps/unix/make-syscalls.sh: Document prefixes.
16417 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
16419 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16422 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16423 (sendmmsg): Move declarations...
16424 * socket/sys/socket.h: ... here.
16425 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16426 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16428 * socket/recvmmsg.c: ... this new file.
16429 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16430 (sendmmsg): Rename to __sendmmsg, create weak alias and make
16431 definition of __sendmmsg hidden.
16432 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16433 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16434 Move ENOSYS stub into and include it from...
16435 * socket/sendmmsg.c: ... this new file.
16436 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16437 (sysdep_routines): Move recvmmsg and sendmmsg...
16438 * socket/Makefile (routines): ... here.
16439 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16440 (GLIBC_PRIVATE): Add __sendmmsg.
16441 * include/sys/socket.h (__sendmmsg): Add declarations.
16442 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16445 2012-11-20 Joseph Myers <joseph@codesourcery.com>
16447 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16448 variable I1 with __attribute__ ((unused)).
16449 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16451 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16453 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16454 DUMMY variables with __attribute__ ((unused)).
16456 * bits/byteswap.h: Include <bits/types.h>.
16457 (__bswap_64): Use __uint64_t instead of unsigned long long int.
16459 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16461 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16462 string_t. Do not manually set errno.
16463 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16464 length with __strnlen. Make sure to both set errno and return it on
16467 2012-11-19 David S. Miller <davem@davemloft.net>
16469 With help from Joseph Myers.
16470 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16471 very large arguments properly.
16472 * math/libm-test.inc (atan_test): New tests.
16473 (atan2_test): New tests.
16474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16477 2012-11-19 Joseph Myers <joseph@codesourcery.com>
16480 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16483 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16484 [POSIX] (EADDRNOTAVAIL): Likewise.
16485 [POSIX] (EAFNOSUPPORT): Likewise.
16486 [POSIX] (EALREADY): Likewise.
16487 [POSIX] (ECONNABORTED): Likewise.
16488 [POSIX] (ECONNREFUSED): Likewise.
16489 [POSIX] (ECONNRESET): Likewise.
16490 [POSIX] (EDESTADDRREQ): Likewise.
16491 [POSIX] (EDQUOT): Likewise.
16492 [POSIX] (EHOSTUNREACH): Likewise.
16493 [POSIX] (EIDRM): Likewise.
16494 [POSIX] (EISCONN): Likewise.
16495 [POSIX] (ELOOP): Likewise.
16496 [POSIX] (EMULTIHOP): Likewise.
16497 [POSIX] (ENETDOWN): Likewise.
16498 [POSIX] (ENETUNREACH): Likewise.
16499 [POSIX] (ENOBUFS): Likewise.
16500 [POSIX] (ENODATA): Likewise.
16501 [POSIX] (ENOLINK): Likewise.
16502 [POSIX] (ENOMSG): Likewise.
16503 [POSIX] (ENOPROTOOPT): Likewise.
16504 [POSIX] (ENOSR): Likewise.
16505 [POSIX] (ENOSTR): Likewise.
16506 [POSIX] (ENOTCONN): Likewise.
16507 [POSIX] (ENOTSOCK): Likewise.
16508 [POSIX] (EOPNOTSUPP): Likewise.
16509 [POSIX] (EOVERFLOW): Likewise.
16510 [POSIX] (EPROTO): Likewise.
16511 [POSIX] (EPROTONOSUPPORT): Likewise.
16512 [POSIX] (EPROTOTYPE): Likewise.
16513 [POSIX] (ESTALE): Likewise.
16514 [POSIX] (ETIME): Likewise.
16515 [POSIX] (ETXTBSY): Likewise.
16516 [POSIX] (EWOULDBLOCK): Likewise.
16517 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16518 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16519 [POSIX] (SEEK_CUR): Likewise.
16520 [POSIX] (SEEK_END): Likewise.
16521 [POSIX || UNIX98] (mode_t): Do not require.
16522 [POSIX] (off_t): Likewise.
16523 [POSIX] (pid_t): Likewise.
16524 [POSIX] (sys/stat.h): Do not allow header.
16525 [POSIX] (unistd.h): Likewise.
16526 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16527 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16528 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16529 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16531 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16532 sigevent): Specify elements.
16533 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16535 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16536 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16538 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16539 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16540 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16541 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16542 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16543 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16544 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16545 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16546 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16547 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16548 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16550 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16551 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16555 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16559 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16560 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16561 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16563 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16564 Specify lower bound on value.
16565 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16566 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16567 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16568 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16569 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16570 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16571 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16572 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16574 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16576 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16577 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16578 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16579 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16580 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16581 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16582 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16583 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16584 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16585 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16586 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16587 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16588 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16589 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16590 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16591 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16593 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16595 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16596 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16597 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16598 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16599 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16600 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16602 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16603 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16604 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16605 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16606 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16607 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16611 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16613 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16614 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16615 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16616 specify as optional.
16617 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16618 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16619 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16620 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16621 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16622 [XPG3] (NL_LANGMAX): Likewise.
16623 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16624 [POSIX || XPG3] (NL_NMAX): Likewise.
16625 [POSIX || XPG3] (NL_SETMAX): Likewise.
16626 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16627 [XPG3] (NZERO): Likewise.
16628 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16629 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16630 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16631 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16632 (REG_ERANGE): Expect.
16633 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16635 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16636 Use (void) in prototype.
16637 [POSIX] (*_t): Allow.
16638 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16639 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16640 (WRDE_BADVAL): Expect.
16642 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16644 [XPG3 || XPG4] (O_RSYNC): Likewise.
16645 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16647 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16648 [XPG3 || XPG4] (sigqueue): Likewise.
16649 [XPG3 || XPG4] (sigtimedwait): Likewise.
16650 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16651 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16652 [XPG3 || XPG4] (vsnprintf): Likewise.
16653 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16655 [XPG3 || XPG4] (blksize_t): Likewise.
16656 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16658 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16659 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16660 [XPG3 || XPG4] (struct itimerspec): Likewise.
16661 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16662 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16663 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16664 [XPG3 || XPG4] (clockid_t): Likewise.
16665 [XPG3 || XPG4] (timer_t): Likewise.
16666 [XPG3 || XPG4] (clock_getres): Likewise.
16667 [XPG3 || XPG4] (clock_gettime): Likewise.
16668 [XPG3 || XPG4] (clock_settime): Likewise.
16669 [XPG3 || XPG4] (nanosleep): Likewise.
16670 [XPG3 || XPG4] (timer_create): Likewise.
16671 [XPG3 || XPG4] (timer_delete): Likewise.
16672 [XPG3 || XPG4] (timer_gettime): Likewise.
16673 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16674 [XPG3 || XPG4] (timer_settime): Likewise.
16675 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16676 [XPG3 || XPG4] (getlogin_r): Likewise.
16677 [XPG3 || XPG4] (pread): Likewise.
16678 [XPG3 || XPG4] (pthread_atfork): Likewise.
16679 [XPG3 || XPG4] (pwrite): Likewise.
16682 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16685 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16687 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16688 finalizing MALLSTREAM.
16690 * sysdeps/mach/hurd/syncfs.c: New file.
16692 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16695 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16696 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16697 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16698 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16699 (_nss_dns_gethostbyname4_r): Likewise.
16700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16701 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16703 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16706 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16708 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16710 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16711 * elf/cache.c (print_entry): Print ",AArch64" for
16714 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16715 * elf/cache.c (print_entry): Print ",hard-float" for
16718 2012-11-18 David S. Miller <davem@davemloft.net>
16720 With help from Joseph Myers.
16721 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16723 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16725 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16726 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16728 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16729 * math/libm-test.inc (y0_test): New tests.
16730 (y1_test): New tests.
16731 * sysdeps/i386/fpu/libm-test-ulps: Update.
16732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16735 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16737 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16739 * configure: Regenerated.
16741 2012-11-17 David S. Miller <davem@davemloft.net>
16744 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16745 nonzero exponents with absolute value below 0x1p-128 to +/-
16748 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16750 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16752 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16754 * posix/getconf-speclist.c: New file.
16755 * posix/posix-envs.def: Likewise.
16756 * posix/confstr.c (START_ENV_GROUP): New macro.
16757 (END_ENV_GROUP): Likewise.
16758 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16759 (KNOWN_PRESENT_ENV_STRING): Likewise.
16760 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16761 (UNKNOWN_ENVIRONMENT): Likewise.
16762 (confstr): Include posix-envs.def instead of handling
16763 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16764 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16765 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16766 (END_ENV_GROUP): Likewise.
16767 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16768 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16769 (UNKNOWN_ENVIRONMENT): Likewise.
16770 (__sysconf): Include posix-envs.def instead of handling associated
16771 cases directly here.
16772 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16773 preprocessing getconf-speclist.c rather than running getconf or
16774 generating empty file.
16776 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16778 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16780 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16783 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16785 2012-11-16 David S. Miller <davem@davemloft.net>
16787 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16788 smaller than LDBL_EPSILON/2.0L, just return xm1.
16790 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16792 * elf/tst-array1.c (init): Set constructor priority to 1000.
16793 (fini): Set destructor priority to 1000.
16794 * elf/tst-array2dep.c: Likewise.
16796 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16799 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16800 (_IO_new_file_xsputn): Also return EOF if none of the input
16801 data was written when overflow failed.
16802 * libio/iopadn.c (_IO_padn): Likewise.
16803 * libio/iowpadn.c (_IO_wpadn): Likewise.
16804 * stdio-common/tst-put-error.c: Add copyright notice.
16805 (do_test): Add case for printing padded string.
16806 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16807 _IO_padn returned error.
16808 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16809 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16812 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16814 * libio/libioP.h: Add comment note that the references to C++
16815 bits are now obsolete.
16817 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16819 * math/libm-test.inc (check_complex): Use asprintf.
16821 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16823 * debug/pcprofiledump.c (print_version): Update copyright year.
16824 * malloc/memusagestat.c (print_version): Likewise.
16826 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16829 * elf/Makefile (tests): Add tst-audit8.
16830 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16831 ($(objpfx)tst-audit8.out): New target.
16832 (tst-audit8-ENV): New variable.
16833 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16834 audit if l_reloc_result is NULL.
16835 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16836 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16837 * elf/tst-audit8.c: New file.
16839 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16841 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16842 * misc/Makefile (CFLAGS-select.c): Define.
16843 * posix/Makefile (CFLAGS-pause.c): Define.
16845 2012-11-13 David S. Miller <davem@davemloft.net>
16847 * crypt/Makefile: Move test targets after toplevel Rules
16848 inclusion. Grab any necessary sysdep routines when linking.
16849 * crypt/md5.c (md5_process_block): Remove define, we will always
16850 name it __md5_process_block.
16851 (md5_finish_ctx): Update md5_process_block call.
16852 (md5_stream): Likewise.
16853 (md5_process_bytes): Likewise.
16854 (md5_process_block): Rename to __md5_process_block and move to ...
16855 * crypt/md5-block.c: ... here.
16856 * crypt/sha256.c (sha256_process_block): Move to ...
16857 * crypt/sha256-block.c: ... here.
16858 * crypt/sha512.c (sha512_process_block): Move to ...
16859 * crypt/sha512-block.c: ... here.
16860 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16862 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16863 * sysdeps/sparc/sparc64/multiarch/Makefile
16864 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16866 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16867 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16869 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16870 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16871 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16872 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16873 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16874 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16875 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16876 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16877 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16880 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16882 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16884 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16886 * timezone/tzselect.ksh: Update from tzcode git revision
16887 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16888 * timezone/zdump.c: Likewise.
16889 * timezone/zic.c: Likewise.
16890 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16891 in TZVERSION setting, not $(PKGVERSION).
16892 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16893 REPORT_BUGS_TO settings.
16896 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16899 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16901 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16902 detection to immediately after _FP_ROUND().
16903 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16906 2012-11-11 David S. Miller <davem@davemloft.net>
16908 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16910 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16911 __close rather than their public counterparts.
16913 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16915 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16917 [UNIX98] (sem_timedwait): Do not expect.
16918 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16919 [XPG4 || UNIX98] (sockatmark): Do not expect.
16920 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16921 (clock_getcpuclockid): Do not expect.
16922 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16923 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16925 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16926 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16927 [UNIX98] (vwscanf): Likewise.
16928 [UNIX98] (vswscanf): Likewise.
16930 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16932 * timezone/version.h: Remove file.
16933 * timezone/README: Do not refer to version.h.
16934 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16935 $(objpfx)version.h.
16936 ($(objpfx)zdump.o): Likewise.
16937 ($(objpfx)version.h): New target.
16939 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16941 * timezone/README: Don't mention modification to tzselect.ksh.
16942 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16943 work on unmodified tzselect.ksh. Substitute version numbers in
16946 * Makefile (format-me): Remove.
16947 (INSTALL): Adjust indentation. Use commands directly instead of
16948 using $(format-me).
16950 * aclocal.m4 (ACX_PKGVERSION): New macro.
16951 (ACX_BUGURL): Likewise.
16952 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16953 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16954 (REPORT_BUGS_TO): Likewise.
16955 * configure: Regenerated.
16956 * config.h.in (PKGVERSION): New macro.
16957 (REPORT_BUGS_TO): Likewise.
16958 * config.make.in (PKGVERSION): New variable.
16959 (PKGVERSION_TEXI): Likewise.
16960 (REPORT_BUGS_TO): Likewise.
16961 (REPORT_BUGS_TEXI): Likewise.
16962 * Makefile (format-me): Use -I$(common-objpfx)manual.
16963 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16964 ($(common-objpfx)manual/%): New target.
16965 (manual/%): Remove target.
16966 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16967 (print_version): Use PKGVERSION.
16968 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16969 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16970 and REPORT_BUGS_TO.
16971 ($(objpfx)xtrace): Likewise.
16972 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16973 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16974 (print_version): Use PKGVERSION.
16975 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16976 (do_version): Use PKGVERSION.
16977 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16979 (common-ldd-rewrite): Likewise.
16980 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16981 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16982 (print_version): Use PKGVERSION.
16983 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16984 * elf/pldd.c (argp_program_bug_address): Remove variable.
16985 (more_help): New function.
16986 (argp): Use more_help.
16987 (print_version): Use PKGVERSION.
16988 * elf/sln.c (main): Use PKGVERSION.
16989 (usage): Use REPORT_BUGS_TO.
16990 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16991 (top level): Use PKGVERSION.
16992 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16993 (print_version): Use PKGVERSION.
16994 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16995 (print_version): Use PKGVERSION.
16996 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16997 (print_version): Use PKGVERSION.
16998 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16999 (print_version): Use PKGVERSION.
17000 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
17001 (print_version): Use PKGVERSION.
17002 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
17003 (print_version): Use PKGVERSION.
17004 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
17006 ($(objpfx)memusage): Likewise.
17007 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
17008 (do_version): Use PKGVERSION.
17009 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
17010 (print_version): Use PKGVERSION.
17011 * malloc/mtrace.pl ($PACKAGE): Remove variable.
17012 ($PKGVERSION): New variable.
17013 ($REPORT_BUGS_TO): Likewise.
17014 (usage): Use $REPORT_BUGS_TO.
17015 (top level): Use $PKGVERSION.
17016 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17017 ($(objpfx)pkgvers.texi): New rule.
17018 ($(objpfx)stamp-pkgvers): Likewise.
17019 * manual/install.texi: Include pkgvers.texi.
17020 (--with-pkgversion): Document new configure option.
17021 (--with-bugurl): Likewise.
17022 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17023 than necessarily for this particular distribution. Use
17024 REPORT_BUGS_TO for where to report bugs.
17025 * INSTALL: Regenerated.
17026 * manual/libc.texinfo: Include pkgvers.texi.
17027 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17028 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17029 (print_version): Use PKGVERSION.
17030 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17031 (print_version): Use PKGVERSION.
17032 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17033 (print_version): Use PKGVERSION.
17034 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17035 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17037 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17038 (print_version): Use PKGVERSION.
17039 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17040 (print_version): Use PKGVERSION.
17041 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17044 * timezone/checktab.awk: Update from tzcode 2012i.
17045 * timezone/ialloc.c: Likewise.
17046 * timezone/private.h: Likewise.
17047 * timezone/scheck.c: Likewise.
17048 * timezone/tzfile.h: Likewise.
17049 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17050 (TZVERSION): Hardcode tzcode version number.
17051 * timezone/zdump.c: Update from tzcode 2012i.
17052 * timezone/zic.c: Likewise.
17053 * timezone/version.h: New file.
17054 * timezone/README: Describe version.h. Update upstream location.
17057 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17058 (mktemp): Enable declaration.
17059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17076 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17077 offset in buffer as u_int32_t not u_long. Consistently use memcpy
17078 for copies of such integer values.
17079 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17080 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17082 2012-11-09 Andreas Jaeger <aj@suse.de>
17084 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17085 definitions and declarations that are provided by
17086 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17088 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17090 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17091 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17092 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17095 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17097 * elf/elf.h: Update comment before AArch64 relocations.
17099 2012-11-07 David S. Miller <davem@davemloft.net>
17101 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17102 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17103 (__start_context): Declare.
17104 (__makecontext_ret): Delete.
17105 (__makecontext): Hook up __start_context instead of
17107 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17108 (sysdep_routines): Add __start_context when in stdlib.
17110 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17112 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17113 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17114 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
17116 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
17117 (READELF): New variable. Use it instead of hardcoded "readelf".
17119 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
17121 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17122 * sysdeps/x86/Makefile: Here.
17123 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17124 * sysdeps/x86/tst-xmmymm.sh: This.
17126 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17128 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17130 [UNIX98] (pthread_barrier_t): Do not expect.
17131 [UNIX98] (pthread_barrierattr_t): Likewise.
17132 [UNIX98] (pthread_spinlock_t): Likewise.
17133 [UNIX98] (pthread_barrier_destroy): Likewise.
17134 [UNIX98] (pthread_barrier_init): Likewise.
17135 [UNIX98] (pthread_barrier_wait): Likewise.
17136 [UNIX98] (pthread_barrierattr_destroy): Likewise.
17137 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17138 [UNIX98] (pthread_barrierattr_init): Likewise.
17139 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17140 [UNIX98] (pthread_getcpuclockid): Likewise.
17141 [UNIX98] (pthread_mutex_timedlock): Likewise.
17142 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17143 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17144 [UNIX98] (pthread_sigmask): Likewise.
17145 [UNIX98] (pthread_spin_destroy): Likewise.
17146 [UNIX98] (pthread_spin_init): Likewise.
17147 [UNIX98] (pthread_spin_lock): Likewise.
17148 [UNIX98] (pthread_spin_trylock): Likewise.
17149 [UNIX98] (pthread_spin_unlock): Likewise.
17150 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17152 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17153 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17154 [XPG3 || XPG4] (pthread_cond_t): Likewise.
17155 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17156 [XPG3 || XPG4] (pthread_key_t): Likewise.
17157 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17158 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17159 [XPG3 || XPG4] (pthread_once_t): Likewise.
17160 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17161 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17162 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17163 [XPG3 || XPG4] (pthread_t): Likewise.
17165 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17167 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17169 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17170 Change function return type to int.
17172 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17173 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17174 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17175 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17176 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17177 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17178 [!POSIX] (posix_madvise): Likewise.
17179 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17181 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17182 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17183 (mode_t): Likewise.
17184 (posix_mem_offset): Likewise.
17185 (posix_typed_mem_get_info): Likewise.
17186 (posix_typed_mem_open): Likewise.
17188 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17189 Change condition to [XOPEN2K8].
17191 * conform/conformtest.pl: Preprocess allow-header data with -x c
17192 instead of from stdin.
17193 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17194 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17195 [C99-based standards] (cerfc): Likewise.
17196 [C99-based standards] (cexp2): Likewise.
17197 [C99-based standards] (cexpm1): Likewise.
17198 [C99-based standards] (clog10): Likewise.
17199 [C99-based standards] (clog1p): Likewise.
17200 [C99-based standards] (clog2): Likewise.
17201 [C99-based standards] (clgamma): Likewise.
17202 [C99-based standards] (ctgamma): Likewise.
17203 [C99-based standards] (cerff): Likewise.
17204 [C99-based standards] (cerfcf): Likewise.
17205 [C99-based standards] (cexp2f): Likewise.
17206 [C99-based standards] (cexpm1f): Likewise.
17207 [C99-based standards] (clog10f): Likewise.
17208 [C99-based standards] (clog1pf): Likewise.
17209 [C99-based standards] (clog2f): Likewise.
17210 [C99-based standards] (clgammaf): Likewise.
17211 [C99-based standards] (ctgammaf): Likewise.
17212 [C99-based standards] (cerfl): Likewise.
17213 [C99-based standards] (cerfcl): Likewise.
17214 [C99-based standards] (cexp2l): Likewise.
17215 [C99-based standards] (cexpm1l): Likewise.
17216 [C99-based standards] (clog10l): Likewise.
17217 [C99-based standards] (clog1pl): Likewise.
17218 [C99-based standards] (clog2l): Likewise.
17219 [C99-based standards] (clgammal): Likewise.
17220 [C99-based standards] (ctgammal): Likewise.
17221 * conform/data/inttypes.h-data [C99-based standards]: Include
17222 stdint.h-data. Remove all expectations for stdint.h contents.
17223 [C99-based standards] (PRI*): Do not allow.
17224 [C99-based standards] (SCN*): Likewise.
17225 [C99-based standards] (*_t): Likewise.
17226 [C99-based-standards] (PRId8): Expect macro.
17227 [C99-based-standards] (PRIi8): Likewise.
17228 [C99-based-standards] (PRIo8): Likewise.
17229 [C99-based-standards] (PRIu8): Likewise.
17230 [C99-based-standards] (PRIx8): Likewise.
17231 [C99-based-standards] (PRIX8): Likewise.
17232 [C99-based-standards] (SCNd8): Likewise.
17233 [C99-based-standards] (SCNi8): Likewise.
17234 [C99-based-standards] (SCNo8): Likewise.
17235 [C99-based-standards] (SCNu8): Likewise.
17236 [C99-based-standards] (SCNx8): Likewise.
17237 [C99-based-standards] (PRIdLEAST8): Likewise.
17238 [C99-based-standards] (PRIiLEAST8): Likewise.
17239 [C99-based-standards] (PRIoLEAST8): Likewise.
17240 [C99-based-standards] (PRIuLEAST8): Likewise.
17241 [C99-based-standards] (PRIxLEAST8): Likewise.
17242 [C99-based-standards] (PRIXLEAST8): Likewise.
17243 [C99-based-standards] (SCNdLEAST8): Likewise.
17244 [C99-based-standards] (SCNiLEAST8): Likewise.
17245 [C99-based-standards] (SCNoLEAST8): Likewise.
17246 [C99-based-standards] (SCNuLEAST8): Likewise.
17247 [C99-based-standards] (SCNxLEAST8): Likewise.
17248 [C99-based-standards] (PRIdFAST8): Likewise.
17249 [C99-based-standards] (PRIiFAST8): Likewise.
17250 [C99-based-standards] (PRIoFAST8): Likewise.
17251 [C99-based-standards] (PRIuFAST8): Likewise.
17252 [C99-based-standards] (PRIxFAST8): Likewise.
17253 [C99-based-standards] (PRIXFAST8): Likewise.
17254 [C99-based-standards] (SCNdFAST8): Likewise.
17255 [C99-based-standards] (SCNiFAST8): Likewise.
17256 [C99-based-standards] (SCNoFAST8): Likewise.
17257 [C99-based-standards] (SCNuFAST8): Likewise.
17258 [C99-based-standards] (SCNxFAST8): Likewise.
17259 [C99-based-standards] (PRId16): Likewise.
17260 [C99-based-standards] (PRIi16): Likewise.
17261 [C99-based-standards] (PRIo16): Likewise.
17262 [C99-based-standards] (PRIu16): Likewise.
17263 [C99-based-standards] (PRIx16): Likewise.
17264 [C99-based-standards] (PRIX16): Likewise.
17265 [C99-based-standards] (SCNd16): Likewise.
17266 [C99-based-standards] (SCNi16): Likewise.
17267 [C99-based-standards] (SCNo16): Likewise.
17268 [C99-based-standards] (SCNu16): Likewise.
17269 [C99-based-standards] (SCNx16): Likewise.
17270 [C99-based-standards] (PRIdLEAST16): Likewise.
17271 [C99-based-standards] (PRIiLEAST16): Likewise.
17272 [C99-based-standards] (PRIoLEAST16): Likewise.
17273 [C99-based-standards] (PRIuLEAST16): Likewise.
17274 [C99-based-standards] (PRIxLEAST16): Likewise.
17275 [C99-based-standards] (PRIXLEAST16): Likewise.
17276 [C99-based-standards] (SCNdLEAST16): Likewise.
17277 [C99-based-standards] (SCNiLEAST16): Likewise.
17278 [C99-based-standards] (SCNoLEAST16): Likewise.
17279 [C99-based-standards] (SCNuLEAST16): Likewise.
17280 [C99-based-standards] (SCNxLEAST16): Likewise.
17281 [C99-based-standards] (PRIdFAST16): Likewise.
17282 [C99-based-standards] (PRIiFAST16): Likewise.
17283 [C99-based-standards] (PRIoFAST16): Likewise.
17284 [C99-based-standards] (PRIuFAST16): Likewise.
17285 [C99-based-standards] (PRIxFAST16): Likewise.
17286 [C99-based-standards] (PRIXFAST16): Likewise.
17287 [C99-based-standards] (SCNdFAST16): Likewise.
17288 [C99-based-standards] (SCNiFAST16): Likewise.
17289 [C99-based-standards] (SCNoFAST16): Likewise.
17290 [C99-based-standards] (SCNuFAST16): Likewise.
17291 [C99-based-standards] (SCNxFAST16): Likewise.
17292 [C99-based-standards] (PRId32): Likewise.
17293 [C99-based-standards] (PRIi32): Likewise.
17294 [C99-based-standards] (PRIo32): Likewise.
17295 [C99-based-standards] (PRIu32): Likewise.
17296 [C99-based-standards] (PRIx32): Likewise.
17297 [C99-based-standards] (PRIX32): Likewise.
17298 [C99-based-standards] (SCNd32): Likewise.
17299 [C99-based-standards] (SCNi32): Likewise.
17300 [C99-based-standards] (SCNo32): Likewise.
17301 [C99-based-standards] (SCNu32): Likewise.
17302 [C99-based-standards] (SCNx32): Likewise.
17303 [C99-based-standards] (PRIdLEAST32): Likewise.
17304 [C99-based-standards] (PRIiLEAST32): Likewise.
17305 [C99-based-standards] (PRIoLEAST32): Likewise.
17306 [C99-based-standards] (PRIuLEAST32): Likewise.
17307 [C99-based-standards] (PRIxLEAST32): Likewise.
17308 [C99-based-standards] (PRIXLEAST32): Likewise.
17309 [C99-based-standards] (SCNdLEAST32): Likewise.
17310 [C99-based-standards] (SCNiLEAST32): Likewise.
17311 [C99-based-standards] (SCNoLEAST32): Likewise.
17312 [C99-based-standards] (SCNuLEAST32): Likewise.
17313 [C99-based-standards] (SCNxLEAST32): Likewise.
17314 [C99-based-standards] (PRIdFAST32): Likewise.
17315 [C99-based-standards] (PRIiFAST32): Likewise.
17316 [C99-based-standards] (PRIoFAST32): Likewise.
17317 [C99-based-standards] (PRIuFAST32): Likewise.
17318 [C99-based-standards] (PRIxFAST32): Likewise.
17319 [C99-based-standards] (PRIXFAST32): Likewise.
17320 [C99-based-standards] (SCNdFAST32): Likewise.
17321 [C99-based-standards] (SCNiFAST32): Likewise.
17322 [C99-based-standards] (SCNoFAST32): Likewise.
17323 [C99-based-standards] (SCNuFAST32): Likewise.
17324 [C99-based-standards] (SCNxFAST32): Likewise.
17325 [C99-based-standards] (PRId64): Likewise.
17326 [C99-based-standards] (PRIi64): Likewise.
17327 [C99-based-standards] (PRIo64): Likewise.
17328 [C99-based-standards] (PRIu64): Likewise.
17329 [C99-based-standards] (PRIx64): Likewise.
17330 [C99-based-standards] (PRIX64): Likewise.
17331 [C99-based-standards] (SCNd64): Likewise.
17332 [C99-based-standards] (SCNi64): Likewise.
17333 [C99-based-standards] (SCNo64): Likewise.
17334 [C99-based-standards] (SCNu64): Likewise.
17335 [C99-based-standards] (SCNx64): Likewise.
17336 [C99-based-standards] (PRIdLEAST64): Likewise.
17337 [C99-based-standards] (PRIiLEAST64): Likewise.
17338 [C99-based-standards] (PRIoLEAST64): Likewise.
17339 [C99-based-standards] (PRIuLEAST64): Likewise.
17340 [C99-based-standards] (PRIxLEAST64): Likewise.
17341 [C99-based-standards] (PRIXLEAST64): Likewise.
17342 [C99-based-standards] (SCNdLEAST64): Likewise.
17343 [C99-based-standards] (SCNiLEAST64): Likewise.
17344 [C99-based-standards] (SCNoLEAST64): Likewise.
17345 [C99-based-standards] (SCNuLEAST64): Likewise.
17346 [C99-based-standards] (SCNxLEAST64): Likewise.
17347 [C99-based-standards] (PRIdFAST64): Likewise.
17348 [C99-based-standards] (PRIiFAST64): Likewise.
17349 [C99-based-standards] (PRIoFAST64): Likewise.
17350 [C99-based-standards] (PRIuFAST64): Likewise.
17351 [C99-based-standards] (PRIxFAST64): Likewise.
17352 [C99-based-standards] (PRIXFAST64): Likewise.
17353 [C99-based-standards] (SCNdFAST64): Likewise.
17354 [C99-based-standards] (SCNiFAST64): Likewise.
17355 [C99-based-standards] (SCNoFAST64): Likewise.
17356 [C99-based-standards] (SCNuFAST64): Likewise.
17357 [C99-based-standards] (SCNxFAST64): Likewise.
17358 [C99-based-standards] (PRIdMAX): Likewise.
17359 [C99-based-standards] (PRIiMAX): Likewise.
17360 [C99-based-standards] (PRIoMAX): Likewise.
17361 [C99-based-standards] (PRIuMAX): Likewise.
17362 [C99-based-standards] (PRIxMAX): Likewise.
17363 [C99-based-standards] (PRIXMAX): Likewise.
17364 [C99-based-standards] (SCNdMAX): Likewise.
17365 [C99-based-standards] (SCNiMAX): Likewise.
17366 [C99-based-standards] (SCNoMAX): Likewise.
17367 [C99-based-standards] (SCNuMAX): Likewise.
17368 [C99-based-standards] (SCNxMAX): Likewise.
17369 [C99-based-standards] (PRIdPTR): Likewise.
17370 [C99-based-standards] (PRIiPTR): Likewise.
17371 [C99-based-standards] (PRIoPTR): Likewise.
17372 [C99-based-standards] (PRIuPTR): Likewise.
17373 [C99-based-standards] (PRIxPTR): Likewise.
17374 [C99-based-standards] (PRIXPTR): Likewise.
17375 [C99-based-standards] (SCNdPTR): Likewise.
17376 [C99-based-standards] (SCNiPTR): Likewise.
17377 [C99-based-standards] (SCNoPTR): Likewise.
17378 [C99-based-standards] (SCNuPTR): Likewise.
17379 [C99-based-standards] (SCNxPTR): Likewise.
17380 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17382 * conform/data/stdint.h-data: Update comments to clarify
17384 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
17386 [C99-based standards] (INT8_MAX): Likewise.
17387 [C99-based standards] (INT16_MIN): Likewise.
17388 [C99-based standards] (INT16_MAX): Likewise.
17389 [C99-based standards] (INT32_MIN): Likewise.
17390 [C99-based standards] (INT32_MAX): Likewise.
17391 [C99-based standards] (INT64_MIN): Likewise.
17392 [C99-based standards] (INT64_MAX): Likewise.
17393 [C99-based standards] (UINT8_MAX): Likewise.
17394 [C99-based standards] (UINT16_MAX): Likewise.
17395 [C99-based standards] (UINT32_MAX): Likewise.
17396 [C99-based standards] (UINT64_MAX): Likewise.
17397 [C99-based standards] (INT_LEAST8_MIN): Likewise.
17398 [C99-based standards] (INT_LEAST8_MAX): Likewise.
17399 [C99-based standards] (INT_LEAST16_MIN): Likewise.
17400 [C99-based standards] (INT_LEAST16_MAX): Likewise.
17401 [C99-based standards] (INT_LEAST32_MIN): Likewise.
17402 [C99-based standards] (INT_LEAST32_MAX): Likewise.
17403 [C99-based standards] (INT_LEAST64_MIN): Likewise.
17404 [C99-based standards] (INT_LEAST64_MAX): Likewise.
17405 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17406 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17407 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17408 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17409 [C99-based standards] (INT_FAST8_MIN): Likewise.
17410 [C99-based standards] (INT_FAST8_MAX): Likewise.
17411 [C99-based standards] (INT_FAST16_MIN): Likewise.
17412 [C99-based standards] (INT_FAST16_MAX): Likewise.
17413 [C99-based standards] (INT_FAST32_MIN): Likewise.
17414 [C99-based standards] (INT_FAST32_MAX): Likewise.
17415 [C99-based standards] (INT_FAST64_MIN): Likewise.
17416 [C99-based standards] (INT_FAST64_MAX): Likewise.
17417 [C99-based standards] (UINT_FAST8_MAX): Likewise.
17418 [C99-based standards] (UINT_FAST16_MAX): Likewise.
17419 [C99-based standards] (UINT_FAST32_MAX): Likewise.
17420 [C99-based standards] (UINT_FAST64_MAX): Likewise.
17421 [C99-based standards] (INTPTR_MIN): Likewise.
17422 [C99-based standards] (INTPTR_MAX): Likewise.
17423 [C99-based standards] (UINTPTR_MAX): Likewise.
17424 [C99-based standards] (INTMAX_MIN): Likewise.
17425 [C99-based standards] (INTMAX_MAX): Likewise.
17426 [C99-based standards] (UINTMAX_MAX): Likewise.
17427 [C99-based standards] (PTRDIFF_MIN): Likewise.
17428 [C99-based standards] (PTRDIFF_MAX): Likewise.
17429 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17430 [C99-based standards] (SIZE_MAX): Likewise.
17431 [C99-based standards] (WCHAR_MAX): Likewise.
17432 [C99-based standards] (WINT_MAX): Likewise.
17433 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
17434 constraint on value.
17435 [C99-based standards] (WCHAR_MIN): Likewise.
17436 [C99-based standards] (WINT_MIN): Likewise.
17437 [C99-based standards] (*_t): Allow.
17438 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17439 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17440 Include math.h-data and complex.h-data. Remove all expectations
17441 of math.h and complex.h contents.
17442 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17444 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17445 (struct tm): Expect tag.
17446 [C99-based-standards] (wcstof): Expect function.
17447 [C99-based-standards] (wcstold): Likewise.
17448 [C99-based-standards] (wcstoll): Likewise.
17449 [C99-based-standards] (wcstoull): Likewise.
17450 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17451 macro-int-constant. Specify type.
17452 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
17453 constraint on value.
17454 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17456 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17458 [ISO C standards]: Do not allow headers.
17459 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17460 wcs[abcdefghijklmnopqrstuvwxyz]*.
17461 [ISO C standards] (*_t): Do not allow.
17462 * conform/data/wctype.h-data [C99-based standards] (iswblank):
17464 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17465 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17467 [ISO C standards]: Do not allow headers.
17468 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17469 is[abcdefghijklmnopqrstuvwxyz]*.
17470 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17471 to[abcdefghijklmnopqrstuvwxyz]*.
17472 [ISO C standards] (*_t): Do not allow.
17473 * conform/data/stdalign.h-data: New file.
17474 * conform/data/stdbool.h-data: Likewise.
17475 * conform/data/stdnoreturn.h-data: Likewise.
17477 2012-11-07 Roland McGrath <roland@hack.frob.com>
17480 * manual/filesys.texi (Directory Entries): Typo fix.
17481 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17483 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17485 * elf/elf.h (EM_AARCH64): New macro.
17486 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17487 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17488 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17489 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17490 (R_AARCH64_TLSDESC): Likewise.
17491 (NT_ARM_TLS): Likewise.
17492 (NT_ARM_HW_BREAK): Likewise.
17493 (NT_ARM_HW_WATCH): Likewise.
17495 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17498 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17499 (__ieee754_powl): Saturate nonzero exponents with absolute value
17500 below 0x1p-79 to +/- 0x1p-79.
17501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17502 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17503 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17504 nonzero exponents with absolute value below 0x1p-32 to +/-
17506 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17507 (__ieee754_powl): Saturate nonzero exponents with absolute value
17508 below 0x1p-79 to +/- 0x1p-79.
17509 * math/libm-test.inc (pow_test): Add more tests.
17511 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17513 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17514 _dl_s390_cap_flags with kernel. Increase string length.
17515 (_dl_s390_platforms): Add z196 and zEC12.
17517 2012-11-07 Joseph Myers <joseph@codesourcery.com>
17519 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17520 Change XOPEN21K to XOPEN2K.
17522 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
17524 * string/memmove.c: Use memcpy when possible.
17526 2012-11-06 Andreas Jaeger <aj@suse.de>
17528 * po/eo.po: Update from translation team.
17530 2012-11-06 Joseph Myers <joseph@codesourcery.com>
17533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17534 exponent and small x and y exponents, scale x or y up. Increase
17535 by 2 the exponent used in scaling up.
17536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17538 * math/libm-test.inc (fma_test): Add more tests.
17539 (fma_test_towardzero): Likewise.
17540 (fma_test_downward): Likewise.
17541 (fma_test_upward): Likewise.
17543 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17546 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17550 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17551 namespace for names of struct fields.
17552 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17554 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17555 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17557 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17560 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17562 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17564 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17568 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17571 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17575 definitely overflow as x * y not x * y + z.
17576 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17577 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17578 * math/libm-test.inc (fma_test): Add more tests.
17579 (fma_test_towardzero): Likewise.
17580 (fma_test_downward): Likewise.
17581 (fma_test_upward): Likewise.
17583 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17587 * include/stub-tag.h: Remove file.
17588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17590 * manual/maint.texi (Porting): Don't reference it.
17591 * Makerules ($(objpfx)stubs): Likewise.
17592 * dirent/closedir.c: Don't include <stub-tag.h>.
17593 * dirent/dirfd.c: Likewise.
17594 * dirent/fdopendir.c: Likewise.
17595 * dirent/getdents.c: Likewise.
17596 * dirent/getdents64.c: Likewise.
17597 * dirent/opendir.c: Likewise.
17598 * dirent/readdir.c: Likewise.
17599 * dirent/readdir64.c: Likewise.
17600 * dirent/readdir64_r.c: Likewise.
17601 * dirent/readdir_r.c: Likewise.
17602 * dirent/rewinddir.c: Likewise.
17603 * dirent/seekdir.c: Likewise.
17604 * dirent/telldir.c: Likewise.
17605 * gmon/profil.c: Likewise.
17606 * grp/setgroups.c: Likewise.
17607 * inet/if_index.c: Likewise.
17608 * io/access.c: Likewise.
17609 * io/chdir.c: Likewise.
17610 * io/chmod.c: Likewise.
17611 * io/chown.c: Likewise.
17612 * io/close.c: Likewise.
17613 * io/dup.c: Likewise.
17614 * io/dup2.c: Likewise.
17615 * io/dup3.c: Likewise.
17616 * io/euidaccess.c: Likewise.
17617 * io/faccessat.c: Likewise.
17618 * io/fchdir.c: Likewise.
17619 * io/fchmod.c: Likewise.
17620 * io/fchmodat.c: Likewise.
17621 * io/fchown.c: Likewise.
17622 * io/fchownat.c: Likewise.
17623 * io/fcntl.c: Likewise.
17624 * io/flock.c: Likewise.
17625 * io/fstatfs.c: Likewise.
17626 * io/fstatfs64.c: Likewise.
17627 * io/fstatvfs.c: Likewise.
17628 * io/fstatvfs64.c: Likewise.
17629 * io/futimens.c: Likewise.
17630 * io/fxstat.c: Likewise.
17631 * io/fxstat64.c: Likewise.
17632 * io/fxstatat.c: Likewise.
17633 * io/fxstatat64.c: Likewise.
17634 * io/getcwd.c: Likewise.
17635 * io/isatty.c: Likewise.
17636 * io/lchmod.c: Likewise.
17637 * io/lchown.c: Likewise.
17638 * io/link.c: Likewise.
17639 * io/linkat.c: Likewise.
17640 * io/lseek.c: Likewise.
17641 * io/lseek64.c: Likewise.
17642 * io/lxstat64.c: Likewise.
17643 * io/mkdir.c: Likewise.
17644 * io/mkdirat.c: Likewise.
17645 * io/mkfifo.c: Likewise.
17646 * io/mkfifoat.c: Likewise.
17647 * io/open.c: Likewise.
17648 * io/open64.c: Likewise.
17649 * io/openat.c: Likewise.
17650 * io/openat64.c: Likewise.
17651 * io/pipe.c: Likewise.
17652 * io/pipe2.c: Likewise.
17653 * io/poll.c: Likewise.
17654 * io/posix_fadvise.c: Likewise.
17655 * io/posix_fadvise64.c: Likewise.
17656 * io/posix_fallocate.c: Likewise.
17657 * io/posix_fallocate64.c: Likewise.
17658 * io/read.c: Likewise.
17659 * io/readlink.c: Likewise.
17660 * io/readlinkat.c: Likewise.
17661 * io/rmdir.c: Likewise.
17662 * io/sendfile.c: Likewise.
17663 * io/sendfile64.c: Likewise.
17664 * io/statfs.c: Likewise.
17665 * io/statfs64.c: Likewise.
17666 * io/statvfs.c: Likewise.
17667 * io/statvfs64.c: Likewise.
17668 * io/symlink.c: Likewise.
17669 * io/symlinkat.c: Likewise.
17670 * io/ttyname.c: Likewise.
17671 * io/ttyname_r.c: Likewise.
17672 * io/umask.c: Likewise.
17673 * io/unlink.c: Likewise.
17674 * io/unlinkat.c: Likewise.
17675 * io/utime.c: Likewise.
17676 * io/utimensat.c: Likewise.
17677 * io/write.c: Likewise.
17678 * io/xmknod.c: Likewise.
17679 * io/xmknodat.c: Likewise.
17680 * io/xstat.c: Likewise.
17681 * io/xstat64.c: Likewise.
17682 * login/getpt.c: Likewise.
17683 * login/grantpt.c: Likewise.
17684 * login/unlockpt.c: Likewise.
17685 * math/e_acoshl.c: Likewise.
17686 * math/e_acosl.c: Likewise.
17687 * math/e_asinl.c: Likewise.
17688 * math/e_atan2l.c: Likewise.
17689 * math/e_atanhl.c: Likewise.
17690 * math/e_coshl.c: Likewise.
17691 * math/e_expl.c: Likewise.
17692 * math/e_fmodl.c: Likewise.
17693 * math/e_gammal_r.c: Likewise.
17694 * math/e_hypotl.c: Likewise.
17695 * math/e_j0l.c: Likewise.
17696 * math/e_j1l.c: Likewise.
17697 * math/e_jnl.c: Likewise.
17698 * math/e_lgammal_r.c: Likewise.
17699 * math/e_log10l.c: Likewise.
17700 * math/e_log2l.c: Likewise.
17701 * math/e_logl.c: Likewise.
17702 * math/e_powl.c: Likewise.
17703 * math/e_rem_pio2l.c: Likewise.
17704 * math/e_sinhl.c: Likewise.
17705 * math/e_sqrtl.c: Likewise.
17706 * math/fclrexcpt.c: Likewise.
17707 * math/fedisblxcpt.c: Likewise.
17708 * math/feenablxcpt.c: Likewise.
17709 * math/fegetenv.c: Likewise.
17710 * math/fegetexcept.c: Likewise.
17711 * math/fegetround.c: Likewise.
17712 * math/feholdexcpt.c: Likewise.
17713 * math/fesetenv.c: Likewise.
17714 * math/fesetround.c: Likewise.
17715 * math/feupdateenv.c: Likewise.
17716 * math/fgetexcptflg.c: Likewise.
17717 * math/fraiseexcpt.c: Likewise.
17718 * math/fsetexcptflg.c: Likewise.
17719 * math/ftestexcept.c: Likewise.
17720 * math/k_cosl.c: Likewise.
17721 * math/k_rem_pio2l.c: Likewise.
17722 * math/k_sinl.c: Likewise.
17723 * math/k_tanl.c: Likewise.
17724 * math/s_asinhl.c: Likewise.
17725 * math/s_atanl.c: Likewise.
17726 * math/s_cbrtl.c: Likewise.
17727 * math/s_erfl.c: Likewise.
17728 * math/s_expm1l.c: Likewise.
17729 * math/s_log1pl.c: Likewise.
17730 * math/s_tanhl.c: Likewise.
17731 * misc/acct.c: Likewise.
17732 * misc/brk.c: Likewise.
17733 * misc/chflags.c: Likewise.
17734 * misc/chroot.c: Likewise.
17735 * misc/fchflags.c: Likewise.
17736 * misc/fgetxattr.c: Likewise.
17737 * misc/flistxattr.c: Likewise.
17738 * misc/fremovexattr.c: Likewise.
17739 * misc/fsetxattr.c: Likewise.
17740 * misc/fsync.c: Likewise.
17741 * misc/ftruncate.c: Likewise.
17742 * misc/futimes.c: Likewise.
17743 * misc/futimesat.c: Likewise.
17744 * misc/getdomain.c: Likewise.
17745 * misc/getdtsz.c: Likewise.
17746 * misc/gethostid.c: Likewise.
17747 * misc/gethostname.c: Likewise.
17748 * misc/getloadavg.c: Likewise.
17749 * misc/getpagesize.c: Likewise.
17750 * misc/getsysstats.c: Likewise.
17751 * misc/getxattr.c: Likewise.
17752 * misc/gtty.c: Likewise.
17753 * misc/ioctl.c: Likewise.
17754 * misc/lgetxattr.c: Likewise.
17755 * misc/listxattr.c: Likewise.
17756 * misc/llistxattr.c: Likewise.
17757 * misc/lremovexattr.c: Likewise.
17758 * misc/lsetxattr.c: Likewise.
17759 * misc/lutimes.c: Likewise.
17760 * misc/madvise.c: Likewise.
17761 * misc/mincore.c: Likewise.
17762 * misc/mlock.c: Likewise.
17763 * misc/mlockall.c: Likewise.
17764 * misc/mmap.c: Likewise.
17765 * misc/mprotect.c: Likewise.
17766 * misc/msync.c: Likewise.
17767 * misc/munlock.c: Likewise.
17768 * misc/munlockall.c: Likewise.
17769 * misc/munmap.c: Likewise.
17770 * misc/preadv.c: Likewise.
17771 * misc/preadv64.c: Likewise.
17772 * misc/ptrace.c: Likewise.
17773 * misc/pwritev.c: Likewise.
17774 * misc/pwritev64.c: Likewise.
17775 * misc/readv.c: Likewise.
17776 * misc/reboot.c: Likewise.
17777 * misc/remap_file_pages.c: Likewise.
17778 * misc/removexattr.c: Likewise.
17779 * misc/revoke.c: Likewise.
17780 * misc/select.c: Likewise.
17781 * misc/setdomain.c: Likewise.
17782 * misc/setegid.c: Likewise.
17783 * misc/seteuid.c: Likewise.
17784 * misc/sethostid.c: Likewise.
17785 * misc/sethostname.c: Likewise.
17786 * misc/setregid.c: Likewise.
17787 * misc/setreuid.c: Likewise.
17788 * misc/setxattr.c: Likewise.
17789 * misc/sstk.c: Likewise.
17790 * misc/stty.c: Likewise.
17791 * misc/swapoff.c: Likewise.
17792 * misc/swapon.c: Likewise.
17793 * misc/sync.c: Likewise.
17794 * misc/syncfs.c: Likewise.
17795 * misc/syscall.c: Likewise.
17796 * misc/truncate.c: Likewise.
17797 * misc/ualarm.c: Likewise.
17798 * misc/usleep.c: Likewise.
17799 * misc/ustat.c: Likewise.
17800 * misc/utimes.c: Likewise.
17801 * misc/vhangup.c: Likewise.
17802 * misc/writev.c: Likewise.
17803 * posix/_exit.c: Likewise.
17804 * posix/alarm.c: Likewise.
17805 * posix/execve.c: Likewise.
17806 * posix/fexecve.c: Likewise.
17807 * posix/fork.c: Likewise.
17808 * posix/fpathconf.c: Likewise.
17809 * posix/getaddrinfo.c: Likewise.
17810 * posix/getegid.c: Likewise.
17811 * posix/geteuid.c: Likewise.
17812 * posix/getgid.c: Likewise.
17813 * posix/getgroups.c: Likewise.
17814 * posix/getlogin.c: Likewise.
17815 * posix/getlogin_r.c: Likewise.
17816 * posix/getpgid.c: Likewise.
17817 * posix/getpid.c: Likewise.
17818 * posix/getppid.c: Likewise.
17819 * posix/getresgid.c: Likewise.
17820 * posix/getresuid.c: Likewise.
17821 * posix/getsid.c: Likewise.
17822 * posix/getuid.c: Likewise.
17823 * posix/glob64.c: Likewise.
17824 * posix/nanosleep.c: Likewise.
17825 * posix/pathconf.c: Likewise.
17826 * posix/pause.c: Likewise.
17827 * posix/posix_madvise.c: Likewise.
17828 * posix/pread.c: Likewise.
17829 * posix/pread64.c: Likewise.
17830 * posix/pwrite.c: Likewise.
17831 * posix/pwrite64.c: Likewise.
17832 * posix/sched_getaffinity.c: Likewise.
17833 * posix/sched_getp.c: Likewise.
17834 * posix/sched_gets.c: Likewise.
17835 * posix/sched_primax.c: Likewise.
17836 * posix/sched_primin.c: Likewise.
17837 * posix/sched_rr_gi.c: Likewise.
17838 * posix/sched_setaffinity.c: Likewise.
17839 * posix/sched_setp.c: Likewise.
17840 * posix/sched_sets.c: Likewise.
17841 * posix/sched_yield.c: Likewise.
17842 * posix/setgid.c: Likewise.
17843 * posix/setlogin.c: Likewise.
17844 * posix/setpgid.c: Likewise.
17845 * posix/setresgid.c: Likewise.
17846 * posix/setresuid.c: Likewise.
17847 * posix/setsid.c: Likewise.
17848 * posix/setuid.c: Likewise.
17849 * posix/sleep.c: Likewise.
17850 * posix/spawni.c: Likewise.
17851 * posix/sysconf.c: Likewise.
17852 * posix/times.c: Likewise.
17853 * posix/wait.c: Likewise.
17854 * posix/wait3.c: Likewise.
17855 * posix/wait4.c: Likewise.
17856 * posix/waitpid.c: Likewise.
17857 * resolv/gai_sigqueue.c: Likewise.
17858 * resource/getpriority.c: Likewise.
17859 * resource/getrlimit.c: Likewise.
17860 * resource/getrusage.c: Likewise.
17861 * resource/nice.c: Likewise.
17862 * resource/setpriority.c: Likewise.
17863 * resource/setrlimit.c: Likewise.
17864 * resource/ulimit.c: Likewise.
17865 * rt/aio_cancel.c: Likewise.
17866 * rt/aio_fsync.c: Likewise.
17867 * rt/aio_read.c: Likewise.
17868 * rt/aio_sigqueue.c: Likewise.
17869 * rt/aio_suspend.c: Likewise.
17870 * rt/aio_write.c: Likewise.
17871 * rt/clock_getres.c: Likewise.
17872 * rt/clock_gettime.c: Likewise.
17873 * rt/clock_nanosleep.c: Likewise.
17874 * rt/clock_settime.c: Likewise.
17875 * rt/lio_listio.c: Likewise.
17876 * rt/mq_close.c: Likewise.
17877 * rt/mq_getattr.c: Likewise.
17878 * rt/mq_notify.c: Likewise.
17879 * rt/mq_open.c: Likewise.
17880 * rt/mq_receive.c: Likewise.
17881 * rt/mq_send.c: Likewise.
17882 * rt/mq_setattr.c: Likewise.
17883 * rt/mq_timedreceive.c: Likewise.
17884 * rt/mq_timedsend.c: Likewise.
17885 * rt/mq_unlink.c: Likewise.
17886 * rt/shm_open.c: Likewise.
17887 * rt/shm_unlink.c: Likewise.
17888 * rt/timer_create.c: Likewise.
17889 * rt/timer_delete.c: Likewise.
17890 * rt/timer_getoverr.c: Likewise.
17891 * rt/timer_gettime.c: Likewise.
17892 * rt/timer_settime.c: Likewise.
17893 * setjmp/__longjmp.c: Likewise.
17894 * setjmp/setjmp.c: Likewise.
17895 * signal/kill.c: Likewise.
17896 * signal/killpg.c: Likewise.
17897 * signal/raise.c: Likewise.
17898 * signal/sigaction.c: Likewise.
17899 * signal/sigaltstack.c: Likewise.
17900 * signal/sigblock.c: Likewise.
17901 * signal/sigignore.c: Likewise.
17902 * signal/sigintr.c: Likewise.
17903 * signal/signal.c: Likewise.
17904 * signal/sigpause.c: Likewise.
17905 * signal/sigpending.c: Likewise.
17906 * signal/sigqueue.c: Likewise.
17907 * signal/sigreturn.c: Likewise.
17908 * signal/sigset.c: Likewise.
17909 * signal/sigsetmask.c: Likewise.
17910 * signal/sigstack.c: Likewise.
17911 * signal/sigsuspend.c: Likewise.
17912 * signal/sigtimedwait.c: Likewise.
17913 * signal/sigvec.c: Likewise.
17914 * signal/sigwait.c: Likewise.
17915 * signal/sigwaitinfo.c: Likewise.
17916 * signal/sysv_signal.c: Likewise.
17917 * socket/accept.c: Likewise.
17918 * socket/accept4.c: Likewise.
17919 * socket/bind.c: Likewise.
17920 * socket/connect.c: Likewise.
17921 * socket/getpeername.c: Likewise.
17922 * socket/getsockname.c: Likewise.
17923 * socket/getsockopt.c: Likewise.
17924 * socket/isfdtype.c: Likewise.
17925 * socket/listen.c: Likewise.
17926 * socket/recv.c: Likewise.
17927 * socket/recvfrom.c: Likewise.
17928 * socket/recvmsg.c: Likewise.
17929 * socket/send.c: Likewise.
17930 * socket/sendmsg.c: Likewise.
17931 * socket/sendto.c: Likewise.
17932 * socket/setsockopt.c: Likewise.
17933 * socket/shutdown.c: Likewise.
17934 * socket/sockatmark.c: Likewise.
17935 * socket/socket.c: Likewise.
17936 * socket/socketpair.c: Likewise.
17937 * stdio-common/ctermid.c: Likewise.
17938 * stdio-common/cuserid.c: Likewise.
17939 * stdio-common/remove.c: Likewise.
17940 * stdio-common/rename.c: Likewise.
17941 * stdio-common/renameat.c: Likewise.
17942 * stdio-common/tempname.c: Likewise.
17943 * stdlib/getcontext.c: Likewise.
17944 * stdlib/makecontext.c: Likewise.
17945 * stdlib/setcontext.c: Likewise.
17946 * stdlib/swapcontext.c: Likewise.
17947 * stdlib/system.c: Likewise.
17948 * streams/fattach.c: Likewise.
17949 * streams/fdetach.c: Likewise.
17950 * streams/getmsg.c: Likewise.
17951 * streams/getpmsg.c: Likewise.
17952 * streams/putmsg.c: Likewise.
17953 * streams/putpmsg.c: Likewise.
17954 * sysdeps/unix/bsd/getpt.c: Likewise.
17955 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17956 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17957 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17960 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17961 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17962 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17963 * sysvipc/msgctl.c: Likewise.
17964 * sysvipc/msgget.c: Likewise.
17965 * sysvipc/msgrcv.c: Likewise.
17966 * sysvipc/msgsnd.c: Likewise.
17967 * sysvipc/semctl.c: Likewise.
17968 * sysvipc/semget.c: Likewise.
17969 * sysvipc/semop.c: Likewise.
17970 * sysvipc/semtimedop.c: Likewise.
17971 * sysvipc/shmat.c: Likewise.
17972 * sysvipc/shmctl.c: Likewise.
17973 * sysvipc/shmdt.c: Likewise.
17974 * sysvipc/shmget.c: Likewise.
17975 * termios/tcdrain.c: Likewise.
17976 * termios/tcflow.c: Likewise.
17977 * termios/tcflush.c: Likewise.
17978 * termios/tcgetattr.c: Likewise.
17979 * termios/tcgetpgrp.c: Likewise.
17980 * termios/tcsendbrk.c: Likewise.
17981 * termios/tcsetattr.c: Likewise.
17982 * termios/tcsetpgrp.c: Likewise.
17983 * time/adjtime.c: Likewise.
17984 * time/clock.c: Likewise.
17985 * time/getitimer.c: Likewise.
17986 * time/gettimeofday.c: Likewise.
17987 * time/setitimer.c: Likewise.
17988 * time/settimeofday.c: Likewise.
17989 * time/stime.c: Likewise.
17990 * time/time.c: Likewise.
17992 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17994 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17997 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17999 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
18001 2012-11-03 Joseph Myers <joseph@codesourcery.com>
18004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
18005 FE_TONEAREST before applying Dekker multiplication and Knuth
18006 addition. Clear inexact exceptions and check for exact zero
18007 results afterwards.
18008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18009 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18010 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18011 * math/libm-test.inc (fma_test): Add more tests.
18012 (fma_test_towardzero): Likewise.
18013 (fma_test_downward): Likewise.
18014 (fma_test_upward): Likewise.
18015 * sysdeps/generic/math_private.h (default_libc_fesetround): New
18017 (libc_fesetround): New macro.
18018 (libc_fesetroundf): Likewise.
18019 (libc_fesetroundl): Likewise.
18020 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18022 (libc_fesetround_387): Likewise.
18023 (libc_fesetroundf): New macro.
18024 (libc_fesetround): Likewise.
18025 (libc_fesetroundl): Likewise.
18026 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18028 (libc_fesetroundf): New macro.
18029 (libc_fesetround): Likewise.
18030 (libc_fesetroundl): Likewise.
18031 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18032 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18033 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18035 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18036 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18038 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18039 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18041 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18045 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18046 integer constant usable in #if and use that to give value to enum
18048 (FE_DIVBYZERO): Likewise.
18049 (FE_UNDERFLOW): Likewise.
18050 (FE_OVERFLOW): Likewise.
18051 (FE_INVALID): Likewise.
18052 (FE_INVALID_SNAN): Likewise.
18053 (FE_INVALID_ISI): Likewise.
18054 (FE_INVALID_IDI): Likewise.
18055 (FE_INVALID_ZDZ): Likewise.
18056 (FE_INVALID_IMZ): Likewise.
18057 (FE_INVALID_COMPARE): Likewise.
18058 (FE_INVALID_SOFTWARE): Likewise.
18059 (FE_INVALID_SQRT): Likewise.
18060 (FE_INVALID_INTEGER_CONVERSION): Likewise.
18061 (FE_TONEAREST): Likewise.
18062 (FE_TOWARDZERO): Likewise.
18063 (FE_UPWARD): Likewise.
18064 (FE_DOWNWARD): Likewise.
18065 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18066 (FE_DIVBYZERO): Likewise.
18067 (FE_OVERFLOW): Likewise.
18068 (FE_UNDERFLOW): Likewise.
18069 (FE_INEXACT): Likewise.
18070 (FE_TONEAREST): Likewise.
18071 (FE_DOWNWARD): Likewise.
18072 (FE_UPWARD): Likewise.
18073 (FE_TOWARDZERO): Likewise.
18074 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18075 (FE_UNDERFLOW): Likewise.
18076 (FE_OVERFLOW): Likewise.
18077 (FE_DIVBYZERO): Likewise.
18078 (FE_INVALID): Likewise.
18079 (FE_TONEAREST): Likewise.
18080 (FE_TOWARDZERO): Likewise.
18081 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18082 (FE_OVERFLOW): Likewise.
18083 (FE_UNDERFLOW): Likewise.
18084 (FE_DIVBYZERO): Likewise.
18085 (FE_INEXACT): Likewise.
18086 (FE_TONEAREST): Likewise.
18087 (FE_TOWARDZERO): Likewise.
18088 (FE_UPWARD): Likewise.
18089 (FE_DOWNWARD): Likewise.
18090 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18091 (FE_DIVBYZERO): Likewise.
18092 (FE_OVERFLOW): Likewise.
18093 (FE_UNDERFLOW): Likewise.
18094 (FE_INEXACT): Likewise.
18095 (FE_TONEAREST): Likewise.
18096 (FE_DOWNWARD): Likewise.
18097 (FE_UPWARD): Likewise.
18098 (FE_TOWARDZERO): Likewise.
18100 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
18102 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18104 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
18106 * scripts/cross-test-ssh.sh (command): Use newlines to separate
18107 commands. Quote $PWD.
18108 (blacklist_exports): Don't use remove_newlines. Replace "declare
18110 (remove_newlines): Remove.
18112 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
18114 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18115 * stdlib/stdlib.h (atof): Moved to ...
18116 * include/bits/stdlib-float.h: Here. New file.
18117 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18118 * stdlib/bits/stdlib-float.h: New file.
18119 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18124 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18126 * conform/conformtest.pl (@headers): Add fenv.h.
18127 * conform/data/fenv.h-data: New file.
18128 * include/fenv.h [_ISOMAC]: Disable all contents of file except
18129 include of <math/fenv.h>.
18131 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18132 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18133 && !UNIX98]. Enables tests for XOPEN2K8.
18134 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18135 POSIX2008]: Likewise.
18137 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18138 (struct rusage): Do not expect type or its members.
18141 * math/math.h (FP_NAN): Define macro to integer constant usable in
18142 #if and use that to give value to enum constant.
18143 (FP_INFINITE): Likewise.
18144 (FP_ZERO): Likewise.
18145 (FP_SUBNORMAL): Likewise.
18146 (FP_NORMAL): Likewise.
18148 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
18150 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18151 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18154 2012-11-02 Roland McGrath <roland@hack.frob.com>
18156 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18157 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18158 autoconf-time if not.
18159 * configure.in: Remove AC_PREREQ.
18161 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18163 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18164 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18165 of the internal implementation.
18167 2012-11-02 Joseph Myers <joseph@codesourcery.com>
18169 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18170 except include of <misc/sys/syslog.h>.
18172 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18175 function returns with a NULL context exit with zero.
18177 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18179 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18181 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
18183 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18184 (run_program_cmd): This.
18185 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18186 (tst_langinfo): New variable. Use it.
18188 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
18190 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18191 floating point opcodes.
18193 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18195 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18198 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18200 * sysdeps/mach/hurd/powerpc: Remove directory.
18201 * sysdeps/mach/powerpc: Likewise.
18203 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
18205 * scripts/check-local-headers.sh: Ignore c++ headers.
18207 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18209 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18210 __libc_cleanup_region_start argument.
18212 2012-11-01 Joseph Myers <joseph@codesourcery.com>
18216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18217 x * y using scaling, not as x * y + z.
18218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18219 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18220 * math/libm-test.inc (fma_test): Add more tests.
18221 (fma_test_towardzero): Likewise.
18222 (fma_test_downward): Likewise.
18223 (fma_test_upward): Likewise.
18225 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
18227 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18229 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18231 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18234 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
18236 * rt/tst-shm.c (worker): Correct checking for mmap failure.
18238 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18245 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18248 Fix the order of the list for glibc 2.17.
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18252 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
18254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18256 2012-10-31 Joseph Myers <joseph@codesourcery.com>
18259 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18260 for low part of x being zero before using __atanl (y).
18261 * math/libm-test.inc (atan2_test): Add another test.
18263 * manual/install.texi (Configuring and compiling): Document
18264 general use of test-wrapper and test-wrapper-env.
18265 * INSTALL: Regenerated.
18267 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18268 (__fma): Do not extract and scale down low bits on after-rounding
18269 systems when result rounded to normal precision would have normal
18271 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18272 (__fmal): Do not extract and scale down low bits on after-rounding
18273 systems when result rounded to normal precision would have normal
18275 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18276 (__fmal): Do not extract and scale down low bits on after-rounding
18277 systems when result rounded to normal precision would have normal
18279 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18281 (fma_test): Add more tests.
18282 (fma_test_towardzero): Likewise.
18283 (fma_test_downward): Likewise.
18284 (fma_test_upward): Likewise.
18286 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
18288 * sysdeps/i386/tininess.h: Renamed to ...
18289 * sysdeps/x86/tininess.h: This.
18290 * sysdeps/x86_64/tininess.h: Removed.
18292 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18294 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18295 input. Use $(build-program-cmd).
18296 ($(objpfx)tst-array1-static.out): Likewise.
18297 ($(objpfx)tst-array2.out): Likewise.
18298 ($(objpfx)tst-array3.out): Likewise.
18299 ($(objpfx)tst-array4.out): Likewise.
18300 ($(objpfx)tst-array5.out): Likewise.
18301 ($(objpfx)tst-array5-static.out): Likewise.
18303 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
18305 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18308 * nss/nsswitch.h (nss_interface_function): Provide new
18309 macro for use with NSS functions.
18310 * grp/initgroups.c: Use new macro.
18311 * nss/getXXbyYY.c: Likewise.
18312 * nss/getXXbyYY_r.c: Likewise.
18313 * nss/getXXent.c: Likewise.
18314 * nss/getXXent_r.c: Likewise.
18315 * sysdeps/posix/getaddrinfo.c: Likewise.
18317 2012-10-30 Andreas Jaeger <aj@suse.de>
18319 * po/ru.po: Update Russion translation from translation project.
18321 2012-10-30 Joseph Myers <joseph@codesourcery.com>
18325 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18326 result and shift together with sticky bit instead of replicating
18327 round-to-nearest rounding.
18328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18330 * math/libm-test.inc (fma_test): Add more tests. Do not permit
18331 missing underflow exceptions.
18332 (fma_test_towardzero): Add more tests.
18333 (fma_test_downward): Likewise.
18334 (fma_test_upward): Likewise.
18337 * sysdeps/generic/tininess.h: New file.
18338 * sysdeps/i386/tininess.h: Likewise.
18339 * sysdeps/sh/tininess.h: Likewise.
18340 * sysdeps/x86_64/tininess.h: Likewise.
18341 * stdlib/tst-strtod-underflow.c: Likewise.
18342 * stdlib/tst-tininess.c: Likewise.
18343 * stdlib/strtod_l.c: Include <tininess.h>.
18344 (round_and_return): Do not set errno for exact underflow cases.
18345 Force an underflow exception when setting errno for underflow.
18346 Determine underflow based on rounding to normal precision if
18347 TININESS_AFTER_ROUNDING.
18348 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18349 ERANGE for exact underflow cases.
18350 * stdlib/Makefile (tests): Add tst-tininess and
18351 tst-strtod-underflow.
18352 ($(objpfx)tst-tininess): Use $(link-libm).
18353 ($(objpfx)tst-strtod-underflow): Likewise.
18355 2012-10-30 Andreas Jaeger <aj@suse.de>
18358 * elf/Makefile (tests): Remove conditional for have-initfini-array
18359 since this is now always required and the variable does not exist
18361 (tests-static): Likewise.
18362 (modules-names): Likewise.
18364 * po/eo.po: Add Esperanto translation from translation project.
18366 * elf/tst-array1.c (fini_array): Make writeable so that it can be
18367 merged with constructor/destructor.
18368 (init_array): Likewise.
18369 * elf/tst-array2dep.c (fini_array): Likewise.
18370 (init_array): Likewise.
18372 2012-10-29 Mike Frysinger <vapier@gentoo.org>
18374 * manual/message.texi: Delete @cartouche tags.
18376 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
18378 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18380 * sysdeps/mach/hurd/fsync.c: Likewise.
18382 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18383 [_POSIX_REALTIME_SIGNALS]: Change condition to
18384 [_POSIX_REALTIME_SIGNALS > 0].
18386 2012-10-27 Andreas Jaeger <aj@suse.de>
18388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18389 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18390 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18391 [__WORDSIZE != 64]: Likewise.
18393 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
18395 * iconvdata/tst-table.sh: Remove ${SHELL}.
18396 * iconvdata/tst-tables.sh: Likewise.
18398 2012-10-25 David S. Miller <davem@davemloft.net>
18400 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18401 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18407 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18408 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18411 2012-10-25 Roland McGrath <roland@hack.frob.com>
18413 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18414 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18417 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18418 Jim Blandy <jimb@codesourcery.com>
18420 * scripts/cross-test-ssh.sh: New file.
18421 * manual/install.texi (Configuring and compiling): Document use of
18423 * INSTALL: Regenerated.
18425 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
18427 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18430 2012-10-25 Joseph Myers <joseph@codesourcery.com>
18432 * Makeconfig (run-program-prefix): Fix comment.
18434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18435 Jim Blandy <jimb@codesourcery.com>
18437 * Makeconfig (test-wrapper): New variable,
18438 (test-wrapper-env): Likewise.
18439 [$(cross-compiling) = yes && $(test-wrapper) != ""]
18440 (run-built-tests): Define to yes.
18441 (run-program-prefix): Use $(test-wrapper).
18442 (built-program-cmd): Likewise.
18443 * Rules (make-test-out): Use $(test-wrapper-env) and
18444 $(host-built-program-cmd).
18445 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18446 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18448 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18449 $(test-wrapper-env) to tst-rtld-load-self.sh.
18450 ($(objpfx)order2.out): Use $(test-wrapper).
18451 ($(objpfx)tst-initorder.out): Likewise.
18452 ($(objpfx)tst-initorder2.out): Likewise.
18453 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18454 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18455 (test_wrapper_env): New variable. Use it to run ld.so.
18456 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18457 Use it to run ld.so.
18458 (test_wrapper_env): Likewise.
18459 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18460 $(test-wrapper) to run-iconv-test.sh.
18461 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18462 (ICONV): Use $test_wrapper.
18463 * posix/Makefile ($(objpfx)globtest.out): Pass
18464 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18465 globtest.sh, not $(run-program-prefix).
18466 * posix/globtest.sh (run_via_rtld_prefix): New variable.
18467 (test_wrapper): Likewise.
18468 (test_wrapper_env): Likewise. Use it to run globtest with HOME
18469 set together with run_via_rtld_prefix.
18470 (run_program_prefix): Define in terms of test_wrapper and
18471 run_via_rtld_prefix.
18473 2012-10-24 Roland McGrath <roland@hack.frob.com>
18475 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18476 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18480 * include/time.h: Remove librt_hidden_proto (clock_gettime).
18481 Declare __clock_getres, __clock_gettime, __clock_settime,
18482 __clock_nanosleep, and __clock_getcpuclockid.
18483 * rt/clock_gettime.c: Define __clock_gettime as an alias.
18484 Remove librt_hidden_def (clock_gettime).
18485 * sysdeps/unix/clock_gettime.c: Likewise.
18486 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18487 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18488 * rt/clock_getres.c: Define __clock_getres as an alias.
18489 * sysdeps/posix/clock_getres.c: Likewise.
18490 * rt/clock_settime.c: Define __clock_settime as an alias.
18491 * sysdeps/unix/clock_settime.c: Likewise.
18492 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18493 * sysdeps/unix/clock_nanosleep.c: Likewise.
18494 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18495 * rt/clock-compat.c: New file.
18496 * rt/Makefile (librt-routines): Add clock-compat and move
18497 $(clock-routines) to ...
18498 (routines): ... here, new variable.
18499 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18500 Don't add get_clockfreq here.
18501 * rt/Versions (libc: GLIBC_2.17): New version set.
18502 Add clock_* symbols here.
18503 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
18504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18505 (GLIBC_2.17): Add clock_* symbols.
18506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18507 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18508 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18517 * NEWS: Mention the move.
18519 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18520 Use __open, __read, __close rather than their public counterparts.
18521 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18522 (__get_clockfreq_via_cpuinfo): Likewise.
18523 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18524 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18526 * config.h.in (HAVE_IFUNC): New #undef.
18527 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18529 * configure: Regenerated.
18531 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18533 * configure.in: Move READELF check to start of file.
18534 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18535 libc_cv_asm_gnu_indirect_function in the process.
18536 * configure: Regenerated.
18538 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18540 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18541 send the output to /dev/null.
18542 (libc_cv_cc_with_libunwind): Likewise.
18543 (libc_cv_as_noexecstack): Likewise.
18544 * configure: Regenerate.
18546 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18548 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18550 * posix/globtest.sh (TMPDIR): Do not set.
18551 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18552 (testout): Likewise.
18554 2012-10-24 Andreas Jaeger <aj@suse.de>
18556 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18557 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18558 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18559 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18560 posix_fadvise64, posix_fallocate64.
18562 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18563 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18564 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18566 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18568 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18571 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18572 <bits/fcntl-linux.h>.
18573 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18576 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18577 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18578 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18579 [__WORDSIZE != 64]: Likewise.
18581 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18583 * Makeconfig (run-built-tests): New variable.
18584 * Rules [$(cross-compiling) = yes]: Change condition to
18585 [$(run-built-tests) = no].
18586 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18587 to [$(run-built-tests) = yes].
18588 * elf/Makefile [$(cross-compiling) = no]: Likewise
18589 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18590 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18591 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18592 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18593 * io/Makefile [$(cross-compiling) = no]: Likewise.
18594 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18595 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18596 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18597 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18598 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18599 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18600 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18601 * string/Makefile [$(cross-compiling) = no]: Likewise.
18603 * posix/Makefile ($(objpfx)globtest.out): Pass
18604 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18605 $(rtld-installed-name).
18606 * posix/globtest.sh (elf_objpfx): Remove variable.
18607 (rtld_installed_name): Likewise.
18608 (library_path): Likewise.
18609 (run_program_prefix): New variable. Use for running globtest
18612 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18613 Joseph Myers <joseph@codesourcery.com>
18615 * Makeconfig (host-built-program-cmd): New variable.
18616 * elf/Makefile (tst-stackguard1-ARGS): Use
18617 $(host-built-program-cmd).
18618 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18619 (tst-spawn-ARGS): Likewise.
18620 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18622 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18623 Jim Blandy <jimb@codesourcery.com>
18625 * Makeconfig (run-via-rtld-prefix): New variable.
18626 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18627 (built-program-cmd): Likewise.
18629 2012-10-22 Andreas Jaeger <aj@suse.de>
18631 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18632 __O_RSYNC if it exists, otherwise to O_SYNC.
18634 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18635 Joseph Myers <joseph@codesourcery.com>
18637 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18639 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18641 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18644 2012-10-22 Andreas Jaeger <aj@suse.de>
18646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18651 bits/fcntl-linux.h.
18653 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18654 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18661 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18662 Joseph Myers <joseph@codesourcery.com>
18664 * config.make.in (NM): New variable.
18666 2012-10-21 Andreas Jaeger <aj@suse.de>
18668 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18669 definitions and declarations that are provided by
18670 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18672 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18675 * elf/Makefile (tests-static): Add tst-leaks1-static.
18676 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18677 ($(objpfx)tst-leaks1-static): New rule.
18678 ($(objpfx)tst-leaks1-static-mem): Likewise.
18679 (tst-leaks1-static-ENV): New macro.
18680 * elf/dl-open.c (dl_open_worker): Check the main application
18681 only if SHARED is defined.
18682 * elf/tst-leaks1-static.c: New file.
18684 2012-10-20 Andreas Jaeger <aj@suse.de>
18686 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18687 generic values for Linux.
18688 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18689 and declarations that are provided by <bits/fcntl-linux.h> and
18690 include <bits/fcntl-linux.h>.
18691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18694 2012-10-20 Roland McGrath <roland@hack.frob.com>
18696 * io/fcntl.h: Move include of <bits/types.h> to the top and
18697 include it unconditionally.
18699 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18701 * wcsmbs/Makefile (tests-ifunc): New variable.
18702 (tests): Add $(tests-ifunc).
18703 * wcsmbs/test-wcschr-ifunc.c: New file.
18704 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18705 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18706 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18707 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18708 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18710 * string/Makefile (tests-ifunc): New variable.
18711 (tests): Add $(tests-ifunc).
18712 * string/test-memccpy.c (TEST_NAME): New macro.
18713 * string/test-memchr.c (TEST_NAME): Likewise.
18714 * string/test-memcmp.c (TEST_NAME): Likewise.
18715 * string/test-memcpy.c (TEST_NAME): Likewise.
18716 * string/test-memmem.c (TEST_NAME): Likewise.
18717 * string/test-memmove.c (TEST_NAME): Likewise.
18718 * string/test-memset.c (TEST_NAME): Likewise.
18719 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18720 * string/test-stpcpy.c (TEST_NAME): Likewise.
18721 * string/test-stpncpy.c (TEST_NAME): Likewise.
18722 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18723 * string/test-strcasestr.c (TEST_NAME): Likewise.
18724 * string/test-strcat.c (TEST_NAME): Likewise.
18725 * string/test-strchr.c (TEST_NAME): Likewise.
18726 * string/test-strcmp.c(TEST_NAME): Likewise.
18727 * string/test-strcpy.c (TEST_NAME): Likewise.
18728 * string/test-strcspn.c (TEST_NAME): Likewise.
18729 * string/test-strlen.c (TEST_NAME): Likewise.
18730 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18731 * string/test-strncmp.c (TEST_NAME): Likewise.
18732 * string/test-strncpy.c (TEST_NAME): Likewise.
18733 * string/test-strnlen.c (TEST_NAME): Likewise.
18734 * string/test-strpbrk.c (TEST_NAME): Likewise.
18735 * string/test-strrchr.c (TEST_NAME): Likewise.
18736 * string/test-strspn.c (TEST_NAME): Likewise.
18737 * string/test-strstr.c (TEST_NAME): Likewise.
18738 * string/test-bcopy-ifunc.c: New file.
18739 * string/test-bzero-ifunc.c: Likewise.
18740 * string/test-memccpy-ifunc.c: Likewise.
18741 * string/test-memchr-ifunc.c: Likewise.
18742 * string/test-memcmp-ifunc.c: Likewise.
18743 * string/test-memcpy-ifunc.c: Likewise.
18744 * string/test-memmem-ifunc.c: Likewise.
18745 * string/test-memmove-ifunc.c: Likewise.
18746 * string/test-mempcpy-ifunc.c: Likewise.
18747 * string/test-memset-ifunc.c: Likewise.
18748 * string/test-rawmemchr-ifunc.c: Likewise.
18749 * string/test-stpcpy-ifunc.c: Likewise.
18750 * string/test-stpncpy-ifunc.c: Likewise.
18751 * string/test-strcasecmp-ifunc.c: Likewise.
18752 * string/test-strcasestr-ifunc.c: Likewise.
18753 * string/test-strcat-ifunc.c: Likewise.
18754 * string/test-strchr-ifunc.c: Likewise.
18755 * string/test-strchrnul-ifunc.c: Likewise.
18756 * string/test-strcmp-ifunc.c: Likewise.
18757 * string/test-strcpy-ifunc.c: Likewise.
18758 * string/test-strcspn-ifunc.c: Likewise.
18759 * string/test-strlen-ifunc.c: Likewise.
18760 * string/test-strncasecmp-ifunc.c: Likewise.
18761 * string/test-strncat-ifunc.c: Likewise.
18762 * string/test-strncmp-ifunc.c: Likewise.
18763 * string/test-strncpy-ifunc.c: Likewise.
18764 * string/test-strnlen-ifunc.c: Likewise.
18765 * string/test-strpbrk-ifunc.c: Likewise.
18766 * string/test-strrchr-ifunc.c: Likewise.
18767 * string/test-strspn-ifunc.c: Likewise.
18768 * string/test-strstr-ifunc.c: Likewise.
18770 * debug/Makefile (tests-ifunc): New variable.
18771 (tests): Add $(tests-ifunc).
18772 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18773 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18774 * debug/test-stpcpy_chk-ifunc.c: New file.
18775 * debug/test-strcpy_chk-ifunc.c: Likewise.
18777 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18780 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18781 header is not read in.
18783 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18785 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18786 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18787 directly. Pass built executable to script as
18788 $(built-program-cmd).
18789 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18790 $testprogram without using LD_LIBRARY_PATH and $ldso.
18792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18793 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18794 $(rtld-installed-name).
18795 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18796 (rtld_installed_name): Likewise.
18797 (library_path): Likewise.
18798 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18799 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18800 $(run-program-prefix) to tst-tables.sh.
18801 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18802 it to run tst-table-from and tst-table-to.
18803 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18804 Pass it to tst-table.sh.
18805 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18806 $(run-program-prefix) to tst-gettext.sh.
18807 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18809 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18811 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18812 to run tst-gettext.
18813 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18814 to run tst-gettext2.
18815 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18816 to run tst-translit.
18817 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18818 $(run-program-prefix) to tst-mtrace.sh.
18819 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18821 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18822 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18823 $(rtld-installed-name).
18824 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18825 (rtld_installed_name): Likewise.
18826 (run_program_prefix): New variable. Use it to run wordexp-test.
18828 * Makeconfig (ARCH): Remove all definitions.
18829 (machine): Likewise.
18830 [ARCH]: Remove conditional code.
18831 [!objdir]: Give error.
18832 [!objdir] (objpfx): Remove.
18833 [!objdir] (common-objpfx): Likewise.
18834 [!objdir] (common-objdir): Likewise.
18835 * configure.in (config_makefile): Remove. Hardcode Makefile in
18836 AC_CONFIG_FILES call.
18837 * configure: Regenerated.
18840 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18842 (testout): Likewise.
18844 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18845 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18846 $(rtld-installed-name).
18847 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18848 (rtld_installed_name): Likwise.
18849 (runit): Remove function.
18850 (run_getconf): New variable, Use it for running getconf binary.
18852 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18855 * string/test-memmem.c (check_result): New function.
18856 (do_one_test): Use it.
18857 (check1): New function.
18858 (test_main): Use it.
18860 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18862 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18864 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18866 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18867 (_G_LSEEK64): Likewise.
18868 (_G_MMAP64): Likewise.
18869 (_G_FSTAT64): Likewise.
18870 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18871 (_G_LSEEK64): Likewise.
18872 (_G_MMAP64): Likewise.
18873 (_G_FSTAT64): Likewise.
18874 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18875 unconditional. Call __mmap64 directly.
18876 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18877 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18878 __lseek64 directly.
18879 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18880 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18882 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18883 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18884 __lseek64 directly.
18885 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18886 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18887 __lseek64 directly.
18888 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18889 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18890 __lseek64 directly.
18891 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18892 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18893 __fxstat64 directly.
18894 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18895 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18897 (freopen64) [!_G_OPEN64]: Remove conditional code.
18898 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18900 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18901 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18903 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18904 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18906 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18907 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18909 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18910 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18912 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18913 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18915 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18916 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18918 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18920 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18923 * manual/memory.texi (Malloc Tunable Parameters): Add note
18924 about free list pointers overwriting some perturb bytes.
18925 Wording suggested by Roland McGrath.
18927 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18929 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18930 (lgamma_test): Likewise.
18931 (tgamma_test): Likewise.
18933 2012-10-16 Florian Weimer <fweimer@redhat.com>
18936 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18937 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18939 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18941 * NEWS: Mention BZ #14716.
18942 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18943 when removing AVAILABLE1_USES_J macro.
18945 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18947 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18948 (__bswap_64): __uint64_t for unsigned 64-bit int.
18950 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18952 * include/string.h (memmem): Declare libc hidden alias.
18953 * string/memmem.c (memmem): Define libc hidden alias.
18954 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18955 __read, __close instead of open, read, close.
18957 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18959 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18960 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18962 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18963 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18964 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18966 (__rawmemchr_sse2): Likewise.
18967 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18968 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18969 (__strchr_sse2): Likewise.
18970 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18971 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18972 (__strcasecmp_sse2): Likewise.
18973 (__strncasecmp_sse2): Likewise.
18974 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18975 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18976 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18977 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18978 (__strrchr_sse2): Likewise.
18979 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18981 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18982 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18983 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18984 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18985 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18986 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18987 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18988 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18989 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18990 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18991 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18993 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18994 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18995 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18996 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18997 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18998 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18999 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
19000 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
19001 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
19002 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
19003 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
19004 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19005 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
19006 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19007 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19009 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19010 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19012 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19014 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19015 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19016 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19017 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19019 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19021 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19022 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19023 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19024 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19028 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19029 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19030 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19031 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19032 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19033 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19034 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19035 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19036 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19037 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19038 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19039 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19040 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19042 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19043 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19044 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19045 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19046 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19047 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19048 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19049 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19050 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19051 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19052 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19053 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19054 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19055 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19056 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19059 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19060 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19061 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19062 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19063 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19064 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19065 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19066 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19068 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19069 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19070 * include/ifunc-impl-list.h: New file.
19071 * misc/ifunc-impl-list.c: Likewise.
19072 * misc/Makefile (routines): Add ifunc-impl-list.
19073 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19074 * string/test-string.h: Include <ifunc-impl-list.h>.
19075 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19076 impl_array): New variables.
19077 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19079 (test_init): Call __libc_ifunc_impl_list to initialize
19080 func_list if TEST_IFUNC and TEST_NAME are defined.
19082 * string/Makefile (strop-tests): Add bcopy and bzero.
19083 * string/test-bcopy.c: New file.
19084 * string/test-bzero.c: Likewise.
19085 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19087 * string/test-memset.c: Support bzero test if TEST_BZERO is
19089 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19091 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19093 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19096 2012-10-10 Joseph Myers <joseph@codesourcery.com>
19098 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19099 * configure: Regenerated.
19101 * Makeconfig (+link-static-before-libc): Don't include
19102 $(link-static-libc).
19104 * libio/libio.h (_IO_pos_t): Remove.
19106 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19108 * NEWS: Add note about FIPS mode. Wording suggested by Roland
19111 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19113 * crypt/crypt-entry.c: Include fips-private.h.
19114 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19115 * crypt/md5c-test.c (main): Tolerate disabled MD5.
19116 * sysdeps/unix/sysv/linux/fips-private.h: New file.
19117 * sysdeps/generic/fips-private.h: New file, dummy fallback.
19119 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
19121 * crypt/crypt-private.h: Include stdbool.h.
19122 (_ufc_setup_salt_r): Return bool.
19123 * crypt/crypt-entry.c: Include errno.h.
19124 (__crypt_r): Return NULL with EINVAL for bad salt.
19125 * crypt/crypt_util.c (bad_for_salt): New.
19126 (_ufc_setup_salt_r): Check that salt is long enough and within
19127 the specified alphabet.
19128 * crypt/badsalttest.c: New file.
19129 * crypt/Makefile (tests): Add it.
19130 ($(objpfx)badsalttest): New.
19132 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
19134 * NEWS: Add entry for BZ #14602.
19136 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19138 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19140 * math/libm-test.inc: Update comment listing what functions and
19142 (isgreater_test): New function.
19143 (isgreaterequal_test): Likewise.
19144 (isless_test): Likewise.
19145 (islessequal_test): Likewise.
19146 (islessgreater_test): Likewise.
19147 (isunordered_test): Likewise.
19148 (main): Call the new functions.
19150 2012-10-09 Roland McGrath <roland@hack.frob.com>
19152 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19153 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19154 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19155 * sysdeps/i386/configure: Regenerated.
19156 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19157 * sysdeps/mach/configure: Regenerated.
19158 * sysdeps/mach/hurd/configure: Regenerated.
19159 * sysdeps/powerpc/configure: Regenerated.
19160 * sysdeps/powerpc/powerpc32/configure: Regenerated.
19161 * sysdeps/powerpc/powerpc64/configure: Regenerated.
19162 * sysdeps/s390/s390-32/configure: Regenerated.
19163 * sysdeps/s390/s390-64/configure: Regenerated.
19164 * sysdeps/sh/configure: Regenerated.
19165 * sysdeps/sparc/configure: Regenerated.
19166 * sysdeps/unix/sysv/linux/configure: Regenerated.
19167 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19168 * sysdeps/x86_64/configure: Regenerated.
19170 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19171 defined. Don't check if MAP is NULL.
19173 2012-10-09 Joseph Myers <joseph@codesourcery.com>
19175 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19176 (_G_stat64): Likewise.
19177 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19178 (_G_stat64): Likewise.
19179 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19180 instead of struct _G_stat64.
19181 * libio/fileops.c (mmap_remap_check): Likewise.
19182 (decide_maybe_mmap): Likewise.
19183 (_IO_new_file_seekoff): Likewise.
19184 (_IO_file_stat): Likewise.
19185 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19187 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19188 instead of struct _G_stat64.
19189 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19191 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
19194 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19196 (CHECK_EOL): New macro.
19197 (two_way_short_needle): Check beginning of haystack for EOL. Use
19199 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19200 Replace with CHECK_EOL.
19201 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19202 Replace with CHECK_EOL.
19204 2012-10-08 Joseph Myers <joseph@codesourcery.com>
19206 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19208 * math/libm-test.inc: Update comment listing what functions and
19210 (finite_test): New function.
19211 (isinf_test): Likewise.
19212 (isnan_test): Likewise.
19213 (fpclassify_test): Test subnormal input.
19214 (isfinite_test): Likewise.
19215 (isnormal_test): Likewise.
19216 (main): Call the new functions.
19218 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
19221 * Makerules (%.dynsym): Force C locale when running
19222 $(OBJDUMP) --dynamic-syms.
19224 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
19226 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19229 2012-10-06 David S. Miller <davem@davemloft.net>
19231 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19232 upper 32-bits of the length value in %o2 since we use branch-on-register
19233 tests which consider the entire 64-bit register.
19235 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
19237 * string/test-strstr.c (check2): Add a test for page boundary.
19239 2012-10-05 David S. Miller <davem@davemloft.net>
19241 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19242 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19244 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19246 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19247 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19248 and bzero when HWCAP_SPARC_CRYPTO is present.
19250 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
19253 * string/test-strstr.c (check2): New function.
19254 (test_main): Call check2.
19256 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19258 * string/bug-strcasestr1.c (do_test): Moved to ...
19259 * string/test-strcasestr.c (check1): Here. New function.
19260 (do_one_test): Break out result checking code into ...
19261 (check_result): This. New function.
19262 (do_one_test): Call check_result.
19263 (test_main): Call check1.
19264 * string/bug-strchr1.c (do_test): Moved to ...
19265 * string/test-strchr.c (check1): Here. New function.
19266 (do_one_test): Break out result checking code into ...
19267 (check_result): This. New function.
19268 (do_one_test): Call check_result.
19269 (test_main): Call check1.
19270 * string/bug-strstr1.c (main): Moved to ...
19271 * string/test-strstr.c (check1): Here. New function.
19272 (do_one_test): Break out result checking code into ...
19273 (check_result): This. New function.
19274 (do_one_test): Call check_result.
19275 (test_main): Call check1.
19276 * string/bug-strcasestr1.c: Removed.
19277 * string/bug-strchr1.c: Likewise.
19278 * string/bug-strstr1.c: Likewise.
19280 * elf/Makefile (dl-routines): Add hwcaps.
19281 * elf/dl-support.c (_dl_important_hwcaps): Removed.
19282 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19283 (_dl_important_hwcaps): Moved to ...
19284 * elf/dl-hwcaps.c: Here. New file.
19285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19288 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19289 if IS_IN_rtld isn't defined.
19291 * elf/dl-support.c (_dl_sysinfo_map): New.
19292 Include "get-dynamic-info.h" and "setup-vdso.h".
19293 (_dl_non_dynamic_init): Call setup_vdso.
19294 * elf/dynamic-link.h: Don't include <assert.h>.
19295 (elf_get_dynamic_info): Moved to ...
19296 * elf/get-dynamic-info.h: Here. New file.
19297 * elf/dynamic-link.h: Include "get-dynamic-info.h".
19298 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19299 * elf/setup-vdso.h: Here. New file.
19300 * elf/rtld.c: Include "setup-vdso.h".
19301 (dl_main): Call setup_vdso.
19303 2012-10-05 Joseph Myers <joseph@codesourcery.com>
19305 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19306 creal in comment listing functions tested. List finite, isinf,
19307 isnan, isless, islessequal, isgreater, isgreaterequal,
19308 islessgreater, isunordered, lgamma_r and pow10 as functions and
19309 macros not tested. Mention which functions not tested are aliases
19310 for other functions. Fix typo. Note that signs of NaNs are not
19313 * scripts/config.guess: Update from config.git.
19314 * scripts/config.sub: Likewise.
19316 2012-10-04 Roland McGrath <roland@hack.frob.com>
19318 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19319 * misc/madvise.c (madvise): Renamed to __madvise.
19320 Make madvise a weak alias.
19321 * include/sys/mman.h: Declare __madvise.
19322 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19323 * sysdeps/unix/syscalls.list
19324 (madvise): Make __madvise the strong name, and madvise a weak alias.
19325 * sysdeps/unix/sysv/linux/syscalls.list
19326 (madvise, mmap): Remove redundant entries.
19327 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19328 * malloc/malloc.c (mtrim): Likewise.
19329 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19331 2012-10-03 Roland McGrath <roland@hack.frob.com>
19333 * sysdeps/mach/hurd/dl-cache.c: File removed.
19334 * config.h.in (USE_LDCONFIG): New #undef.
19335 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19336 * configure: Regenerated.
19337 * elf/Makefile (dl-routines): Add dl-cache only under
19338 [$(use-ldconfig) = yes].
19339 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19340 cache on [USE_LDCONFIG].
19341 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19343 * elf/rtld.c (dl_main): Likewise.
19345 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
19347 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19348 _SC_LEVEL4_CACHE_LINESIZE.
19350 2012-10-03 Roland McGrath <roland@hack.frob.com>
19352 * sysdeps/unix/bsd/confstr.h: File removed.
19354 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
19356 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19359 2012-10-02 Roland McGrath <roland@hack.frob.com>
19361 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19362 Make 'mapoff' field ElfW(Off) rather than off_t.
19364 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
19366 * nscd/Makefile: Remove nscd-cflags and all its users.
19367 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19368 (CFLAGS-nonlib): Add compiler flags for nscd modules.
19371 * malloc.c (malloc_printerr): Clarify error message.
19373 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
19376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19377 Set bit_FMA_Usable if FMA is supported.
19378 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19380 (bit_FMA4_Usable): Updated.
19381 (index_FMA_Usable): New macro.
19382 (CPUID_FMA): Likewise
19383 (HAS_FMA): Defined with bit_FMA_Usable.
19385 2012-10-01 Roland McGrath <roland@hack.frob.com>
19387 * bits/types.h (__swblk_t): Type removed.
19388 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19389 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19391 (__SWBLK_T_TYPE): Likewise.
19392 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19393 (__SWBLK_T_TYPE): Likewise.
19394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19395 (__SWBLK_T_TYPE): Likewise.
19396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19397 (__SWBLK_T_TYPE): Likewise.
19399 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
19400 Honza Horak <hhorak@redhat.com>
19402 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19403 (xdr_mapname): Use YPMAXMAP as maxsize.
19404 (xdr_peername): Use YPMAXPEER as maxsize.
19405 (xdr_keydat): Use YPAXRECORD as maxsize.
19406 (xdr_valdat): Use YPMAXRECORD as maxsize.
19408 2012-10-01 Roland McGrath <roland@hack.frob.com>
19410 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19412 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19413 * csu/init-first.c: ... here.
19414 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19415 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19416 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19418 * sysdeps/i386/init-first.c: File removed.
19419 * sysdeps/sh/init-first.c: File removed.
19421 2012-10-01 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19425 if x * y might underflow to zero and z is zero.
19426 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19428 * math/libm-test.inc (min_subnorm_value): New variable.
19429 (fma_test): Add more tests.
19430 (fma_test_towardzero): Likewise.
19431 (fma_test_downward): Likewise
19432 (fma_test_upward): Likewise.
19433 (initialize): Set min_subnorm_value.
19435 2012-09-29 Joseph Myers <joseph@codesourcery.com>
19438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19440 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19441 mode for addition resulting in exact zero.
19442 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19443 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19447 * math/libm-test.inc (fma_test): Add more tests.
19448 (fma_test_towardzero): New function.
19449 (fma_test_downward): Likewise.
19450 (fma_test_upward): Likewise.
19451 (main): Call the new functions.
19453 2012-09-28 David S. Miller <davem@davemloft.net>
19455 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19457 2012-09-28 Roland McGrath <roland@hack.frob.com>
19459 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19460 instead of SIGALRM.
19462 * sysdeps/gnu/_G_config.h: Moved to ...
19463 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19464 * sysdeps/mach/hurd/_G_config.h: Moved to ...
19465 * sysdeps/generic/_G_config.h: ... here.
19467 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
19469 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19471 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19472 Conditionalize target on [libnss_test1.so-version].
19474 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19476 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19477 (elfobjdir): Move out of conditionals.
19479 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19480 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19481 (__nss_lookup_function): Conditionalize label remove_from_tree on
19482 [!DO_STATIC_NSS || SHARED], matching its only use.
19484 2012-09-28 David S. Miller <davem@davemloft.net>
19486 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19487 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19489 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19491 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19492 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19493 when HWCAP_SPARC_CRYPTO is present.
19495 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19497 * io/tst-mknodat.c: Create a FIFO instead of a socket.
19499 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
19502 * stdio-common/vfprintf.c (process_string_arg): Revert
19505 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
19507 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19509 * stdio-common/tst-sprintf.c: Include <locale.h>
19510 (main): Test sprintf's handling of incomplete multibyte
19513 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
19515 * elf/dl-runtime.c (VERSYMIDX): Removed.
19516 * elf/dl-version.c (VERSYMIDX): Likewise.
19517 * elf/do-rel.h (VERSYMIDX): Likewise.
19518 (VALIDX): Likewise.
19519 * elf/dynamic-link.h (VERSYMIDX): Likewise.
19520 * elf/rtld.c (VALIDX): Likewise.
19521 (ADDRIDX): Likewise.
19522 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19523 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19524 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19525 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19526 (VALIDX): Likewise.
19527 (ADDRIDX): Likewise.
19529 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19531 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19533 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19536 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19538 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19539 addresses are in the same scope as 192.0.2/24.
19540 * posix/gai.conf: Document new scope table defaults.
19542 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19545 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19546 for ftell. Compute offsets from write pointers instead.
19547 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19549 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19552 * libio/Makefile (tests): New test case tst-fseek.
19553 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19554 combination works in wide mode.
19555 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19556 state when the external buffer state changes.
19558 2012-09-27 David S. Miller <davem@davemloft.net>
19561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19562 pass reloc->r_addend in as the 'high' argument to
19563 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19567 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19569 * rt/tst-aio2.c: Include <pthread.h>.
19570 * rt/tst-aio3.c: Likewise.
19572 2012-09-27 Steve Ellcey <sellcey@mips.com>
19574 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19576 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19578 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19579 contents on [SHARED].
19581 2012-09-26 Marek Polacek <polacek@redhat.com>
19585 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19586 for C++ and GCC <4.3 as well as for non GCC compilers.
19588 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19592 2012-09-25 Roland McGrath <roland@hack.frob.com>
19594 * Makefile.in (all, install): Declare with .PHONY.
19595 Reported by Michael Hope <michael.hope@linaro.org>.
19597 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19599 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19600 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19602 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19604 (sydep_routines): Add the new and the internal functions.
19605 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19606 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19608 (GLIBC_2.17): Add the new function.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19610 (GLIBC_2.17): Likewise.
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19612 (GLIBC_2.17): Likewise.
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19614 (GLIBC_2.17): Likewise.
19615 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19617 2012-09-25 Alan Modra <amodra@gmail.com>
19619 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19620 Add release barrier before setting once_control to say
19621 initialisation is done. Add hints on lwarx. Use macro in
19623 (clear_once_control): Add release barrier.
19625 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19628 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19630 * math/s_clog10.c (__clog10): Likewise.
19631 * math/s_clog10f.c (__clog10f): Likewise.
19632 * math/s_clog10l.c (__clog10l): Likewise.
19633 * math/s_clogf.c (__clogf): Likewise.
19634 * math/s_clogl.c (__clogl): Likewise.
19635 * math/Makefile (libm-calls): Add x2y2m1.
19636 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19637 (__x2y2m1): Likewise.
19638 (__x2y2m1l): Likewise.
19639 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19640 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19645 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19646 * sysdeps/i386/fpu/libm-test-ulps: Update.
19647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19650 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19651 int as type of variable DEPTH.
19652 (glob): Use size_t instead of int as type of variables NEWCOUNT
19655 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19657 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19658 Add s_sincosf-sse2.
19659 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19660 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19661 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19662 macros for using routine as __sincosf_ia32.
19663 Use macro for function declaration and weak_alias.
19664 * sysdeps/i386/fpu/libm-test-ulps: Update.
19666 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19669 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19670 subnormal argument.
19671 * math/s_cexpf.c (__cexpf): Likewise.
19672 * math/s_csinf.c (__csinf): Likewise.
19673 * math/s_csinhf.c (__csinhf): Likewise.
19674 * math/s_ctanf.c (__ctanf): Likewise.
19675 * math/s_ctanhf.c (__ctanhf): Likewise.
19676 * math/s_ccosh.c (__ccoshf): Likewise.
19677 * math/s_cexp.c (__cexpl): Likewise.
19678 * math/s_csin.c (__csin): Likewise.
19679 * math/s_csinh.c (__csinh): Likewise.
19680 * math/s_ctan.c (__ctan): Likewise.
19681 * math/s_ctanh.c (ctanh): Likewise.
19682 * math/s_ccoshl.c (__ccoshl): Likewise.
19683 * math/s_cexpl.c (__cexpl): Likewise.
19684 * math/s_csinl.c (__csinl): Likewise.
19685 * math/s_csinhl.c (__csinhl): Likewise.
19686 * math/s_ctanl.c (__ctanl): Likewise.
19687 * math/s_ctanhl.c (__ctanhl): Likewise.
19689 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19691 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19692 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19693 (_IO_off_t): Define to __off_t, not _G_off_t.
19694 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19695 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19696 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19697 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19698 type of __dummy and __dummy2 fields.
19699 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19700 (_G_ssize_t): Likewise.
19701 (_G_off_t): Likewise.
19702 (_G_pid_t): Likewise.
19703 (_G_uid_t): Likewise.
19704 (_G_wchar_t): Likewise.
19705 (_G_wint_t): Likewise.
19706 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19707 (_G_ssize_t): Likewise.
19708 (_G_off_t): Likewise.
19709 (_G_pid_t): Likewise.
19710 (_G_uid_t): Likewise.
19711 (_G_wchar_t): Likewise.
19712 (_G_wint_t): Likewise.
19713 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19714 (_G_ssize_t): Likewise.
19715 (_G_off_t): Likewise.
19716 (_G_pid_t): Likewise.
19717 (_G_uid_t): Likewise.
19718 (_G_wchar_t): Likewise.
19719 (_G_wint_t): Likewise.
19721 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19723 * malloc/arena.c: Include malloc-sysdep.h.
19724 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19725 is sufficient to shrink the heap or an unmap is needed.
19726 * sysdeps/generic/malloc-sysdep.h: New file. Define
19727 new function check_may_shrink_heap.
19728 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19729 new function check_may_shrink_heap.
19731 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19733 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19736 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19738 * catgets/test-gencat.sh: Add "set -e".
19739 * elf/tst-pathopt.sh: Likewise.
19740 * grp/tst_fgetgrent.sh: Likewise.
19741 * iconvdata/run-iconv-test.sh: Likewise.
19742 * intl/tst-gettext.sh: Likewise.
19743 * intl/tst-gettext2.sh: Likewise.
19744 * intl/tst-gettext4.sh: Likewise.
19745 * intl/tst-gettext6.sh: Likewise.
19746 * intl/tst-translit.sh: Likewise.
19747 * io/ftwtest-sh: Likewise.
19748 * libio/test-freopen.sh: Likewise.
19749 * malloc/tst-mtrace.sh: Likewise.
19750 * posix/globtest.sh: Likewise.
19751 * posix/tst-getconf.sh: Likewise.
19752 * posix/wordexp-tst.sh: Likewise.
19753 * stdio-common/tst-printf.sh: Likewise.
19754 * stdio-common/tst-unbputc.sh: Likewise.
19755 * stdlib/tst-fmtmsg.sh: Likewise.
19756 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19757 * catgets/Makefile: Do not specify -e option when running
19758 testsuite shell scripts.
19759 * elf/Makefile: Likewise.
19760 * grp/Makefile: Likewise.
19761 * iconvdata/Makefile: Likewise.
19762 * intl/Makefile: Likewise.
19763 * io/Makefile: Likewise.
19764 * libio/Makefile: Likewise.
19765 * malloc/Makefile: Likewise.
19766 * posix/Makefile: Likewise.
19767 * stdio-common/Makefile: Likewise.
19768 * stdlib/Makefile: Likewise.
19769 * sysdeps/x86_64/Makefile: Likewise.
19771 * io/ftwtest-sh: Add copyright header.
19772 * posix/globtest.sh: Likewise.
19773 * posix/tst-getconf.sh: Likewise.
19774 * posix/wordexp-tst.sh: Likewise.
19775 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19777 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19780 * Makeconfig (+link): Defined as $(+link-static) if
19781 $(build-shared) isn't yes.
19782 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19784 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19786 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19789 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19790 new chunk size with MALLOC_ALIGN_MASK.
19792 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19795 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19797 (__printf_fphex): Determine rounding using get_rounding_mode and
19799 * stdio-common/tst-printf-round.c (struct hex_test): New
19801 (hex_tests): New variable.
19802 (test_hex_in_one_mode): New function.
19803 (do_test): Also run tests for hex float output.
19805 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19807 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19808 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19809 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19810 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19811 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19812 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19813 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19814 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19816 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19818 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19819 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19820 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19821 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19823 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19826 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19828 * elf/tst-rtld-load-self.sh: New test.
19829 * elf/Makefile: Run it.
19831 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19833 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19834 (tst-writev-ENV): Remove.
19835 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19837 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19839 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19841 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19843 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19845 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19847 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19848 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19849 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19852 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19855 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19856 * config.make.in (have-cpp-asm-debuginfo): Removed.
19857 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19858 * configure: Regenerated.
19860 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19863 * stdio-common/printf_fp.c: Include <stdbool.h> and
19865 (___printf_fp): Determine rounding using get_rounding_mode and
19867 * stdio-common/tst-printf-round.c: New file.
19868 * stdio-common/Makefile (tests): Add tst-printf-round.
19869 (link-libm): New variable.
19870 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19872 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19875 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19876 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19878 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19881 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19883 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19884 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19885 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19888 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19891 * include/rounding-mode.h: New file.
19892 * sysdeps/generic/get-rounding-mode.h: Likewise.
19893 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19894 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19895 (MAX_VALUE): New macro.
19896 (MIN_VALUE): Likewise.
19897 (overflow_value): New function.
19898 (underflow_value): Likewise.
19899 (round_and_return): Use overflow_value and underflow_value to
19900 determine return values in overflow and underflow cases. Use
19901 round_away to determine rounding depending on rounding mode.
19902 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19903 determine return values in overflow and underflow cases.
19904 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19905 (struct test_results): New structure.
19906 (struct test): Use struct test_results to store expected results
19907 for all rounding modes.
19908 (TEST): Include expected results for all rounding modes.
19909 (test_in_one_mode): New function.
19910 (do_test): Use test_in_one_mode to compute and check results.
19911 Check results for all rounding modes.
19912 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19915 2012-12-09 Allan McRae <allan@archlinux.org>
19917 * sysdeps/i386/fpu/libm-test-ulps: Update
19919 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19921 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19922 (_G_int32_t): Likewise.
19923 (_G_uint16_t): Likewise.
19924 (_G_uint32_t): Likewise.
19925 (_G_HAVE_BOOL): Likewise.
19926 (_G_HAVE_ATEXIT): Likewise.
19927 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19928 (_G_HAVE_IO_FILE_OPEN): Likewise.
19929 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19930 (_G_int32_t): Likewise.
19931 (_G_uint16_t): Likewise.
19932 (_G_uint32_t): Likewise.
19933 (_G_HAVE_BOOL): Likewise.
19934 (_G_HAVE_ATEXIT): Likewise.
19935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19936 (_G_HAVE_IO_FILE_OPEN): Likewise.
19937 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19938 (_G_int32_t): Likewise.
19939 (_G_uint16_t): Likewise.
19940 (_G_uint32_t): Likewise.
19941 (_G_HAVE_BOOL): Likewise.
19942 (_G_HAVE_ATEXIT): Likewise.
19943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19944 (_G_HAVE_IO_FILE_OPEN): Likewise.
19946 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19948 * csu/libc-tls.c: Update copyright years.
19950 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19952 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19953 [!_G_USING_THUNKS]: Remove conditional code.
19954 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19955 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19957 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19958 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19959 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19960 (_G_VTABLE_LABEL_PREFIX): Likewise.
19961 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19962 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19964 (_G_VTABLE_LABEL_PREFIX): Likewise.
19965 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19966 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19967 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19968 (_G_VTABLE_LABEL_PREFIX): Likewise.
19969 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19971 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19973 * libio/Makefile: Include ../Makeconfig before tests.
19974 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19975 only if $(build-shared) is yes.
19977 * iconv/gconv_db.c: Update copyright years.
19979 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19981 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19982 unwind info if defined PIC. Fix special cases description.
19983 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19985 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19987 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19989 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19991 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19993 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19996 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19997 (LDLIBS-tst-chk4): This.
19998 (LDFLAGS-tst-chk5): Renamed to ...
19999 (LDLIBS-tst-chk5): This.
20000 (LDFLAGS-tst-chk6): Renamed to ...
20001 (LDLIBS-tst-chk6): This.
20002 (LDFLAGS-tst-lfschk4): Renamed to ...
20003 (LDLIBS-tst-lfschk4): This.
20004 (LDFLAGS-tst-lfschk5): Renamed to ...
20005 (LDLIBS-tst-lfschk5): This.
20006 (LDFLAGS-tst-lfschk6): Renamed to ...
20007 (LDLIBS-tst-lfschk6): This.
20009 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
20010 on $(common-objpfx)soversions.mk.
20012 2012-09-07 Joseph Myers <joseph@codesourcery.com>
20015 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20018 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20020 * malloc/arena.c (arena_get_retry): New function that gets
20021 another arena for the caller to try its request on.
20022 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20023 current arena cannot fulfill the request.
20024 (__libc_memalign): Likewise.
20025 (__libc_memalign): Likewise.
20026 (__libc_pvalloc): Likewise.
20027 (__libc_calloc): Likewise.
20029 2012-09-05 John Tobey <john.tobey@gmail.com>
20032 * manual/arith.texi (Operations on Complex): Fix description
20033 of carg branch cut.
20035 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20038 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20042 * manual/memory.texi (Memory): Make order of menu items match
20045 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20047 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20048 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
20049 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20051 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20053 * csu/libc-tls.c (static_dtv): Renamed to ...
20054 (_dl_static_dtv): This. Make it global.
20055 (_dl_initial_dtv): Removed.
20056 (__libc_setup_tls): Updated.
20057 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20058 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20061 2012-09-06 Petr Machata <pmachata@redhat.com>
20063 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20064 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20065 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20066 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20068 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20071 * csu/libc-tls.c (_dl_initial_dtv): New variable.
20072 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20075 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
20078 * Makeconfig (link-static-before-libc): Replace $(+prector)
20080 (link-static-after-libc): Replace $(+postctor) with
20082 (link-bounded): Replace $(+prector)/$(+postctor) with
20083 $(+prectorT)/$(+postctorT).
20084 (+prectorT): New macro.
20085 (+postctorT): Likewise.
20087 2012-09-06 Joseph Myers <joseph@codesourcery.com>
20089 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20090 (round_str): Handle values above the maximum for IBM long double
20092 * stdlib/tst-strtod-round.c (tests): Regenerated.
20094 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20096 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20098 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20099 zarch_nohighgprs around the zarch optimized routines.
20100 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20101 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20102 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20105 2012-09-05 David S. Miller <davem@davemloft.net>
20107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20109 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20110 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20111 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20112 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20115 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20117 * malloc/arena.c: Fold copyright years.
20118 * malloc/mcheck.c, malloc/memusage.c: Likewise.
20120 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20122 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20124 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20126 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
20128 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20131 change internal state upon failure.
20133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
20135 * malloc/mcheck.c (mcheck_check_all): Fix typo.
20136 * malloc/memusage.c (mmap): Likewise.
20137 (mmap64, mremap): Likewise. Adjust name in comment.
20139 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20141 * libio/fileops.c: Fix typos in comments.
20142 * libio/oldfileops.c: Likewise.
20143 * libio/wfileops.c: Likewise.
20145 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20148 * malloc/Makefile (tests): Add tst-malloc-usable test case.
20149 (tst-malloc-usable-ENV): Set environment for test case.
20150 * malloc/hooks.c (malloc_check_get_size): New function to get
20152 * malloc/malloc.c (musable): Use malloc_check_get_size.
20153 * malloc/tst-malloc-usable.c: New test case.
20155 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20157 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20159 2012-09-05 Allan McRae <allan@archlinux.org>
20162 * configure.in (CXX_SYSINCLUDES): Use compiler output to
20163 determine header location.
20164 * configure: Regenerated.
20166 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
20168 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20170 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20171 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20173 (test): Regenerate.
20175 2012-09-04 David S. Miller <davem@davemloft.net>
20177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20179 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20181 2012-09-04 Florian Weimer <fweimer@redhat.com>
20183 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20186 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20188 2012-09-04 Joseph Myers <joseph@codesourcery.com>
20191 * libio/iogetdelim.c: Include <limits.h>.
20192 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20193 + len + 1 would overflow.
20195 2012-09-03 Andreas Jaeger <aj@suse.de>
20197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20198 * sysdeps/i386/fpu/libm-test-ulps: Update.
20200 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20202 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20203 Add s_sinf-sse2, s_conf-sse2.
20205 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20206 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20207 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20208 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20210 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20211 for using routine as __sinf_ia32.
20212 Use macro for function declaration and weak_alias.
20213 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20214 for using routine as __cosf_ia32.
20215 Use macro for function declaration and weak_alias.
20217 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20218 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20220 * sysdeps/x86_64/fpu/s_sinf.S: New file.
20221 * sysdeps/x86_64/fpu/s_cosf.S: New file.
20222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20224 * math/libm-test.inc (cos_test): Add more test cases.
20225 (sin_test): Likewise.
20226 (sincos_test): Likewise.
20228 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20230 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20231 (IFUNC_RESOLVE): Make pointers to the specialized implementations
20233 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20235 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
20238 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20239 first element of the GOT.
20240 (elf_machine_load_address): Return the difference between
20241 the runtime address of _DYNAMIC and elf_machine_dynamic ().
20243 2012-09-01 Allan McRae <allan@archlinux.org>
20246 * configure.in (AWK): Require gawk version 3.0 or later.
20247 * configure: Regenerated.
20249 2012-09-01 Joseph Myers <joseph@codesourcery.com>
20251 * sysdeps/unix/sysv/linux/kernel-features.h
20252 (__ASSUME_POSIX_CPU_TIMERS): Remove.
20253 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20254 [__NR_clock_getres]: Make code unconditional.
20255 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20256 (clock_getcpuclockid): Remove code left unreachable by removal of
20258 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20259 code unconditional.
20260 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20261 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20262 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20263 Make code unconditional.
20264 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20265 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20266 * sysdeps/unix/sysv/linux/clock_settime.c
20267 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20269 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20270 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20272 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
20275 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20276 scripts/test-installation.pl.
20278 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20279 and $ld_so_version if it is set.
20281 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20284 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20285 failure if reading from procfs failed.
20286 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20288 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20290 * sysdeps/unix/sysv/linux/kernel-features.h
20291 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20292 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20293 Remove conditional code.
20294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20295 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20296 Remove conditional code.
20297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20298 * sysdeps/unix/sysv/linux/i386/fxstat.c
20299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20301 * sysdeps/unix/sysv/linux/i386/fxstatat.c
20302 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20304 * sysdeps/unix/sysv/linux/i386/lxstat.c
20305 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20307 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20308 Remove conditional code.
20309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20310 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20311 Remove conditional code.
20312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20313 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20314 <kernel-features.h>.
20315 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20317 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20318 Remove conditional code.
20319 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20320 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20321 Remove conditional.
20323 2012-08-27 Mike Frysinger <vapier@gentoo.org>
20326 * NEWS: Add fixed bug number.
20328 2012-08-27 Joseph Myers <joseph@codesourcery.com>
20331 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20332 underflowing exponent in case of negative sign.
20333 * stdlib/tst-strtod-round-data: Add more tests.
20334 * stdlib/tst-strtod-round.c (tests): Regenerated.
20337 * stdlib/strtod_l.c (NDIG): Remove.
20338 (HEXNDIG): Likewise.
20339 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20340 smallest representable value.
20341 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20342 lie within an exact representation of 1/2 ulp of the result.
20343 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20345 (TENS_P9_IDX): Define unconditionally.
20346 (TENS_P9_SIZE): Likewise.
20347 (TENS_P10_IDX): Likewise.
20348 (TENS_P10_SIZE): Likewise.
20349 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20350 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20351 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20352 entries for 10^2^13 and 10^2^14.
20353 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20354 (TENS_P13_IDX): Define.
20355 (TENS_P13_SIZE): Likewise.
20356 (TENS_P14_IDX): Likewise.
20357 (TENS_P14_SIZE): Likewise.
20358 (_fpioconst_pow10): Change array size to
20359 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
20361 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20362 1024]: Add entries for 10^2^13 and 10^2^14.
20363 [LAST_POW10 > _LAST_POW10]: Remove #error.
20364 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20365 (_fpioconst_pow10): Change array size to
20366 FPIOCONST_POW10_ARRAY_SIZE.
20367 * stdlib/gen-fpioconst.c: New file.
20368 * stdlib/gen-tst-strtod-round.c: Likewise.
20369 * stdlib/tst-strtod-round-data: Likewise.
20370 * stdlib/tst-strtod-round.c: Likewise.
20371 * stdlib/Makefile (tests): Add tst-strtod-round.
20374 * stdlib/strtod_l.c: Include <stdint.h>.
20375 (NDEBUG): Do not define.
20376 (round_and_return): Change EXPONENT parameter to type intmax_t.
20377 Rearrange calculations to avoid internal overflow possibilities.
20378 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20379 Rearrange calculations to avoid internal overflow possibilities.
20380 Assert that number fits inside MPNSIZE limbs.
20381 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20382 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
20383 calculations and add assertions to avoid internal overflow
20384 possibilities. Add casts to avoid signed/unsigned operations.
20385 * stdlib/tst-strtod-overflow.c: New file.
20386 * stdlib/Makefile (tests): Add tst-strtod-overflow.
20388 2012-08-25 Marek Polacek <polacek@redhat.com>
20390 * time/time.h: Fix some typos in comments.
20392 2012-08-23 Roland McGrath <roland@hack.frob.com>
20394 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20395 * posix/tst-rfc3484-2.c: Likewise.
20396 * posix/tst-rfc3484-3.c: Likewise.
20398 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
20400 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20401 (EF_ARM_ABI_FLOAT_HARD): Likewise.
20403 2012-08-23 Joseph Myers <joseph@codesourcery.com>
20405 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20406 #include of fxstatat64.c.
20408 2012-08-22 Roland McGrath <roland@hack.frob.com>
20410 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20411 * shadow/getspent_r.c: Likewise.
20412 * shadow/getspnam.c: Likewise.
20413 * shadow/getspnam_r.c: Likewise.
20414 * gshadow/getsgent.c: Likewise.
20415 * gshadow/getsgent_r.c: Likewise.
20416 * gshadow/getsgnam.c: Likewise.
20417 * gshadow/getsgnam_r.c: Likewise.
20418 * inet/getnetbyad.c: Likewise.
20419 * inet/getnetbyad_r.c: Likewise.
20420 * inet/getnetbynm.c: Likewise.
20421 * inet/getnetbynm_r.c: Likewise.
20422 * inet/getnetent.c: Likewise.
20423 * inet/getnetent_r.c: Likewise.
20424 * inet/getproto.c: Likewise.
20425 * inet/getproto_r.c: Likewise.
20426 * inet/getprtent.c: Likewise.
20427 * inet/getprtent_r.c: Likewise.
20428 * inet/getprtname.c: Likewise.
20429 * inet/getprtname_r.c: Likewise.
20430 * inet/getrpcbyname.c: Likewise.
20431 * inet/getrpcbyname_r.c: Likewise.
20432 * inet/getrpcbynumber.c: Likewise.
20433 * inet/getrpcbynumber_r.c: Likewise.
20434 * inet/getrpcent.c: Likewise.
20435 * inet/getrpcent_r.c: Likewise.
20436 * inet/getaliasent.c: Likewise.
20437 * inet/getaliasent_r.c: Likewise.
20438 * inet/getaliasname.c: Likewise.
20439 * inet/getaliasname_r.c: Likewise.
20440 * nscd/getgrgid_r.c: Likewise.
20441 * nscd/getgrnam_r.c: Likewise.
20442 * nscd/gethstbyad_r.c: Likewise.
20443 * nscd/gethstbynm3_r.c: Likewise.
20444 * nscd/getpwnam_r.c: Likewise.
20445 * nscd/getpwuid_r.c: Likewise.
20446 * nscd/getsrvbynm_r.c: Likewise.
20447 * nscd/getsrvbypt_r.c: Likewise.
20448 * nscd/gai.c: Likewise.
20450 * configure.in (build_nscd): New substituted variable, set
20451 by --disable-build-nscd and defaults to $use_nscd.
20452 * configure: Regenerated.
20453 * config.make.in (build-nscd): New substituted variable.
20454 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20455 Change conditional to require [$(build-nscd) = yes] as well.
20456 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20459 * configure.in (use_nscd): New substituted variable, set by
20460 --disable-nscd. If enabled, define USE_NSCD.
20461 * configure: Regenerated.
20462 * config.h.in: Add USE_NSCD.
20463 * config.make.in (use-nscd): New substituted variable.
20464 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20465 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20466 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20467 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20468 (CFLAGS-getgrnam_r.c): Likewise.
20469 (CFLAGS-initgroups.c): Likewise.
20470 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20471 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20473 * inet/getnetgrent_r.c
20474 (nscd_setnetgrent): New function, broken out of ...
20475 (setnetgrent): ... here. Call it.
20476 (innetgr): Conditionalize nscd bits on [USE_NSCD].
20477 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20478 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20479 * nscd/Makefile (routines, aux): Move definitions after include of
20480 Makeconfig. Conditionalize on [$(use-nscd) != no].
20481 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20482 Conditionalize on [USE_NSCD].
20483 (is_nscd, nscd_init_cb): Likewise.
20484 (nss_load_library): Conditionalize init callback on [USE_NSCD].
20485 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20486 * nss/nss_db/db-init.c: Likewise.
20487 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20489 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20490 (make_request): Use it.
20491 (cache_valid_p): New function.
20492 (__check_pf): Use it.
20493 * NEWS: Add item for --disable-nscd.
20495 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
20497 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20498 to support sed >= 4.2.1-20-ga9bf076.
20499 * configure: Regenerated.
20501 2012-08-22 Roland McGrath <roland@hack.frob.com>
20503 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20504 Conditionalize whole body on [IREL].
20506 2012-08-22 Jeff Law <law@redhat.com>
20509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20510 if the family is PF_UNSPEC.
20512 2012-08-22 Mike Frysinger <vapier@gentoo.org>
20514 * Makerules (lib-version): Rename from V.
20515 (install-lib-nosubdir): Change V to lib-version.
20517 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
20520 * powerpc32/power6/wcschr.c: New file.
20521 * powerpc32/power6/wcscpy.c: New file.
20522 * powerpc32/power6/wcsrchr.c: New file.
20523 * powerpc64/power6/wcschr.c: New file.
20524 * powerpc64/power6/wcscpy.c: New file.
20525 * powerpc64/power6/wcsrchr.c: New file.
20527 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20529 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20530 (two_way_short_needle): Use it.
20531 * string/strstr.c (AVAILABLE1_USES_J): Define.
20532 * string/strcasestr.c: Likewise.
20534 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20536 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20539 * NEWS: Add an entry.
20540 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20541 define their defaults.
20542 (two_way_short_needle): Detect end-of-string on-the-fly.
20543 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20544 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20545 * string/bug-strcasestr1.c: New test.
20546 * string/Makefile: Run it.
20548 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20551 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20552 the first character.
20554 2012-08-21 Roland McGrath <roland@hack.frob.com>
20556 * csu/elf-init.c (__libc_csu_irel): Function removed.
20557 * csu/libc-start.c (apply_irel): New function.
20558 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20560 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20562 * sysdeps/unix/sysv/linux/kernel-features.h
20563 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20564 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20565 <kernel-features.h>.
20566 [__NR_fadvise64_64]: Make code unconditional.
20567 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20568 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20569 !__NR_fadvise64_64)]: Likewise.
20570 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20571 !__NR_fadvise64_64))]: Likewise.
20572 [__NR_fadvise64]: Make code unconditional.
20573 [!__NR_fadvise64]: Remove conditional code.
20574 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20575 <kernel-features.h>.
20576 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20578 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20581 not include <kernel-features.h>.
20582 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20584 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20586 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20587 include <kernel-features.h>.
20588 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20590 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20593 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20595 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20596 slight instruction rearrangements per scrollpipe analysis.
20597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20599 2012-08-20 Roland McGrath <roland@hack.frob.com>
20601 * manual/syslog.texi (syslog; vsyslog, closelog):
20602 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20603 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20605 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20606 DSOCAPS to match condition on defining it.
20608 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20610 * sysdeps/unix/sysv/linux/kernel-features.h
20611 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20616 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20617 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20619 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20620 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20622 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20623 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20625 * sysdeps/unix/sysv/linux/kernel-features.h
20626 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20627 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20629 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20630 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20631 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20632 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20633 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20634 Make code unconditional.
20635 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20636 (__mmap64) [!__NR_mmap2]: Likewise.
20637 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20638 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20639 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20640 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20641 [__NR_mmap2]: Make code unconditional.
20642 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20643 (__mmap64) [!__NR_mmap2]: Likewise.
20645 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20647 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20649 2012-08-18 Andreas Jaeger <aj@suse.de>
20651 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20653 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20655 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20656 * include/unistd.h (__have_sock_cloexec): Likewise.
20657 (__have_pipe2): Likewise.
20658 (__have_dup3): Likewise.
20660 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20663 * include/unistd.h (__have_pipe2): Change define into an extern int.
20664 (__have_dup3): Likewise.
20665 * socket/have_sock_cloexec.c: Include fcntl.h.
20666 (__have_pipe2): New variable.
20667 (__have_dup3): Likewise.
20669 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20671 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20673 2012-08-17 Marek Polacek <polacek@redhat.com>
20675 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20676 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20678 2012-08-17 Roland McGrath <roland@hack.frob.com>
20680 * configure.in: Add AC_SUBST for sysheaders.
20681 * configure: Regenerated.
20682 * config.make.in (sysheaders): New substituted variable.
20684 * sysdeps/unix/mkfifo.c: Moved ...
20685 * sysdeps/posix/mkfifo.c: ... here.
20686 * sysdeps/unix/mkfifoat.c: Moved ...
20687 * sysdeps/posix/mkfifoat.c: ... here.
20689 * sysdeps/unix/utime.c: Moved ...
20690 * sysdeps/posix/utime.c: ... here.
20692 * sysdeps/unix/time.c: Moved ...
20693 * sysdeps/posix/time.c: ... here.
20694 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20695 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20697 * sysdeps/unix/nice.c: Moved ...
20698 * sysdeps/posix/nice.c: ... here.
20700 * sysdeps/unix/alarm.c: Moved ...
20701 * sysdeps/posix/alarm.c: ... here.
20703 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20705 2012-08-17 Jeff Law <law@redhat.com>
20707 * intl/Makefile (codeset_mo): New variable.
20708 ($(codeset_mo)): New target.
20709 (tst-codeset.out): Depend on that. Remove explicit rule.
20710 (tst-gettext3.out, tst-gettext5.out): Likewise.
20711 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20712 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20713 * intl/tst-codeset.sh: Remove.
20714 * intl/tst-gettext3.sh: Likewise.
20715 * intl/tst-gettext5.sh: Likewise.
20717 2012-08-17 Roland McGrath <roland@hack.frob.com>
20719 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20720 * sysdeps/unix/syscalls.list: ... here.
20722 * sysdeps/posix/getaddrinfo.c
20723 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20724 (gaiconf_init, gaiconf_reload): Use them.
20725 [!_STATBUF_ST_NSEC]
20726 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20727 Define using time_t rather than struct timespec.
20729 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20730 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20732 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20734 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20735 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20738 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20739 __libc_cleanup_push argument.
20741 * bits/param.h: New file.
20742 * misc/sys/param.h: New file.
20743 * include/sys/param.h: New file.
20744 * misc/Makefile (headers): Add bits/param.h.
20745 * sysdeps/generic/sys/param.h: File removed.
20746 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20747 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20748 * sysdeps/mach/hurd/bits/param.h: New file.
20749 * sysdeps/mach/hurd/sys/param.h: File removed.
20751 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20754 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20756 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20757 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20760 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20761 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20762 rather than -D_IO_MTSAFE_IO conditionally.
20763 * stdio-common/Makefile (CPPFLAGS): Likewise.
20764 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20765 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20766 Use $(libio-mtsafe).
20767 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20768 of -D_IO_MTSAFE_IO.
20769 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20770 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20771 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20772 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20773 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20774 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20775 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20776 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20777 (CFLAGS-fread_u_chk.c): Likewise.
20778 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20779 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20780 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20781 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20782 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20783 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20784 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20785 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20786 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20788 * libio/Makefile: Test [$(libc-reentrant) = yes]
20789 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20792 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20793 * sysdeps/pthread/configure: File removed.
20794 * sysdeps/pthread/Makeconfig: New file.
20795 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20796 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20798 2012-08-16 Gary Benson <gbenson@redhat.com>
20800 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20801 unmapping the first object in a namespace.
20803 2012-08-16 Roland McGrath <roland@hack.frob.com>
20805 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20806 (__internal_setnetgrent): ... this. Add internal_function to
20807 definition. Add libc_hidden_def.
20808 (setnetgrent): Update caller.
20809 (internal_endnetgrent): Renamed to ...
20810 (__internal_endnetgrent): ... this. Add internal_function to
20811 definition. Add libc_hidden_def.
20812 (endnetgrent): Update caller.
20813 (internal_getnetgrent_r): Renamed to ...
20814 (__internal_getnetgrent_r): ... this. Add internal_function to
20815 definition. Add libc_hidden_def.
20816 (__getnetgrent_r): Update caller.
20817 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20819 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20821 * stdlib/longlong.h: Update from GCC.
20823 2012-08-16 Roland McGrath <roland@hack.frob.com>
20825 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20826 on _QL, which is set by umul_ppmm but never used.
20827 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20828 variables, which are set by GMP macros but never used.
20829 * stdio-common/_itowa.c (_itowa): Likewise.
20830 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20831 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20833 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20835 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20836 struct La_sh_regs is not constant.
20837 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20838 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20839 and struct La_sparc64_regs are not constant.
20841 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20843 * sysdeps/unix/sysv/linux/kernel-features.h
20844 (__ASSUME_POSIX_TIMERS): Remove.
20845 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20847 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20848 Make code unconditional.
20849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20850 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20851 Make code unconditional.
20852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20853 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20854 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20856 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20857 Make code unconditional.
20858 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20859 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20860 (__libc_missing_posix_timers): Remove.
20862 2012-08-15 Roland McGrath <roland@hack.frob.com>
20864 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20865 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20867 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20869 * elf/dl-sym.c: Include <stdlib.h>.
20871 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20872 constants, which avoids warnings in 32-bit builds.
20874 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20875 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20877 * misc/lseek.c: File moved to ...
20878 * io/lseek.c: ... here.
20880 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20882 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20883 shifting LEN more than 31 bits at once.
20885 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20888 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20889 segmentation fault for a case of two empty input strings.
20890 * string/test-strncasecmp.c (check1): Renamed to...
20891 (bz12205): ...this.
20892 (bz14195): Add new testcase for two empty input strings and N > 0.
20893 (test_main): Call new testcase, adapt for renamed function.
20895 2012-08-15 Andreas Jaeger <aj@suse.de>
20898 * crypt/md5test2.c: New test, based on test supplied by Serge
20899 Belyshev <belyshev@depni.sinp.msu.ru>.
20900 * crypt/Makefile (xtests): Add md5test-giant..
20901 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20903 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20906 * crypt/md5.c (md5_process_block): Don't assume the buffer
20907 length is less than 2**32.
20908 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20909 length is less than 2**64.
20911 2012-08-15 Roland McGrath <roland@hack.frob.com>
20913 * string/str-two-way.h: Include <sys/param.h>.
20914 (MAX): Macro removed.
20916 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20917 Move #define and #undef of memmove to just before and after
20918 including <string.h>.
20920 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20921 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20922 and after including <string.h>. Move declarations of
20923 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20924 to before #include "string/memmove.c".
20926 * include/dirent.h: Declare __getdirentries.
20928 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20929 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20931 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20933 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20934 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20935 * sysdeps/i386/configure: Regenerated.
20936 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20937 STABS_CURRENT_FILE, and STABS_FUN.
20938 (END): Remove call to STABS_FUN_END.
20939 (STABS_CURRENT_FILE1): Delete.
20940 (STABS_CURRENT_FILE): Likewise.
20941 (STABS_FUN): Likewise.
20942 (STABS_FUN_END): Likewise.
20943 (STABS_FUN2): Likewise.
20944 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20945 * sysdeps/x86_64/configure: Regenerated.
20947 2012-08-14 Roland McGrath <roland@hack.frob.com>
20949 * elf/dl-open.c: Include <atomic.h>.
20950 * elf/dl-lookup.c: Likewise.
20952 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20954 * sysdeps/unix/sysv/linux/kernel-features.h
20955 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20956 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20958 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20960 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20961 condition on __ASSUME_CLONE_THREAD_FLAGS.
20963 2012-08-14 Andreas Jaeger <aj@suse.de>
20965 * sysdeps/i386/fpu/libm-test-ulps: Update.
20967 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20969 * include/atomic.h (atomic_exchange_and_add): Split into ...
20970 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20973 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20977 2012-08-13 Jeff Law <law@redhat.com>
20979 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20980 null byte in the output string.
20982 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20984 * sysdeps/unix/sysv/linux/kernel-features.h
20985 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20986 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20987 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20988 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20989 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20990 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20991 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20993 2012-08-09 Jeff Law <law@redhat.com>
20996 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20997 When avoid_arena is set, don't retry in the that arena. Pick the
20998 next one, whatever it might be.
20999 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
21000 (arena_lock): Pass in new parameter to arena_get2.
21001 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
21003 (__libc_malloc): Unify retrying after main arena failure with
21004 __libc_memalign version.
21005 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
21007 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
21010 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
21011 to __redirect_strstr.
21012 (__strstr_sse42): Use typeof __redirect_strstr.
21013 (__strstr_ia32): Likewise.
21014 (__libc_strstr): New prototype.
21015 (strstr): Renamed to ...
21016 (__libc_strstr): This.
21017 (strstr): New strong alias of __libc_strstr.
21018 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21019 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21022 (__libc_time): New prototype.
21023 (time_ifunc): Replace time with __libc_time.
21024 (time): New strong alias and hidden definition of __libc_time.
21025 (__GI_time): Remove strong alias.
21026 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21027 Include <stddef.h>.
21028 (memmove): Redefined to __redirect_memmove.
21029 (__memmove_sse2): Use typeof __redirect_memmove.
21030 (__memmove_ssse3): Likewise.
21031 (__memmove_ssse3_back): Likewise.
21032 (__libc_memmove): New prototype.
21033 (memmove): Renamed to ...
21034 (__libc_memmove): This.
21035 (memmove): New strong alias of __libc_memmove.
21037 2012-08-08 Mark Salter <msalter@redhat.com>
21040 (R_MN10300_TLS_GD): Define.
21041 (R_MN10300_TLS_LD): Likewise.
21042 (R_MN10300_TLS_LDO): Likewise.
21043 (R_MN10300_TLS_GOTIE): Likewise.
21044 (R_MN10300_TLS_IE): Likewise.
21045 (R_MN10300_TLS_LE): Likewise.
21046 (R_MN10300_TLS_DTPMOD): Likewise.
21047 (R_MN10300_TLS_DTPOFF): Likewise.
21048 (R_MN10300_TLS_TPOFF): Likewise.
21049 (R_MN10300_SYM_DIFF): Likewise.
21050 (R_MN10300_ALIGN): Likewise.
21051 (R_MN10300_NUM): Update.
21053 2012-08-08 Joseph Myers <joseph@codesourcery.com>
21055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21058 2012-08-08 Roland McGrath <roland@hack.frob.com>
21060 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21062 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21063 sysdeps/unix -> sysdeps/posix move.
21064 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21066 2012-08-07 Allan McRae <allan@archlinux.org>
21069 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21070 (SUNOS_CPP): Likewise.
21071 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21073 (open_input): Call CPP using execvp.
21075 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21077 * sysdeps/unix/sysv/linux/kernel-features.h
21078 (__ASSUME_PROT_GROWSUPDOWN): Remove.
21079 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21080 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21081 (__ASSUME_WAITID_SYSCALL): Likewise.
21082 * sysdeps/unix/sysv/linux/dl-execstack.c
21083 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21084 code unconditional.
21085 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21087 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21088 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21089 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21091 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21093 [__ASSUME_WAITID_SYSCALL]: Likewise.
21094 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21096 2012-08-07 Roland McGrath <roland@hack.frob.com>
21098 * sysdeps/unix/closedir.c: Renamed to ...
21099 * sysdeps/posix/closedir.c: ... here.
21100 * sysdeps/unix/dirfd.c: Renamed to ...
21101 * sysdeps/posix/dirfd.c: ... here.
21102 * sysdeps/unix/dirstream.h: Renamed to ...
21103 * sysdeps/posix/dirstream.h: ... here.
21104 * sysdeps/unix/fdopendir.c: Renamed to ...
21105 * sysdeps/posix/fdopendir.c: ... here.
21106 * sysdeps/unix/opendir.c: Renamed to ...
21107 * sysdeps/posix/opendir.c: ... here.
21108 * sysdeps/unix/readdir.c: Renamed to ...
21109 * sysdeps/posix/readdir.c: ... here.
21110 * sysdeps/unix/readdir_r.c: Renamed to ...
21111 * sysdeps/posix/readdir_r.c: ... here.
21112 * sysdeps/unix/rewinddir.c: Renamed to ...
21113 * sysdeps/posix/rewinddir.c: ... here.
21114 * sysdeps/unix/seekdir.c: Renamed to ...
21115 * sysdeps/posix/seekdir.c: ... here.
21116 * sysdeps/unix/telldir.c: Renamed to ...
21117 * sysdeps/posix/telldir.c: ... here.
21118 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21119 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21120 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21121 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21123 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21124 * bits/fcntl.h: ... here.
21126 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21128 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21129 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21130 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21131 (struct flock): Move l_start, l_len to the beginning.
21132 Use __pid_t for l_pid.
21133 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21134 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21135 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21136 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21137 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21138 [__USE_LARGEFILE64] (struct flock64): New type.
21139 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21141 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21142 * bits/dirent.h: ... here.
21144 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21145 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21147 2012-08-07 Joseph Myers <joseph@codesourcery.com>
21149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21150 Change from 2.6.0 to 2.6.16.
21151 * sysdeps/unix/sysv/linux/configure: Regenerated.
21152 * sysdeps/unix/sysv/linux/kernel-features.h
21153 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21154 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21156 (__ASSUME_UTIMES): Likewise.
21157 (__ASSUME_CLONE_STOPPED): Remove.
21158 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21159 architectures, not kernel version.
21160 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21161 (__ASSUME_NO_CLONE_DETACHED): Likewise.
21162 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21163 (__ASSUME_WAITID_SYSCALL): Likewise.
21164 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21165 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21166 * README: State 2.6.16 as minimum Linux kernel version. Do not
21167 refer to older versions.
21169 2012-08-06 Roland McGrath <roland@hack.frob.com>
21171 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21172 Define alphasort64 as an alias.
21173 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21174 Define versionsort64 as an alias.
21175 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21176 Define scandir64 as an alias.
21177 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21178 Define scandirat64 as an alias.
21179 * dirent/alphasort64.c (alphasort64):
21180 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21181 * dirent/versionsort64.c: Likewise.
21182 * dirent/scandir64.c: Likewise.
21183 * dirent/scandirat64.c: Likewise.
21184 * sysdeps/wordsize-64/alphasort.c: File removed.
21185 * sysdeps/wordsize-64/alphasort64.c: File removed.
21186 * sysdeps/wordsize-64/scandir.c: File removed.
21187 * sysdeps/wordsize-64/scandir64.c: File removed.
21188 * sysdeps/wordsize-64/scandirat.c: File removed.
21189 * sysdeps/wordsize-64/scandirat64.c: File removed.
21190 * sysdeps/wordsize-64/versionsort.c: File removed.
21191 * sysdeps/wordsize-64/versionsort64.c: File removed.
21192 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21193 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21194 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21196 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21199 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21201 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21203 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21204 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21205 [defined __arch64__ || defined __sparcv9]
21206 (__INO_T_MATCHES_INO64_T): New macro.
21207 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21208 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21209 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21210 * sysdeps/unix/sysv/linux/bits/dirent.h
21211 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21212 (_DIRENT_MATCHES_DIRENT64): New macro.
21214 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21215 Define lockf64 as an alias.
21216 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21217 Define fseeko64 as an alias.
21218 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21219 Define ftello64 as an alias.
21220 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21221 Define _IO_fgetpos64 and fgetpos64 as aliases.
21222 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21223 Define _IO_fsetpos64 and fsetpos64 as aliases.
21224 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21225 Conditionalize body on this.
21226 * libio/fseeko64.c: Likewise.
21227 * libio/ftello64.c: Likewise.
21228 * libio/iofgetpos64.c: Likewise.
21229 * libio/iofsetpos64.c: Likewise.
21230 * sysdeps/wordsize-64/lockf.c: File removed.
21231 * sysdeps/wordsize-64/lockf64.c: File removed.
21232 * sysdeps/wordsize-64/fseeko.c: File removed.
21233 * sysdeps/wordsize-64/fseeko64.c: File removed.
21234 * sysdeps/wordsize-64/ftello.c: File removed.
21235 * sysdeps/wordsize-64/ftello64.c: File removed.
21236 * sysdeps/wordsize-64/iofgetpos.c: File removed.
21237 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21238 * sysdeps/wordsize-64/iofsetpos.c: File removed.
21239 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21240 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21242 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21243 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21244 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21245 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21248 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21249 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21251 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21252 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21253 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21254 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21255 [defined __arch64__ || defined __sparcv9]
21256 (__OFF_T_MATCHES_OFF64_T): New macro.
21257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21258 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21259 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21260 (__OFF_T_MATCHES_OFF64_T): New macro.
21262 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21264 * stdlib/secure-getenv.c (__secure_getenv): Replace
21265 GLIBC_2_16 with GLIBC_2_17.
21267 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
21269 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21270 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21272 2012-08-03 David S. Miller <davem@davemloft.net>
21274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21276 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21280 (__ASSUME_CORRECT_SI_PID): Likewise.
21281 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21282 (__ASSUME_TMPFS_NAME): Likewise.
21283 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21284 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21285 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21286 (HAVE_AUX_SECURE): Make definition unconditional.
21287 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21288 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21290 2012-08-03 Roland McGrath <roland@hack.frob.com>
21292 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21293 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21294 * sysdeps/mach/hurd/eloop-threshold.h: New file.
21295 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21296 __eloop_threshold instead of SYMLOOP_MAX.
21298 * sysdeps/generic/eloop-threshold.h: New file.
21299 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21301 * elf/chroot_canon.c (chroot_canon): Likewise.
21303 2012-08-03 Joseph Myers <joseph@codesourcery.com>
21306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21307 Change to 2.6.0 everywhere.
21308 * sysdeps/unix/sysv/linux/configure: Regenerated.
21309 * sysdeps/unix/sysv/linux/kernel-features.h
21310 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21311 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21313 (__ASSUME_POSIX_TIMERS): Define unconditionally.
21314 (__ASSUME_FUTEX_REQUEUE): Remove.
21315 (__ASSUME_STATFS64): Define unconditionally.
21316 (__ASSUME_AT_SECURE): Likewise.
21317 (__ASSUME_CORRECT_SI_PID): Likewise.
21318 (__ASSUME_TGKILL): Define without depending on kernel version for
21320 (__ASSUME_UTIMES): Likewise.
21321 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21323 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21324 (__ASSUME_TMPFS_NAME): Likewise.
21325 * README: Update reference to Linux kernel versions.
21327 2012-08-02 Marek Polacek <polacek@redhat.com>
21330 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
21331 libc_cv_asm_type_prefix with %.
21332 * configure: Regenerated.
21333 * include/libc-symbols.h: Remove comment about
21334 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21335 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21336 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21337 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21338 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21339 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21340 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21341 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21342 * elf/tst-unique2mod1.c: Likewise.
21343 * elf/tst-unique1mod2.c: Likewise.
21344 * elf/tst-unique1mod1.c: Likewise.
21345 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21346 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21347 Replace ASM_TYPE_DIRECTIVE with .type.
21348 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21349 * sysdeps/i386/sysdep.h: Likewise.
21350 * sysdeps/x86_64/sysdep.h: Likewise.
21351 * sysdeps/sh/sysdep.h: Likewise.
21352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21353 Do not define ASM_TYPE_DIRECTIVE.
21354 * sysdeps/powerpc/sysdep.h: Likewise.
21355 * sysdeps/powerpc/powerpc32/sysdep.h:
21356 Replace ASM_TYPE_DIRECTIVE with .type.
21357 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21358 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21359 * sysdeps/i386/fpu/e_powf.S: Likewise.
21360 * sysdeps/i386/fpu/e_expl.S: Likewise.
21361 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21362 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21363 * sysdeps/i386/fpu/e_pow.S: Likewise.
21364 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21365 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21366 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21367 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21368 * sysdeps/i386/fpu/e_log2.S: Likewise.
21369 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21371 * sysdeps/i386/fpu/e_powl.S: Likewise.
21372 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21373 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21374 * sysdeps/i386/fpu/e_logl.S: Likewise.
21375 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21376 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21377 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21378 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21379 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21380 * sysdeps/i386/fpu/e_log.S: Likewise.
21381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21382 * sysdeps/i386/fpu/e_logf.S: Likewise.
21383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21386 * sysdeps/i386/fpu/e_log10.S: Likewise.
21387 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21388 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21389 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21390 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21391 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21392 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21394 * sysdeps/i386/i686/strtok.S: Likewise.
21395 * sysdeps/i386/i386-mcount.S: Likewise.
21396 * sysdeps/i386/strtok.S: Likewise.
21397 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21398 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21399 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21400 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21401 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21406 * sysdeps/x86_64/_mcount.S: Likewise.
21407 * sysdeps/x86_64/strtok.S: Likewise.
21408 * sysdeps/sh/_mcount.S: Likewise.
21410 2012-08-01 Roland McGrath <roland@hack.frob.com>
21412 * libio/iofopen.c: Include <fcntl.h>.
21413 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21414 (_IO_fopen64, fopen64): Define as aliases.
21415 * libio/iofopen64.c: Include <fcntl.h>.
21416 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21417 Conditionalize body on this.
21418 * sysdeps/wordsize-64/iofopen.c: File removed.
21419 * sysdeps/wordsize-64/iofopen64.c: File removed.
21421 2012-08-01 Marek Polacek <polacek@redhat.com>
21423 * libc/Makeconfig: Use elf in place of binfmt-subdir.
21424 Use dlfcn directly instead of a variable.
21425 (binfmt-subdir): Do not define.
21428 2012-08-01 Joseph Myers <joseph@codesourcery.com>
21430 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21431 Remove all definitions.
21432 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21433 <kernel-features.h>.
21434 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21435 (miss_F_GETOWN_EX): Remove all definitions.
21436 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21438 [!__ASSUME_FCNTL64]: Remove conditional code.
21439 [__ASSUME_FCNTL64]: Make code unconditional.
21440 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21441 <kernel-features.h>.
21442 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21443 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21444 (lockf64) [__NR_fcntl64]: Make code unconditional.
21445 (lockf64) [__ASSUME_FCNTL64]: Likewise.
21447 * sysdeps/unix/sysv/linux/kernel-features.h
21448 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21449 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21450 Make code unconditional.
21451 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21452 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21454 [__NR_vfork]: Make code unconditional.
21455 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21456 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21458 [__NR_vfork]: Make code unconditional.
21459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21462 2012-08-01 Roland McGrath <roland@hack.frob.com>
21464 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21465 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21467 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21468 Define mkstemp64 as an alias.
21469 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21470 Define mkstemps64 as an alias.
21471 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21472 Define mkostemp64 as an alias.
21473 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21474 Define mkostemps64 as an alias.
21475 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21476 Conditionalize body on this.
21477 * misc/mkostemp64.c: Likewise.
21478 * misc/mkostemps64.c: Likewise.
21479 * misc/mkstemps64.c: Likewise.
21480 * sysdeps/wordsize-64/mkstemp64.c: File removed.
21481 * sysdeps/wordsize-64/mkostemp64.c: File removed.
21482 * sysdeps/wordsize-64/mkostemp.c: File removed.
21483 * sysdeps/wordsize-64/mkstemp.c: File removed.
21484 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21485 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21487 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21490 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21491 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21492 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21493 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21495 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21496 compat_symbol macros from <shlib-compat.h> rather than the underlying
21497 default_symbol_version and symbol_version macros, so that DEFAULT
21498 lines in shlib-versions are respected.
21499 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21501 2012-08-01 Florian Weimer <fweimer@redhat.com>
21503 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21504 Declare with warn_unused_result.
21505 (setgid, setregid, setegid, setresgid): Likewise.
21506 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21508 * WUR-REPORT: Remove set*id functions.
21510 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
21512 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21514 2012-07-31 Roland McGrath <roland@hack.frob.com>
21517 * include/sys/socket.h (__libc_accept, __libc_accept4):
21518 Add attribute_hidden.
21519 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21521 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21523 * inet/getnetgrent_r.c (setup): Likewise.
21525 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21527 2012-07-31 David S. Miller <davem@davemloft.net>
21529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21531 2012-07-31 Joseph Myers <joseph@codesourcery.com>
21534 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21535 value between 1.0 and 2.0 and smaller part has absolute value less
21537 * math/s_clog10.c (__clog10): Likewise.
21538 * math/s_clog10f.c (__clog10f): Likewise.
21539 * math/s_clog10l.c (__clog10l): Likewise.
21540 * math/s_clogf.c (__clogf): Likewise.
21541 * math/s_clogl.c (__clogl): Likewise.
21542 * math/libm-test.inc (clog_test): Add more tests.
21543 (clog10_test): Likewise.
21544 * sysdeps/i386/fpu/libm-test-ulps: Update.
21545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21547 2012-07-31 Florian Weimer <fweimer@redhat.com>
21549 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21550 Exit with zero in case no suitable GID is found, and write a
21551 message to standard error.
21553 2012-07-30 Roland McGrath <roland@hack.frob.com>
21555 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21557 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21558 (MAXPATHLEN): Removed.
21559 (NOGROUP, NODEV): New macros.
21560 (setbit, clrbit, isset, isclr): New macros.
21561 (howmany, roundup, powerof2): New macros.
21562 (DEV_BSIZE): New macro.
21564 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21565 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21567 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21568 definition on [!__NO_LONG_DOUBLE_MATH].
21570 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21571 PTR_MANGLE and PTR_DEMANGLE.
21573 * socket/accept4.c (accept4): Rename to __libc_accept4.
21574 Define accept4 as a weak alias.
21576 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21577 on [_DIRENT_HAVE_D_TYPE].
21578 * io/ftw.c (ftw_dir): Likewise.
21580 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21582 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21584 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21585 Use the BSD numbers rather than the arbitrary ones we had.
21586 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21587 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21588 (SIGXCPU, SIGXFSZ): New macros.
21591 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21592 initializer on [_LIBC_REENTRANT].
21594 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21595 definitions inside [_POSIX_MAPPED_FILES].
21597 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21599 * dirent/opendir.c: Include <fcntl.h>.
21601 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21602 (__libc_getspecific): Likewise.
21603 (__libc_key_create): Likewise.
21605 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21606 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21607 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21608 (tmpfile64): Define as alias.
21609 * sysdeps/wordsize-64/tmpfile.c: File removed.
21610 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21611 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21614 * stdio-common/vfscanf.c: Include <stdbool.h>.
21615 * nss/makedb.c: Likewise.
21616 * stdio-common/_i18n_number.h: Likewise.
21617 * argp/argp-help.c: Likewise.
21618 * posix/wordexp.c: Likewise.
21619 * sysdeps/posix/spawni.c: Likewise.
21620 * nss/nss_files/files-initgroups.c: Likewise.
21621 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21622 * nss/nss_files/files-initgroups.c: Likewise.
21623 * nss/nss_db/db-netgrp.c: Likewise.
21624 * nss/nss_db/db-initgroups.c: Likewise.
21625 * io/fchmodat.c: Include <sys/stat.h>.
21627 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21628 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21630 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21633 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21634 Add multiple inclusion protection.
21636 2012-07-27 David S. Miller <davem@davemloft.net>
21638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21640 2012-07-27 Gary Benson <gbenson@redhat.com>
21643 * elf/rtld.c: Include <stap-probe.h>.
21644 (dl_main): Added static probes "init_start" and "init_complete".
21645 * elf/dl-load.c: Include <stap-probe.h>.
21646 (lose): Take new parameter "nsid".
21647 Added static probe "map_failed".
21648 (_dl_map_object_from_fd): Pass namespace id to lose.
21649 Added static probe "map_start".
21650 (open_verify): Pass namespace id to lose.
21651 * elf/dl-open.c: Include <stap-probe.h>.
21652 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21653 and "reloc_complete".
21654 * elf/dl-close.c: Include <stap-probe.h>.
21655 (_dl_close_worker): Added static probes "unmap_start" and
21657 * elf/rtld-debugger-interface.txt: New file documenting the above.
21659 2012-07-26 Roland McGrath <roland@hack.frob.com>
21661 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21662 rather than a string variable.
21663 * sunrpc/rpc_main.c (h_output): Likewise.
21664 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21666 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21668 * inet/check_native.c: New file.
21670 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21673 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21674 if larger part has absolute value 1.0.
21675 * math/s_clog10.c (__clog10): Likewise.
21676 * math/s_clog10f.c (__clog10f): Likewise.
21677 * math/s_clog10l.c (__clog10l): Likewise.
21678 * math/s_clogf.c (__clogf): Likewise.
21679 * math/s_clogl.c (__clogl): Likewise.
21680 * math/libm-test.inc (clog_test): Add more tests.
21681 (clog10_test): Likewise.
21682 * sysdeps/i386/fpu/libm-test-ulps: Update.
21683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21685 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21686 (pltexit): Likewise.
21687 (La_regs): Likewise.
21688 (La_retval): Likewise.
21689 (int_retval): Likewise.
21690 Update #error for removed macros to refer only to definitions in
21692 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21694 (pltexit): Likewise.
21695 (La_regs): Likewise.
21696 (La_retval): Likewise.
21697 (int_retval): Likewise.
21698 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21700 (pltexit): Likewise.
21701 (La_regs): Likewise.
21702 (La_retval): Likewise.
21703 (int_retval): Likewise.
21704 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21706 (pltexit): Likewise.
21707 (La_regs): Likewise.
21708 (La_retval): Likewise.
21709 (int_retval): Likewise.
21710 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21712 (pltexit): Likewise.
21713 (La_regs): Likewise.
21714 (La_retval): Likewise.
21715 (int_retval): Likewise.
21716 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21718 (pltexit): Likewise.
21719 (La_regs): Likewise.
21720 (La_retval): Likewise.
21721 (int_retval): Likewise.
21722 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21724 (pltexit): Likewise.
21725 (La_regs): Likewise.
21726 (La_retval): Likewise.
21727 (int_retval): Likewise.
21728 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21729 macro definitions in tst-audit.h.
21730 * sysdeps/i386/tst-audit.h: New file.
21731 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21732 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21733 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21734 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21735 * sysdeps/sh/tst-audit.h: Likewise.
21736 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21737 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21738 * sysdeps/x86_64/tst-audit.h: Likewise.
21740 2012-07-26 Andreas Jaeger <aj@suse.de>
21742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21745 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21746 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21747 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21749 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21750 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21751 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21753 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21756 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21758 (si_call_addr, si_syscall, si_arch): Define new macro.
21759 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21761 (si_call_addr, si_syscall, si_arch): Define new marcro.
21762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21764 (si_call_addr, si_syscall, si_arch): Define new macro.
21765 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21767 (si_call_addr, si_syscall, si_arch): Define new macro.
21769 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21772 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21773 Change to 2.4.21 where previously 2.4.1.
21774 * sysdeps/unix/sysv/linux/configure: Regenerated.
21775 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21776 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21777 Linux kernel version.
21778 (__ASSUME_STD_AUXV): Remove.
21779 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21781 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21782 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21783 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21784 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21785 (__ASSUME_NETLINK_SUPPORT): Likewise.
21786 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21787 (__no_netlink_support): Remove conditional definition.
21788 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21790 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21791 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21792 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21793 (if_nameindex_ioctl): Remove.
21794 (if_nameindex_netlink): Do not handle __no_netlink_support.
21795 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21797 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21798 Remove conditional code.
21799 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21801 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21803 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21804 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21805 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21807 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21808 [!__ASSUME_STD_AUXV]: Remove conditional code.
21809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21810 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21811 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21813 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21814 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21816 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21818 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21819 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21821 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21823 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21826 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21829 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21830 code unconditional.
21831 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21833 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21835 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21838 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21840 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21843 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21844 code unconditional.
21845 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21847 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21849 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21852 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21853 code unconditional.
21854 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21856 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21858 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21861 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21863 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21864 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21865 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21866 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21867 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21868 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21869 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21870 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21871 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21872 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21873 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21874 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21875 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21876 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21877 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21878 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21879 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21880 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21881 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21882 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21883 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21884 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21885 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21887 2012-07-25 Florian Weimer <fweimer@redhat.com>
21889 * Versions.def: Add GLIBC_2.17.
21890 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21891 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21892 Introduce __libc_secure_getenv.
21893 * stdlib/Versions (2.17): Add secure_getenv
21894 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21895 * stdlib/secure-getenv.c: Rename __secure_getenv to
21896 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21897 symbol __secure_getenv for GLIBC_2.0.
21898 * stdlib/tst-secure-getenv.c: New.
21899 * stdlib/Makefile (tests): Add testcase.
21900 * manual/startup.texi (Environment Access): Document
21902 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21903 __libc_secure_getenv.
21904 * inet/ruserpass.c (ruserpass): Likewise.
21905 * malloc/mtrace.c (mtrace): Likewise.
21906 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21907 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21908 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21909 * sysdeps/posix/tempname.c: Likewise. Evaluate
21910 HAVE_SECURE_GETENV.
21911 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21912 __secure_getenv to __libc_secure_getenv.
21913 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21926 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21928 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21929 (struct La_i86_retval): Likewise.
21930 (struct La_x86_64_regs): Likewise.
21931 (struct La_x86_64_retval): Likewise.
21932 (struct La_x32_regs): Likewise.
21933 (struct La_x32_retval): Likewise.
21934 (struct La_ppc32_regs): Likewise.
21935 (struct La_ppc32_retval): Likewise.
21936 (struct La_ppc64_regs): Likewise.
21937 (struct La_ppc64_retval): Likewise.
21938 (struct La_sh_regs): Likewise.
21939 (struct La_sh_retval): Likewise.
21940 (struct La_s390_32_regs): Likewise.
21941 (struct La_s390_32_retval): Likewise.
21942 (struct La_s390_64_regs): Likewise.
21943 (struct La_s390_64_retval): Likewise.
21944 (struct La_sparc32_regs): Likewise.
21945 (struct La_sparc32_retval): Likewise.
21946 (struct La_sparc64_regs): Likewise.
21947 (struct La_sparc64_retval): Likewise.
21948 (struct audit_ifaces): Remove architecture-specific pltenter and
21950 * sysdeps/i386/ldsodefs.h: New file.
21951 * sysdeps/powerpc/ldsodefs.h: Likewise.
21952 * sysdeps/s390/ldsodefs.h: Likewise.
21953 * sysdeps/sh/ldsodefs.h: Likewise.
21954 * sysdeps/sparc/ldsodefs.h: Likewise.
21955 * sysdeps/x86_64/ldsodefs.h: Likewise.
21957 2012-07-25 Marek Polacek <polacek@redhat.com>
21960 * math/libm-test.inc (yn_test): Add another test.
21961 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21962 to ERANGE when the result is +-Inf.
21963 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21964 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21965 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21966 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21968 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21970 * conform/data/time.h-data (NULL): Use macro-constant. Require
21972 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21974 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21976 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21978 * configure.in <sysdeps resolving>: Correct printing
21980 * configure: Regenerate.
21982 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21984 * math/w_ilogb.c: Include <limits.h>.
21985 * math/w_ilogbl.c: Likewise.
21987 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21989 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21990 va_copy. Document allowing for unavailable va_copy only as
21991 pre-C99 compatibility.
21992 * manual/string.texi (Copying and Concatenation): Use va_copy
21993 instead of __va_copy in concat example.
21995 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21997 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21998 (__sendto): Use create_address_port. Initialize APORT and deallocate
22001 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
22002 with O_NOLINK passed to __file_name_lookup.
22004 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
22005 with O_NOLINK passed to __file_name_lookup.
22007 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
22008 negative N or less than NGIDS.
22010 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
22011 type to string_t. Set ERANGE as errno and return it if NAME is not big
22012 enough. Use memcpy instead of strncpy.
22014 2012-07-20 Joseph Myers <joseph@codesourcery.com>
22016 * elf/Makefile (check-data): Remove.
22017 (localplt.data): New vpath directive.
22018 ($(objpfx)check-localplt.out): Use localplt.data from vpath
22019 instead of $(check-data).
22020 * scripts/data/localplt-generic.data: Move to ...
22021 * sysdeps/generic/localplt.data: ... here.
22022 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22023 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22024 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22027 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22030 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22033 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22036 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22039 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22043 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22045 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22046 PPC32 and PPC64 files.
22047 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22048 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22050 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22052 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22053 __makecontext_ret to ...
22054 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22055 ... here and call exit if uc_link is NULL. New file.
22056 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22057 __makecontext_ret.S.
22058 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22059 __makecontext_ret to ...
22060 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22061 ... here and call exit if uc_link is NULL. New file.
22062 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22063 __makecontext_ret.S.
22065 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22067 * elf/elf.h (R_390_IRELATIVE): New definition.
22068 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22069 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
22070 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22071 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22072 (elf_machine_lazy_rel): Likewise.
22073 * sysdeps/s390/dl-irel.h: New file.
22074 * sysdeps/s390/s390-64/memcpy.S: New asm code.
22075 * sysdeps/s390/s390-64/memset.S: New asm code.
22076 * sysdeps/s390/s390-64/memcmp.S: New asm code.
22077 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22078 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22079 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22080 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22081 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22082 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22083 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22084 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22085 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22086 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22087 * sysdeps/s390/s390-32/memcpy.S: New asm code.
22088 * sysdeps/s390/s390-32/memset.S: New asm code.
22089 * sysdeps/s390/s390-32/memcmp.S: New asm code.
22091 2012-07-17 Marek Polacek <polacek@redhat.com>
22094 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22095 * sysdeps/s390/s390-64/configure.in: Likewise.
22096 * sysdeps/sparc/configure.in: Likewise.
22097 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22098 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22099 * sysdeps/i386/configure.in: Likewise.
22100 * sysdeps/x86_64/configure.in: Likewise.
22101 * sysdeps/sh/configure.in: Likewise.
22102 * sysdeps/s390/s390-32/configure: Regenerated.
22103 * sysdeps/s390/s390-64/configure: Likewise.
22104 * sysdeps/x86_64/configure: Likewise.
22105 * sysdeps/sh/configure: Likewise.
22106 * sysdeps/powerpc/powerpc64/configure: Likewise.
22107 * sysdeps/powerpc/powerpc32/configure: Likewise.
22108 * sysdeps/sparc/configure: Likwise.
22109 * sysdeps/i386/configure: Likewise.
22111 * elf/dl-open.c: Comment fixes.
22113 2012-07-17 Joseph Myers <joseph@codesourcery.com>
22115 * Makefile [CXX] (check-data): Remove.
22116 [CXX] (c++-types.data): New vpath directive.
22117 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22118 vpath. Do not allow for C++ type data being missing.
22119 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22120 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22121 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22122 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22123 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22124 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22125 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22128 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22131 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22134 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22137 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22140 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22143 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22146 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22149 * elf/tls-macros.h (TLS_LE): Move architecture-specific
22150 definitions to architecture-specific files.
22151 (TLS_IE): Likewise.
22152 (TLS_LD): Likewise.
22153 (TLS_GD): Likewise.
22154 * sysdeps/i386/tls-macros.h: New file.
22155 * sysdeps/powerpc/tls-macros.h: Likewise.
22156 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22157 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22158 * sysdeps/sh/tls-macros.h: Likewise.
22159 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22160 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22161 * sysdeps/x86_64/tls-macros.h: Likewise.
22163 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22165 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22166 zero value for regular exit case.
22168 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22169 (__start_context): Preserve zero value for regular exit case.
22171 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
22172 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22174 * manual/setjmp.texi (setcontext): Clarify normal process
22175 termination when uc_link is the null pointer.
22176 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22179 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
22181 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22182 preprocessor. Test for each exception mask separately.
22184 2012-07-16 Andreas Jaeger <aj@suse.de>
22186 * po/ru.po: Update from translation team.
22188 2012-07-15 Joseph Myers <joseph@codesourcery.com>
22190 * conform/data/string.h-data (NULL): Use macro-constant. Require
22192 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22193 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22194 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22195 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22198 2012-07-13 Andreas Jaeger <aj@suse.de>
22200 * po/fr.po: Update from translation team.
22202 2012-07-12 Marek Polacek <polacek@redhat.com>
22205 * math/libm-test.inc (yn_test): Add test for BZ #14173.
22206 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22209 2012-07-12 Joseph Myers <joseph@codesourcery.com>
22212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22213 Change to 2.4.1 where previously 2.4.0.
22214 * sysdeps/unix/sysv/linux/configure: Regenerated.
22215 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22216 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22218 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22219 (__ASSUME_AT_CLKTCK): Remove.
22220 (__ASSUME_AT_PAGESIZE): Likewise.
22221 (__ASSUME_AT_XID): Likewise.
22222 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22223 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22224 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22226 (HAVE_AUX_PAGESIZE): Likewise.
22227 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22228 [__ASSUME_AT_CLKTCK]: Make code unconditional.
22229 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22231 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
22234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22235 the temporary buffer used to invoke __gethostbyname2_r,
22236 __gethostbyaddr_r and gethostbyname4_r to make room for struct
22237 host_data / struct gaih_addrtuple.
22238 * resolv/nss_dns/dns-host.c (global scope): Move definition of
22239 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22240 header file nss/nsswitch.h.
22241 * nss/nsswitch.h (global scope): Add definition of implementation
22242 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22243 resolv/nss_dns/dns-host.c).
22245 2012-07-11 Andreas Jaeger <aj@suse.de>
22247 * po/fr.po: Update from translation team.
22249 * po/sv.po: Update from translation team
22250 * po/fr.po: Another update from translation team.
22252 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22255 for subnormals or multiply small sinh result by itself.
22256 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22259 2012-07-11 David S. Miller <davem@davemloft.net>
22261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22263 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
22266 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22267 (INTERNAL_MARK): Shift it here.
22269 2012-07-10 Marek Polacek <polacek@redhat.com>
22272 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
22273 libc_cv_asm_global_directive with .globl.
22274 * configure: Regenerated.
22275 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22277 * sysdeps/i386/configure: Regenerated.
22278 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22280 * sysdeps/x86_64/configure: Regenerated.
22281 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22282 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22283 * elf/tst-unique2mod2.c: Likewise.
22284 * elf/tst-unique2mod1.c: Likewise.
22285 * elf/tst-unique1mod2.c: Likewise.
22286 * elf/tst-unique1mod1.c: Likewise.
22287 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22288 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22289 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22290 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22291 * sysdeps/mach/sysdep.h: Likewise.
22292 * sysdeps/i386/sysdep.h: Likewise.
22293 * sysdeps/i386/i386-mcount.S: Likewise.
22294 * sysdeps/x86_64/_mcount.S: Likewise.
22295 * sysdeps/x86_64/sysdep.h: Likewise.
22296 * sysdeps/sh/_mcount.S: Likewise.
22297 * sysdeps/sh/sysdep.h: Likewise.
22298 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22299 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22300 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22301 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22302 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22303 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22304 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22305 * locale/localeinfo.h: Likewise.
22306 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22307 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22309 2012-07-09 Roland McGrath <roland@hack.frob.com>
22312 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22314 * manual/message.texi (The Uniforum approach): Likewise.
22315 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22316 (glibc iconv Implementation): Likewise.
22318 2012-07-09 Joseph Myers <joseph@codesourcery.com>
22321 * math/s_clog.c (__clog): Avoid scaling a value down where that
22322 could result in underflow.
22323 * math/s_clog10.c (__clog10): Likewise.
22324 * math/s_clog10f.c (__clog10f): Likewise.
22325 * math/s_clog10l.c (__clog10l): Likewise.
22326 * math/s_clogf.c (__clogf): Likewise.
22327 * math/s_clogl.c (__clogl): Likewise.
22328 * math/libm-test.inc (clog_test): Add more tests.
22329 (clog10_test): Likewise.
22330 * sysdeps/i386/fpu/libm-test-ulps: Update.
22331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22333 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
22336 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22337 by 7 not 8 to examine high bit of fractional part.
22340 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22341 for call to __mcount_internal.
22342 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22343 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22344 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22346 2012-07-06 Joseph Myers <joseph@codesourcery.com>
22349 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22350 approximation for values within 0x1p-13f of an odd multiple of
22352 * math/libm-test.inc (tan_test): Do not allow spurious underflow
22353 exception. Add more tests.
22354 * sysdeps/i386/fpu/libm-test-ulps: Update.
22357 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22358 inputs and return -1 for them. Do not check for +Inf in case not
22359 reachable for +Inf.
22360 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22361 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22362 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22363 and return -1 for them. Do not check for +Inf in case not
22364 reachable for +Inf.
22365 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22367 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22368 and return -1 for them. Do not check for +Inf in case not
22369 reachable for +Inf.
22370 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
22371 spurious underflow.
22372 * sysdeps/i386/fpu/libm-test-ulps: Update.
22373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22375 2012-07-06 Mike Frysinger <vapier@gentoo.org>
22377 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22379 2012-07-05 Joseph Myers <joseph@codesourcery.com>
22383 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22384 could result in spurious underflow. Scale down values above
22385 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22386 * math/s_csqrtf.c (__csqrtf): Likewise.
22387 * math/s_csqrtl.c (__csqrtl): Likewise.
22388 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
22389 spurious underflow.
22390 * sysdeps/i386/fpu/libm-test-ulps: Update.
22391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22393 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
22395 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22397 * catgets/xopen-msg.awk: New file.
22398 * catgets/xopen-msg.sed: Removed.
22400 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22402 * intl/po2test.awk: New file.
22403 * intl/po2test.sed: Removed.
22405 2012-07-04 Joseph Myers <joseph@codesourcery.com>
22408 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22409 or multiply small sinh result by itself.
22410 * math/s_ctanf.c (__ctanf): Likewise.
22411 * math/s_ctanh.c (__ctanh): Likewise.
22412 * math/s_ctanhf.c (__ctanhf): Likewise.
22413 * math/s_ctanhl.c (__ctanhl): Likewise.
22414 * math/s_ctanl.c (__ctanl): Likewise.
22415 * math/libm-test.inc (ctan_test_tonearest): New function.
22416 (ctan_test_towardzero): Likewise.
22417 (ctan_test_downward): Likewise.
22418 (ctan_test_upward): Likewise.
22419 (ctanh_test_tonearest): Likewise.
22420 (ctanh_test_towardzero): Likewise.
22421 (ctanh_test_downward): Likewise.
22422 (ctanh_test_upward): Likewise.
22423 (main): Call these new functions.
22424 * sysdeps/i386/fpu/libm-test-ulps: Update.
22425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22427 2012-07-03 Mike Frysinger <vapier@gentoo.org>
22429 * .gitignore: Delete /ports entry.
22431 2012-07-03 Andreas Jaeger <aj@suse.de>
22433 * po/bg.po: Update from translation team.
22434 * po/cs.po: Likewise.
22435 * po/de.po: Likewise.
22436 * po/hr.po: Likewise.
22437 * po/nl.pl: Likewise.
22438 * po/pl.po: Likewise.
22439 * po/vi.po: Likewise.
22441 2012-07-03 Joseph Myers <joseph@codesourcery.com>
22443 * Makeconfig [!+link] (+link-before-libc): New variable.
22444 [!+link] (+link-after-libc): Likewise.
22445 [!+link] (+link-tests): Likewise.
22446 [!+link] (+link): Define in terms of $(+link-before-libc) and
22447 $(+link-after-libc).
22448 [!+link-static] (+link-static-before-libc): New variable.
22449 [!+link-static] (+link-static-after-libc): Likewise.
22450 [!+link-static] (+link-static-tests): Likewise.
22451 [!+link-static] (+link-static): Define in terms of
22452 $(+link-static-before-libc) and $(+link-static-after-libc).
22453 [build-shared] (link-libc-before-gnulib): New variable.
22454 [build-shared] (link-libc-tests): Likewise.
22455 [build-shared] (link-libc): Define in terms of
22456 $(link-libc-before-gnulib).
22457 [!build-shared] (link-libc-tests): New variable.
22458 (link-libc-static-tests): New variable.
22459 [!gnulib] (gnulib-arch): New variable.
22460 [!gnulib] (gnulib-tests): Likewise.
22461 [!gnulib] (static-gnulib-arch): Likewise.
22462 [!gnulib] (static-gnulib-tests): Likewise.
22463 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
22464 Define with "=" instead of ":=".
22465 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
22466 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
22467 * Rules (binaries-all-notests): New variable.
22468 (binaries-all-tests): Likewise.
22469 (binaries-static-notests): Likewise.
22470 (binaries-static-tests): Likewise.
22471 (binaries-all): Define using $(binaries-all-notests) and
22472 $(binaries-all-tests).
22473 (binaries-static): Define using $(binaries-static-notests) and
22474 $(binaries-static-tests).
22475 (binaries-shared-tests): New variable.
22476 (binaries-shared-notests): Likewise.
22477 (binaries-shared): Remove variable.
22478 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22479 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22480 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22481 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22482 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22483 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22484 * elf/Makefile (sln-modules): New variable.
22485 (extra-objs): Add $(sln-modules:=.o).
22486 (ldconfig-modules): Add static-stubs.
22487 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22488 * elf/static-stubs.c: New file.
22491 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22492 by 7 not 8 to examine high bit of fractional part. Use volatile
22493 variables when splitting into final array of floats if
22494 __FLT_EVAL_METHOD__ != 0.
22495 * math/libm-test.inc (cos_test): Add another test.
22496 (sin_test): Likewise.
22497 * sysdeps/i386/fpu/libm-test-ulps: Update.
22500 * math/libm-test.inc (cosh_test): Add more tests.
22502 * version.h (RELEASE): Set to "development".
22503 (VERSION): Set to "2.16.90".
22505 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
22507 * NEWS: Update copyright. Remove last-updated date.
22508 Mention math library bug fixes and timezone data changes.
22509 * README: Mention GNU/Hurd, x32, and HPPA support status.
22511 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
22513 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22515 2012-06-27 Andreas Jaeger <aj@suse.de>
22517 * manual/contrib.texi (Contributors): Add Samuel Thibault.
22519 2012-06-25 Andreas Jaeger <aj@suse.de>
22521 * sysdeps/s390/fpu/libm-test-ulps: Update.
22523 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
22524 Thomas Schwinge <thomas@codesourcery.com>
22526 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22527 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22531 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
22533 * sysdeps/mach/start.c: Remove file.
22534 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22535 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22536 * sysdeps/sh/init-first.c: Likewise.
22538 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22539 registers for frame unwinding purposes, add CFI directives.
22540 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22541 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22542 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22545 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22546 __fortify_fail returning.
22547 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22549 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22550 sysdeps/sh/____longjmp_chk.S.
22551 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22552 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22553 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22554 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22556 * sysdeps/sh/abort-instr.h: New file.
22557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22558 process in case exit returns.
22560 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22561 initialize the GOT register before use.
22563 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22564 calculation of ARGC > 4.
22566 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22567 meaningful names to some local labels.
22569 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22570 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22572 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22573 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22574 (__arch_compare_and_exchange_val_16_acq): Likewise.
22575 (__arch_compare_and_exchange_val_32_acq): Likewise.
22576 (atomic_exchange_and_add): Fix gUSA sequence.
22577 (atomic_add): Likewise.
22578 (atomic_add_negative): Likewise.
22579 (atomic_add_zero): Likewise.
22580 (atomic_bit_test_set): Likewise.
22582 2012-06-22 Andreas Schwab <schwab@redhat.com>
22585 * include/link.h (struct link_map): Add l_free_initfini.
22586 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22588 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22589 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22590 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22593 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22595 * configure.in: Use AC_LANG_SOURCE.
22596 * configure: Regenerate.
22598 2012-06-22 Roland McGrath <roland@hack.frob.com>
22600 * configure.in (libc_cv_localstatedir): New substituted variable.
22601 * configure: Regenerated.
22602 * config.make.in (localstatedir): New variable, substituted from
22603 libc_cv_localstatedir.
22604 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22605 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22606 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22607 * sysdeps/gnu/configure: Regenerated.
22609 2012-06-21 Jeff Law <law@redhat.com>
22612 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22613 free. Simplify list management for _LIBC case.
22615 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22618 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22619 Clear sign bit of 64-bit integer value before comparing against
22622 * sysdeps/mach/configure: Regenerated.
22624 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22627 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22629 2012-06-21 Jeff Law <law@redhat.com>
22632 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22633 uint16_t for elements in the "seen" array to avoid char overflows.
22634 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22635 * elf/dl-open.c (dl_open_worker): Likewise.
22637 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22639 * scripts/list-sources.sh: Scan PORTS for translations.
22640 * po/libc.pot: Regenerated.
22642 2012-06-21 Andreas Jaeger <aj@suse.de>
22645 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22647 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22648 * bits/byteswap-16.h (__bswap_16): Likewise.
22649 * bits/byteswap.h (__bswap_constant_16): Likewise.
22651 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22654 * sysdeps/i386/fpu_control.h: Removed.
22655 * sysdeps/x86_64/fpu_control.h: Moved to ...
22656 * sysdeps/x86/fpu_control.h: Here.
22658 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22659 (_FPU_SETCW): Likewise.
22661 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22664 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22665 * sysdeps/x86/fpu/bits/mathinline.h: This.
22666 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22670 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22671 functions if __x86_64__ is defined.
22673 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22675 * string/endian.h: Add !__ASSEMBLER__ condition for including
22676 conversion interfaces.
22678 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22681 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22682 of ABS(x) in calculating zero to negative powers other than odd
22684 * math/libm-test.inc (pow_test): Add more tests.
22686 2012-06-15 Andreas Jaeger <aj@suse.de>
22688 * manual/contrib.texi (Contributors): Update entry of Liubov
22689 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22692 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22694 * string/string.h: Add __wur to GNU version of strerror_r.
22696 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22699 * string/Makefile (tests): Add tst-strtok_r.
22700 * string/tst-strtok_r.c: New file.
22701 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22702 RAX_LP/RDX_LP on SAVE_PTR.
22704 2012-06-14 Roland McGrath <roland@hack.frob.com>
22706 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22708 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22710 * libm_test.inc (csqrt_test): Allow more spurious underflow
22712 (j0_test): Likewise.
22713 (j1_test): Likewise.
22714 (y0_test): Likewise.
22715 (y1_test): Likewise.
22717 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22719 * po/Makefile (libc.pot): Use UTF-8 charset.
22721 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22724 Suppress sign-conversion warning from FD_SET.
22725 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22726 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22727 not unsigned long int.
22728 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22730 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22734 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22735 __extern_always_inline instead of __extern_inline.
22736 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22737 (__signbit): Likewise.
22738 (__signbitl): Support C++ namespace.
22739 (lrintf): New inline function.
22741 (llrintf): Likewise.
22742 (llrint): Likewise.
22752 (floorf): Likewise.
22753 (nearbyint): Likewise.
22754 (nearbyintf): Likewise.
22756 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22758 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22759 non-default versions.
22761 2012-06-11 Roland McGrath <roland@hack.frob.com>
22764 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22766 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22768 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22769 (FE_UPWARD, FE_DOWNWARD): Don't define.
22770 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22771 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22773 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22775 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22776 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22778 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22780 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22782 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22783 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22785 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22788 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22789 * sysdeps/i386/fpu/Implies: New file.
22790 * sysdeps/x86_64/fpu/Implies: Likewise.
22791 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22792 * sysdeps/x86/fpu/bits/fenv.h: This.
22794 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22797 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22801 character 0xffff that matches the last element of the
22804 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22809 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22811 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22812 values higher than 25.6283.
22814 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22817 subnormal exponent extraction and add some __builtin_expect.
22818 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22819 Fix for subnormal mantissa calculation.
22821 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22823 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22824 cpu2 is -1 and errno is not ENOSYS.
22826 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22829 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22830 * sysdeps/x86/bits/string.h: This.
22831 * sysdeps/x86_64/bits/string.h: Removed.
22833 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22834 if not compiling for x86-64, but compiling for >= i486.
22836 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22837 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22839 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22840 New macro from Linux kernel 3.4.0.
22841 (FP_XSTATE_MAGIC2): Likewise.
22842 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22843 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22844 (struct _fpx_sw_bytes): New struct.
22845 (struct _xsave_hdr): Likewise.
22846 (struct _ymmh_state): Likewise.
22847 (struct _xstate): Likewise.
22849 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22850 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22851 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22852 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22853 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22854 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22856 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22857 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22858 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22859 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22860 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22861 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22863 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22866 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22867 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22868 (sysdep_headers): Include sys/platform/ppc.h.
22869 * sysdeps/powerpc/test-gettimebase.c: Test for
22870 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22871 * manual/Makefile (appendices): Include platform.texi.
22872 * manual/contrib.texi (Contributors): Update @node pointers.
22873 * manual/maint.texi (Maintenance): Likewise.
22874 (Platform): New node.
22875 * manual/platform.texi: New file. Document the new features.
22877 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22878 Jakub Jelinek <jakub@redhat.com>
22881 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22882 where __builtin_expect is unavailable.
22884 2012-06-03 David S. Miller <davem@davemloft.net>
22886 * stdlib/longlong.h: Updated from GCC.
22888 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22891 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22892 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22895 (GLIBC_2.16): Likewise.
22897 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22899 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22901 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22904 (default-abi): New variable.
22905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22906 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22908 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22910 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22912 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22915 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22916 definition. Document in comment.
22918 2012-06-01 David S. Miller <davem@davemloft.net>
22920 * stdlib/longlong.h: Updated from GCC.
22922 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22925 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22926 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22927 sys/debugreg.h sys/io.h here.
22928 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22929 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22931 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22932 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22933 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22934 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22935 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22936 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22938 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22939 Define only if __x86_64__ is defined.
22941 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22944 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22945 Use int64_t for variable i.
22946 * math/libm-test.inc (fmod_test): Add more tests.
22948 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22949 z computation is not scheduled after fetestexcept.
22950 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22951 Use math_force_eval instead of asm to ensure calculation scheduled
22952 before exception test.
22953 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22954 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22956 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22958 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22959 computation is not scheduled after fetestexcept.
22961 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22964 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22965 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22967 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22969 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22970 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22972 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22975 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22977 (__WCHAR_MIN): Support __WORDSIZE == 64.
22978 (__WCHAR_MAX): Likewise.
22980 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22981 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22984 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22985 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22988 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22989 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22991 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22992 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22994 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22995 Defined to 1 if __x86_64__ isn't defined.
22996 (_STAT_VER_LINUX_OLD): New.
22997 (st_atime): Remove duplicate.
22998 (st_mtime): Likewise.
22999 (st_ctime): Likewise.
23001 2012-05-31 David S. Miller <davem@davemloft.net>
23003 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
23006 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
23008 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
23012 * elf/dl-reloc.c: Include <_itoa.h>.
23013 (_dl_reloc_bad_type): Remove use of INTUSE.
23014 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23015 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23016 * stdio-common/psiginfo.c (psiginfo): Likewise.
23017 * stdio-common/psignal.c (psignal): Likewise.
23018 * string/strsignal.c (strsignal): Likewise.
23019 * include/signal.h (_sys_siglist): Declare hidden proto.
23020 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
23021 INTVARDEF with libc_hidden_data_def.
23022 * stdio-common/itoa-udigits.c: Likewise.
23023 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23024 (_itoa_lower_digits_internal): Remove declaration.
23025 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23026 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23027 (_sys_sigabbrev_internal): Remove aliases.
23028 (_sys_siglist): Define hidden alias.
23030 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
23032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23035 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
23038 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23039 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23041 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23042 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23043 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23044 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23045 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23046 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23048 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23049 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23050 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23052 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23060 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23061 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23062 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23064 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23065 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23066 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23067 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23068 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23069 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23071 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23072 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23074 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23075 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23077 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23078 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23079 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23081 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23082 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23084 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23086 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23087 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23088 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23090 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23092 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23094 2012-05-31 Joseph Myers <joseph@codesourcery.com>
23096 * math/math.h (M_El): Use two more decimal places.
23097 (M_LOG2El): Likewise.
23098 (M_LOG10El): Likewise.
23099 (M_LN2l): Likewise.
23100 (M_LN10l): Likewise.
23102 (M_PI_2l): Likewise.
23103 (M_PI_4l): Likewise.
23104 (M_1_PIl): Likewise.
23105 (M_2_PIl): Likewise.
23106 (M_2_SQRTPIl): Likewise.
23107 (M_SQRT2l): Likewise.
23108 (M_SQRT1_2l): Likewise.
23110 2012-05-31 David S. Miller <davem@davemloft.net>
23112 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23113 values between float registers.
23114 * sysdeps/sparc/sparc64/memset.S: Likewise.
23115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23117 2012-05-31 Mike Frysinger <vapier@gentoo.org>
23119 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23120 -D_FORTIFY_SOURCE=1.
23121 (CPPFLAGS-tst-longjmp_chk.c): Define.
23122 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23123 (CPPFLAGS-tst-longjmp_chk2.c): Define.
23124 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23125 CFLAGS-tst-wchar-h.c.
23127 2012-05-31 Marek Polacek <polacek@redhat.com>
23130 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23131 __endmntent_internal): Remove declaration.
23132 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23133 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23134 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23136 2012-05-30 David S. Miller <davem@davemloft.net>
23138 * sysdeps/sparc/sparc32/soft-fp/q_util.c
23139 (___Q_simulate_exceptions): Use real FP ops rather than writing
23141 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23144 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23147 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23148 * sysdeps/x86/bits/xtitypes.h: This.
23150 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23151 * sysdeps/x86/bits/wordsize.h: This.
23153 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23154 * sysdeps/x86/bits/huge_vall.h: This.
23156 * sysdeps/i386/bits/select.h: Removed.
23157 * sysdeps/x86_64/bits/select.h: Renamed to ...
23158 * sysdeps/x86/bits/select.h: This.
23160 * sysdeps/i386/bits/setjmp.h: Removed.
23161 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23162 * sysdeps/x86/bits/setjmp.h: This.
23164 * sysdeps/i386/bits/mathdef.h: Removed.
23165 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23166 * sysdeps/x86/bits/mathdef.h: This.
23168 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
23171 * include/sys/socket.h (__connect_internal)
23172 (__libc_sa_len_internal): Remove declaration.
23173 (__connect, __libc_sa_len): Declare hidden_proto.
23174 (SA_LEN): Remove use of INTUSE.
23175 * socket/connect.c: Add libc_hidden_def.
23176 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23177 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23178 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23180 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23181 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23182 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23183 of adding _internal alias.
23185 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23188 * sysdeps/i386/bits/link.h: Removed.
23189 * sysdeps/i386/bits/linkmap.h: Likewise.
23190 * sysdeps/x86_64/bits/link.h: Renamed to ...
23191 * sysdeps/x86/bits/link.h: This.
23192 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23193 * sysdeps/x86/bits/linkmap.h: This.
23195 * sysdeps/i386/bits/endian.h: Removed.
23196 * sysdeps/x86_64/bits/endian.h: Renamed to ...
23197 * sysdeps/x86/bits/endian.h: This.
23199 * sysdeps/i386/bits/byteswap.h: Removed.
23200 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23201 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23202 * sysdeps/x86/bits/byteswap.h: This.
23203 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23204 * sysdeps/x86/bits/byteswap-16.h: This.
23205 * sysdeps/i386/Implies: Add x86.
23206 * sysdeps/x86_64/Implies: Likewise.
23208 2012-05-30 David S. Miller <davem@davemloft.net>
23210 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23211 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23213 (FP_TRAPPING_EXCEPTIONS): Define.
23214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23215 (FP_TRAPPING_EXCEPTIONS): Define.
23216 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23217 subnormals only when inexact has been signalled or underflow
23218 exceptions are enabled.
23219 (_FP_PACK_CANONICAL): Likewise.
23221 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23225 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23227 2012-05-30 Richard Henderson <rth@twiddle.net>
23229 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23230 with #ifndef NOT_IN_libc.
23232 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
23233 marked to avoid plt entry.
23235 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
23238 * Makeconfig (default-abi): New macro.
23239 (abi-includes): Likewise.
23240 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
23241 $(abi-$(default-abi)-lib-soname) for soname if defined.
23242 ($(common-objpfx)gnu/lib-names.stmp): Generate from
23244 * Makefile (installed-stubs): Likewise.
23245 * include/stubs-biarch.h: Removed.
23246 * scripts/lib-names.awk: Only handle one library at a time.
23247 * scripts/soversions.awk: Remove WORDSIZE support.
23248 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23250 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23252 (syscall-list-default-condition): Likewise.
23253 (syscall-list-default-condition): Likewise.
23254 (syscall-list-includes): Likewise.
23255 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23256 syscall-list-* with abi-*. Handle undefined abi-variants.
23257 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23258 * sysdeps/unix/sysv/linux/i386/Implies: New file.
23259 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23260 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23261 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23262 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23264 (syscall-list-32-options): Likewise.
23265 (syscall-list-32-condition): Likewise.
23266 (syscall-list-64-options): Likewise.
23267 (syscall-list-64-condition): Likewise.
23268 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23270 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23273 (abi-64-ld-soname): New macro.
23274 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23275 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23278 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23279 * sysdeps/x86_64/x32/shlib-versions: Likewise.
23281 2012-05-30 Joseph Myers <joseph@codesourcery.com>
23283 * sysdeps/unix/sysv/linux/kernel-features.h
23284 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23285 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23286 include <kernel-features.h>.
23287 [!__NR_ftruncate64]: Remove conditional code.
23288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23289 [__NR_ftruncate64]: Make code unconditional.
23290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23291 * sysdeps/unix/sysv/linux/truncate64.c: Do not
23292 include <kernel-features.h>.
23293 [!__NR_ftruncate64]: Remove conditional code.
23294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23295 [__NR_ftruncate64]: Make code unconditional.
23296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
23298 include <kernel-features.h>.
23299 [!__NR_ftruncate64]: Remove conditional code.
23300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23301 [__NR_ftruncate64]: Make code unconditional.
23302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23304 include <kernel-features.h>.
23305 [!__NR_ftruncate64]: Remove conditional code.
23306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23307 [__NR_ftruncate64]: Make code unconditional.
23308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23310 * configure.in (libc_cv_fpie): Weaken to a compile test using
23311 LIBC_TRY_CC_OPTION.
23312 * configure: Regenerated.
23314 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23329 2012-05-27 David S. Miller <davem@davemloft.net>
23331 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23333 (__Q_simulate_exceptions): Return void. Change to simulate
23334 exceptions by writing into the %fsr.
23335 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23336 (__Qp_handle_exceptions): Likewise.
23338 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23339 __Qp_handle_exceptions.
23340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23341 __Qp_handle_exceptions.
23342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23343 as unused and give dummy FP_RND_NEAREST initializer.
23344 (FP_INHIBIT_RESULTS): Define.
23345 (___Q_simulate_exceptions): Update declaration.
23346 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23349 as unused and give dummy FP_RND_NEAREST initializer.
23350 (__Qp_handle_exceptions): Update declaration.
23351 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23354 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
23356 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23357 the temporary FPU control word.
23358 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23359 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23360 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23361 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23362 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23363 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23364 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23366 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23367 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23370 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23372 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23375 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23377 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23378 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23379 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23380 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23382 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23383 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23386 2012-05-27 Ulrich Drepper <drepper@gmail.com>
23388 * po/h.po: Update from translation team.
23390 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
23392 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23394 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23395 handling of denormals.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23397 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23398 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23399 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23405 2012-05-26 Marek Polacek <polacek@redhat.com>
23408 * math/libm-test.inc (fma_test): Don't always expect underflow
23411 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23414 * elf/tst-execstack.c: Include stackinfo.h.
23415 (do_test): Adjust test case to ensure that pthread_getattr_np
23416 behaviour remains the same after marking stack executable.
23418 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23420 * sysdeps/unix/sysv/linux/kernel-features.h
23421 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23422 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23424 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23425 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23426 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23428 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23429 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23431 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
23433 * configure.in: Define the default includes to being none.
23434 * configure: Regenerated.
23436 2012-05-25 Roland McGrath <roland@hack.frob.com>
23438 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23439 * sysdeps/x86_64/setjmp.S: Likewise.
23440 * sysdeps/i386/bsd-setjmp.S: Likewise.
23441 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23442 * sysdeps/i386/setjmp.S: Likewise.
23443 * sysdeps/i386/__longjmp.S: Likewise.
23444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23445 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23447 * include/stap-probe.h: New file.
23448 * configure.in: Handle --enable-systemtap.
23449 * configure: Regenerated.
23450 * config.h.in (USE_STAP_PROBE): New #undef.
23451 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23452 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23453 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23455 2012-05-25 Joseph Myers <joseph@codesourcery.com>
23458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23459 to 2.4.0 where earlier.
23460 * sysdeps/unix/sysv/linux/configure: Regenerated.
23461 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23462 <kernel-features.h>.
23463 [__ASSUME_32BITUIDS]: Make code unconditional.
23464 [!__ASSUME_32BITUIDS]: Remove conditional code.
23465 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23466 <kernel-features.h>.
23467 [__ASSUME_32BITUIDS]: Make code unconditional.
23468 [!__ASSUME_32BITUIDS]: Remove conditional code.
23469 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23470 [__ASSUME_32BITUIDS]: Make code unconditional.
23471 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23472 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23473 <kernel-features.h>.
23474 [__ASSUME_32BITUIDS]: Make code unconditional.
23475 [!__ASSUME_32BITUIDS]: Remove conditional code.
23476 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23477 <kernel-features.h>.
23478 [__ASSUME_32BITUIDS]: Make code unconditional.
23479 [!__ASSUME_32BITUIDS]: Remove conditional code.
23480 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23481 <kernel-features.h>.
23482 [__ASSUME_32BITUIDS]: Make code unconditional.
23483 [!__ASSUME_32BITUIDS]: Remove conditional code.
23484 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23485 <kernel-features.h>.
23486 [__ASSUME_32BITUIDS]: Make code unconditional.
23487 [!__ASSUME_32BITUIDS]: Remove conditional code.
23488 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23489 <kernel-features.h>.
23490 [__ASSUME_32BITUIDS]: Make code unconditional.
23491 [!__ASSUME_32BITUIDS]: Remove conditional code.
23492 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23493 <kernel-features.h>.
23494 [__ASSUME_32BITUIDS]: Make code unconditional.
23495 [!__ASSUME_32BITUIDS]: Remove conditional code.
23496 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23497 <kernel-features.h>.
23498 [__ASSUME_32BITUIDS]: Make code unconditional.
23499 [!__ASSUME_32BITUIDS]: Remove conditional code.
23500 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23501 <kernel-features.h>.
23502 [__ASSUME_32BITUIDS]: Make code unconditional.
23503 [!__ASSUME_32BITUIDS]: Remove conditional code.
23504 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23505 <kernel-features.h>.
23506 [__ASSUME_32BITUIDS]: Make code unconditional.
23507 [!__ASSUME_32BITUIDS]: Remove conditional code.
23508 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23509 <kernel-features.h>.
23510 [__ASSUME_32BITUIDS]: Make code unconditional.
23511 [!__ASSUME_32BITUIDS]: Remove conditional code.
23512 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23513 <kernel-features.h>.
23514 [__NR_setresgid] (__setresgid): Do not declare.
23515 [__ASSUME_32BITUIDS]: Make code unconditional.
23516 [!__ASSUME_32BITUIDS]: Remove conditional code.
23517 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23518 <kernel-features.h>.
23519 [__NR_setresuid] (__setresuid): Do not declare.
23520 [__ASSUME_32BITUIDS]: Make code unconditional.
23521 [!__ASSUME_32BITUIDS]: Remove conditional code.
23522 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23523 <kernel-features.h>.
23524 [__ASSUME_32BITUIDS]: Make code unconditional.
23525 [!__ASSUME_32BITUIDS]: Remove conditional code.
23526 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23527 <kernel-features.h>.
23528 [__ASSUME_32BITUIDS]: Make code unconditional.
23529 [!__ASSUME_32BITUIDS]: Remove conditional code.
23530 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23531 <kernel-features.h>.
23532 [__ASSUME_32BITUIDS]: Make code unconditional.
23533 [!__ASSUME_32BITUIDS]: Remove conditional code.
23534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23535 <kernel-features.h>.
23536 [__ASSUME_32BITUIDS]: Make code unconditional.
23537 [!__ASSUME_32BITUIDS]: Remove conditional code.
23538 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23539 <kernel-features.h>.
23540 [__ASSUME_32BITUIDS]: Make code unconditional.
23541 [!__ASSUME_32BITUIDS]: Remove conditional code.
23542 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23543 <kernel-features.h>.
23544 [__ASSUME_32BITUIDS]: Make code unconditional.
23545 [!__ASSUME_32BITUIDS]: Remove conditional code.
23546 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23547 <kernel-features.h>.
23548 [__ASSUME_32BITUIDS]: Make code unconditional.
23549 [!__ASSUME_32BITUIDS]: Remove conditional code.
23550 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23551 <kernel-features.h>.
23552 [__ASSUME_32BITUIDS]: Make code unconditional.
23553 [!__ASSUME_32BITUIDS]: Remove conditional code.
23554 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23555 <kernel-features.h>.
23556 [__ASSUME_32BITUIDS]: Make code unconditional.
23557 [!__ASSUME_32BITUIDS]: Remove conditional code.
23558 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23559 <kernel-features.h>.
23560 [__ASSUME_32BITUIDS]: Make code unconditional.
23561 [!__ASSUME_32BITUIDS]: Remove conditional code.
23562 * sysdeps/unix/sysv/linux/kernel-features.h
23563 (__ASSUME_SETRESUID_SYSCALL): Remove.
23564 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23565 (__ASSUME_32BITUIDS): Likewise.
23566 (__ASSUME_LDT_WORKS): Likewise.
23567 (__ASSUME_O_DIRECTORY): Likewise.
23568 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23569 architecture but not kernel version.
23570 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23571 (__ASSUME_MMAP2_SYSCALL): Likewise.
23572 (__ASSUME_STAT64_SYSCALL): Likewise.
23573 (__ASSUME_IPC64): Likewise.
23574 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23575 <kernel-features.h>.
23576 [__ASSUME_32BITUIDS]: Make code unconditional.
23577 [!__ASSUME_32BITUIDS]: Remove conditional code.
23578 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23579 <kernel-features.h>.
23580 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23581 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23582 132096]: Remove conditional code.
23583 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23584 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23585 <kernel-features.h>.
23586 [__ASSUME_32BITUIDS]: Make code unconditional.
23587 [!__ASSUME_32BITUIDS]: Remove conditional code.
23588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23589 <kernel-features.h>.
23590 [__ASSUME_32BITUIDS]: Make code unconditional.
23591 [!__ASSUME_32BITUIDS]: Remove conditional code.
23592 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23593 <kernel-features.h>.
23594 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23596 (__setresgid): Do not declare.
23597 [__ASSUME_32BITUIDS]: Make code unconditional.
23598 [!__ASSUME_32BITUIDS]: Remove conditional code.
23599 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23600 <kernel-features.h>.
23601 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23603 (__setresuid): Do not declare.
23604 [__ASSUME_32BITUIDS]: Make code unconditional.
23605 [!__ASSUME_32BITUIDS]: Remove conditional code.
23606 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23607 <kernel-features.h>.
23608 [__ASSUME_32BITUIDS]: Make code unconditional.
23609 [!__ASSUME_32BITUIDS]: Remove conditional code.
23610 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23611 <kernel-features.h>.
23612 [__ASSUME_32BITUIDS]: Make code unconditional.
23613 [!__ASSUME_32BITUIDS]: Remove conditional code.
23615 2012-05-25 Richard Henderson <rth@twiddle.net>
23617 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23618 dl_hwcap to ifunc resolver.
23619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23621 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23622 dl_hwcap to ifunc resolver.
23623 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23625 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23628 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23629 for |x| <= 2**-26, not 2**-57.
23630 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23633 2012-05-24 Jeff Law <law@redhat.com>
23635 * stdio-common/Makefile (tests): Add bug25.
23636 * stdio-common/bug25.c: New test.
23638 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23641 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23642 multiple of MALLOC_ALIGNMENT in size.
23643 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23645 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23647 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23649 (FILENAME_MAX): Use macro-int-constant.
23650 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23651 (_IOFBF): Use macro-int-constant.
23652 (_IOLBF): Likewise.
23653 (_IONBF): Likewise.
23654 (SEEK_CUR): Likewise.
23655 (SEEK_END): Likewise.
23656 (SEEK_SET): Likewise.
23657 (TMP_MAX): Likewise.
23658 (EOF): Use macro-int-constant. Require < 0.
23659 (NULL): Use macro-constant. Require == 0.
23660 (stdin): Require type to be FILE *.
23661 (stdout): Likewise.
23662 (stderr): Likewise.
23663 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23664 macro-int-constant.
23665 (EXIT_SUCCESS): Likewise.
23666 (NULL): Use macro-constant. Require == 0.
23667 (RAND_MAX): Use macro-int-constant.
23668 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23669 [C99-based standards] (strtof): Require function.
23670 [C99-based standards] (strtold): Likewise.
23671 [C99-based standards] (strtoll): Likewise.
23672 [C99-based standards] (strtoull): Likewise.
23673 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23674 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23675 [ISO || ISO99 || ISO11] (math.h): Likewise.
23676 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23677 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23680 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23683 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23684 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23685 * intl/dgettext.c (DCGETTEXT): Likewise.
23686 * intl/gettext.c (DCGETTEXT): Likewise.
23687 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23688 * posix/regex_internal.h (gettext): Likewise.
23689 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23690 Remove declaration.
23691 * include/argz.h (__argz_count_internal)
23692 (__argz_stringify_internal): Remove declaration.
23693 (__argz_count, __argz_stringify): Declare hidden proto.
23694 * intl/dcgettext.c: Remove use of INTDEF.
23695 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23696 * string/argz-stringify.c: Likewise.
23697 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23698 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23699 Declare hidden proto.
23700 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23701 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23702 Declare hidden proto.
23703 * include/stdio.h (__asprintf_internal): Don't declare.
23704 (__asprintf): Don't define as macro. Declare hidden proto.
23705 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23706 (__fsetlocking): Declare hidden proto.
23707 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23708 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23710 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23711 (_IO_setlinebuf): Remove use of INTUSE.
23712 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23713 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23714 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23715 Remove declaration.
23716 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23717 (_IO_do_flush): Remove use of INTUSE.
23718 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23719 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23720 (_IO_adjust_column, _IO_least_wmarker)
23721 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23722 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23723 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23724 (_IO_default_doallocate, _IO_wdefault_doallocate)
23725 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23726 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23727 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23728 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23729 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23730 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23731 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23732 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23733 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23734 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23735 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23736 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23737 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23739 (_IO_flush_all_internal, _IO_adjust_column_internal)
23740 (_IO_default_uflow_internal, _IO_default_finish_internal)
23741 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23742 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23743 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23744 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23745 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23746 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23747 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23748 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23749 (_IO_file_close_internal, _IO_file_close_it_internal)
23750 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23751 (_IO_file_init_internal, _IO_file_attach_internal)
23752 (_IO_file_fopen_internal, _IO_file_read_internal)
23753 (_IO_file_sync_internal, _IO_file_seek_internal)
23754 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23755 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23756 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23757 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23758 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23759 (_IO_list_all_internal, _IO_link_in_internal)
23760 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23761 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23762 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23763 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23764 (_IO_do_write_internal, _IO_padn_internal)
23765 (_IO_getline_info_internal, _IO_getline_internal)
23766 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23767 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23768 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23769 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23770 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23771 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23772 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23773 with libc_hidden_ver, remove use of INTUSE.
23774 * libio/genops.c: Likewise.
23775 * libio/freopen.c: Likewise.
23776 * libio/freopen64.c: Likewise.
23777 * libio/iofclose.c: Likewise.
23778 * libio/iofdopen.c: Likewise.
23779 * libio/iofflush.c: Likewise.
23780 * libio/iofflush_u.c: Likewise.
23781 * libio/iofgets.c: Likewise.
23782 * libio/iofgets_u.c: Likewise.
23783 * libio/iofopen.c: Likewise.
23784 * libio/iofopncook.c: Likewise.
23785 * libio/iofread.c: Likewise.
23786 * libio/iofread_u.c: Likewise.
23787 * libio/ioftell.c: Likewise.
23788 * libio/iofwrite.c: Likewise.
23789 * libio/iogetline.c: Likewise.
23790 * libio/iogets.c: Likewise.
23791 * libio/iogetwline.c: Likewise.
23792 * libio/iopadn.c: Likewise.
23793 * libio/iopopen.c: Likewise.
23794 * libio/ioseekoff.c: Likewise.
23795 * libio/ioseekpos.c: Likewise.
23796 * libio/iosetbuffer.c: Likewise.
23797 * libio/iosetvbuf.c: Likewise.
23798 * libio/ioungetc.c: Likewise.
23799 * libio/ioungetwc.c: Likewise.
23800 * libio/iovdprintf.c: Likewise.
23801 * libio/iovsprintf.c: Likewise.
23802 * libio/iovsscanf.c: Likewise.
23803 * libio/memstream.c: Likewise.
23804 * libio/obprintf.c: Likewise.
23805 * libio/oldfileops.c: Likewise.
23806 * libio/oldiofclose.c: Likewise.
23807 * libio/oldiofdopen.c: Likewise.
23808 * libio/oldiofopen.c: Likewise.
23809 * libio/oldiopopen.c: Likewise.
23810 * libio/oldstdfiles.c: Likewise.
23811 * libio/putc.c: Likewise.
23812 * libio/setbuf.c: Likewise.
23813 * libio/setlinebuf.c: Likewise.
23814 * libio/stdfiles.c: Likewise.
23815 * libio/strops.c: Likewise.
23816 * libio/vasprintf.c: Likewise.
23817 * libio/vscanf.c: Likewise.
23818 * libio/vsnprintf.c: Likewise.
23819 * libio/vswprintf.c: Likewise.
23820 * libio/wfiledoalloc.c: Likewise.
23821 * libio/wfileops.c: Likewise.
23822 * libio/wgenops.c: Likewise.
23823 * libio/wmemstream.c: Likewise.
23824 * libio/wstrops.c: Likewise.
23825 * libio/__fpurge.c: Likewise.
23826 * libio/__fsetlocking.c: Likewise.
23827 * assert/assert.c: Likewise.
23828 * debug/fgets_chk.c: Likewise.
23829 * debug/fgets_u_chk.c: Likewise.
23830 * debug/fread_chk.c: Likewise.
23831 * debug/fread_u_chk.c: Likewise.
23832 * debug/gets_chk.c: Likewise.
23833 * debug/obprintf_chk.c: Likewise.
23834 * debug/vasprintf_chk.c: Likewise.
23835 * debug/vdprintf_chk.c: Likewise.
23836 * debug/vsnprintf_chk.c: Likewise.
23837 * debug/vsprintf_chk.c: Likewise.
23838 * malloc/mtrace.c: Likewise.
23839 * misc/error.c: Likewise.
23840 * misc/syslog.c: Likewise.
23841 * stdio-common/asprintf.c: Likewise.
23842 * stdio-common/fxprintf.c: Likewise.
23843 * stdio-common/getw.c: Likewise.
23844 * stdio-common/isoc99_fscanf.c: Likewise.
23845 * stdio-common/isoc99_scanf.c: Likewise.
23846 * stdio-common/isoc99_vfscanf.c: Likewise.
23847 * stdio-common/isoc99_vscanf.c: Likewise.
23848 * stdio-common/isoc99_vsscanf.c: Likewise.
23849 * stdio-common/printf-prs.c: Likewise.
23850 * stdio-common/printf_fp.c: Likewise.
23851 * stdio-common/printf_fphex.c: Likewise.
23852 * stdio-common/printf_size.c: Likewise.
23853 * stdio-common/putw.c: Likewise.
23854 * stdio-common/scanf.c: Likewise.
23855 * stdio-common/sprintf.c: Likewise.
23856 * stdio-common/tmpfile.c: Likewise.
23857 * stdio-common/vfprintf.c: Likewise.
23858 * stdio-common/vfscanf.c: Likewise.
23859 * stdlib/strfmon_l.c: Likewise.
23860 * sunrpc/openchild.c: Likewise.
23861 * sunrpc/xdr_stdio.c: Likewise.
23862 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23863 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23865 2012-05-24 Roland McGrath <roland@hack.frob.com>
23867 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23869 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23870 in the third column, to generate for the shared library an IFUNC
23871 that uses _dl_vdso_vsym.
23872 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23873 * Makeconfig (object-suffixes-noshared): New variable.
23875 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23876 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23877 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23878 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23881 * include/sys/time.h (__gettimeofday): Remove macro.
23882 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23883 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23885 (__gettimeofday): Add libc_hidden_def.
23886 (gettimeofday): Add libc_hidden_weak.
23887 * sysdeps/mach/gettimeofday.c: Likewise.
23888 * sysdeps/posix/gettimeofday.c: Likewise.
23889 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23890 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23892 (__gettimeofday_internal): Remove strong_alias.
23893 (__gettimeofday): Add libc_hidden_def.
23894 (gettimeofday): Add libc_hidden_weak.
23895 * sysdeps/unix/syscalls.list (gettimeofday):
23896 Remove __gettimeofday_internal alias.
23898 2012-05-24 Daniel Jacobowitz <drow@false.org>
23899 H.J. Lu <hongjiu.lu@intel.com>
23902 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23903 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23904 (largebin_index_32_big): New.
23905 (largebin_index): Use it for 16-byte alignment.
23906 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23907 correction with front_misalign.
23909 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23937 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23938 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23940 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23944 * math/libm-test.inc (exp_test): Add test from bug 14036.
23945 (pow_test): Add test from bug 10846.
23947 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23949 (special_function): Do not include flags in test name.
23950 (parse_args): Likewise.
23951 * sysdeps/i386/fpu/libm-test-ulps: Update.
23952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23953 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23954 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23957 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23959 * math/libm-test.inc ("Philosophy"): Update comment about
23961 (UNDERFLOW_EXCEPTION): New macro.
23962 (UNDERFLOW_EXCEPTION_OK): Likewise.
23963 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23964 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23965 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23966 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23967 (INVALID_EXCEPTION_OK): Update value.
23968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23969 (OVERFLOW_EXCEPTION_OK): Likewise.
23970 (IGNORE_ZERO_INF_SIGN): Likewise.
23971 (test_exceptions): Handle underflow exceptions.
23972 (acos_test): Update for underflow exception expectations.
23973 (cexp_test): Likewise.
23974 (clog_test): Likewise.
23975 (clog10_test): Likewise.
23976 (csqrt_test): Likewise.
23977 (ctan_test): Likewise.
23978 (ctanh_test): Likewise.
23979 (exp_test): Likewise.
23980 (exp10_test): Likewise.
23981 (exp2_test): Likewise.
23982 (expm1_test): Likewise.
23983 (fma_test): Likewise.
23984 (j0_test): Likewise.
23985 (jn_test): Likewise.
23986 (nexttoward_test): Likewise.
23987 (pow_test): Likewise.
23988 (scalbn_test): Likewise.
23989 (scalbln_test): Likewise.
23990 (tan_test): Likewise.
23991 (y1_test): Likewise.
23992 * sysdeps/i386/fpu/libm-test-ulps: Update.
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23995 2012-05-23 David S. Miller <davem@davemloft.net>
23997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23998 (__libc_sigaction): Remove unused local variables.
24000 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24002 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
24004 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
24006 mktime: avoid signed integer overflow
24007 * time/mktime.c (__mktime_internal): Do not mishandle the case
24008 where diff == INT_MIN.
24010 mktime: simplify computation of average
24011 * time/mktime.c (ranged_convert): Use new time_t_avg function
24012 instead of rolling our own (probably-slower) code.
24014 mktime: do not assume signed right shift propagates sign bit
24015 * time/mktime.c (isdst_differ): New static function.
24016 (__mktime_internal): No need to normalize tm_isdst now.
24017 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24020 mktime: merge another wrapv change from gnulib
24021 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24022 from some compilers.
24024 mktime: remove incorrect attempt at unusual arithmetics
24025 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24026 The code didn't really work on such machines anyway.
24027 (TYPE_MINIMUM): Assume two's complement.
24028 (twos_complement_arithmetic): Verify that long_int and time_t
24029 are two's complement (or unsigned, in the latter case).
24031 mktime: check signed shifts on long_int and time_t, too
24032 * time/mktime.c (SHR): Check that shifts work as desired
24033 on the types long_int and time_t too, as SHR is used on
24036 mktime: do not assume 'long' is wide enough
24037 * time/mktime.c (verify): Move decl up.
24038 (long_int): New type.
24039 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24040 to remove assumption in the code that 'long' is wide enough to
24041 store year values. This assumption is not true on x32 and on
24042 some non-glibc platforms.
24044 mktime: merge wrapv change from gnulib
24045 * time/mktime.c (WRAPV): New macro.
24046 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24047 (guess_time_tm, __mktime_internal): Do not assume that signed
24048 integer overflow wraps around; modern compilers generate code
24049 where this assumption is no longer valid.
24051 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24053 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24054 Replace "jmp L(pseudo_end)" with "ret".
24055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24058 2012-05-23 Andreas Jaeger <aj@suse.de>
24060 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24061 * sysdeps/unix/sysv/linux/poll.c: Remove file.
24063 2012-05-23 Andreas Jaeger <aj@suse.de>
24064 Maximilian Attems <max@stro.at>
24066 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
24071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24072 code so that pseudo_end is just ret and the stack pointer is
24073 correct also for static library in error case.
24075 2012-05-23 Joseph Myers <joseph@codesourcery.com>
24077 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24078 move to syscalls.list.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24084 * manual/install.texi (Running make install): Do not mention Linux
24085 kernel version for which pt_chown is not needed.
24086 (Linux): Do not mention problems with nscd with 2.0 kernels.
24087 * INSTALL: Regenerated.
24089 2012-05-23 Andreas Jaeger <aj@suse.de>
24091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24092 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24094 * sysdeps/unix/sysv/linux/s390/bits/mman.h
24095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24096 * sysdeps/unix/sysv/linux/sh/bits/mman.h
24097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24098 * sysdeps/unix/sysv/linux/i386/bits/mman.h
24099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24102 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24104 * sysdeps/unix/sysv/linux/bits/in.h
24105 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24107 2012-05-22 Roland McGrath <roland@hack.frob.com>
24109 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24110 (PREPARE_VERSION): Just use assert instead, it will be elided
24111 under [NDEBUG] anyway.
24113 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24115 * sysdeps/unix/sysv/linux/Makefile: Include
24116 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24117 (sysdep_routines): Remove sysctl.
24118 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24119 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24120 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24121 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24122 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24124 2012-05-22 Andreas Jaeger <aj@suse.de>
24126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24127 that pseudo_end is just ret and the stack pointer is correct also
24128 for static library in error case.
24130 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
24133 * nss/nsswitch.c (defconfig_entries): New variable.
24134 (__nss_database_lookup): Don't leak defconfig entries.
24135 (nss_parse_service_list): Don't leak on error paths.
24136 (free_database_entries): New function.
24137 (free_defconfig): New function.
24138 (free_mem): Move common code to free_database_entries.
24140 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24142 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24144 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24146 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24147 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24150 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24151 (INTERNAL_SYSCALL_TYPES): Likewise.
24152 (LOAD_ARGS_TYPES_[1-6]): Likewise.
24153 (LOAD_REGS_TYPES_[1-6]): Likewise.
24154 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24155 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24157 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24159 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24160 copysignl for GLIBC_2_0.
24161 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24162 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24164 logbl for GLIBC_2_0.
24165 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24166 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24168 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24173 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24176 * time/mktime.c: Update copyright years.
24178 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
24180 mktime: merge comment-quoting-style change from gnulib
24181 * time/mktime.c: Quote 'like this' in comments.
24182 The GNU coding standards suggest that we no longer quote `like this',
24183 as "`" and "'" are typically rendered asymmetrically nowadays.
24184 The typical gnulib style is to quote 'like this' when quoting
24185 code, and "like this" when quoting English.
24187 * time/mktime.c (compile-command): Add "-I.".
24189 mktime: merge mktime-internal.h change from gnulib
24190 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24192 mktime: merge time_r change from gnulib
24193 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24195 mktime: merge DEBUG change from gnulib
24196 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24197 case system <time.h> has a #define.
24199 mktime: merge <sys/types.h> change from gnulib
24200 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24201 since <time.t> is now guaranteed to define time_t.
24203 mktime: merge HAVE_CONFIG_H change from gnulib
24204 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24206 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
24208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24211 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24213 (struct rusage): Use anonymous union to pad each field to
24216 2012-05-21 David S. Miller <davem@davemloft.net>
24218 * Makefules (o-iterator): Remove .s cases.
24219 (compile-command.s): Delete.
24220 (COMPILE.s): Delete.
24221 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24223 2012-05-21 Joseph Myers <joseph@codesourcery.com>
24225 * configure.in (libc_cv_predef_stack_protector): Only consider
24226 "foobar" and "__stack_chk_fail" lines in libc_undefs.
24227 * configure: Regenerated.
24229 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24232 New macro. Use R*LP on int and pointer.
24233 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24236 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24238 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24239 [__WORDSIZE_TIME64_COMPAT32] instead of
24240 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24241 (struct utmp): Likewise.
24242 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24243 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24245 (__WORDSIZE_TIME64_COMPAT32): This.
24246 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24247 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24248 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24249 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24250 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24251 (__WORDSIZE_TIME64_COMPAT32): New macro.
24253 2012-05-21 Andreas Jaeger <aj@suse.de>
24255 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24256 only if [SHARED]. Add prototype for __wcschr_ia32.
24258 2012-05-21 Roland McGrath <roland@hack.frob.com>
24260 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24261 of %rbp unmolested in the jmp_buf while mangling the low bits.
24262 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24263 unmolested high bits of %rbp while demangling the low bits.
24264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24266 2012-05-21 Andreas Jaeger <aj@suse.de>
24268 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24269 * sunrpc/svc_simple.c: Use it for registerrpc.
24270 * sunrpc/xcrypt.c: Use it for passwd2des.
24272 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24274 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24276 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24277 Don't define if [__SYSCALL_WORDSIZE != 32].
24278 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24281 2012-05-21 Bruno Haible <bruno@clisp.org>
24282 Andreas Jaeger <aj@suse.de>
24284 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24285 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24286 inptr and inend for must_buffer_ch.
24287 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24288 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24289 * stdio-common/Makefile (tests): Remove bug15.
24290 (bug15-ENV): Remove macro.
24291 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24294 2012-05-19 Andreas Jaeger <aj@suse.de>
24295 Roland McGrath <roland@hack.frob.com>
24297 * manual/contrib.texi: Completely rewritten. It contains now an
24298 alphabetical list of contributors and their contributions.
24300 2012-05-21 Richard Henderson <rth@twiddle.net>
24302 * misc/getauxval.c (__getauxval): Use unsigned long int.
24303 * misc/sys/auxv.h: Include <sys/cdefs.h>.
24304 (getauxval): Use unsigned long int.
24306 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
24308 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24310 2012-05-21 Roland McGrath <roland@hack.frob.com>
24312 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24313 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24314 __alignof__ (long double).
24316 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24320 2012-05-20 Richard Henderson <rth@twiddle.net>
24322 * misc/getauxval.c: New file.
24323 * misc/sys/auxv.h: New file.
24324 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24325 (routines): Add getauxval.
24326 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24328 * elf/dl-sysdep.c (_dl_auxv): Remove.
24329 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24330 * elf/dl-support.c (_dl_auxv): New variable.
24331 (_dl_aux_init): Initialize it.
24332 * manual/startup.texi (Auxiliary Vector): New node.
24333 * sysdeps/generic/bits/hwcap.h: New file.
24334 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24335 * sysdeps/powerpc/sysdep.h: ... here. Include it.
24336 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24337 * sysdeps/sparc/sysdep.h: ... here. Include it.
24338 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24351 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24355 2012-05-19 David S. Miller <davem@davemloft.net>
24357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24359 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24362 * math/s_ccosh.c: Include <float.h>
24363 (__ccosh): Avoid internal overflow calculating sinh and cosh
24364 values before multiplying by sin and cos values.
24365 * math/s_ccoshf.c: Likewise.
24366 * math/s_ccoshl.c: Likewise.
24367 * math/s_csin.c: Likewise.
24368 * math/s_csinf.c: Likewise.
24369 * math/s_csinl.c: Likewise.
24370 * math/s_csinh.c: Likewise.
24371 * math/s_csinhf.c: Likewise.
24372 * math/s_csinhl.c: Likewise.
24373 * math/libm-test.inc (ccos_test): Add more tests.
24374 (ccosh_test): Likewise.
24375 (csin_test): Likewise.
24376 (csinh_test): Likewise.
24377 * sysdeps/i386/fpu/libm-test-ulps: Update.
24378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24380 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
24382 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24383 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24385 * sysdeps/x86_64/x32/_itoa.h: Add comment.
24387 2012-05-19 Joseph Myers <joseph@codesourcery.com>
24389 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24390 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24391 * sysdeps/powerpc/soft-fp/Versions: Likewise.
24392 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24393 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24394 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24395 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24396 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24397 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24398 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24399 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24400 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24401 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24402 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24403 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24404 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24405 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24406 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24407 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24408 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24409 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24410 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24411 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24412 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24413 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24414 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24415 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24416 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24417 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24418 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24419 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24421 2012-05-18 Andreas Jaeger <aj@suse.de>
24423 * csu/.gitignore: Delete.
24425 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24427 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24428 (timex): Use __syscall_slong_t.
24430 2012-05-18 Andreas Jaeger <aj@suse.de>
24431 Carlos O'Donell <carlos_odonell@mentor.com>
24433 * manual/install.texi (Configuring and compiling): Update
24434 description about files modified in the source directory.
24435 * INSTALL: Regenerated.
24437 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24439 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24440 value. Use "or" to set return value to -1.
24441 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24442 negate return value.
24444 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24446 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24447 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24448 failure if the compiler has Graphite support disabled.
24449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24451 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24452 CFLAGS-memmove.c): Likewise.
24453 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24456 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
24458 * sysdeps/x86_64/x32/_itoa.h: New file.
24460 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24461 getdents system call only if kernel and user dirents have the
24462 same d_ino and d_off.
24464 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24465 LLONG_MAX != LONG_MAX.
24466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24467 (_fitoa_word): Likewise.
24469 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24472 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24473 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24475 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24476 include <bits/wordsize.h>. Check __x86_64__ instead of
24478 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24479 if __x86_64__ is defined. Use anonymous union on fpstate.
24481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24484 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
24486 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24487 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24488 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24489 Refer to _rtld_local_ro instead of _rtld_global_ro.
24490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24492 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24494 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24496 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24497 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24498 of _rtld_global, and rtld_progname instead of _dl_argv[0].
24500 * sysdeps/powerpc/powerpc32/dl-machine.c
24501 (__elf_machine_runtime_setup) [PROF]: Don't reference
24504 2012-05-18 Andreas Jaeger <aj@suse.de>
24506 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24507 function only available for GCCs before 3.4 since GCC 3.4
24508 introduced a builtin.
24510 (llrintf): Likewise.
24511 (llrint): Likewise.
24518 (nearbyint): Likewise.
24519 (nearbyintf): Likewise.
24523 (floorf): Likewise.
24525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24527 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24528 on both fields and cast pointer to __syscall_ulong_t.
24530 * bits/types.h (__fsword_t): New type.
24531 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24532 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24534 (__FSWORD_T_TYPE): Likewise.
24535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24536 (__FSWORD_T_TYPE): Likewise.
24537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24538 (__FSWORD_T_TYPE): Likewise.
24539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24540 (__FSWORD_T_TYPE): Likewise.
24541 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24542 __SWORD_TYPE with __fsword_t.
24543 (statfs64): Likewise.
24545 2012-05-17 David S. Miller <davem@davemloft.net>
24547 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24549 2012-05-17 Andreas Jaeger <aj@suse.de>
24551 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24554 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24556 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24558 2012-05-17 Andreas Jaeger <aj@suse.de>
24560 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24563 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24565 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24567 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24569 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24570 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24572 2012-05-17 Andreas Jaeger <aj@suse.de>
24573 Carlos O'Donell <carlos_odonell@mentor.com>
24576 * sysdeps/x86_64/multiarch/init-arch.h
24577 (bit_YMM_Usable): Rename to...
24578 (bit_AVX_Usable): ... this.
24579 (bit_FMA4_Usable): New macro.
24580 (bit_XMM_state): New macro.
24581 (bit_YMM_state): New macro.
24582 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24583 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24584 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24585 (CPUID_OSXSAVE): New macro.
24586 (CPUID_AVX): New macro.
24587 (CPUID_FMA4): New macro.
24588 (index_YMM_Usable): Rename to...
24589 (index_AVX_Usable): ... this.
24590 (HAS_AVX): Use HAS_ARCH_FEATURE.
24591 (HAS_FMA4): Likewise.
24592 (HAS_YMM_USABLE): Remove.
24593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24594 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24596 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24597 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24598 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24599 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24600 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24602 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24604 * math/libm-test.c: Support platforms without multiple rounding modes.
24605 * math/bug-nextafter.c: Support platforms without FP exceptions.
24606 * math/bug-nexttoward.c: Likewise.
24607 * math/test-fenv.c: Likewise.
24608 * math/test-misc.c: Likewise.
24609 * stdlib/bug-getcontext.c: Likewise.
24611 2012-05-17 Andreas Jaeger <aj@suse.de>
24613 * manual/examples/search.c (critter_cmp): Change signature to
24615 * manual/string.texi (Collation Functions): Likewise.
24617 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24619 * bits/types.h: Fold copyright years.
24620 * bits/typesizes.h: Likewise.
24621 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24625 * time/time.h: Likewise.
24627 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24630 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24631 in instead of returning them. Return void.
24632 (__libc_mallinfo): Accumulate over all arenas.
24633 (__malloc_stats): Adjust for change in int_mallinfo interface.
24635 2012-05-16 Roland McGrath <roland@hack.frob.com>
24638 * configure.in (NM): Add AC_CHECK_TOOL for it.
24639 (libc_extra_cflags): New substituted variable.
24640 Check for -fstack-protector being used implicitly.
24641 * configure: Regenerated.
24642 * config.make.in (config-extra-cflags): New variable,
24643 gets @libc_extra_cflags@.
24644 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24647 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24648 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24649 * configure: Regenerated.
24650 * config.make.in (CPPUNDEFS): New substituted variable.
24651 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24652 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24653 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24657 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24658 (mq_attr): Use __syscall_slong_t.
24660 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24663 Check __x86_64__ instead of __WORDSIZE.
24664 (_STAT_VER_LINUX): Likewise.
24665 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24666 __syscall_ulong_t and __syscall_slong_t.
24667 (stat64): Likewise.
24669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24675 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24679 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24682 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24683 include <bits/wordsize.h>. Check __x86_64__ instead of
24685 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24687 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24690 include <bits/wordsize.h>. Check __x86_64__ instead of
24692 (user_regs_struct): Use "__extension__ unsigned long long"
24693 instead of "unsigned long" if __x86_64__ is defined.
24694 (user): Likewise. Pad after pointer field if __ILP32__ is
24697 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24699 * configure.in (makeinfo): Require version 4.5 or later. Allow
24701 * configure: Regenerated.
24702 * manual/install.texi (texinfo): Increase version requirement to
24704 * INSTALL: Regenerated.
24706 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24710 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24712 * sysdeps/x86_64/x32/ffs.c: New file.
24714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24716 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24717 defined. Use __syscall_ulong_t.
24718 (shminfo): Use __syscall_ulong_t.
24719 (shm_info): Likewise.
24721 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24724 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24726 (msgqnum_t): Use __syscall_ulong_t.
24727 (msglen_t): Likewise.
24728 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24731 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24732 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24734 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24736 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24737 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24739 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24742 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24743 include <bits/wordsize.h>. Check __x86_64__ instead of
24746 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24747 "unsigned long long int" if __x86_64__ is defined.
24748 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24751 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24752 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24754 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24756 (GET_PC): Cast to uintptr_t first.
24757 (GET_FRAME): Likewise.
24758 (GET_STACK): Likewise.
24760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24761 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24762 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24763 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24764 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24765 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24766 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24767 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24768 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24774 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24778 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24790 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24792 * Makerules (+depfiles): Also collect depfiles from .oS in
24794 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24795 .oS, $(libnldbl-routines)).
24797 * Makerules (native-compile-mkdep-flags): Define.
24798 * sunrpc/Makefile (extra-objs): Add $(addprefix
24799 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24800 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24801 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24802 calling $(make-target-directory).
24804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24806 * bits/types.h (__snseconds_t): Removed.
24807 * time/time.h (struct timespec): Replace __snseconds_t with
24809 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24810 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24813 (__SNSECONDS_T_TYPE): Likewise.
24814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24815 (__SNSECONDS_T_TYPE): Likewise.
24816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24817 (__SNSECONDS_T_TYPE): Likewise.
24819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24821 * sysdeps/mach/hurd/bits/typesizes.h
24822 (__SYSCALL_SLONG_TYPE): New macro.
24823 (__SYSCALL_ULONG_TYPE): Likewise.
24825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24827 * bits/types.h (__syscall_slong_t): New type.
24828 (__syscall_ulong_t): Likewise.
24830 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24831 (__SYSCALL_ULONG_TYPE): Likewise.
24832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24833 (__SYSCALL_SLONG_TYPE): Likewise.
24834 (__SYSCALL_ULONG_TYPE): Likewise.
24835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24836 (__SYSCALL_SLONG_TYPE): Likewise.
24837 (__SYSCALL_ULONG_TYPE): Likewise.
24838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24839 (__SYSCALL_SLONG_TYPE): Likewise.
24840 (__SYSCALL_ULONG_TYPE): Likewise.
24842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24844 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24845 Add sigaltstack-offsets.sym.
24846 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24847 <sigaltstack-offsets.h>.
24848 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24849 longjmp_msg pointer.
24850 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24851 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24853 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24855 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24857 * elf/stackguard-macros.h: Remove file.
24858 * sysdeps/generic/stackguard-macros.h: New file.
24859 * sysdeps/i386/stackguard-macros.h: Likewise.
24860 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24861 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24862 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24863 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24864 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24865 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24866 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24867 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24868 <elf/stackguard-macros.h>.
24871 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24872 __aligned__ in attribute.
24873 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24874 (gregset_t): Likewise.
24876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24878 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24879 * sysdeps/x86_64/64/Implies-after: Here. New file.
24880 * sysdeps/x86_64/x32/Implies-after: New file.
24882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24884 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24885 and access return value for _dl_profile_fixup. Use R10_LP to
24888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24890 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24894 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24895 * sysdeps/x86_64/x32/sysdep.h: New file.
24897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24899 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24900 * sysdeps/x86_64/setjmp.S: Likewise.
24902 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24906 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24908 remove unused global constant.
24910 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24912 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24913 include of <not-cancel.h>.
24915 2012-05-15 Roland McGrath <roland@hack.frob.com>
24917 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24919 2012-05-15 Jeff Law <law@redhat.com>
24920 Andreas Jaeger <aj@suse.de>
24923 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24925 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24926 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24928 code changing __hst_map_handle.map.
24930 2012-05-15 Roland McGrath <roland@hack.frob.com>
24932 * configure.in (sysnames): Look for Implies-before and Implies-after
24934 * configure: Regenerated.
24936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24939 8-byte data alignment with LP_SIZE alignment.
24941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24943 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24948 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24952 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24953 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24954 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24960 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24961 (stackinfo_sub_sp): Likewise.
24963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24980 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24984 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24985 into R11_LP and load __x86_64_shared_cache_size_half into
24988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24990 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24993 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
25001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25002 powerpc32/power7/fpu/s_logb.c via #include.
25003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
25004 powerpc32/power7/fpu/s_logbf.c via #include.
25005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
25006 powerpc32/power7/fpu/s_logbl.c via #include.
25008 2012-05-15 Joseph Myers <joseph@codesourcery.com>
25010 * README.libm: Remove file.
25012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25014 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25015 count for x32. Use R*_LP and omit operand-size suffix.
25017 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25019 * shlib-versions: Move x86_64-.*-linux.* entries to ...
25020 * sysdeps/x86_64/64/shlib-versions: Here. New file.
25021 * sysdeps/x86_64/x32/shlib-versions: New file.
25023 2012-05-14 Roland McGrath <roland@hack.frob.com>
25025 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25026 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25027 Use _dl_fatal_printf instead.
25029 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25031 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25032 set if not set by the user. Do not allow for being unset.
25033 * sysdeps/unix/sysv/linux/configure: Regenerated.
25035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25037 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25038 the `q' suffix from lea and replace .quad with ASM_ADDR.
25040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25043 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
25045 (PTR_DEMANGLE): Likewise.
25047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25049 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25051 (ASM_ADDR): Likewise.
25052 (RAX_LP): Likewise.
25053 (RBP_LP): Likewise.
25054 (RBX_LP): Likewise.
25055 (RCX_LP): Likewise.
25056 (RDI_LP): Likewise.
25057 (RSI_LP): Likewise.
25058 (RSP_LP): Likewise.
25061 (R10_LP): Likewise.
25062 (R10_LP): Likewise.
25063 (R11_LP): Likewise.
25064 (R12_LP): Likewise.
25065 (R13_LP): Likewise.
25066 (R14_LP): Likewise.
25067 (R15_LP): Likewise.
25069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25071 * sysdeps/x86_64/x32/dl-machine.h: New file.
25073 2012-05-14 Andreas Jaeger <aj@suse.de>
25075 * manual/Makefile (subdir): Remove export of subdir.
25076 (all): Remove target.
25077 (.PHONY): Remove all from list.
25078 (mkinstalldirs): Remove.
25079 (.PHONY): Remove installdirs from list.
25080 ($(inst_infodir)/libc.info): Use make-target-directory.
25081 (installdirs): Remove.
25082 (subdir_%): Remove.
25083 (glibc-targets): Remove.
25086 ($(objpfx)stubs ../po/manual.pot): Remove.
25087 ($(objpfx)stamp%): Remove.
25088 (make-target-directory): Remove.
25089 (subdir_install): Remove.
25090 (routines): Remove.
25097 * manual/.gitignore: Remove, it's not needed anymore.
25098 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25100 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25102 (texis): Renamed to $(objpfx)texis.
25103 (texis-path): New, contains path to generated files.
25104 (chapters.%): Use texis-path for complete path, add extra argument
25106 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25107 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25108 (summary,texi, stamp-summary): Use complete path of
25109 files. Generate files in build dir.
25110 (dir-add.texi): Build in build dir.
25111 (libm-err.texi,stamp-libm-err): Likewise.
25112 (version.texi, stamp-version): Likewise.
25113 (.%c.texi): Likewise.
25114 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25115 (mostlyclean): Remove target.
25116 (realclean): Remove target.
25117 (generated): Add new variable with contents from mostlyclean and
25118 realclean, remove entries duplicated in common-mostlyclean, add
25119 stamp-libm-err and stamp-version.
25120 (generated-dirs): Add libc directory.
25121 ($(inst_infodir)/libc.info): Install files from build dir.
25123 * manual/install.texi (Configuring and compiling): Adjust since
25124 the info files are not part of the tar ball anymore.
25126 2012-05-14 Andreas Jaeger <aj@suse.de>
25128 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25131 2012-05-14 Joseph Myers <joseph@codesourcery.com>
25134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25135 to 2.2.0 where earlier.
25136 * sysdeps/unix/sysv/linux/configure: Regenerated.
25137 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25138 Remove conditional code.
25139 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25140 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25141 Remove conditional code.
25142 [!__NR_lchown]: Likewise.
25143 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25144 [__NR_lchown]: Likewise.
25145 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25146 comment referencing __ASSUME_LCHOWN_SYSCALL.
25147 * sysdeps/unix/sysv/linux/i386/sigaction.c
25148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25150 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25151 Remove conditional code.
25152 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25153 (__protocol_available): Remove #if 0 code.
25154 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25156 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25157 * sysdeps/unix/sysv/linux/kernel-features.h
25158 (__ASSUME_GETCWD_SYSCALL): Don't define.
25159 (__ASSUME_REALTIME_SIGNALS): Likewise.
25160 (__ASSUME_PREAD_SYSCALL): Likewise.
25161 (__ASSUME_PWRITE_SYSCALL): Likewise.
25162 (__ASSUME_POLL_SYSCALL): Likewise.
25163 (__ASSUME_LCHOWN_SYSCALL): Likewise.
25164 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25166 (__ASSUME_SIOCGIFNAME): Don't define.
25167 (__ASSUME_MSG_NOSIGNAL): Likewise.
25168 (__ASSUME_SENDFILE): Define unconditionally.
25169 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25170 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25172 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25173 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25174 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25175 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25176 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25177 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25178 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25195 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25201 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25203 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25204 Remove conditional code.
25205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25206 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25207 Remove conditional code.
25208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25210 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25211 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25212 Remove conditional code.
25213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25214 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25215 Remove conditional code.
25216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25217 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25218 Remove conditional code.
25219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25220 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25221 Remove conditional code.
25222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25223 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25224 Remove conditional code.
25225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25226 * sysdeps/unix/sysv/linux/sh/pwrite64.c
25227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25229 * sysdeps/unix/sysv/linux/sigaction.c
25230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25232 * sysdeps/unix/sysv/linux/sigpending.c
25233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25235 * sysdeps/unix/sysv/linux/sigprocmask.c
25236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25238 * sysdeps/unix/sysv/linux/sigsuspend.c
25239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25241 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25242 (__libc_missing_rt_sigs): Remove.
25243 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25244 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25245 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25246 Remove conditional code.
25247 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25248 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25251 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25252 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25253 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25255 2012-05-14 Andreas Jaeger <aj@suse.de>
25257 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25258 it's not used in glibc.
25259 (__coshm1): Likewise.
25260 (__acosh1p): Likewise.
25263 * manual/string.texi (Copying and Concatenation): Add missing
25264 variable in concat example.
25265 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25270 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25271 __builtin_clzl with __builtin_clzll.
25273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25276 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25279 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25281 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25282 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25283 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25284 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25286 2012-05-14 Mike Frysinger <vapier@gentoo.org>
25288 * NEWS: Update ia64 info.
25290 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
25292 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25295 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
25297 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25298 * sysdeps/unix/syscalls.list (dup3): Likewise.
25299 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25300 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25302 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25304 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25305 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25307 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
25309 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25311 (TLS_IE): Use mov/add instead of movq/addq to load thread
25313 (TLS_GD_PREFIX): New.
25316 2012-05-11 David S. Miller <davem@davemloft.net>
25318 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25319 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25320 (_FPU_SETCW): Likewise.
25322 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25324 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25325 is 32-byte aligned.
25327 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
25330 * iconvdata/gb18030.c: Update tables.
25331 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
25332 characters specially.
25333 (BODY for TO_LOOP): Add encoding of missing ranges.
25335 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
25338 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25339 * sysdeps/mach/hurd/dup3.c: Likewise.
25340 * sysdeps/mach/hurd/readlinkat.c: Likewise.
25341 * sysdeps/powerpc/memmove.c:: Likewise.
25343 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25346 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25348 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25350 * elf/elf.h (R_X86_64_RELATIVE64): New.
25351 (R_X86_64_NUM): Updated.
25352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25353 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
25354 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25355 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25356 tst-quad1pie tst-quad2pie
25357 (modules-names): Add tst-quadmod1 tst-quadmod2.
25358 ($(objpfx)tst-quad1): New dependency.
25359 ($(objpfx)tst-quad2): Likewise.
25360 ($(objpfx)tst-quad1pie): Likewise.
25361 ($(objpfx)tst-quad2pie): Likewise.
25362 * sysdeps/x86_64/tst-quad1.c: New file.
25363 * sysdeps/x86_64/tst-quad1pie.c: New file.
25364 * sysdeps/x86_64/tst-quad2.c: Likewise.
25365 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25366 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25367 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25368 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25369 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25371 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25373 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25374 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25375 * streams/stropts.h (t_scalar_t): Define type.
25377 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25378 (_PATH_PRESERVE): Set to "/var/lib".
25379 (_PATH_RWHODIR): Set to "/var/spool/rwho".
25381 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25384 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25385 if __dir_mkfile succeeded.
25387 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25388 checking for _hurd_dtablesize. Unlock it right after having
25389 finished _hurd_dtable allocation.
25391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25393 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25394 * sysdeps/mach/hurd/configure: Regenerated.
25395 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25396 special-casing to...
25397 * sysdeps/gnu/configure.in: ... this new file.
25398 * sysdeps/unix/sysv/linux/configure: Regenerated.
25399 * sysdeps/gnu/configure: New generated file.
25401 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25402 for Linux: use nsec instead of usec, as well as:
25403 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25404 members of type struct timespec.
25405 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25407 (struct stat64): Likewise.
25408 (_STATBUF_ST_NSEC): New macro.
25409 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25411 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25412 __strtoul_internal rather than strtoul.
25414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25416 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25421 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25422 which preserves existing values.
25423 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25425 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25427 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25428 TIMEOUT values. Return EINVAL for NFDS values either negative or
25429 greater than FD_SETSIZE.
25431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25433 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25434 allocated, call __vm_protect to finish enabling the existing space, and
25435 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25436 allocate the remainder.
25438 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25440 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25441 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
25443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25445 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25446 sysdeps/mach/hurd/readlink.c.
25448 * posix/tst-sysconf.c (posix_options): Only use
25449 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25450 _POSIX_SYNCHRONIZED_IO when they are defined
25451 * sysdeps/mach/hurd/bits/posix_opt.h:
25452 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25453 (_XOPEN_REALTIME): Undefine macro.
25454 (_XOPEN_REALTIME_THREADS): Undefine macro.
25455 (_XOPEN_SHM): Undefine macro.
25456 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25458 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25460 (_POSIX_ASYNC_IO): Undefine macro.
25461 (_POSIX_PRIORITIZED_IO): Undefine macro.
25462 (_POSIX_SPIN_LOCKS): Define macro to -1.
25464 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25465 SA_NODEFER, SA_RESETHAND.
25466 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25467 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25470 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25472 * elf/Makefile (pldd-modules): Define unconditionally.
25474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25476 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25480 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25481 Return ENOENT when name is empty.
25482 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25486 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25488 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25492 Fix mlock in all cases except non-readable pages.
25493 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25494 instead of VM_PROT_ALL as parameter to __vm_wire function.
25496 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25497 (__mkdir): When path is `/', just fail with EEXIST.
25498 * sysdeps/mach/hurd/mkdirat.c: Likewise.
25500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25502 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25503 <sys/uio.h> (for writev).
25504 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25505 and <sys/param.h> (for MIN).
25507 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
25509 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25510 REQUESTED_TIME. Properly set the remaining time and return EINTR
25513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25515 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25516 Depend on against $(link-rpcuserlibs).
25518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25520 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25521 (__libc_stack_end): Do not use attribute_relro.
25522 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25523 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25524 to libthread-provided value.
25525 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25531 * bits/libc-lock.h (__libc_once_get): New macro.
25532 * sysdeps/mach/bits/libc-lock.h: Likewise.
25533 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25535 instead of using implementation details.
25537 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25538 * libio/freopen.c: Likewise.
25539 * libio/freopen64.c: Likewise.
25540 * misc/syslog.c: Likewise.
25541 * nscd/connections.c: Likewise.
25542 * nscd/netgroupcache.c: Likewise.
25543 * sysdeps/posix/getcwd.c: Likewise.
25545 2012-05-10 Roland McGrath <roland@hack.frob.com>
25547 * math/w_ilogbf.c: Add #include <limits.h>.
25549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25551 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25552 path instead of returning without unlocking.
25554 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25555 immediate-write ioctls.
25556 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25560 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25561 __builtin_frame_address instead of making assumptions about the
25562 location of the return address relative to DATA. Force early load of
25563 the return address.
25564 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25565 __builtin_frame_address.
25568 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25569 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25570 implement dup3 and do some further code clean-ups.
25571 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25576 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25578 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25579 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25580 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25581 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25582 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25585 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25586 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25587 when handler == SIG_ERR, not when handler != SIG_ERR.
25589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25591 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25592 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25595 accept4 for GNU Hurd.
25596 * include/sys/socket.h (__libc_accept4): New prototype.
25597 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25598 to implement __libc_accept4.
25599 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25603 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25604 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25605 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25606 signal-defines.sym.
25608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25610 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25614 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25615 assertion on O_CLOEXEC flag.
25616 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25617 * hurd/intern-fd.c: Likewise.
25618 * hurd/port2fd.c: Likewise.
25620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25623 * bits/in.h (IPV6_PKTINFO): Define new macro.
25624 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25626 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25631 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25633 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25636 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25637 * math/libm-test.inc (logb_test) : Additional logb tests.
25639 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25640 Andreas Jaeger <aj@suse.de>
25642 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25643 * configure: Regenerated.
25644 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25645 * config.make.in (link-obsolete-rpc): New substituted variable.
25646 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25647 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25648 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25649 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25650 so that libc.a contains the symbols.
25651 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25652 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25653 * sunrpc/auth_none.c: Likewise.
25654 * sunrpc/auth_unix.c: Likewise.
25655 * sunrpc/authdes_prot.c: Likewise.
25656 * sunrpc/authuxprot.c: Likewise.
25657 * sunrpc/clnt_gen.c: Likewise.
25658 * sunrpc/clnt_perr.c: Likewise.
25659 * sunrpc/clnt_raw.c: Likewise.
25660 * sunrpc/clnt_simp.c: Likewise.
25661 * sunrpc/clnt_tcp.c: Likewise.
25662 * sunrpc/clnt_udp.c: Likewise.
25663 * sunrpc/clnt_unix.c: Likewise.
25664 * sunrpc/des_crypt.c: Likewise.
25665 * sunrpc/des_soft.c: Likewise.
25666 * sunrpc/get_myaddr.c: Likewise.
25667 * sunrpc/key_call.c: Likewise.
25668 * sunrpc/key_prot.c: Likewise.
25669 * sunrpc/netname.c: Likewise.
25670 * sunrpc/pm_getmaps.c: Likewise.
25671 * sunrpc/pm_getport.c: Likewise.
25672 * sunrpc/pmap_clnt.c: Likewise.
25673 * sunrpc/pmap_prot.c: Likewise.
25674 * sunrpc/pmap_prot2.c: Likewise.
25675 * sunrpc/pmap_rmt.c: Likewise.
25676 * sunrpc/publickey.c: Likewise.
25677 * sunrpc/rpc_cmsg.c: Likewise.
25678 * sunrpc/rpc_common.c: Likewise.
25679 * sunrpc/rpc_dtable.c: Likewise.
25680 * sunrpc/rpc_prot.c: Likewise.
25681 * sunrpc/rpc_thread.c: Likewise.
25682 * sunrpc/rtime.c: Likewise.
25683 * sunrpc/svc.c: Likewise.
25684 * sunrpc/svc_auth.c: Likewise.
25685 * sunrpc/svc_raw.c: Likewise.
25686 * sunrpc/svc_run.c: Likewise.
25687 * sunrpc/svc_tcp.c: Likewise.
25688 * sunrpc/svc_udp.c: Likewise.
25689 * sunrpc/svc_unix.c: Likewise.
25690 * sunrpc/svcauth_des.c: Likewise.
25691 * sunrpc/xcrypt.c: Likewise.
25692 * sunrpc/xdr.c: Likewise.
25693 * sunrpc/xdr_array.c: Likewise.
25694 * sunrpc/xdr_float.c: Likewise.
25695 * sunrpc/xdr_intXX_t.c: Likewise.
25696 * sunrpc/xdr_mem.c: Likewise.
25697 * sunrpc/xdr_rec.c: Likewise.
25698 * sunrpc/xdr_ref.c: Likewise.
25699 * sunrpc/xdr_sizeof.c: Likewise.
25700 * sunrpc/xdr_stdio.c: Likewise.
25702 2012-05-10 Roland McGrath <roland@hack.frob.com>
25704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25705 change. Update copyright years.
25707 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25709 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25711 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25712 Joseph Myers <joseph@codesourcery.com>
25713 Paul Pluzhnikov <ppluzhnikov@google.com>
25716 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25718 [cross-compiling] (extra-libs): Likewise.
25719 [cross-compiling] (extra-libs-others): Likewise.
25720 [cross-compiling] (librpcsvc-routines): Likewise.
25721 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25722 [cross-compiling] (omit-deps): Likewise.
25723 (sunrpc-CPPFLAGS): New variable.
25724 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25725 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25726 (cross-rpcgen-objs): New variable.
25727 (extra-objs): Append $(cross-rpcgen-objs).
25728 ($(cross-rpcgen-objs)): New rule.
25729 ($(objpfx)cross-rpcgen): Likewise.
25730 (rpcgen-cmd): Define to use $(built-program-file). Expand
25732 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25733 ($(objpfx)x%.stmp): Likewise.
25734 * sunrpc/proto.h [IS_IN_build] (_): Define.
25735 [IS_IN_build] (_libc_intl_domainname): Likewise.
25737 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25740 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25741 and R_X86_64_TPOFF64.
25743 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25745 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25746 sysdeps/unix/sysv/syscalls.list.
25749 * sysdeps/unix/sysv/syscalls.list: Remove file.
25751 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25754 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25755 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25756 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25757 (__LC_IDENTIFICATION): Make these macros useful in #if
25758 expressions, as required by C99.
25760 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25762 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25763 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25766 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25768 * stdlib/longlong.h: Updated from GCC.
25770 2012-05-09 Andreas Jaeger <aj@suse.de>
25772 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25773 default is first entry.
25774 (run_mode): Set type.
25775 (main): Remove informal message about syslog.
25776 (options): Fix typo.
25779 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25782 (llrintf): Likewise.
25783 (llrint): Likewise.
25786 (nearbyint): Likewise.
25787 (nearbyintf): Likewise.
25789 2012-05-09 Andreas Jaeger <aj@suse.de>
25790 Pedro Alves <palves@redhat.com>
25792 * nscd/nscd.c (run_mode): Use enum.
25793 (main): Cleanup coding style issue.
25795 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25796 Andreas Jaeger <aj@suse.de>
25798 * nscd/nscd.c (go_background): Replaced with...
25799 (run_mode): ... this.
25800 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25801 (options): Add -F --foreground.
25802 (main): Implement it.
25803 (parse_opt): Parse it.
25805 2012-05-09 Andreas Jaeger <aj@suse.de>
25808 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25809 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25810 -Wconversion warning.
25811 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25814 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25816 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25818 (LC_ALL): Use macro-int-constant.
25819 (LC_COLLATE): Likewise.
25820 (LC_CTYPE): Likewise.
25821 (LC_MESSAGES): Likewise.
25822 (LC_MONETARY): Likewise.
25823 (LC_NUMERIC): Likewise.
25824 (LC_TIME): Likewise.
25825 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25826 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25828 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25830 [C99-based standards] (float_t): Expect type.
25831 [C99-based standards] (double_t): Expect type.
25832 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25834 [C99-based standards] (HUGE_VALL): Likewise.
25835 [C99-based standards] (INFINITY): Likewise.
25836 [C99-based standards] (NAN): Likewise.
25837 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25838 [C99-based standards] (FP_NAN): Likewise.
25839 [C99-based standards] (FP_NORMAL): Likewise.
25840 [C99-based standards] (FP_SUBNORMAL): Likewise.
25841 [C99-based standards] (FP_ZERO): Likewise.
25842 [C99-based standards] (FP_FAST_FMA): Use
25843 optional-macro-int-constant. Specify type. Require == 1.
25844 [C99-based standards] (FP_FAST_FMAF): Likewise.
25845 [C99-based standards] (FP_FAST_FMAL): Likewise.
25846 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25847 [C99-based standards] (FP_ILOGBNAN): Likewise.
25848 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25850 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25851 [C99-based standards] (math_errhandling): Specify type.
25852 [ISO99 || ISO11] (signgam): Do not allow.
25853 [non-C99-based standards] (copysignf): Do not allow.
25854 [non-C99-based standards] (exp2f): Likewise.
25855 [non-C99-based standards] (log2f): Likewise.
25856 [non-C99-based standards] (modff): Allow.
25857 [non-C99-based standards] (erff): Do not allow.
25858 [non-C99-based standards] (erfcf): Likewise.
25859 [non-C99-based standards] (gammaf): Likewise.
25860 [non-C99-based standards] (hypotf): Likewise.
25861 [non-C99-based standards] (j0f): Likewise.
25862 [non-C99-based standards] (j1f): Likewise.
25863 [non-C99-based standards] (jnf): Likewise.
25864 [non-C99-based standards] (lgammaf): Likewise.
25865 [non-C99-based standards] (tgammaf): Likewise.
25866 [non-C99-based standards] (y0f): Likewise.
25867 [non-C99-based standards] (y1f): Likewise.
25868 [non-C99-based standards] (ynf): Likewise.
25869 [non-C99-based standards] (isnanf): Likewise.
25870 [non-C99-based standards] (acoshf): Likewise.
25871 [non-C99-based standards] (asinhf): Likewise.
25872 [non-C99-based standards] (atanhf): Likewise.
25873 [non-C99-based standards] (cbrtf): Likewise.
25874 [non-C99-based standards] (expm1f): Likewise.
25875 [non-C99-based standards] (ilogbf): Likewise.
25876 [non-C99-based standards] (log1pf): Likewise.
25877 [non-C99-based standards] (logbf): Likewise.
25878 [non-C99-based standards] (nextafterf): Likewise.
25879 [non-C99-based standards] (remainderf): Likewise.
25880 [non-C99-based standards] (rintf): Likewise.
25881 [non-C99-based standards] (scalbf): Likewise.
25882 [non-C99-based standards] (copysignl): Likewise.
25883 [non-C99-based standards] (exp2l): Likewise.
25884 [non-C99-based standards] (log2l): Likewise.
25885 [non-C99-based standards] (modfl): Allow.
25886 [non-C99-based standards] (erfl): Do not allow.
25887 [non-C99-based standards] (erfcl): Likewise.
25888 [non-C99-based standards] (gammal): Likewise.
25889 [non-C99-based standards] (hypotl): Likewise.
25890 [non-C99-based standards] (j0l): Likewise.
25891 [non-C99-based standards] (j1l): Likewise.
25892 [non-C99-based standards] (jnl): Likewise.
25893 [non-C99-based standards] (lgammal): Likewise.
25894 [non-C99-based standards] (tgammal): Likewise.
25895 [non-C99-based standards] (y0l): Likewise.
25896 [non-C99-based standards] (y1l): Likewise.
25897 [non-C99-based standards] (ynl): Likewise.
25898 [non-C99-based standards] (isnanl): Likewise.
25899 [non-C99-based standards] (acoshl): Likewise.
25900 [non-C99-based standards] (asinhl): Likewise.
25901 [non-C99-based standards] (atanhl): Likewise.
25902 [non-C99-based standards] (cbrtl): Likewise.
25903 [non-C99-based standards] (expm1l): Likewise.
25904 [non-C99-based standards] (ilogbl): Likewise.
25905 [non-C99-based standards] (log1pl): Likewise.
25906 [non-C99-based standards] (logbl): Likewise.
25907 [non-C99-based standards] (nextafterl): Likewise.
25908 [non-C99-based standards] (remainderl): Likewise.
25909 [non-C99-based standards] (rintl): Likewise.
25910 [non-C99-based standards] (scalbl): Likewise.
25911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25912 [non-C99-based standards] (FP_*): Do not allow.
25913 [C99-based standards] (FP_*): Change to
25914 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25915 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25917 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25918 (SIG_ERR): Likewise.
25919 [X/Open-based standards] (SIG_HOLD): Likewise.
25920 (SIG_IGN): Likewise.
25921 (SIGABRT): Use macro-int-constant. Specify type. Require
25923 (SIGFPE): Likewise.
25924 (SIGILL): Likewise.
25925 (SIGINT): Likewise.
25926 (SIGSEGV): Likewise.
25927 (SIGTER): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25931 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25932 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25933 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25934 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25937 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25938 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25939 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25940 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25941 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25942 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25943 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25944 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25945 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25946 [X/Open-based standards] (SIGTRAP): Likewise.
25947 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25948 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25949 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25950 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25951 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25954 2012-05-08 Ian Wienand <ianw@vmware.com>
25957 * time/tzset.c (__tzset_parse_tz): Update default rules for
25958 daylight time changes in the Energy Policy Act of 2005.
25960 2012-05-09 Andreas Jaeger <aj@suse.de>
25963 * elf/ldconfig.c (parse_conf): Change string to make clear that
25964 ldconfig only issued a warning if ld.so.conf does not exist.
25966 2012-05-08 David S. Miller <davem@davemloft.net>
25968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25969 movxtod instead of popping the value on the stack.
25971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25973 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25975 * config.h.in: Add HAVE_ARM_PCS_VFP.
25977 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25980 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25981 checking but the checks are disabled for any reason.
25983 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25985 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25986 and ELF64_R_TYPE with ELFW(R_TYPE).
25988 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25990 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25991 (ulimit): Likewise.
25993 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25994 (settimeofday): Likewise.
25996 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25998 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25999 a struct th_u2 inside the union, and move tu_block/tu_code into
26000 a new th_u3 union of tu_block/tu_code inside of that. Move
26001 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
26002 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
26003 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
26004 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
26005 (th_stuff): Change to th_u1.tu_stuff.
26007 (th_msg): Change to th_u1.th_u2.tu_data.
26009 2012-05-07 David S. Miller <davem@davemloft.net>
26011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26015 (SETUP_PIC_REG): Use it.
26016 (SETUP_PIC_REG_LEAF): Use it.
26018 2012-05-07 Joseph Myers <joseph@codesourcery.com>
26022 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26024 (EXPL_FINITE): Likewise.
26025 (FLDLOG): Likewise.
26026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26027 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26031 (EXPL_FINITE): Likewise.
26032 (FLDLOG): Likewise.
26033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26034 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26036 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
26037 test of -max_value argument for long double.
26038 * sysdeps/i386/fpu/libm-test-ulps: Update.
26039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26041 2012-05-06 David S. Miller <davem@davemloft.net>
26043 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26044 quad soft-float symbols whose references which are compiler
26046 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26048 2012-05-06 Joseph Myers <joseph@codesourcery.com>
26052 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26054 (EXPL_FINITE): Likewise.
26055 (FLDLOG): Likewise.
26058 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26059 Adjust comments for base varying.
26060 (__expl_finite): Change alias to EXPL_FINITE.
26061 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26063 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26064 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26066 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26067 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26069 (EXPL_FINITE): Likewise.
26070 (FLDLOG): Likewise.
26073 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
26074 Adjust comments for base varying.
26075 (__expl_finite): Change alias to EXPL_FINITE.
26076 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
26078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26081 * math/libm-test.inc (check_float_internal): Correct ulp
26082 calculation for subnormal expected results.
26084 2012-05-06 Andreas Jaeger <aj@suse.de>
26086 * Makeconfig (+math-flags): New, set to -frounding-math.
26087 (+cflags): Add +math-flags so that all of glibc gets compiled with
26090 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26092 2012-05-05 Joseph Myers <joseph@codesourcery.com>
26094 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26100 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26101 (__ieee754_expl): Allow for and saturate large arguments.
26102 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26103 (u_threshold): Likewise.
26104 (__exp): Call __ieee754_exp before checking for overflow and
26106 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26107 (u_threshold): Likewise.
26108 (__expf): Call __ieee754_expf before checking for overflow and
26110 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26111 (u_threshold): Likewise.
26112 (__expl): Call __ieee754_expl before checking for overflow and
26114 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26115 (__ieee754_expl): Allow for and saturate large arguments.
26116 * math/libm-test.inc (exp_test): Add another test. Do not allow
26117 missing overflow exception on overflow.
26118 (expm1_test): Do not allow missing overflow exception on overflow.
26120 * sysdeps/i386/fpu/e_expl.c: Move to ...
26121 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
26122 rather than using inline asm.
26123 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26124 * sysdeps/x86_64/fpu/e_expl.S: Copy from
26125 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26127 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26130 (signal): Likewise.
26134 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26136 * sysdeps/unix/syscalls.list (adjtime): Add entry from
26137 sysdeps/unix/common/syscalls.list.
26138 (fchmod): Likewise.
26139 (fchown): Likewise.
26140 (ftruncate): Likewise.
26141 (getrusage): Likewise.
26142 (gettimeofday): Likewise.
26143 (setpgid): Likewise.
26144 (setregid): Likewise.
26145 (setreuid): Likewise.
26146 (sigaction): Likewise.
26147 (truncate): Likewise.
26148 (vhangup): Likewise.
26149 * sysdeps/unix/common/syscalls.list: Remove file.
26150 * sysdeps/unix/bsd/Implies: Don't include unix/common.
26151 * sysdeps/unix/sysv/linux/Implies: Likewise.
26153 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
26155 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26157 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26161 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26164 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26167 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26170 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26173 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26176 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26179 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26183 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26187 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26190 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26198 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26200 * sysdeps/unix/common/bits/dirent.h: Remove file.
26201 * sysdeps/unix/common/bits/fcntl.h: Likewise.
26203 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26204 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26205 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26206 * sysdeps/unix/bsd/isatty.c: Likewise.
26207 * sysdeps/unix/bsd/tcdrain.c: Likewise.
26208 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26209 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26211 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26215 long double comparison inaccuracies.
26216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26219 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
26221 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26224 2012-05-04 Joseph Myers <joseph@codesourcery.com>
26227 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26228 nonzero digits before rounding a hex value.
26229 * stdlib/tst-strtod.c (tests): Add another test.
26231 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26233 * sysdeps/s390/fpu/libm-test-ulps: Update.
26235 2012-05-03 Andreas Jaeger <aj@suse.de>
26237 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26238 does not get optimized out.
26239 (malloc_opt_barrier): New.
26241 2012-05-03 Andreas Jaeger <aj@suse.de>
26242 Roland McGrath <roland@hack.frob.com>
26244 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26245 intermediate file deletion.
26246 (generated): Add .symlist files.
26248 2012-05-03 Joseph Myers <joseph@codesourcery.com>
26251 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26252 Redirect under this condition.
26253 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26254 [__USE_GNU] (__dprintf_chk): Not under this condition.
26255 [__USE_GNU] (__vdprintf_chk): Likewise.
26256 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26257 under this condition.
26258 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26259 [__USE_XOPEN2K8] (dprintf): Define under this condition.
26260 [__USE_XOPEN2K8] (vdprintf): Likewise.
26261 [__USE_GNU] (__dprintf_chk): Not under this condition.
26262 [__USE_GNU] (__vdprintf_chk): Likewise.
26263 [__USE_GNU] (dprintf): Likewise.
26264 [__USE_GNU] (vdprintf): Likewise.
26266 2012-05-03 Roland McGrath <roland@hack.frob.com>
26268 * elf/Makefile (common-generated): Set this instead of generated for
26269 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
26270 $(all-built-dso)-derived lists.
26272 2012-05-03 Andreas Jaeger <aj@suse.de>
26274 * sysdeps/i386/fpu/libm-test-ulps: Update.
26277 * FAQ.in: Likewise.
26278 * scripts/gen-FAQ.pl: Likewise.
26279 * manual/install.texi (Installation): Point to online location of
26281 * Makefile (files-for-dist): Remove FAQ.
26284 2012-05-02 Allan McRae <allan@archlinux.org>
26286 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26287 (LDFLAGS-reldepmod5.so): Likewise.
26288 (LDFLAGS-reldep6mod1.so): Likewise.
26289 (LDFLAGS-reldep6mod4.so): Likewise.
26290 (LDFLAGS-reldep8mod3.so): Likewise.
26291 (LDFLAGS-unload4mod1.so): Likewise.
26292 (LDFLAGS-unload4mod2.so): Likewise.
26293 (LDFLAGS-tst-initorder): Likewise.
26294 (LDFLAGS-tst-initordera2.so): Likewise.
26295 (LDFLAGS-tst-initordera3.so): Likewise.
26296 (LDFLAGS-tst-initordera4.so): Likewise.
26297 (LDFLAGS-tst-initorderb2.so): Likewise.
26298 (LDFLAGS-noload): Likewise.
26299 (LDFLAGS-next): Likewise.
26300 (LDFLAGS-order2mod1.so): Likewise.
26301 (LDFLAGS-order2mod2.so): Likewise.
26302 (LDFLAGS-tst-initorder2): Likewise.
26303 (LDFLAGS-tst-initorder2a.so): Likewise.
26304 (LDFLAGS-tst-initorder2b.so): Likewise.
26305 (LDFLAGS-tst-initorder2c.so): Likewise.
26306 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26308 2012-05-02 David S. Miller <davem@davemloft.net>
26310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26312 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
26315 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26317 2012-05-02 Andreas Jaeger <aj@suse.de>
26319 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26320 since we manipulate rounding mode.
26321 (CPPFLAGS-test-idouble.c): Likewise.
26322 (CPPFLAGS-test-ifloat.c): Likewise.
26323 (CFLAGS-test-ldouble.c): Likewise.
26324 (CFLAGS-test-double.c): Likewise.
26325 (CFLAGS-test-float.c): Likewise.
26326 (CFLAGS-test-misc.c): Likewise.
26327 (CFLAGS-test-test-fenv.c): Likewise.
26329 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26334 comparisons to determine direction to adjust input.
26336 2012-05-01 Roland McGrath <roland@hack.frob.com>
26338 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26339 output to the target.
26341 * scripts/localplt.awk: New file.
26342 * elf/Makefile ($(objpfx)check-localplt): Target removed.
26343 (check-localplt-CFLAGS): Variable removed.
26344 ($(all-built-dso:=.jmprel)): New static pattern rule.
26345 (generated): Add those targets.
26346 (localplt-built-dso): New variable.
26347 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26349 * elf/check-localplt.c: File removed.
26351 * scripts/check-execstack.awk: New file.
26352 * elf/Makefile ($(objpfx)check-execstack): Target removed.
26353 (check-execstack-CFLAGS): Variable removed.
26354 ($(objpfx)check-execstack.h): Target removed.
26355 ($(objpfx)execstack-default): New target.
26356 (generated): Add that instead of check-execstack.h.
26357 ($(all-built-dso:=.phdr)): New static pattern rule.
26358 (generated): Add those targets.
26359 * elf/check-execstack.c: File removed.
26361 * scripts/check-textrel.awk: New file.
26362 * elf/Makefile ($(objpfx)check-textrel): Target removed.
26363 (check-textrel-CFLAGS): Variable removed.
26364 (all-built-dso): Use := to define.o
26365 ($(all-built-dso:=.dyn)): New static pattern rule.
26366 (generated): Add those targets.
26367 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26368 * config.make.in (READELF): New substituted variable.
26369 * elf/check-textrel.c: File removed.
26371 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26373 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26375 * conform/data/ctype.h-data [C99-based standards] (isblank):
26377 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26378 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26380 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26381 Specify type. Require positive value.
26382 (EILSEQ): Likewise.
26383 (ERANGE): Likewise.
26384 [ISO || POSIX] (EILSEQ): Do not expect.
26385 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26386 Specify type. Require positive value.
26387 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26388 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26389 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26390 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26391 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26392 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26393 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26394 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26395 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26396 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26397 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26398 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26399 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26400 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26401 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26402 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26403 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26404 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26405 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26406 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26407 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26408 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26409 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26410 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26411 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26412 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26413 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26414 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26415 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26416 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26417 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26418 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26419 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26420 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26421 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26422 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26423 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26424 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26425 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26426 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26427 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26428 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26429 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26430 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26431 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26432 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26433 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26434 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26435 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26436 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26437 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26438 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26439 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26440 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26441 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26442 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26443 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26444 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26445 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26446 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26447 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26448 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26449 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26450 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26451 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26452 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26453 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26454 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26455 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26456 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26457 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26458 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26459 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26460 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26461 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26462 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26463 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26465 (FLT_ROUNDS): Expect as macro, not constant.
26466 (FLT_MANT_DIG): Use macro-int-constant.
26467 (DBL_MANT_DIG): Likewise.
26468 (LDBL_MANT_DIG): Likewise.
26469 (FLT_DIG): Likewise.
26470 (DBL_DIG): Likewise.
26471 (LDBL_DIG): Likewise.
26472 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
26473 (DBL_MIN_EXP): Likewise.
26474 (LDBL_MIN_EXP): Likewise.
26475 (FLT_MAX_EXP): Use macro-int-constant.
26476 (DBL_MAX_EXP): Likewise.
26477 (LDBL_MAX_EXP): Likewise.
26478 (FLT_MAX_10_EXP): Likewise.
26479 (DBL_MAX_10_EXP): Likewise.
26480 (LDBL_MAX_10_EXP): Likewise.
26481 (FLT_MAX): Use macro-constant.
26482 (DBL_MAX): Likewise.
26483 (LDBL_MAX): Likewise.
26484 (FLT_EPSILON): Use macro-constant. Give upper bound.
26485 (DBL_EPSILON): Likewise.
26486 (LDBL_EPSILON): Likewise.
26487 (FLT_MIN): Likewise.
26488 (DBL_MIN): Likewise.
26489 (LDBL_MIN): Likewise.
26490 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26491 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26492 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26493 [ISO11] (FLT_HAS_SUBNORM): Likewise.
26494 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26495 [ISO11] (DBL_DECIMAL_DIG): Likewise.
26496 [ISO11] (FLT_DECIMAL_DIG): Likewise.
26497 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26498 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26499 [ISO11] (FLT_TRUE_MIN): Likewise.
26500 [ISO11] (LDBL_TRUE_MIN): Likewise.
26501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26502 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26503 (SCHAR_MIN): Use macro-int-constant. Specify type.
26504 (SCHAR_MAX): Likewise.
26505 (UCHAR_MAX): Likewise.
26506 (CHAR_MIN): Likewise.
26507 (CHAR_MAX): Likewise.
26508 (MB_LEN_MAX): Use macro-int-constant.
26509 (SHRT_MIN): Use macro-int-constant. Specify type.
26510 (SHRT_MAX): Likewise.
26511 (USHRT_MAX): Likewise.
26512 (INT_MAX): Likewise.
26513 (INT_MIN): Use macro-int-constant. Specify type. Make upper
26515 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
26517 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26519 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
26520 bound negative. Suffix upper bound with "L".
26521 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
26523 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26525 [C99-based standards] (LLONG_MAX): Likewise.
26526 [C99-based standards] (ULLONG_MAX): Likewise.
26527 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
26529 [ISO11] (max_align_t): Require type.
26530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26532 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26533 from $CFLAGS, without defining away __attribute__ calls.
26534 (checknamespace): Use $CFLAGS_namespace.
26536 * conform/conformtest.pl (@keywords): Only include C99 keywords
26537 for standards based on C99 or C11.
26539 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26541 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26544 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26545 usability of symbols in #if.
26547 * conform/conformtest.pl: If macro or constant types start
26548 "promoted:", expect the symbol to be of the following type
26549 promoted by the integer promotions.
26551 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26552 in one place. Also handle "macro-constant".
26554 * conform/conformtest.pl: Only accept expected macro values with
26555 "==". Parse all "macro" lines in one place.
26556 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26558 * conform/conformtest.pl: Handle braced types on "constant" lines
26559 instead of handling "typed-constant".
26560 * conform/data/signal.h-data: Use "constant" instead of
26563 * conform/conformtest.pl: Handle "optional-" at start of lines in
26564 one place rather than duplicating several cases. Handle each
26565 format of "macro" line with initial "optional-".
26567 * conform/conformtest.pl: Only accept expected constant or
26568 optional-constant values with "==". Parse all "constant" lines in
26569 one place. Parse all "optional-constant" lines in one place.
26570 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26571 * conform/data/fmtmsg.h-data: Likewise.
26572 * conform/data/netinet/in.h-data: Likewise.
26573 * conform/data/tar.h-data: Likewise.
26574 * conform/data/limits.h-data: Use "==" form on "constant" and
26575 "optional-constant" lines.
26577 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26578 Use -std=c99 for XOPEN2K.
26579 (@knownproblems): Remove.
26580 (newtoken): Don't check %isknown.
26582 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26583 Do not expect macro.
26584 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26585 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26586 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26587 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26588 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26589 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26590 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26591 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26592 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26593 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26594 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26595 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26596 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26597 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26598 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26599 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26600 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26601 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26602 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26603 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26604 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26608 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26609 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26610 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26611 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26612 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26613 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26614 [XPG3] (acosh): Likewise.
26615 [XPG3] (asinh): Likewise.
26616 [XPG3] (atanh): Likewise.
26617 [XPG3] (cbrt): Likewise.
26618 [XPG3] (expm1): Likewise.
26619 [XPG3] (ilogb): Likewise.
26620 [XPG3] (log1p): Likewise.
26621 [XPG3] (logb): Likewise.
26622 [XPG3] (nextafter): Likewise.
26623 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26624 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26625 [XPG3] (remainder): Likewise.
26626 [XPG3] (rint): Likewise.
26627 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26628 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26629 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26630 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26631 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26632 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26633 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26634 [UNIX98 || XOPEN2K] (scalb): Expect.
26635 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26636 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26637 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26638 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26639 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26640 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26641 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26642 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26643 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26644 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26645 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26646 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26647 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26648 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26649 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26650 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26651 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26652 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26653 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26654 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26655 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26656 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26657 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26658 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26659 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26660 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26661 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26662 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26663 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26664 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26665 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26666 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26667 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26668 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26669 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26670 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26671 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26672 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26673 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26674 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26675 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26676 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26677 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26678 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26679 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26680 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26681 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26682 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26683 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26684 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26685 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26686 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26687 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26688 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26689 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26690 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26691 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26692 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26693 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26694 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26695 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26696 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26697 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26698 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26699 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26700 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26701 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26702 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26703 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26704 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26705 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26706 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26707 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26708 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26709 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26710 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26711 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26712 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26713 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26714 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26715 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26716 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26717 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26718 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26719 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26720 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26721 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26722 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26723 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26724 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26725 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26726 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26727 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26728 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26729 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26730 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26731 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26732 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26733 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26734 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26735 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26736 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26737 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26738 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26739 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26740 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26741 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26742 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26743 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26744 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26745 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26746 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26747 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26748 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26749 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26750 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26751 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26752 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26753 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26754 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26755 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26756 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26757 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26758 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26759 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26760 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26761 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26762 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26763 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26764 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26765 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26766 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26767 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26768 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26769 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26770 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26771 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26773 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26774 _XOPEN_SOURCE_EXTENDED for XPG4.
26776 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26778 * Makeconfig (localtime): Remove variable.
26779 (inst_localtime-file): Likewise.
26781 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26802 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26806 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26807 comparisons to determine direction to adjust input.
26808 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26809 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26810 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26819 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26821 * math/libm-test.inc (nexttoward_test): Add more tests.
26823 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26827 in version GLIBC_2.1, not GLIBC_2.0.
26828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26831 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26836 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26837 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26838 * math/libm-test.inc (acos_test): Add more tests.
26839 (asin_test): Likewise.
26840 * sysdeps/i386/fpu/libm-test-ulps: Update.
26841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26844 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26846 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26847 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26848 * math/libm-test.inc (acos_test_tonearest): New function.
26849 (acos_test_towardzero): Likewise.
26850 (acos_test_downward): Likewise.
26851 (acos_test_upward): Likewise.
26852 (asin_test_tonearest): Likewise.
26853 (asin_test_towardzero): Likewise.
26854 (asin_test_downward): Likewise.
26855 (asin_test_upward): Likewise.
26856 (main): Call the new functions.
26857 * sysdeps/i386/fpu/libm-test-ulps: Update.
26858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26862 * math/e_exp10.c: Include <float.h>.
26863 (__ieee754_exp10): Handle underflow here rather than multiplying
26864 large negative argument by M_LN10.
26865 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26867 * math/e_exp10l.c: Include <float.h>.
26868 (__ieee754_exp10l): Handle underflow here rather than multiplying
26869 large negative argument by M_LN10l.
26870 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26871 spurious overflow exception on underflow.
26873 2012-04-29 Marek Polacek <polacek@redhat.com>
26875 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26876 (__fortify_function): New macro.
26877 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26878 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26879 __extern_always_inline.
26880 * libio/bits/stdio2.h: Likewise.
26881 * libio/bits/stdio.h: Likewise.
26882 * string/string.h: Likewise.
26883 * string/bits/string3.h: Likewise.
26884 * include/stdio.h: Likewise.
26885 * stdlib/bits/stdlib.h: Likewise.
26886 * stdlib/stdlib.h: Likewise.
26887 * rt/bits/mqueue2.h: Likewise.
26888 * rt/mqueue.h: Likewise.
26889 * posix/bits/unistd.h: Likewise.
26890 * posix/unistd.h: Likewise.
26891 * io/bits/poll2.h: Likewise.
26892 * io/bits/fcntl2.h: Likewise.
26893 * io/fcntl.h: Likewise.
26894 * io/sys/poll.h: Likewise.
26895 * misc/bits/syslog.h: Likewise.
26896 * misc/bits/syslog-ldbl.h: Likewise.
26897 * misc/sys/syslog.h: Likewise.
26898 * socket/bits/socket2.h: Likewise.
26899 * socket/sys/socket.h: Likewise.
26900 * debug/tst-chk1.c: Likewise.
26901 * wcsmbs/bits/wchar2.h: Likewise.
26902 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26903 * wcsmbs/wchar.h: Likewise.
26905 2012-04-29 Andreas Jaeger <aj@suse.de>
26907 * Makerules (tests): Remove enable-check-abi protection.
26908 (check-abi-warn): Remove.
26909 (check-abi-%): Remove check-abi-warn usage.
26911 * configure.in: Remove check-abi configure option.
26912 * configure: Regenerated.
26913 * config.make.in (enable-check-abi): Remove.
26915 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26918 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26919 double functions to double *_finite functions.
26922 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26923 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26925 * stdio-common/Makefile (tests): Add tst-sprintf3.
26926 * stdio-common/tst-sprintf3.c: New file.
26928 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26929 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26931 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26933 * conform/conformtest.pl: Remove duplicate typed-constant
26936 2012-04-28 David S. Miller <davem@davemloft.net>
26938 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26939 (check-abi-%): Remove AWK script prerequisite and explicit
26941 (check-abi): Rewrite to just diff the symlist with the abilist.
26942 (config-tls, config-abi-config): Delete, no longer used.
26943 (update-abi-%): Remove AWK script and explicit abilist directory.
26944 (update-abi): Rewrite to simply compare and conditionally copy the
26945 symlist and the sysdep abilist file. Remove update-abi-config
26947 * abilist/ld.abilist: Remove.
26948 * abilist/libBrokenLocale.abilist: Remove.
26949 * abilist/libanl.abilist: Remove.
26950 * abilist/libcrypt.abilist: Remove.
26951 * abilist/libdl.abilist: Remove.
26952 * abilist/librt.abilist: Remove.
26953 * abilist/libthread_db.abilist: Remove.
26954 * abilist/libutil.abilist: Remove.
26955 * scripts/extract-abilist.awk: Remove.
26956 * scripts/merge-abilist.awk: Remove.
26957 * sysdeps/generic/libcidn.abilist: New file.
26958 * sysdeps/generic/libnss_compat.abilist: New file.
26959 * sysdeps/generic/libnss_db.abilist: New file.
26960 * sysdeps/generic/libnss_dns.abilist: New file.
26961 * sysdeps/generic/libnss_files.abilist: New file.
26962 * sysdeps/generic/libnss_hesiod.abilist: New file.
26963 * sysdeps/generic/libnss_nis.abilist: New file.
26964 * sysdeps/generic/libnss_nisplus.abilist: New file.
26965 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26966 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26967 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26969 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26970 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26971 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26972 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26973 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26974 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26975 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26976 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26977 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26979 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26980 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26981 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26982 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26984 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26985 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26986 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26987 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26988 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26989 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26991 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26992 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26993 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26995 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
27000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
27002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
27004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
27006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
27008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
27010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
27012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27099 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27100 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27103 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27104 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27105 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27106 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27107 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27108 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27110 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27111 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27163 2012-04-28 Joseph Myers <joseph@codesourcery.com>
27165 * conform/conformtest.pl: Fix typo in handling typed-constant from
27168 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27170 * README: Cut down references to pre-2.6 Linux kernels and
27171 Linuxthreads. Update lists of configurations in libc and ports
27172 and sort alphabetically. Say "or newer" with Linux kernel version
27175 * config.h.in [IS_IN_build]: Allow compiling without optimization.
27177 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27180 * math/libm-test.inc (logb_test_downward): New test to expose
27181 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27184 2012-04-27 Joseph Myers <joseph@codesourcery.com>
27187 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27189 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27190 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27192 2012-04-26 Joseph Myers <joseph@codesourcery.com>
27194 * sysdeps/unix/i386/brk.S: Remove file.
27195 * sysdeps/unix/i386/dl-brk.S: Likewise.
27196 * sysdeps/unix/i386/pipe.S: Likewise.
27197 * sysdeps/unix/i386/sigreturn.S: Likewise.
27198 * sysdeps/unix/i386/syscall.S: Likewise.
27199 * sysdeps/unix/i386/vfork.S: Likewise.
27200 * sysdeps/unix/i386/wait.S: Likewise.
27202 * sysdeps/unix/common/tcsendbrk.c: Move to ...
27203 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27205 * configure.in (arm*-none*): Do not allow without
27206 --enable-hacker-mode.
27207 (netbsd*): Remove case setting base_os.
27208 (386bsd*): Likewise.
27209 (freebsd*): Likewise.
27212 (sunos*): Likewise.
27213 (ultrix*): Likewise.
27214 (newsos*): Likewise.
27215 (dynix*): Likewise.
27221 (minix*): Likewise.
27222 (irix4*): Likewise.
27223 (irix6*): Likewise.
27224 (solaris[2-9]*): Likewise.
27226 * configure: Regenerated.
27228 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27231 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27232 overflow or cancellation in calculating denominator.
27233 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27235 down expression to avoid unexpected rounding in newer GCCs.
27236 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27238 2012-04-26 David S. Miller <davem@davemloft.net>
27240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27241 long-double compat symbols.
27242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27256 2012-04-25 David S. Miller <davem@davemloft.net>
27258 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27259 HWCAP_* values only after the memory barriers have been defined.
27260 (atomic_full_barrier): Define.
27261 (atomic_read_barrier): Define.
27262 (atomic_write_barrier): Define.
27264 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27266 * shlib-versions: Add libgcc_s version information.
27267 * sysdeps/generic/libgcc_s.h: Remove.
27268 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27270 * sysdeps/gnu/unwind-resume.c: Likewise.
27271 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27273 2012-04-25 David S. Miller <davem@davemloft.net>
27275 * sysdeps/unix/sparc/brk.S: Delete.
27276 * sysdeps/unix/sparc/dl-brk.S: Delete.
27277 * sysdeps/unix/sparc/pipe.S: Delete.
27278 * sysdeps/unix/sparc/sysdep.S: Delete.
27279 * sysdeps/unix/sparc/sysdep.h: Delete.
27280 * sysdeps/unix/sparc/vfork.S: Delete.
27281 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27282 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27284 ret_ERRVAL, r0, r1, MOVE): Define.
27285 (JUMPTARGET): Remove.
27286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27287 sysdeps/unix/sparc/sysdep.h
27288 (ENTRY, END): Remove.
27289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27291 2012-04-25 Joseph Myers <joseph@codesourcery.com>
27293 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27294 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27297 * timezone/README: Update upstream location and email address for
27299 * timezone/zdump.c: Update from tzcode 2012b.
27300 * timezone/zic.c: Likewise.
27302 * configure.in (libc_cv_as_needed): Remove test.
27303 * configure: Regenerated.
27304 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27305 conditional definition.
27306 [$(have-as-needed) != yes] (no-as-needed): Likewise.
27307 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27308 * config.make.in (have-as-needed): Remove variable.
27310 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27311 Paul Pluzhnikov <ppluzhnikov@google.com>
27313 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27316 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
27318 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27319 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27320 * sysdeps/sh/strlen.S: Likewise.
27322 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27324 * sysdeps/unix/fork.S: Remove file.
27325 * sysdeps/unix/i386/fork.S: Likewise.
27326 * sysdeps/unix/sparc/fork.S: Likewise.
27328 * sysdeps/unix/system.c: Remove file.
27329 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27331 * sysdeps/unix/getegid.S: Remove file.
27332 * sysdeps/unix/geteuid.S: Likewise.
27334 2012-04-24 Roland McGrath <roland@hack.frob.com>
27336 * scripts/check-localplt.awk: New file.
27337 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27339 * scripts/data/localplt-generic.data: Add a comment.
27341 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27342 NODE when __dir_mkfile failed.
27343 * sysdeps/mach/hurd/symlinkat.c: Likewise.
27344 Reported by Ludovic Courtès <ludo@gnu.org>.
27346 2012-04-24 Andreas Jaeger <aj@suse.de>
27348 * Makerules (common-clean): Also remove gen-as-const-headers
27351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27353 * Makerules (native-compile): Do not change working directory for
27354 build. Use $(OUTPUT_OPTION) in command.
27355 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27357 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27360 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27361 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27362 * math/libm-test.inc (floor_test): Add more tests.
27363 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27365 2012-04-24 Joseph Myers <joseph@codesourcery.com>
27367 * sysdeps/unix/getdents.c: Remove file.
27368 * sysdeps/unix/sysv/getdents.c: Likewise.
27369 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27371 * sysdeps/unix/syscalls.list (madvise): Add syscall from
27372 sysdeps/unix/mman/syscalls.list.
27374 (mprotect): Likewise.
27376 (munmap): Likewise.
27377 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27378 * sysdeps/unix/mman/syscalls.list: Remove.
27379 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27381 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27382 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27383 * configure: Regenerated.
27384 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27385 $(libgcc_s_suffix).
27386 * config.make.in (libgcc_s_suffix): Remove variable.
27388 2012-04-23 Joseph Myers <joseph@codesourcery.com>
27390 * sysdeps/unix/sysv/gethostname.c: Move to ...
27391 * sysdeps/posix/gethostname.c: ... here.
27393 * sysdeps/unix/execve.S: Remove file.
27395 * sysdeps/unix/_exit.S: Remove file.
27397 2012-04-23 Andreas Jaeger <aj@suse.de>
27400 * manual/Makefile: Remove make dist support, there's no
27401 need for a stand-alone documentation tar ball.
27402 (TEXI2DVI): Define always, it's not in Makeconfig.
27405 (edition): Removed.
27406 (glibc-doc-$(edition).tar): Removed
27410 (ETAGS): Remove, it's in Makeconfig.
27411 (move-if-change): Remove, it's in Makeconfig.
27413 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
27416 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27417 (strtod, strtof, strtold, strtol, strtoul, strtoq)
27418 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27419 (strtod_l, strtof_l, strtold_l): Remove __wur.
27420 It is not necessarily an error to ignore strtol's return value.
27421 One can reliably look at the stored endptr to decide whether
27422 the number had valid syntax.
27424 2012-04-21 Andreas Jaeger <aj@suse.de>
27427 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27429 2012-04-21 Joseph Myers <joseph@codesourcery.com>
27431 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27432 * sysdeps/unix/sysv/Versions: Remove file.
27434 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
27437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27439 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
27442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27443 version from __vm86.
27445 2012-04-20 Joseph Myers <joseph@codesourcery.com>
27447 * sysdeps/unix/common/lxstat.c: Remove file.
27448 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27450 * sysdeps/unix/sysv/Makefile: Remove file.
27452 * sysdeps/unix/sysv/direct.h: Remove file.
27454 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27455 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27456 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27457 * sysdeps/unix/sysv/bits/signum.h: Likewise.
27458 * sysdeps/unix/sysv/bits/stat.h: Likewise.
27459 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27460 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27462 * sysdeps/unix/sysv/setrlimit.c: Remove file.
27464 * sysdeps/unix/xmknod.c: Remove file.
27465 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27467 * sysdeps/unix/sysv/settimeofday.c: Remove file.
27469 * sysdeps/unix/sysv/i386/time.S: Remove file.
27471 * sysdeps/unix/fxstat.c: Remove file.
27472 * sysdeps/unix/xstat.c: Likewise.
27473 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27475 * sysdeps/unix/sysv/sigaction.c: Remove file.
27477 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27478 (sysdep_headers): Remove variable.
27479 [termio.h not in sysdep_headers] (generated): Likewise.
27480 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27481 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27482 * sysdeps/unix/sysv/tcdrain.c: Likewise.
27483 * sysdeps/unix/sysv/tcflow.c: Likewise.
27484 * sysdeps/unix/sysv/tcflush.c: Likewise.
27485 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27486 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27487 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27488 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27489 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27491 * sysdeps/unix/siglist.c: Remove file.
27493 * sysdeps/unix/getppid.S: Remove file.
27495 * sysdeps/unix/mkdir.c: Remove file.
27496 * sysdeps/unix/rmdir.c: Likewise.
27498 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
27500 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27502 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27503 errlist-compat value.
27505 2012-04-18 David S. Miller <davem@davemloft.net>
27507 * sysdeps/generic/memcopy.h (reg_char): Delete.
27508 * debug/strcat_chk.c: Use char, not reg_char.
27509 * debug/strcpy_chk.c: Likewise.
27510 * debug/strncat_chk.c: Likewise.
27511 * debug/strncpy_chk.c: Likewise.
27512 * string/memchr.c: Likewise.
27513 * string/memrchr.c: Likewise.
27514 * string/rawmemchr.c: Likewise.
27515 * string/strcat.c: Likewise.
27516 * string/strchr.c: Likewise.
27517 * string/strchrnul.c: Likewise.
27518 * string/strcmp.c: Likewise.
27519 * string/strcpy.c: Likewise.
27520 * string/strncat.c: Likewise.
27521 * string/strncmp.c: Likewise.
27522 * string/strncpy.c: Likewise.
27524 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27526 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27527 __builtin_memcopy is called when src and dest ranges are known to not
27530 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27533 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27534 fwd_align_merge macro call.
27535 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27536 bwd_align_merge macro call.
27537 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27539 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27542 bwd_align_merge macros.
27543 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27544 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27547 2012-04-18 David S. Miller <davem@davemloft.net>
27549 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27551 2012-04-18 Andreas Jaeger <aj@suse.de>
27554 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27555 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27556 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27558 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27559 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27560 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27562 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27563 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27564 Adjust for changed ldbl-128 files.
27566 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27567 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27570 2012-04-17 David S. Miller <davem@davemloft.net>
27572 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27574 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27576 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27577 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27578 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27579 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27580 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27581 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27583 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27586 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27587 * math/libm-test.inc: Add ilogb errno and exception tests.
27588 * math/w_ilogb.c: New file: ilogb wrapper.
27589 * math/w_ilogbf.c: New file: ilogbf wrapper.
27590 * math/w_ilogbl.c: New file: ilogbl wrapper.
27591 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27592 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27593 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27594 exception being thrown with 0.0 as argument.
27595 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27596 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27597 exception being thrown with 0.0 as argument.
27598 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27599 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27600 exception being thrown with 0.0 as argument.
27601 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27602 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27603 exception being thrown with 0.0 as argument.
27604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27605 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27607 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27608 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27610 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27611 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27612 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27614 2012-04-17 Petr Baudis <pasky@ucw.cz>
27616 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27619 2012-04-16 Marek Polacek <polacek@redhat.com>
27621 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27623 2012-04-16 Marek Polacek <polacek@redhat.com>
27625 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27626 operands of fdivp instruction.
27628 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27630 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27631 * elf/tst-auditmod3b.c: Likewise.
27632 * elf/tst-auditmod4b.c: Likewise.
27633 * elf/tst-auditmod5b.c: Likewise.
27634 * elf/tst-auditmod6b.c: Likewise.
27635 * elf/tst-auditmod6c.c: Likewise.
27636 * elf/tst-auditmod7b.c: Likewise.
27637 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27638 * sysdeps/x86_64/preconfigure.in: Likewise.
27639 * sysdeps/x86_64/preconfigure: Regenerated.
27641 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27643 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27646 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27649 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27651 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27654 * locale/iso-639.def: Fix gl language name. Spotted by
27657 2012-04-12 Roland McGrath <roland@hack.frob.com>
27660 * libio/libio.h (__io_write_fn): Update comment.
27662 2012-04-12 Petr Baudis <pasky@ucw.cz>
27665 * stdio.texi (Hook Functions): The user provided writer function
27666 is not allowed to return -1.
27668 2012-04-11 David S. Miller <davem@davemloft.net>
27670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27672 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27674 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27675 Add a leading slash to rtkaio.
27677 2012-04-11 Jim Meyering <meyering@redhat.com>
27680 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27681 It is not necessarily an error to ignore fwrite's return
27682 value. One can reliably use ferror to test for errors after
27685 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27687 * bits/types.h (__snseconds_t): New type.
27688 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27690 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27692 (__SNSECONDS_T_TYPE): Likewise.
27693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27694 (__SNSECONDS_T_TYPE): Likewise.
27695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27696 (__SNSECONDS_T_TYPE): Likewise.
27698 2012-04-10 Andreas Jaeger <aj@suse.de>
27701 * manual/time.texi (Processor Time): Return type of times is
27702 elapsed real time since an arbitrary point in the past.
27703 (CPU Time): Move CLK_TCK from here...
27704 (Processor Time): ...to here. Correct description.
27705 * manual/conf.texi (Constants for Sysconf): Correct description of
27708 2012-04-10 David S. Miller <davem@davemloft.net>
27711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27712 where the is a gap between DT_REL(A) and DT_JMPREL.
27714 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27716 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27717 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27718 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27720 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27722 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27723 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27724 (dl_main): Handle --inhibit-cache.
27725 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27727 * elf/dl-load.c (_dl_map_object): Use it.
27728 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27730 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27733 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27734 (__ieee754_powl): Saturate large exponents rather than testing for
27735 overflow of y*log2(x).
27736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27737 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27741 * math/s_ctan.c: Include <float.h>.
27742 (__ctan): Avoid internal overflow or cancellation in calculating
27744 * math/s_ctanf.c: Likewise.
27745 * math/s_ctanl.c: Likewise.
27746 * math/s_ctanh.c: Likewise.
27747 * math/s_ctanhf.c: Likewise.
27748 * math/s_ctanhl.c: Likewise.
27749 * math/libm-test.inc (ctan_test): Add more tests.
27750 (ctanh_test): Likewise.
27751 * sysdeps/i386/fpu/libm-test-ulps: Update.
27752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27754 2012-04-09 Andreas Jaeger <aj@suse.de>
27757 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27758 is an optional BSD extension.
27761 * manual/stdio.texi (Opening Streams): Document additional fopen
27764 2012-04-09 Roland McGrath <roland@hack.frob.com>
27766 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27767 %eax without telling the compiler.
27769 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27772 * manual/install.texi: Use sourceware.org.
27774 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27777 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27778 (__ieee754_pow): Generate overflow and underflow using huge*huge
27779 and tiny*tiny rather than just returning constant infinity or zero
27780 for large exponents.
27781 * math/libm-test.inc (pow_test): Require overflow exceptions for
27782 applicable cases of large exponents.
27785 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27786 (__ieee754_pow): Use iterative multiplication algorithm only for
27787 integer exponents with absolute value below 1024. Check for odd
27788 integer exponents when using algorithm for real exponents.
27789 * math/libm-test.inc (pow_test): Add more tests.
27790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27792 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27795 * math/libm-test.inc (exp_test): Do not allow overflow exception
27798 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27801 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27802 instead of __kernel_standard_f.
27804 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27806 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27807 * sysdeps/x86_64/memset_chk.S: Likewise.
27809 2012-04-08 Andreas Jaeger <aj@suse.de>
27812 * manual/startup.texi (Environment Access): Describe return value
27813 for putenv and setenv.
27816 * manual/filesys.texi (Directory Entries): Add description for
27820 * manual/filesys.texi (Directory Entries): Clarify that it's file
27821 system not operating system in the description of DT_UNKNOWN.
27824 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27826 2012-04-08 Stephen Compall <s11@member.fsf.org>
27829 * manual/llio.texi (Opening and Closing Files): Add cross
27830 reference to explain mode argument.
27832 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27834 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27835 * sysdeps/x86_64/memset_chk.S: Likewise.
27837 2012-04-07 David S. Miller <davem@davemloft.net>
27839 * elf/elf.h (R_SPARC_WDISP10): Define.
27840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27843 R_SPARC_SIZE64 and R_SPARC_H34.
27845 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27848 conditions and remove no longer applicable assertion.
27850 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27852 * bits/byteswap.h: Include <features.h>.
27853 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27854 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27856 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27858 * bits/byteswap.h (__bswap_16): Removed.
27859 Include <bits/byteswap-16.h> to get __bswap_16.
27860 * sysdeps/i386/bits/byteswap.h: Likewise.
27861 * sysdeps/s390/bits/byteswap.h: Likewise.
27862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27863 * bits/byteswap-16.h: New file.
27864 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27865 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27866 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27867 * string/Makefile (headers): Add bits/byteswap-16.h.
27869 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27872 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27874 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27875 * nss/tst-nss-static.c: New.
27877 2012-04-06 Robert Millan <rmh@gnu.org>
27880 * manual/llio.texi (File Position Primitive): lseek
27881 refers to WHENCE when it really means OFFSET.
27883 2012-04-06 Andreas Jaeger <aj@suse.de>
27885 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27886 strncmp declarations.
27888 * abilist/libc.abilist: Add __poll and __ppoll.
27890 2012-04-05 David S. Miller <davem@davemloft.net>
27892 * scripts/check-local-headers.sh: Accept a host triplet in the
27893 path matched by the exclude regexp.
27895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27897 * sysdeps/powerpc/powerpc32/dl-machine.h
27898 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27899 * sysdeps/s390/s390-32/dl-machine.h
27900 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27901 * sysdeps/sparc/sparc32/dl-machine.h
27902 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27903 * sysdeps/sparc/sparc64/dl-machine.h
27904 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27906 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27908 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27909 undefined symbol errors.
27911 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27914 2012-04-05 Michael Matz <matz@suse.de>
27917 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27919 2012-04-05 Andreas Jaeger <aj@suse.de>
27922 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27925 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27927 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27928 which ROUND is no valid rounding mode.
27930 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27934 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27936 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27938 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27939 an exception using FPU order intentionally.
27941 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27943 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27944 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27945 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27946 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27948 2012-04-05 Simon Josefsson <simon@josefsson.org>
27951 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27952 EINVAL when BUFLEN is too smal.
27954 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27957 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27958 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27960 2012-04-03 Andreas Jaeger <aj@suse.de>
27963 * manual/setjmp.texi (System V contexts): Fix sentence.
27966 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27967 New macro for this case.
27968 [!__GNUC__] (__bswap_64): New inline function for this case.
27969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27970 * bits/byteswap.h: Likewise.
27971 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27972 ull, guard with __GLIBC_HAVE_LONG_LONG.
27974 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27975 __GLIBC_HAVE_LONG_LONG.
27977 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27978 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27980 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27983 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27984 inptr and inend, rather than using last_ch.
27986 2012-04-02 David S. Miller <davem@davemloft.net>
27988 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27989 * stdio-common/printf-parse.h (read_int): Change return type to
27990 'int', return -1 on INT_MAX overflow.
27991 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27992 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27993 overflows INT_MAX. Check for overflow of in-format-string precision
27994 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27995 SIZE_MAX not INT_MAX for integer overflow test.
27996 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27997 skip the construct in the format string but do not record anything.
27998 * stdio-common/bug22.c: Adjust to test both width/prevision
27999 INT_MAX overflow as well as total length INT_MAX overflow. Check
28000 explicitly for proper errno values.
28002 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
28004 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
28006 * string/test-strcmp.c [! WIDE]: Likewise.
28007 * time/tst-mktime2.c: Likewise for INT_MAX.
28008 * string/test-string.h: #include <sys/param.h> for MIN.
28010 * csu/init-first.c (__libc_init_first): Call __ctype_init.
28011 * sysdeps/i386/init-first.c (init): Likewise.
28012 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28013 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28014 * sysdeps/sh/init-first.c (init): Likewise.
28016 2012-04-01 Ulrich Drepper <drepper@gmail.com>
28018 * po/ru.po: Update from translation team.
28019 * po/vi.po: Likewise.
28021 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28023 * resolv/nss_dns/dns-host.c: Merge copyright years.
28025 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28028 Optimize memcpy with prefetch if
28029 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
28030 src, dst pointers have unequal 16 byte alignments.
28032 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28035 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28036 from a CNAME entry and return the minimum ttl for the query.
28037 (gaih_getanswer_slice): Likewise.
28039 2012-03-30 Jeff Law <law@redhat.com>
28041 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28043 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28044 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28046 * resolv/nss_dns/dns-host.c: Update copyright year.
28048 2012-03-30 Ulrich Drepper <drepper@gmail.com>
28050 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28051 requests to save a system call. Fix check that all bytes are sent.
28053 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28054 comments for sendmmsg.
28056 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28059 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28060 with only 1 character between 0x0041 and 0x01b0.
28061 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28062 * wcsmbs/tst-mbsnrtowcs.c: New file.
28064 2012-03-29 David S. Miller <davem@davemloft.net>
28066 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28067 small copies by hand.
28069 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28072 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28073 _nss_compat_initgroups_dyn): Fall back to malloc/free
28074 for large group memberships.
28076 2012-03-28 David S. Miller <davem@davemloft.net>
28078 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28079 that branches into memcpy.
28080 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28083 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28086 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28087 implementation too.
28088 * sysdeps/sparc/mempcpy.S: New file.
28090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28091 the IFUNC routine in the libc case.
28092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28094 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28095 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28096 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28097 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28098 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28099 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28100 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28101 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28103 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28104 loop to 256 bytes instead of 64 bytes and fix test signedness.
28106 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28107 * sysdeps/sparc/sparc32/Makefile: rather than here...
28108 * sysdeps/sparc/sparc64/Makefile: and here.
28110 2012-03-28 Ulrich Drepper <drepper@gmail.com>
28112 * malloc/mallocbug.c: Avoid warnings about unused variables.
28114 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28117 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28118 in the right place. Discard and retry query if response is
28119 larger than input buffer size.
28121 2012-03-28 Joseph Myers <joseph@codesourcery.com>
28126 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28127 x for large integer exponent.
28128 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28129 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
28130 sign of result as needed afterwards.
28131 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28133 result for underflowing pow the same as for overflow.
28134 (__kernel_standard_l): Handle powl overflow and underflow here
28135 rather than calling __kernel_standard.
28136 * math/libm-test.inc (pow_test): Add more tests.
28151 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28152 * sysdeps/ieee754/k_standard.c: Include <float.h>.
28153 (__kernel_standard_l): New function.
28154 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28156 * math/w_acosl.c (__acosl): Likewise.
28157 * math/w_asinl.c (__asinl): Likewise.
28158 * math/w_atan2l.c (__atan2l): Likewise.
28159 * math/w_atanhl.c (__atanhl): Likewise.
28160 * math/w_coshl.c (__coshl): Likewise.
28161 * math/w_exp10l.c (__exp10l): Likewise.
28162 * math/w_exp2l.c (__exp2l): Likewise.
28163 * math/w_fmodl.c (__fmodl): Likewise.
28164 * math/w_hypotl.c (__hypotl): Likewise.
28165 * math/w_j0l.c (__j0l, __y0l): Likewise.
28166 * math/w_j1l.c (__j1l, __y1l): Likewise.
28167 * math/w_jnl.c (__jnl, __ynl): Likewise.
28168 * math/w_lgammal.c (__lgammal): Likewise.
28169 * math/w_log10l.c (__log10l): Likewise.
28170 * math/w_log2l.c (__log2l): Likewise.
28171 * math/w_logl.c (__logl): Likewise.
28172 * math/w_powl.c (__powl): Likewise.
28173 * math/w_remainderl.c (__remainderl): Likewise.
28174 * math/w_scalbl.c (sysv_scalbl): Likewise.
28175 * math/w_sinhl.c (__sinhl): Likewise.
28176 * math/w_sqrtl.c (__sqrtl): Likewise.
28177 * math/w_tgammal.c (__tgammal): Likewise.
28178 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28179 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28180 * math/libm-test.inc (acos_test): Add more tests.
28181 (acosh_test): Likewise.
28182 (asin_test): Likewise.
28183 (atanh_test): Likewise.
28184 (exp_test): Likewise.
28185 (exp10_test): Likewise.
28186 (exp2_test): Likewise.
28187 (expm1_test): Likewise.
28188 (lgamma_test): Likewise.
28189 (log_test): Likewise.
28190 (log10_test): Likewise.
28191 (log1p_test): Likewise.
28192 (log2_test): Likewise.
28193 (pow_test): Do not allow some spurious overflow exceptions.
28194 (sqrt_test): Add more tests.
28195 (tgamma_test): Likewise.
28196 (y0_test): Likewise.
28197 (y1_test): Likewise.
28198 (yn_test): Likewise.
28200 2012-03-27 Anton Blanchard <anton@samba.org>
28202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28208 2012-03-27 David S. Miller <davem@davemloft.net>
28210 * conform/Makefile: Run run-conformtest.sh using $(BASH).
28212 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28213 have-as-vis3 check.
28215 2012-03-27 Andreas Jaeger <aj@suse.de>
28217 * sysdeps/x86_64/elf/configure.in: Moved to ...
28218 * sysdeps/x86_64/configure.in: ... here.
28219 * sysdeps/x86_64/elf/start.S: Moved to ...
28220 * sysdeps/x86_64/start.S: ... here.
28221 * sysdeps/x86_64/elf/configure: Delete.
28223 * sysdeps/x86_64/configure.in: Merge contents from
28224 sysdeps/i386/configure.in (without i686 check).
28226 * sysdeps/i386/elf/Versions: Merge into ...
28227 * sysdeps/i386/Versions: ... this.
28228 * sysdeps/i386/elf/Versions: Delete file.
28229 * sysdeps/i386/elf/start.S: Moved to ...
28230 * sysdeps/i386/start.S: ...here.
28231 * sysdeps/i386/elf/configure.in: Merge into...
28232 * sysdeps/i386/configure.in: ...here.
28233 * sysdeps/i386/elf/configure.in: Delete file.
28234 * sysdeps/i386/elf/configure: Delete file.
28236 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28237 * debug/backtracesyms.c: ... here.
28238 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28239 * debug/backtracesymsfd.c: ... here.
28240 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28241 * sysdeps/generic/ifunc-sel.h: ... here.
28243 * sysdeps/unix/i386/start.c: Delete file.
28244 * sysdeps/unix/sparc/start.c: Delete file.
28245 * sysdeps/unix/start.c: Delete file.
28247 * sysdeps/sh/elf/configure.in: Moved to ...
28248 * sysdeps/sh/configure.in: ... here.
28249 * sysdeps/sh/elf/start.S: Moved to ...
28250 * sysdeps/sh/start.S: ... here.
28251 * sysdeps/sh/elf/configure: Delete file.
28253 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28254 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28255 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28256 * sysdeps/powerpc/powerpc64/entry.h: ... here.
28257 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28258 * sysdeps/powerpc/powerpc64/start.S: here.
28259 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28260 * sysdeps/powerpc/powerpc64/Makefile: ... this.
28261 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28262 * sysdeps/powerpc/powerpc64/configure.in: ... this.
28263 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28265 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28266 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28267 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28268 * sysdeps/powerpc/powerpc32/start.S: ... here.
28269 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28270 * sysdeps/powerpc/powerpc32/configure.in: ... this.
28271 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28273 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28274 * sysdeps/powerpc/ifunc-sel.h: ... here.
28275 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28276 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28278 * sysdeps/sparc/elf/configure.in: Moved to ...
28279 * sysdeps/sparc/configure.in: ... here.
28280 * sysdeps/sparc/elf/configure: Delete file.
28281 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28282 * sysdeps/sparc/sparc32/start.S: ... here.
28283 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28284 * sysdeps/sparc/sparc64/start.S: ... here.
28285 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28286 * sysdeps/sparc/sparc32/Makefile: ... this.
28287 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28288 * sysdeps/sparc/sparc64/Makefile: ... this.
28290 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28291 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28292 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28293 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28294 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28295 * sysdeps/s390/s390-32/setjmp.S: ... here.
28296 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28297 * sysdeps/s390/s390-32/configure.in: ... here.
28298 * sysdeps/s390/s390-32/elf/configure: Delete file.
28299 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28300 * sysdeps/s390/s390-32/start.S: ... here.
28302 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28303 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28304 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28305 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28306 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28307 * sysdeps/s390/s390-64/setjmp.S: ... here.
28308 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28309 * sysdeps/s390/s390-64/configure.in: ... here
28310 * sysdeps/s390/s390-64/elf/configure: Delete file.
28311 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28312 * sysdeps/s390/s390-64/start.S: ... here.
28313 * sysdeps/s390/s390-64/elf/configure: Delete.
28315 * configure.in: Remove support for elf directories in sysdeps.
28317 * configure: Regenerated.
28318 * sysdeps/i386/configure: Regenerated.
28319 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28320 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28321 * sysdeps/s390/s390-32/configure: Regenerated.
28322 * sysdeps/s390/s390-64/configure: Regenerated.
28323 * sysdeps/sh/configure: Regenerated.
28324 * sysdeps/sparc/configure: Regenerated.
28325 * sysdeps/x86_64/configure: Regenerated.
28327 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
28329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28332 denormal result into account.
28334 2012-03-25 Roland McGrath <roland@hack.frob.com>
28336 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28337 Reported by Allan McRae <allan@archlinux.org>.
28339 2012-03-23 Jeff Law <law@redhat.com>
28341 * nss/getnssent.c (__nss_getent): Fix typo.
28343 2012-03-23 David S. Miller <davem@davemloft.net>
28345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28347 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
28349 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28350 to pad to uint64_t for each field.
28351 (dl_tls_index): Replace unsigned long with uint64_t.
28353 2012-03-23 Daniel Jacobowitz <dmj@google.com>
28354 Paul Pluzhnikov <ppluzhnikov@google.com>
28357 * grp/Makefile (otherlibs): Don't set it.
28358 * inet/Makefile (otherlibs): Likewise.
28359 * login/Makefile (otherlibs): Likewise.
28360 * nscd/Makefile (otherlibs): Likewise.
28361 * posix/Makefile (otherlibs): Likewise.
28362 * pwd/Makefile (otherlibs): Likewise.
28363 * rt/Makefile (otherlibs): Likewise.
28364 * sunrpc/Makefile (otherlibs): Likewise.
28365 * nss/Makefile (otherlibs): Likewise.
28366 Add libnss_files to routines and static-only-routines.
28367 ($(objpfx)getent): Remove rule.
28368 * resolv/Makefile: Add libnss_dns and libresolv to routines and
28369 static-only-routines.
28371 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28374 * math/s_cexp.c: Include <float.h>.
28375 (__cexp): Handle exp result overflowing not necessarily
28376 overflowing both real and imaginary parts of result.
28377 * math/s_cexpf.c: Likewise.
28378 * math/s_cexpl.c: Likewise.
28379 * math/libm-test.inc (cexp_test): Add more tests.
28380 * sysdeps/i386/fpu/libm-test-ulps: Update.
28381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28383 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28385 * include/link.h (ELFW): New macro.
28386 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28387 Replace ELF64_R_TYPE with ELFW(R_TYPE).
28389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28391 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28394 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28396 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28398 (struct La_x32_retval): Likewise.
28400 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
28402 * sysdeps/x86_64/preconfigure.in: New file.
28403 * sysdeps/x86_64/preconfigure: New generated file.
28405 2012-03-22 Joseph Myers <joseph@codesourcery.com>
28408 * math/e_exp2l.c: Include <float.h>.
28409 (__ieee754_exp2l): Handle overflow and underflow cases
28410 separately. Only pass fractional part of argument to
28412 * math/libm-test.inc (exp2_test): Add more tests.
28414 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28415 negating x to take absolute value.
28416 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28418 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28419 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28421 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28422 computing low part if x was negated.
28423 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28425 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28427 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28428 la_x32_gnu_pltexit.
28429 (pltexit): Cast int_retval to ptrdiff_t.
28430 * elf/tst-auditmod3b.c: Likewise.
28431 * elf/tst-auditmod4b.c: Likewise.
28432 * elf/tst-auditmod5b.c: Likewise.
28433 * elf/tst-auditmod6b.c: Likewise.
28434 * elf/tst-auditmod6c.c: Likewise.
28435 * elf/tst-auditmod7b.c: Likewise.
28437 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28438 and x32_gnu_pltexit.
28440 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28441 __ELF_NATIVE_CLASS.
28442 (La_x32_regs): New macro.
28443 (La_x32_retval): Likewise.
28444 (la_x32_gnu_pltenter): New function prototype.
28445 (la_x32_gnu_pltexit): Likewise.
28447 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
28449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28454 * configure.in (libc_cv_cc_nofma): Check for option to disable
28455 generation of FMA instructions.
28456 * configure: Regenerate.
28457 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28458 * sysdeps/ieee754/dbl-64/Makefile: New file.
28459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28460 Remove brandred-fma4.
28461 (CFLAGS-brandred-fma4.c): Remove.
28462 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28463 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28465 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28468 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28470 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28471 LLONG_MAX != LONG_MAX.
28472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28473 (_fitoa_word): Likewise.
28474 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28475 LLONG_MAX != LONG_MAX.
28476 * stdio-common/_itowa.h: Include <_itoa.h>.
28477 (_itowa_word): Use _ITOA_WORD_TYPE on value.
28478 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
28479 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
28480 only if not defined.
28481 (_ITOA_WORD_TYPE): Likewise.
28482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28483 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28485 2012-03-21 David S. Miller <davem@davemloft.net>
28487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28489 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
28491 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28492 of x86_64 when setting libc_cv_slibdir, libdir and
28494 * sysdeps/unix/sysv/linux/configure: Regenerated.
28496 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28498 * manual/lang.texi (Old Varargs): Remove section.
28499 (How Variadic): Update menu.
28500 (va_start): Do not mention varargs.h.
28502 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28503 Joseph Myers <joseph@codesourcery.com>
28505 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28507 * configure: Regenerated.
28509 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
28511 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28512 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28515 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28518 * Makefile (files-for-dist): Remove NOTES.
28519 (NOTES): Remove rule.
28520 * README: Don't refer to NOTES.
28521 * manual/creature.texi: Don't include macros.texi.
28522 * manual/intro.texi (creature.texi): Remove comment referring to
28525 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28526 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28527 * configure: Regenerated.
28528 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28529 LIBC_TRY_CC_OPTION.
28530 (libc_cv_as_i686): Likewise.
28531 (libc_cv_cc_avx): Likewise.
28532 (libc_cv_cc_sse2avx): Likewise.
28533 (libc_cv_cc_fma4): Likewise.
28534 (libc_cv_cc_novzeroupper): Likewise.
28535 * sysdeps/i386/configure: Regenerated.
28538 * sysdeps/i386/fpu/s_cexp.S: Remove.
28539 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28540 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28541 * math/libm-test.inc (cexp_test): Add more tests.
28542 * sysdeps/i386/fpu/libm-test-ulps: Update.
28543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28545 2012-03-21 Allan McRae <allan@archlinux.org>
28547 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28549 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28552 * math/w_exp2.c: Do not include <float.h>.
28553 (o_threshold, u_threshold): Remove.
28554 (__exp2): Calculate result before checking finiteness and calling
28556 * math/w_exp2f.c: Likewise.
28557 * math/w_exp2l.c: Likewise.
28558 * math/libm-test.inc (exp2_test): Require overflow exception for
28562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28563 range of signed 64-bit integers before using fistpll. Remove
28564 checks for whether integers fit in mantissa bits.
28565 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28566 the range of signed 32-bit integers before using fistpl. Remove
28567 checks for whether integers fit in mantissa bits.
28568 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28569 (__ieee754_powl): Test for y outside the range of signed 64-bit
28570 integers before using fistpll. Reduce 64-bit values to 63-bit
28572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28573 divide-by-zero is raised for zero to large negative powers.
28574 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28575 (__ieee754_powl): Test for y outside the range of signed 64-bit
28576 integers before using fistpll. Reduce 64-bit values to 63-bit
28578 * math/libm-test.inc (pow_test): Add more tests.
28580 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28582 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28583 <stdio-common/_itoa.h>.
28584 * debug/segfault.c: Likewise.
28585 * elf/dl-cache.c: Likewise.
28586 * elf/dl-minimal.c: Likewise.
28587 * elf/dl-misc.c: Likewise.
28588 * elf/dl-sysdep.c: Likewise.
28589 * elf/dl-version.c: Likewise.
28590 * elf/rtld.c: Likewise.
28591 * hurd/hurdsock.c: Likewise.
28592 * hurd/lookup-retry.c: Likewise.
28593 * malloc/malloc.c: Likewise.
28594 * malloc/mtrace.c: Likewise.
28595 * nscd/nscd_getgr_r.c: Likewise.
28596 * nscd/nscd_getpw_r.c: Likewise.
28597 * nscd/nscd_getserv_r.c: Likewise.
28598 * posix/getopt_init.c: Likewise.
28599 * posix/wordexp.c: Likewise.
28600 * stdio-common/_itoa.c: Likewise.
28601 * stdio-common/printf_fphex.c: Likewise.
28602 * stdio-common/vfprintf.c: Likewise.
28603 * string/_strerror.c: Likewise.
28604 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28605 * sysdeps/i386/i686/hp-timing.h: Likewise.
28606 * sysdeps/mach/_strerror.c: Likewise.
28607 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28608 * sysdeps/mach/hurd/sethostid.c: Likewise.
28609 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28610 * sysdeps/mach/xpg-strerror.c: Likewise.
28611 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28613 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28614 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28615 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28616 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28617 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28618 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28619 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28620 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28621 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28622 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28623 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28624 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28625 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28626 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28627 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28628 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28629 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28630 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28631 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28633 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28635 * stdio-common/_itoa.h: Moved to ...
28636 * sysdeps/generic/_itoa.h: Here.
28638 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28640 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28641 instead of "_itoa.h" and "_itowa.h".
28642 * stdio-common/vfprintf.: Likewise.
28644 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28646 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28648 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28649 (__signbit): Likwise.
28650 (llrintf): Likwise.
28653 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28655 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28658 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28660 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28661 OVERFLOW_EXCEPTION_OK.
28662 * math/libm-test.inc ("Philosophy"): Update comment about
28664 (OVERFLOW_EXCEPTION): Define.
28665 (OVERFLOW_EXCEPTION_OK): Likewise.
28666 (INVALID_EXCEPTION_OK): Renumber.
28667 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28668 (IGNORE_ZERO_INF_SIGN): Likewise.
28669 (test_exceptions): Handle FE_OVERFLOW.
28670 (exp10_test): Expect overflow exceptions.
28671 (exp2_test): Likewise.
28672 (expm1_test): Likewise.
28673 (nextafter_test): Likewise.
28674 (pow_test): Likewise.
28675 (scalbn_test): Likewise.
28676 (scalbln_test): Likewise.
28678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28680 * sysdeps/x86_64/bits/atomic.h
28681 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28683 (atomic_exchange_acq): Likewise.
28684 (__arch_exchange_and_add_body): Likewise.
28685 (__arch_add_body): Likewise.
28686 (atomic_add_negative): Likewise.
28687 (atomic_add_zero): Likewise.
28689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28691 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28692 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28696 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28697 Check __x86_64__ instead of __WORDSIZE.
28699 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28701 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28703 2012-03-19 David S. Miller <davem@davemloft.net>
28705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28707 * sysdeps/sparc/fpu/fenv_private.h: New file.
28708 * sysdeps/sparc/fpu/math_private.h: Use it.
28709 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28711 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28712 (libc_feholdexcept_setroundl): Remove.
28713 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28715 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28716 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28720 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28721 int64_t instead of long int.
28722 (INSERT_WORDS64): Likwise.
28724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28726 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28727 _Unwind_GetCFA return to _Unwind_Ptr first.
28729 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28732 * math/s_clog.c: Include <float.h>.
28733 (__clog): Scale large or subnormal inputs.
28734 * math/s_clogf.c: Likewise.
28735 * math/s_clogl.c: Likewise.
28736 * math/s_clog10.c: Include <float.h>.
28737 (M_LOG10_2): Define.
28738 (__clog10): Scale large or subnormal inputs.
28739 * math/s_clog10f.c: Likewise.
28740 * math/s_clog10l.c: Likewise.
28741 * math/libm-test.inc (clog_test): Add more tests.
28742 (clog10_test): Likewise.
28743 * sysdeps/i386/fpu/libm-test-ulps: Update.
28744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28749 * math/libm-test.inc (atan2_test): Add another test.
28751 * Makerules (common-objdir-compile): Remove.
28752 * sysdeps/unix/Makefile (config-generated): Do not add
28753 $(unix-generated) to variable.
28754 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28755 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28757 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28759 [generic bits/local_lim.h] (before-compile): Do not append to
28761 [generic bits/local_lim.h] (common-generated): Likewise.
28762 [generic sys/param.h] (before-compile): Do not append to variable.
28763 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28764 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28765 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28766 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28768 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28769 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28770 [generic sys/param.h] ($(addprefix
28771 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28772 [generic sys/param.h] (common-generated): Do not append to
28774 [generic sys/param.h] (sysdep_headers): Likewise.
28775 [generic bits/errno.h] (before-compile): Do not append to
28777 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28779 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28780 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28781 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28782 [generic bits/errno.h] (common-generated): Do not append to
28784 [generic bits/ioctls.h] (before-compile): Do not append to
28786 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28788 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28789 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28790 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28792 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28793 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28794 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28795 [generic bits/ioctls.h] (common-generated): Do not append to
28797 [generic sys/syscall.h] (syscall.h): Remove variable.
28798 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28800 [generic sys/syscall.h] (before-compile): Do not append to
28802 [generic sys/syscall.h] (common-generated): Likewise.
28803 * sysdeps/unix/errnos-tmpl.c: Remove file.
28804 * sysdeps/unix/errnos.awk: Likewise.
28805 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28806 * sysdeps/unix/ioctls.awk: Likewise.
28807 * sysdeps/unix/mk-local_lim.c: Likewise.
28808 * sysdeps/unix/snarf-ioctls: Likewise.
28810 2012-03-19 Richard Henderson <rth@twiddle.net>
28812 * sysdeps/i386/fpu/fenv_private.h: New file.
28813 * sysdeps/i386/fpu/math_private.h: Use it.
28814 (math_opt_barrier, math_force_eval): Remove.
28815 (libc_feholdexcept_setround_53bit): Remove.
28816 (libc_feupdateenv_53bit): Remove.
28817 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28818 (math_opt_barrier, math_force_eval): Remove.
28819 (libc_feholdexcept): Remove.
28820 (libc_feholdexcept_setround): Remove.
28821 (libc_fetestexcept, libc_fesetenv): Remove.
28822 (libc_feupdateenv_test): Remove.
28823 (libc_feupdateenv, libc_feholdsetround): Remove.
28824 (libc_feresetround): Remove.
28826 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28827 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28829 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28830 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28831 (libc_feupdateenv_testl): New.
28832 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28833 (libc_feupdateenv_testf): New.
28834 (libc_feupdateenv): Use libc_feupdateenv_test.
28835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28838 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28839 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28840 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28841 (libc_feresetround_noex): New.
28842 (libc_feresetround_noexf): New.
28843 (libc_feresetround_noexl): New.
28844 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28845 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28846 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28847 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28850 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28852 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28854 SET_RESTORE_ROUND_NOEX.
28855 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28856 SET_RESTORE_ROUND_NOEXF.
28857 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28858 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28859 (libc_feholdsetroundf): New.
28860 (libc_feresetround, libc_feresetroundf): New.
28862 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28863 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28864 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28866 * sysdeps/generic/math_private.h: Include <fenv.h>.
28867 (default_libc_feholdexcept): New.
28868 (default_libc_feholdexcept_setround): New.
28869 (default_libc_fesetenv, default_libc_feupdateenv): New.
28870 (libc_feholdexcept): Only define if undefined.
28871 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28872 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28873 (libc_feholdexcept_setroundl): Likewise.
28874 (libc_feholdexcept_setround_53bit): Likewise.
28875 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28876 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28877 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28878 (libc_feupdateenv_53bit): Likewise.
28879 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28880 (libc_feholdexcept): Convert from macro to inline function.
28881 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28882 (libc_fesetenv, libc_feupdateenv): Likewise.
28884 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28885 not previously defined.
28886 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28887 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28888 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28889 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28890 * sysdeps/ieee754/flt-32/math_private.h: New file.
28891 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28892 math_private.h below SET_FLOAT_WORD.
28893 (__isnan, __isinf_ns, __finite): Remove.
28894 (__isnanf, __isinf_nsf, __finitef): Remove.
28896 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28900 2012-03-17 David S. Miller <davem@davemloft.net>
28903 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28906 2012-03-16 David S. Miller <davem@davemloft.net>
28908 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28912 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28914 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28915 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28916 sysdep_routines when subdir is sysvipc.
28917 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28918 __getshmlba helper.
28920 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28924 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28929 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28930 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28931 (__lround): Renamed to ...
28932 (__llround): This. Replace long int with long long int.
28933 Define lround functions as aliases of llround functions.
28934 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28936 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28938 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28939 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28940 adresses to uintptr_t. Replace "long int" and "unsigned long
28941 int" with "greg_t" on va_arg.
28943 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28945 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28946 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28948 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28949 Move e_machine check before EI_CLASS check. Handle x32
28950 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28951 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28952 SKIP_EM_IA_64 and include
28953 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28955 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28956 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28957 (add_system_dir): New macro.
28959 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28960 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28962 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28973 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28975 * math/w_j0f.c (j0f): Likewise.
28977 * math/w_j0l.c (__j0l): Likewise.
28979 * math/w_j1.c (j1): Likewise.
28981 * math/w_j1f.c (j1f): Likewise.
28983 * math/w_j1l.c (__j1l): Likewise.
28985 * math/w_jn.c (jn): Likewise.
28987 * math/w_jnf.c (jnf): Likewise.
28989 * math/w_jnl.c (__jnl): Likewise.
28991 * math/libm-test.inc (j0_test): Add more tests.
28992 (j1_test): Likewise.
28993 (jn_test): Likewise. Add trailing semicolon to existing test.
28994 (y0_test): Likewise.
28995 (y1_test): Likewise.
28996 * sysdeps/i386/fpu/libm-test-ulps: Update.
28997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
29002 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
29003 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
29004 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
29005 (__tanl): Set errno for infinite argument.
29006 * sysdeps/i386/fpu/mptan.c: Remove.
29007 * sysdeps/i386/fpu/s_tan.S: Likewise.
29008 * sysdeps/i386/fpu/s_tanl.S: Likewise.
29009 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
29010 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
29011 * math/libm-test.inc (tan_test): Add more tests and enable more
29012 tests for double and long double.
29013 * sysdeps/i386/fpu/libm-test-ulps: Update.
29014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29016 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
29018 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29019 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29021 2012-03-16 Roland McGrath <roland@hack.frob.com>
29023 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29024 * configure.in: Use it for both main tree and add-ons.
29025 * configure: Regenerated.
29027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
29029 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29031 2012-03-16 Joseph Myers <joseph@codesourcery.com>
29033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29037 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29038 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29043 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29045 != 0 for prec == 2.
29046 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29047 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29048 * sysdeps/i386/fpu/s_cosl.S: Likewise.
29049 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29050 * sysdeps/i386/fpu/s_sinl.S: Likewise.
29051 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29052 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29053 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29054 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29055 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29056 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29057 * math/libm-test.inc (cos_test): Add more tests and enable more
29058 tests for long double.
29059 (sin_test): Likewise.
29060 (sincos_test): Likewise.
29061 * sysdeps/i386/fpu/libm-test-ulps: Update.
29062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29064 2012-03-16 David S. Miller <davem@davemloft.net>
29066 * sysdeps/sparc/fpu/math_private.h: New file.
29068 2012-03-15 David S. Miller <davem@davemloft.net>
29070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29084 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29085 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29087 * sysdeps/sparc/sparc-ifunc.h: New file.
29088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29133 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29135 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29139 2012-03-15 Andreas Jaeger <aj@suse.de>
29142 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29143 ieee754/flt-32 implementation for sin, cos and sincos.
29144 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29145 * sysdeps/i386/fpu/s_cosf.S: Likewise.
29146 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29147 * sysdeps/i386/fpu/s_sinf.S: Likewise.
29148 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29149 ieee754/flt-32 implementation for tan.
29151 * math/libm-test.inc (cos_test): Enable some large input tests for
29153 (sin_test): Likewise.
29154 (sincos_test): Likewise.
29155 (tan_test): Add tests for large input.
29157 * sysdeps/i386/fpu/libm-test-ulps: Update.
29159 2012-03-15 Andreas Jaeger <aj@suse.de>
29162 * math/libm-test.inc (cos_test): Add more test cases.
29163 (sin_test): Likewise.
29164 (sincos_test): Likewise.
29166 2012-03-15 Andreas Jaeger <aj@suse.de>
29169 * math/libm-test.inc (cos_test): Add a test case for large input
29171 (sin_test): Likewise.
29172 (sincos_test): Likewise.
29174 2012-03-15 Andreas Jaeger <aj@suse.de>,
29175 Joseph Myers <joseph@codesourcery.com>
29178 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29179 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29180 * sysdeps/i386/fpu/branred.c: Likewise.
29181 * sysdeps/i386/fpu/dosincos.c: Likewise.
29182 * sysdeps/i386/fpu/mpa.c: Likewise.
29183 * sysdeps/i386/fpu/s_cos.S: Likewise.
29184 * sysdeps/i386/fpu/s_sin.S: Likewise.
29185 * sysdeps/i386/fpu/s_sincos.S: Likewise.
29186 * sysdeps/i386/fpu/sincos32.c: Likewise.
29188 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29190 (libc_feupdateenv_53bit): Define.
29191 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29193 (libc_feupdateenv_53bit): Define.
29195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29196 53 bit (without extend i386 double precision).
29198 * math/libm-test.inc (sincos_test): Add tests for large input.
29202 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29204 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
29206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29208 2012-03-15 David S. Miller <davem@davemloft.net>
29210 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29211 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29212 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29213 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29238 fmin/fmax sysdep routines.
29239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29241 2012-03-14 David S. Miller <davem@davemloft.net>
29243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29315 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29320 * sysdeps/sparc/configure.in: New file.
29321 * sysdeps/sparc/configure: Generate.
29322 * configure.in (libc_cv_sparc_as_vis3): Substitute.
29323 * configure: Regenerate.
29324 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29325 * config.make.in (have-as-vis3): New.
29326 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29327 available use -Av9d instead of -Av9a.
29328 * sysdeps/sparc/sparc64/Makefile: Likewise.
29329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29344 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29345 fzeros/fnegs to load 0x80000000 into a float register instead of
29347 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29349 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29353 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29354 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29355 ($(inst_includedir)/bits/syscall.h): Remove rule.
29356 ($(objpfx)bits/syscall.d): Include instead of
29357 $(objpfx)syscall-list.d.
29358 (generated): Change syscall-list.h and syscall-list.d to
29359 bits/syscall.h and bits/syscall.d.
29361 2012-03-14 Roland McGrath <roland@hack.frob.com>
29364 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29366 2012-03-14 Joseph Myers <joseph@codesourcery.com>
29369 * math/s_csqrt.c: Include <float.h>.
29370 (__csqrt): Scale large or subnormal inputs.
29371 * math/s_csqrtf.c: Likewise.
29372 * math/s_csqrtl.c: Likewise.
29373 * math/libm-test.inc (csqrt_test): Add more tests.
29374 * sysdeps/i386/fpu/libm-test-ulps: Update.
29375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29378 * math/libm-test.inc (hypot_test): Add more tests.
29380 2012-03-13 David S. Miller <davem@davemloft.net>
29383 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29384 double-precision for the calculation instead of scaling.
29386 2012-03-13 Joseph Myers <joseph@codesourcery.com>
29388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29389 manipulate bits before adding and subtracting TWO52[sx].
29390 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29393 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29395 2012-03-13 David S. Miller <davem@davemloft.net>
29397 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29398 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29400 rtld-global-offsets.h
29401 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29403 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29406 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29408 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29409 'err' in the ifdef scope in which it is actually used.
29411 * nss/nss_db/db-init.c: Include string.h
29413 2012-03-12 David S. Miller <davem@davemloft.net>
29415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29416 masking out of the most significant byte of random value used.
29417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29418 Fix coding style in previous change.
29420 * sysdeps/unix/sysv/linux/kernel-features.h
29421 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29422 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29424 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29427 2012-03-11 David S. Miller <davem@davemloft.net>
29429 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29430 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29432 for 'resultvar' otherwise things get truncated on 64-bit.
29434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29435 Fix masking out of the most significant byte of random value used.
29437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29439 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
29441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29443 2012-03-09 David S. Miller <davem@davemloft.net>
29445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29446 variables with appropriate CPP guards.
29447 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29448 frame pointer, not the stack pointer. Correct layout comments. Fix test
29449 on resulting framesize and the management of the outregs buffer for pltexit.
29450 Preserve floating point return values across _dl_call_pltexit call.
29451 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29452 framesize and the management of the outregs buffer for pltexit.
29453 Preserve floating point return values across _dl_call_pltexit
29455 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29456 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29457 (print_exit): Fix format string for return register value.
29459 2012-03-10 Joseph Myers <joseph@codesourcery.com>
29461 * sunrpc/Makefile (others): Add rpcgen.
29462 ($(objpfx)rpcgen): Remove special build rule and dependency on
29464 * sunrpc/rpcgen.c: New file.
29466 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
29469 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29470 * stdio-common/bug-vfprintf-nargs.c: Likewise.
29471 * sysdeps/i386/crti.S: Likewise.
29472 * sysdeps/i386/crtn.S: Likewise.
29473 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29474 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29475 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29476 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29477 * sysdeps/sh/crti.S: Likewise.
29478 * sysdeps/sh/crtn.S: Likewise.
29479 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29482 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29484 * locale/programs/locfile-kw.gperf: Likewise.
29485 * locale/programs/charmap-kw.h: Regenerated.
29486 * locale/programs/locfile-kw.h: Likewise.
29489 * intl/plural.y: Replace FSF snail mail address with URL.
29490 * intl/plural.c: Regenerated.
29492 2012-03-09 Richard Henderson <rth@twiddle.net>
29494 * include/math_private.h: Remove file.
29495 * math/math_private.h: Move file ...
29496 * sysdeps/generic/math_private.h: ... here.
29498 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29499 * sysdeps/powerpc/fpu/math_private.h: Likewise.
29500 * sysdeps/x86_64/fpu/math_private.h: Likewise.
29502 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29503 and <math_private.h>.
29504 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29505 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29506 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29507 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29508 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29509 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29510 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29519 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29523 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29526 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29528 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29533 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29536 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29544 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29547 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29549 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29552 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29553 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29554 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29555 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29556 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29557 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29558 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29560 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29561 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29563 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29565 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29567 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29568 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29569 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29570 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29572 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29573 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29576 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29583 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29585 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29587 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29591 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29592 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29593 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29594 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29595 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29597 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29598 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29599 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29604 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29605 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29606 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29607 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29608 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29609 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29610 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29611 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29617 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29618 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29626 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29627 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29628 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29630 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29631 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29632 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29633 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29634 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29636 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29637 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29638 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29639 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29642 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29643 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29645 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29646 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29647 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29648 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29649 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29650 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29651 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29652 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29653 * sysdeps/ieee754/k_standard.c: Likewise.
29654 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29655 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29656 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29657 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29658 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29659 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29660 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29671 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29672 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29673 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29674 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29675 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29678 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29679 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29684 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29685 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29686 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29687 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29688 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29692 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29693 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29694 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29695 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29697 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29700 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29702 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29705 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29706 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29707 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29710 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29711 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29715 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29716 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29720 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29721 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29722 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29723 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29726 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29727 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29728 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29731 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29739 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29744 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29745 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29746 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29747 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29750 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29761 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29762 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29768 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29770 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29787 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29790 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29793 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29794 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29795 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29796 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29797 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29798 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29799 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29800 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29803 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29805 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29808 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29809 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29810 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29811 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29813 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29814 * sysdeps/ieee754/s_lib_version.c: Likewise.
29815 * sysdeps/ieee754/s_matherr.c: Likewise.
29816 * sysdeps/ieee754/s_signgam.c: Likewise.
29817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29819 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29820 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29823 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29824 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29825 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29826 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29827 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29828 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29829 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29831 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29839 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29841 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29842 * sunrpc/rpc_main.c: Likewise.
29843 * sunrpc/rpc_svcout.c: Likewise.
29845 2012-03-09 David S. Miller <davem@davemloft.net>
29847 * include/math_private.h: New file.
29849 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29851 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29852 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29853 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29854 from <bits/socket_type.h>.
29855 (enum __socket_type): Don't define here.
29856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29858 bits/socket_type.h.
29861 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29862 checking __USE_GNU.
29864 * Makerules ($(inst_includedir)/%.h): New rule.
29865 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29866 (install-others): Remove variable setting.
29867 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29869 2012-03-08 Richard Henderson <rth@twiddle.net>
29871 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29872 from macro to inline function; merge with the
29873 !__LIBC_INTERNAL_MATH_INLINES version.
29874 (__ieee754_sqrtf): Likewise.
29876 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29877 to inline function.
29878 (__rintf, __floor, __floorf): Likewise.
29880 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29881 macro to inline function.
29882 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29885 not <math/math_private.h>.
29887 2012-03-08 David S. Miller <davem@davemloft.net>
29889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29891 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29893 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29895 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29897 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29898 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29900 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29902 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29903 be defined individually, they must be defined as a block. Define
29904 S for printing a string instead of hidint the different by using a
29905 macro for adding the 'l'.
29906 * stdio-common/tst-fphex-wide.c: Adjust.
29908 2012-03-07 Marek Polacek <polacek@redhat.com>
29910 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29912 2012-03-08 Marek Polacek <polacek@redhat.com>
29915 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29916 * stdio-common/tst-fphex.c: Define a few macros to make the
29917 test reusable. Use them.
29918 * stdio-common/tst-fphex-wide.c: New file.
29920 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29923 * manual/macros.texi (gnusystems): New macro.
29924 (nongnusystems): Likewise.
29925 (gnulinuxhurdsystems): Likewise.
29926 (gnuhurdsystems): Likewise..
29927 (gnulinuxsystems): Likewise.
29928 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29929 variants of the GNU system, not "GNU system".
29930 * manual/conf.texi: Likewise.
29931 * manual/errno.texi: Likewise. Update example of errno macro
29933 * manual/filesys.texi: Likewise.
29934 (getumask): Document as specific to GNU/Hurd.
29935 * manual/install.texi: Likewise. Reword some references to
29937 * manual/intro.texi: Likewise.
29938 * manual/io.texi: Likewise.
29939 (File Name Portability): Detail which constraints are inapplicable
29940 to all GNU systems and which are only inapplicable to GNU/Hurd.
29941 * manual/job.texi: Likewise.
29942 * manual/llio.texi: Likewise.
29943 (O_NOCTTY): Document as present on GNU/Linux.
29944 * manual/maint.texi: Likewise.
29945 * manual/memory.texi: Likewise.
29946 * manual/pattern.texi: Likewise.
29947 * manual/pipe.texi: Likewise.
29948 * manual/process.texi: Likewise.
29949 * manual/resource.texi: Likewise.
29950 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29952 * manual/setjmp.texi: Likewise.
29953 * manual/signal.texi: Likewise.
29954 * manual/startup.texi: Likewise.
29955 * manual/stdio.texi: Likewise.
29956 * manual/terminal.texi: Likewise.
29957 (ONLCR): Document as POSIX.
29958 (OXTABS): Document availability on GNU/Linux as XTABS.
29959 (ONOEOT): Document availability separately from other bits.
29960 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29961 * manual/time.texi: Likewise.
29962 * manual/users.texi: Likewise.
29963 * INSTALL: Regenerated.
29964 * sysdeps/gnu/errlist.c: Regenerated.
29966 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29967 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29968 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29970 * configure: Regenerated.
29972 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29974 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29975 default includes instead of AC_HEADER_CHECK.
29976 * sysdeps/i386/configure: Regenerated.
29979 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29980 * math/s_cacoshf.c (__cacoshf): Likewise.
29981 * math/s_cacoshl.c (__cacoshl): Likewise.
29982 * math/s_casinh.c (__casinh): Set signs of result from argument.
29983 * math/s_casinhf.c (__casinhf): Likewise.
29984 * math/s_casinhl.c (__casinhl): Likewise.
29985 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29986 (casinh_test): Add more tests.
29987 * sysdeps/i386/fpu/libm-test-ulps: Update.
29988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29990 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29992 * po/zh_TW.po: Update from translation team.
29994 * login/Makefile (distribute): Remove variable.
29995 * catgets/Makefile: Likewise.
29996 * mach/Makefile: Likewise.
29997 * malloc/Makefile: Likewise.
29998 * misc/Makefile: Likewise.
29999 * iconv/Makefile: Likewise.
30000 * nscd/Makefile: Likewise.
30001 * hurd/Makefile: Likewise.
30002 * manual/Makefile: Likewise.
30003 * locale/Makefile: Likewise.
30004 * intl/Makefile: Likewise.
30005 * conform/Makefile: Likewise.
30006 * nss/Makefile: Likewise.
30007 * time/Makefile: Likewise.
30008 * soft-fp/Makefile: Likewise.
30009 * dirent/Makefile: Likewise.
30010 * gmon/Makefile: Likewise.
30011 * po/Makefile: Likewise.
30012 * rt/Makefile: Likewise.
30013 * socket/Makefile: Likewise.
30014 * math/Makefile: Likewise.
30015 * signal/Makefile: Likewise.
30016 * debug/Makefile: Likewise.
30017 * elf/Makefile: Likewise.
30018 * timezone/Makefile: Likewise.
30019 * stdlib/Makefile: Likewise.
30020 * iconvdata/Makefile: Likewise.
30021 * sunrpc/Makefile: Likewise.
30022 * io/Makefile: Likewise.
30023 * argp/Makefile: Likewise.
30024 * inet/Makefile: Likewise.
30025 * hesiod/Makefile: Likewise.
30026 * grp/Makefile: Likewise.
30027 * csu/Makefile: Likewise.
30028 * wctype/Makefile: Likewise.
30029 * crypt/Makefile: Likewise.
30030 * libio/Makefile: Likewise.
30031 * string/Makefile: Likewise.
30032 * nis/Makefile: Likewise.
30033 * resolv/Makefile: Likewise.
30034 * stdio-common/Makefile: Likewise.
30035 * wcsmbs/Makefile: Likewise.
30036 * dlfcn/Makefile: Likewise.
30037 * posix/Makefile: Likewise.
30040 * timezone/Makefile: Don't install timezone files, just the programs
30043 2012-03-06 Ulrich Drepper <drepper@gmail.com>
30045 * nss/databases.def: Add missing gshadow entry.
30047 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
30049 2012-03-06 Marek Polacek <polacek@redhat.com>
30052 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30053 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30054 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30055 * stdio-common/tst-long-dbl-fphex.c: New file.
30057 2012-03-06 David S. Miller <davem@davemloft.net>
30059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30060 (set_obp_int): New function.
30061 (get_obp_int): New function.
30062 (__get_clockfreq_via_dev_openprom): Likewise.
30063 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30064 Avoid unused variable warnings on 'val' and use builtin_expect.
30065 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30067 (INLINE_CLONE_SYSCALL): Likewise.
30069 2012-03-05 David S. Miller <davem@davemloft.net>
30071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30073 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
30075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30078 only for |x| >= 40.
30079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30081 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
30083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30084 Replace gettimeofday with __vdso_gettimeofday.
30086 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30087 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30088 __vdso_clock_gettime and __vdso_getcpu.
30090 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30091 time with __vdso_time.
30093 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30095 * manual/lang.texi (size_t): Note types to which size_t may be
30096 equivalent with the GNU C Library, but do not describe when
30097 differences between them are significant.
30099 2012-03-05 Andreas Jaeger <aj@suse.de>
30101 * sysdeps/i386/fpu/libm-test-ulps: Update.
30103 2012-03-05 Joseph Myers <joseph@codesourcery.com>
30106 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30107 (__ieee754_pow): Save and restore rounding mode and use
30108 round-to-nearest for main computations.
30109 * math/libm-test.inc (pow_test_tonearest): New function.
30110 (pow_test_towardzero): Likewise.
30111 (pow_test_downward): Likewise.
30112 (pow_test_upward): Likewise.
30113 (main): Call the new functions.
30114 * sysdeps/i386/fpu/libm-test-ulps: Update.
30115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30118 * math/libm-test.inc (cosh_test_tonearest): New function.
30119 (cosh_test_towardzero): Likewise.
30120 (cosh_test_downward): Likewise.
30121 (cosh_test_upward): Likewise.
30122 (sinh_test_tonearest): Likewise.
30123 (sinh_test_towardzero): Likewise.
30124 (sinh_test_downward): Likewise.
30125 (sinh_test_upward): Likewise.
30126 (main): Call the new functions.
30127 * sysdeps/i386/fpu/libm-test-ulps: Update.
30128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30130 2012-03-05 Tom de Vries <tom@codesourcery.com>
30132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30133 default stack guard is set in last bytes.
30134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30136 2012-03-05 Kees Cook <keescook@chromium.org>
30138 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30141 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30142 possibly allocate from heap instead of stack.
30143 * stdio-common/bug-vfprintf-nargs.c: New file.
30144 * stdio-common/Makefile (tests): Add nargs overflow test.
30146 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
30148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30150 2012-03-03 Marek Polacek <polacek@redhat.com>
30152 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30153 * math/math_private.h: Likewise.
30154 * stdlib/tst-strtod.c: Likewise.
30155 * sysdeps/i386/i486/bits/atomic.h: Likewise.
30156 * sysdeps/x86_64/bits/atomic.h: Likewise.
30158 2012-03-02 David S. Miller <davem@davemloft.net>
30160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30164 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30165 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30166 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30167 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30169 2012-03-02 Roland McGrath <roland@hack.frob.com>
30172 * manual/examples/README: New file, says the example source files
30173 can be used under GPL>=2.
30174 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30175 line containing just "*/".
30176 * manual/examples/add.c: Add copyright header (GPL>=2).
30177 * manual/examples/argp-ex1.c: Likewise.
30178 * manual/examples/argp-ex2.c: Likewise.
30179 * manual/examples/argp-ex3.c: Likewise.
30180 * manual/examples/argp-ex4.c: Likewise.
30181 * manual/examples/atexit.c: Likewise.
30182 * manual/examples/db.c: Likewise.
30183 * manual/examples/dir.c: Likewise.
30184 * manual/examples/dir2.c: Likewise.
30185 * manual/examples/execinfo.c: Likewise.
30186 * manual/examples/filecli.c: Likewise.
30187 * manual/examples/filesrv.c: Likewise.
30188 * manual/examples/fmtmsgexpl.c: Likewise.
30189 * manual/examples/genpass.c: Likewise.
30190 * manual/examples/inetcli.c: Likewise.
30191 * manual/examples/inetsrv.c: Likewise.
30192 * manual/examples/isockad.c: Likewise.
30193 * manual/examples/longopt.c: Likewise.
30194 * manual/examples/memopen.c: Likewise.
30195 * manual/examples/memstrm.c: Likewise.
30196 * manual/examples/mkfsock.c: Likewise.
30197 * manual/examples/mkisock.c: Likewise.
30198 * manual/examples/mygetpass.c: Likewise.
30199 * manual/examples/pipe.c: Likewise.
30200 * manual/examples/popen.c: Likewise.
30201 * manual/examples/rprintf.c: Likewise.
30202 * manual/examples/search.c: Likewise.
30203 * manual/examples/select.c: Likewise.
30204 * manual/examples/setjmp.c: Likewise.
30205 * manual/examples/sigh1.c: Likewise.
30206 * manual/examples/sigusr.c: Likewise.
30207 * manual/examples/stpcpy.c: Likewise.
30208 * manual/examples/strdupa.c: Likewise.
30209 * manual/examples/strftim.c: Likewise.
30210 * manual/examples/strncat.c: Likewise.
30211 * manual/examples/subopt.c: Likewise.
30212 * manual/examples/swapcontext.c: Likewise.
30213 * manual/examples/termios.c: Likewise.
30214 * manual/examples/testopt.c: Likewise.
30215 * manual/examples/testpass.c: Likewise.
30216 * manual/examples/timeval_subtract.c: Likewise.
30219 * manual/time.texi (Elapsed Time): Move timeval_subtract example
30221 * manual/timeval_subtract.c.texi: ... here, new file.
30223 2012-03-02 David S. Miller <davem@davemloft.net>
30225 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30227 2012-03-02 Joseph Myers <joseph@codesourcery.com>
30230 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30231 (__sin): Save and restore rounding mode and use round-to-nearest
30232 for all computations.
30233 (__cos): Save and restore rounding mode and use round-to-nearest
30234 for all computations.
30235 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30237 (tan): Save and restore rounding mode and use round-to-nearest for
30239 * math/libm-test.inc (cos_test_tonearest): New function.
30240 (cos_test_towardzero): Likewise.
30241 (cos_test_downward): Likewise.
30242 (cos_test_upward): Likewise.
30243 (sin_test_tonearest): Likewise.
30244 (sin_test_towardzero): Likewise.
30245 (sin_test_downward): Likewise.
30246 (sin_test_upward): Likewise.
30247 (tan_test_tonearest): Likewise.
30248 (tan_test_towardzero): Likewise.
30249 (tan_test_downward): Likewise.
30250 (tan_test_upward): Likewise.
30251 (main): Call the new functions.
30252 * sysdeps/i386/fpu/libm-test-ulps: Update.
30253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30256 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30257 small n, then large n, before computing and testing k+n.
30258 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30263 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30264 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30271 * math/libm-test.inc (scalbn_test): Add more tests.
30272 (scalbln_test): Likewise.
30274 * manual/filesys.texi (mode_t): Describe constraints on size and
30275 signedness, not exact equivalence to a particular type.
30277 (ino64_t): Likewise.
30279 (nlink_t): Likewise.
30280 (blkcnt_t): Likewise.
30281 (blkcnt64_t): Likewise.
30282 * manual/llio.texi (off_t): Likewise.
30285 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30286 (__ieee754_exp): Save and restore rounding mode and use
30287 round-to-nearest for all computations.
30288 * math/libm-test.inc (exp_test_tonearest): New function.
30289 (exp_test_towardzero): Likewise.
30290 (exp_test_downward): Likewise.
30291 (exp_test_upward): Likewise.
30292 (main): Call the new functions.
30293 * sysdeps/i386/fpu/libm-test-ulps: Update.
30294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30296 2012-03-01 Chris Demetriou <cgd@google.com>
30298 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30299 have predictable order.
30301 2012-03-01 David S. Miller <davem@davemloft.net>
30303 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30305 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30306 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30307 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30308 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30310 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30311 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30312 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30314 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30315 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30316 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30317 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30318 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30323 * sysdeps/sparc/fpu/libm-test-ulps: to here.
30324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30326 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30327 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30328 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30329 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30330 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30333 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30340 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30342 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30343 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30344 * sysdeps/sparc/elf/configure: Regenerated.
30346 2012-03-01 Joseph Myers <joseph@codesourcery.com>
30348 * configure.in (AS, LD): Require binutils 2.20 or later.
30349 * configure: Regenerated.
30350 * manual/install.texi (Tools for Compilation): Give binutils 2.20
30351 as required minimum version.
30352 * INSTALL: Regenerated.
30356 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30357 before squaring exponent.
30358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30359 bottom long double and 27 bits of top long double before squaring
30361 * math/libm-test.inc (erfc_test): Add more tests.
30362 * sysdeps/i386/fpu/libm-test-ulps: Update.
30363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30366 2012-03-01 Kai Tietz <ktietz@redhat.com>
30368 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30369 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30370 containing bit-fields.
30371 * soft-fp/extended.h (_FP_UNION_E): Likewise.
30372 * soft-fp/single.h (_FP_UNION_S): Likewise.
30373 * soft-fp/double.h (_FP_UNION_D): Likewise.
30375 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30378 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30379 not include ../strcmp.S.
30380 [USE_AS_STRNCASECMP_L]: Likewise.
30381 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30382 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30383 * sysdeps/i386/i686/multiarch/strncase_l-c.c
30384 (__strncasecmp_l_ia32): Define as alias to
30385 __strncasecmp_l_nonascii.
30388 * math/libm-test.inc (expm1_test): Add test for bug 5794.
30389 * sysdeps/i386/fpu/libm-test-ulps: Update.
30390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30392 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30395 2012-02-29 Jeff Law <law@redhat.com>
30397 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30398 out of bounds read.
30400 2012-02-29 Marek Polacek <polacek@redhat.com>
30403 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30404 * elf/Makefile: Add rules to run tst-unused-dep.out.
30406 2012-02-28 David S. Miller <davem@davemloft.net>
30408 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30409 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30412 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30413 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30415 2012-02-29 Joseph Myers <joseph@codesourcery.com>
30417 * math/libm-test.inc (llround_test): Move one test from
30418 lround_test. Use TEST_f_L in moved test.
30419 (lround_test): Move misplaced test to llround_test. Add testcase
30422 2012-02-28 Ulrich Drepper <drepper@gmail.com>
30424 * sysdeps/x86_64/fpu/e_expf.S: New file.
30425 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30427 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
30430 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30431 of remain_len that may cause incomplete multi-byte character and
30433 * posix/bug-regex33.c: New file.
30434 * posix/Makefile (tests): Add bug-regex33.
30436 2012-02-28 Joseph Myers <joseph@codesourcery.com>
30438 * manual/macros.texi: New file.
30439 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30440 * manual/libc.texinfo: Include macros.texi.
30441 * manual/creatute.texi: Likewise.
30442 * manual/install.texi: Likewise.
30443 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30444 @glibcadj{} in references to the GNU C Library.
30445 * manual/charset.texi: Likewise.
30446 * manual/conf.texi: Likewise.
30447 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
30448 when not using those macros.
30449 * manual/creature.texi: Likewise.
30450 * manual/crypt.texi: Likewise.
30451 * manual/errno.texi: Likewise.
30452 * manual/filesys.texi: Likewise.
30453 * manual/header.texi: Likewise.
30454 * manual/install.texi: Likewise.
30455 * manual/intro.texi: Likewise.
30456 * manual/io.texi: Likewise.
30457 * manual/job.texi: Likewise.
30458 * manual/lang.texi: Likewise.
30459 * manual/libc.texiinfo: Likewise.
30460 * manual/llio.texi: Likewise.
30461 * manual/locale.texi: Likewise.
30462 * manual/maint.texi: Likewise.
30463 * manual/math.texi: Likewise.
30464 * manual/memory.texi: Likewise.
30465 * manual/message.texi: Likewise.
30466 * manual/nss.texi: Likewise.
30467 * manual/pattern.texi: Likewise.
30468 * manual/process.texi: Likewise.
30469 * manual/resource.texi: Likewise.
30470 * manual/search.texi: Likewise.
30471 * manual/setjmp.texi: Likewise.
30472 * manual/signal.texi: Likewise.
30473 * manual/socket.texi: Likewise.
30474 * manual/startup.texi: Likewise.
30475 * manual/stdio.texi: Likewise.
30476 * manual/string.texi: Likewise.
30477 * manual/sysinfo.texi: Likewise.
30478 * manual/syslog.texi: Likewise.
30479 * manual/terminal.texi: Likewise.
30480 * manual/time.texi: Likewise.
30481 * manual/users.texi: Likewise.
30482 * INSTALL: Regenerated.
30483 * NOTES: Regenerated.
30484 * sysdeps/gnu/errlist.c: Regenerated.
30486 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
30488 * include/dirent.h: Include <dirstream.h> before
30491 2012-02-28 David S. Miller <davem@davemloft.net>
30493 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30494 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30495 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30496 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30498 2012-02-27 David S. Miller <davem@davemloft.net>
30500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30502 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30503 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30506 frame pointer instead of stack pointer relative arg slot.
30507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30511 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
30514 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30516 2012-02-27 David S. Miller <davem@davemloft.net>
30518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30524 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30527 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30529 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30530 later. Allow versions 5-9.
30531 * configure: Regenerated.
30532 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30533 required minimum version and 4.6 as recommended version. Do not
30534 mention bugs in GCC 2.7 and 2.8.
30535 * INSTALL: Regenerated.
30537 2012-02-27 David S. Miller <davem@davemloft.net>
30539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30545 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30546 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30549 manipulate bits before adding and subtracting TWO112[sx].
30550 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30552 2012-02-27 Roland McGrath <roland@hack.frob.com>
30555 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30556 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30557 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30558 being in POSIX, because they are in 1003.1-2008.
30560 * rt/tst-aio.c: Include <fcntl.h>.
30561 * rt/tst-aio7.c: Likewise.
30562 * rt/tst-aio64.c: Likewise.
30564 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30566 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30568 * manual/install.texi (--with-headers): Describe headers as
30569 interface headers, not private headers.
30570 (Specific advice for GNU/Linux systems): Describe use of headers
30571 from "make headers_install", not private headers from older
30573 * INSTALL: Regenerated.
30574 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30576 * sysdeps/unix/sysv/linux/configure: Regenerated.
30578 * manual/llio.texi (fclean): Remove documentation.
30580 * manual/Makefile (libc-texi-generated): New variable. Include
30582 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30583 $(libc-texi-generated), not duplicated list of files.
30584 (version.texi, stamp-version): New rules.
30585 (realclean): Remove $(libc-texi-generated), not individual files
30586 from that list. Do not remove dir-add.texinfo.
30587 * manual/libc.texinfo: Comment out uses of edition numbers and
30588 references to printed manual. Remove last-updated dates.
30589 (EDITION): Comment out.
30591 (VERSION, UPDATED): Remove.
30592 (version.texi): Include.
30594 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30596 * sysdeps/posix/spawni.c: Include <signal.h>.
30597 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30598 * sysdeps/pthread/aio_fsync.c: Likewise.
30600 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30602 * conform/Makefile (tests): Run only when not cross-compiling and
30603 when fast-check is not defined.
30605 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30606 * conform/data/limits.h-data: Fixes for POSIX2008.
30607 * conform/run-conformtest.sh: Run all tests.
30608 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30610 * include/bits/dlfcn.h: Likewise.
30611 * include/langinfo.h: Likewise.
30612 * include/monetary.h: Likewise.
30613 * include/sys/poll.h: Likewise.
30615 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30617 * posix/spawn.h: Define __need_sigset_t.
30618 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30619 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30620 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30621 to get sigevent_t only.
30622 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30623 only for __USE_GNU.
30624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30626 process_vm_writev only for __USE_GNU.
30627 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30629 * conform/Makefile: For now ignore errors from run-conformtest.
30630 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30631 POSIX to avoid namespace pollution. Don't prepend headers.
30632 * conform/data/aio.h-data: Fixes for POSIX testing.
30633 * conform/data/fcntl.h-data: Likewise.
30634 * conform/data/glob.h-data: Likewise.
30635 * conform/data/grp.h-data: Likewise.
30636 * conform/data/pthread.h-data: Likewise.
30637 * conform/data/pwd.h-data: Likewise.
30638 * conform/data/signal.h-data: Likewise.
30639 * conform/data/spawn.h-data: Likewise.
30640 * conform/data/stdio.h-data: Likewise.
30641 * conform/data/stdlib.h-data: Likewise.
30642 * conform/data/stropts.h-data: Likewise.
30643 * conform/data/sys/mman.h-data: Likewise.
30644 * conform/data/sys/stat.h-data: Likewise.
30645 * conform/data/sys/types.h-data: Likewise.
30646 * conform/data/sys/wait.h-data: Likewise.
30647 * conform/data/time.h-data: Likewise.
30648 * conform/data/unistd.h-data: Likewise.
30649 * conform/data/utime.h-data: Likewise.
30651 * io/sys/stat.h: fchmod was always in POSIX.
30652 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30653 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30654 * rt/aio.h: Define __need_timespec before including <time.h>.
30655 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30656 struct. Add forward declaration of pthread_attr_t and use it in
30658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30660 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30661 always remove CLK_TCK definition.
30663 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30665 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30667 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30669 * conform/run-conformtest.sh: New file.
30670 * conform/Makefile: Run run-conformtest for tests.
30671 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30674 * conform/data/uchar.h-data: New file.
30675 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30676 * conform/data/arpa/inet.h-data: Likewise.
30677 * conform/data/assert.h-data: Likewise.
30678 * conform/data/complex.h-data: Likewise.
30679 * conform/data/cpio.h-data: Likewise.
30680 * conform/data/ctype.h-data: Likewise.
30681 * conform/data/dirent.h-data: Likewise.
30682 * conform/data/dlfcn.h-data: Likewise.
30683 * conform/data/errno.h-data: Likewise.
30684 * conform/data/fcntl.h-data: Likewise.
30685 * conform/data/float.h-data: Likewise.
30686 * conform/data/fmtmsg.h-data: Likewise.
30687 * conform/data/fnmatch.h-data: Likewise.
30688 * conform/data/ftw.h-data: Likewise.
30689 * conform/data/glob.h-data: Likewise.
30690 * conform/data/grp.h-data: Likewise.
30691 * conform/data/iconv.h-data: Likewise.
30692 * conform/data/inttypes.h-data: Likewise.
30693 * conform/data/langinfo.h-data: Likewise.
30694 * conform/data/libgen.h-data: Likewise.
30695 * conform/data/limits.h-data: Likewise.
30696 * conform/data/locale.h-data: Likewise.
30697 * conform/data/math.h-data: Likewise.
30698 * conform/data/monetary.h-data: Likewise.
30699 * conform/data/mqueue.h-data: Likewise.
30700 * conform/data/ndbm.h-data: Likewise.
30701 * conform/data/net/if.h-data: Likewise.
30702 * conform/data/netdb.h-data: Likewise.
30703 * conform/data/netinet/in.h-data: Likewise.
30704 * conform/data/nl_types.h-data: Likewise.
30705 * conform/data/poll.h-data: Likewise.
30706 * conform/data/pthread.h-data: Likewise.
30707 * conform/data/pwd.h-data: Likewise.
30708 * conform/data/regex.h-data: Likewise.
30709 * conform/data/sched.h-data: Likewise.
30710 * conform/data/search.h-data: Likewise.
30711 * conform/data/semaphore.h-data: Likewise.
30712 * conform/data/setjmp.h-data: Likewise.
30713 * conform/data/signal.h-data: Likewise.
30714 * conform/data/spawn.h-data: Likewise.
30715 * conform/data/stdarg.h-data: Likewise.
30716 * conform/data/stdio.h-data: Likewise.
30717 * conform/data/stdlib.h-data: Likewise.
30718 * conform/data/string.h-data: Likewise.
30719 * conform/data/strings.h-data: Likewise.
30720 * conform/data/stropts.h-data: Likewise.
30721 * conform/data/sys/ipc.h-data: Likewise.
30722 * conform/data/sys/mman.h-data: Likewise.
30723 * conform/data/sys/msg.h-data: Likewise.
30724 * conform/data/sys/resource.h-data: Likewise.
30725 * conform/data/sys/select.h-data: Likewise.
30726 * conform/data/sys/sem.h-data: Likewise.
30727 * conform/data/sys/shm.h-data: Likewise.
30728 * conform/data/sys/socket.h-data: Likewise.
30729 * conform/data/sys/stat.h-data: Likewise.
30730 * conform/data/sys/statvfs.h-data: Likewise.
30731 * conform/data/sys/time.h-data: Likewise.
30732 * conform/data/sys/timeb.h-data: Likewise.
30733 * conform/data/sys/times.h-data: Likewise.
30734 * conform/data/sys/types.h-data: Likewise.
30735 * conform/data/sys/uio.h-data: Likewise.
30736 * conform/data/sys/un.h-data: Likewise.
30737 * conform/data/sys/utsname.h-data: Likewise.
30738 * conform/data/sys/wait.h-data: Likewise.
30739 * conform/data/syslog.h-data: Likewise.
30740 * conform/data/tar.h-data: Likewise.
30741 * conform/data/termios.h-data: Likewise.
30742 * conform/data/utime.h-data: Likewise.
30743 * conform/data/utmpx.h-data: Likewise.
30744 * conform/data/varargs.h-data: Likewise.
30745 * conform/data/wchar.h-data: Likewise.
30746 * conform/data/wctype.h-data: Likewise.
30747 * conform/data/wordexp.h-data: Likewise.
30749 * include/stropts.h: New file.
30750 * include/uchar.h: New file.
30751 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30752 * include/assert.h: Likewise.
30753 * include/ctype.h: Likewise.
30754 * include/dirent.h: Likewise.
30755 * include/dlfcn.h: Likewise.
30756 * include/fcntl.h: Likewise.
30757 * include/fnmatch.h: Likewise.
30758 * include/glob.h: Likewise.
30759 * include/grp.h: Likewise.
30760 * include/libio.h: Likewise.
30761 * include/locale.h: Likewise.
30762 * include/math.h: Likewise.
30763 * include/net/if.h: Likewise.
30764 * include/netdb.h: Likewise.
30765 * include/netinet/in.h: Likewise.
30766 * include/pthread.h: Likewise.
30767 * include/pwd.h: Likewise.
30768 * include/regex.h: Likewise.
30769 * include/sched.h: Likewise.
30770 * include/search.h: Likewise.
30771 * include/setjmp.h: Likewise.
30772 * include/signal.h: Likewise.
30773 * include/stdio.h: Likewise.
30774 * include/stdlib.h: Likewise.
30775 * include/string.h: Likewise.
30776 * include/sys/cdefs.h: Likewise.
30777 * include/sys/mman.h: Likewise.
30778 * include/sys/msg.h: Likewise.
30779 * include/sys/resource.h: Likewise.
30780 * include/sys/select.h: Likewise.
30781 * include/sys/socket.h: Likewise.
30782 * include/sys/stat.h: Likewise.
30783 * include/sys/statvfs.h: Likewise.
30784 * include/sys/time.h: Likewise.
30785 * include/sys/times.h: Likewise.
30786 * include/sys/uio.h: Likewise.
30787 * include/sys/utsname.h: Likewise.
30788 * include/sys/wait.h: Likewise.
30789 * include/termios.h: Likewise.
30790 * include/time.h: Likewise.
30791 * include/ulimit.h: Likewise.
30792 * include/unistd.h: Likewise.
30793 * include/utime.h: Likewise.
30794 * include/wchar.h: Likewise.
30795 * include/wctype.h: Likewise.
30796 * include/wordexp.h: Likewise.
30798 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30800 * time/time.h: TIME_UTC must be a macro.
30801 Make timespec_get available for ISO C11 only as well.
30803 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30805 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30806 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30808 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30810 * configure.in: Use -o not -a in test for unsupported multi-arch.
30812 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30814 * manual/texinfo.tex: Update to version 2012-01-19.16.
30816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30818 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30820 2012-02-24 Roland McGrath <roland@hack.frob.com>
30823 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30824 * manual/fdl-1.3.texi: New file.
30825 * manual/fdl-1.1.texi: File removed.
30828 * manual/libc.texinfo (FDL_VERSION): New @set.
30829 Use it for mention of FDL in cover text.
30830 (Documentation License): Use it in @include file name.
30832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30833 Roland McGrath <roland@hack.frob.com>
30836 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30837 not LONG_LONG_MAX and LONG_LONG_MIN.
30838 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30839 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30841 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30843 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30848 manipulate bits before adding and subtracting TWO23[sx].
30849 * math/libm-test.inc (nearbyint_test): Add more tests.
30851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30854 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30855 bits before adding and subtracting TWO23[sx].
30856 * math/libm-test.inc (rint_test): Add more tests.
30857 (rint_test_tonearest): Likewise.
30858 (rint_test_towardzero): Likewise.
30859 (rint_test_downward): Likewise.
30860 (rint_test_upward: Likewise.
30862 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30865 * include/stdc-predef.h: New file. Extracted from features.h.
30866 * include/features.h: Include stdc-predef.h.
30867 * Makefile (headers): Add stdc-predef.h.
30868 * CONFORMANCE (Compiler limitations): Update.
30870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30872 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30874 2012-02-21 David S. Miller <davem@davemloft.net>
30876 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30877 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30879 2012-02-20 David S. Miller <davem@davemloft.net>
30881 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30882 using a normal save/restore sequence, rather than allocating a
30883 dummy stack frame just to store a frame pointer and restore.
30884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30888 * manual/install.texi: Fix stray word in line-wrapped comment.
30890 2012-02-20 David S. Miller <davem@davemloft.net>
30892 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30893 both binutils and gcc support GOTDATA.
30895 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30896 "rd %pc" in the PIC register setup sequences.
30898 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30899 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30901 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30902 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30907 (SYSCALL_ERROR_HANDLER): Likewise.
30908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30909 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30911 (SYSCALL_ERROR_HANDLER): Likewise.
30913 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30914 (HAVE_GCC_GOTDATA): New.
30915 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30916 relocation support in both binutils and gcc.
30917 * sysdeps/sparc/elf/configure: Regenerate.
30919 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30920 * sysdeps/sparc/sparc32/elf/configure: Delete.
30921 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30922 * sysdeps/sparc/sparc64/elf/configure: Delete.
30923 * sysdeps/sparc/elf/configure.in: New file.
30924 * sysdeps/sparc/elf/configure: Generate.
30926 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30927 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30928 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30929 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30930 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30932 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30934 * manual/install.texi: Do not mention specific glibc version
30936 * manual/libc.texinfo (VERSION, UPDATED): Update.
30937 (@copying): Use @copyright{} and range of years.
30939 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30942 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30943 [crti.S not in sysdirs] (generated): Do not append.
30944 [crti.S not in sysdirs] (omit-deps): Likewise.
30945 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30946 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30947 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30948 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30949 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30951 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30952 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30953 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30954 * csu/defs.awk: Remove file.
30955 * sysdeps/generic/initfini.c: Likewise.
30956 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30958 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30961 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30963 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30964 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30968 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30970 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30971 (__EPOLL_PACKED): Define to empty if not defined by
30973 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30977 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30979 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30980 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30981 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30982 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30984 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30988 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30990 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30993 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30997 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
31002 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
31004 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
31005 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
31007 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
31009 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
31012 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
31014 * math/w_acos.c: Use non-signaling floating-point comparisons.
31015 * math/w_acosf.c: Likewise.
31016 * math/w_acosh.c: Likewise.
31017 * math/w_acoshf.c: Likewise.
31018 * math/w_acoshl.c: Likewise.
31019 * math/w_acosl.c: Likewise.
31020 * math/w_asin.c: Likewise.
31021 * math/w_asinf.c: Likewise.
31022 * math/w_asinl.c: Likewise.
31023 * math/w_atanh.c: Likewise.
31024 * math/w_atanhf.c: Likewise.
31025 * math/w_atanhl.c: Likewise.
31026 * math/w_exp2.c: Likewise.
31027 * math/w_exp2f.c: Likewise.
31028 * math/w_exp2l.c: Likewise.
31029 * math/w_j0.c: Likewise.
31030 * math/w_j0f.c: Likewise.
31031 * math/w_j0l.c: Likewise.
31032 * math/w_j1.c: Likewise.
31033 * math/w_j1f.c: Likewise.
31034 * math/w_j1l.c: Likewise.
31035 * math/w_jn.c: Likewise.
31036 * math/w_jnf.c: Likewise.
31037 * math/w_log.c: Likewise.
31038 * math/w_log10.c: Likewise.
31039 * math/w_log10f.c: Likewise.
31040 * math/w_log10l.c: Likewise.
31041 * math/w_log2.c: Likewise.
31042 * math/w_log2f.c: Likewise.
31043 * math/w_log2l.c: Likewise.
31044 * math/w_logf.c: Likewise.
31045 * math/w_logl.c: Likewise.
31046 * math/w_sqrt.c: Likewise.
31047 * math/w_sqrtf.c: Likewise.
31048 * math/w_sqrtl.c: Likewise.
31049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31050 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31051 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31052 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31053 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31055 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31058 * manual/string.texi (strnlen): Use correct parameter name in
31059 equivalent expression.
31061 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31064 * manual/users.texi (seteuid): Consistently use neweuid for
31067 2012-02-19 Joseph Myers <joseph@codesourcery.com>
31070 * manual/nss.texi (Services in the NSS configuration): Correct
31071 list of services in example configuration file.
31073 2012-02-19 Nick Bowler <nbowler@draconx.ca>
31076 * manual/arith.texi: Remove statements about negative zero
31077 behaving identically to zero.
31079 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31082 * manual/install.texi: Do not document upgrading from libc5.
31084 2012-02-18 Joseph Myers <joseph@codesourcery.com>
31087 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31089 2012-02-18 David S. Miller <davem@davemloft.net>
31091 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31092 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31093 %o7 across the call.
31094 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31097 SETUP_PIC_REG_LEAF.
31098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31099 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31100 * sysdeps/sparc/crtn.S: Likewise.
31102 2012-02-17 Ulrich Drepper <drepper@gmail.com>
31104 * aout/Makefile: Remove.
31106 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
31109 * manual/examples/argp-ex1.c (main): Format definition in GNU
31111 * manual/examples/argp-ex2.c (main): Likewise.
31112 * manual/examples/argp-ex3.c (main): Likewise.
31113 * manual/examples/argp-ex4.c (main): Likewise.
31114 * manual/examples/longopt.c (main): Use new-style prototype
31116 * manual/examples/strncat.c (main): Specify return type and use
31117 (void) for arguments.
31118 * manual/examples/subopt.c (main): Use char **argv argument.
31120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31123 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31126 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
31129 * manual/string.texi (strchr): Change when strchrnul is
31132 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
31135 * manual/locale.texi (setlocale): Document LOCPATH.
31137 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31140 * manual/process.texi (execle): Move @dots{} before last argument.
31142 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
31145 * manual/charset.texi (Generic Charset Conversion): Fix typo
31146 (LC_TYPE -> LC_CTYPE).
31148 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
31151 * manual/arith.texi (scalbn): Use @var{} on parameter names.
31152 (scalbnf): Likewise.
31153 (scalbnl): Likewise.
31154 (scalbln): Likewise.
31155 (scalblnf): Likewise.
31156 (scalblnl): Likewise.
31157 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31158 (vwarnx): Likewise.
31161 * manual/filesys.texi (telldir): Use braces around return type.
31162 * manual/llio.texi (mmap): Add space after comma.
31163 (mmap64): Likewise.
31164 * manual/math.texi (jn): Use @var{} on parameter names.
31170 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31172 * manual/resource.texi (ulimit): Use @dots{} instead of literal
31174 (sched_get_priority_min): Remove semicolon on @deftypefun line.
31175 (sched_get_priority_max): Likewise.
31176 * manual/signal.texi (sigvec): Add space after comma.
31177 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31179 (if_indextoname): Likewise.
31180 (if_freenameindex): Likewise.
31181 (sendto): Use ',' instead of '.' in prototype.
31182 * manual/startup.texi (syscall): Use @dots{} instead of literal
31184 * manual/stdio.texi (__fpending): Separate initial words of
31185 paragraph from @deftypefun line.
31186 * manual/syslog.texi (syslog): Use @dots{} instead of literal
31188 (vsyslog): Use @var{} on parameter names.
31189 * manual/terminal.texi (stty): Use @var{} on parameter names.
31190 * manual/users.texi (getutmp): Use @var{} on parameter names.
31191 (getutmpx): Likewise.
31193 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31196 * manual/stdio.texi (fopen): Fix typos in description of
31199 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
31202 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31203 get clock_id definition.
31205 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
31208 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31209 (madvise): Cast every argument to void on its own.
31211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31214 * manual/startup.texi (Exit Status): Fix typo.
31216 2012-02-17 Joseph Myers <joseph@codesourcery.com>
31219 * manual/examples/argp-ex1.c: Include <stdlib.h>.
31220 * manual/examples/argp-ex2.c: Likewise.
31221 * manual/examples/argp-ex3.c: Likewise.
31223 2012-02-16 Richard Henderson <rth@redhat.com>
31225 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31226 * sysdeps/s390/s390-32/initfini.c: Remove.
31227 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31228 * sysdeps/s390/s390-64/initfini.c: Remove.
31230 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31232 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31233 compiler output for sysdeps/generic/initfini.c.
31234 * sysdeps/sh/elf/initfini.c: Remove file.
31236 2012-02-16 David S. Miller <davem@davemloft.net>
31239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31241 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31242 * sysdeps/sparc/crti.S: New file.
31243 * sysdeps/sparc/crtn.S: New file.
31244 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31245 * sysdeps/sparc/sparc64/Makefile: Likewise.
31247 2012-02-15 Mike Frysinger <vapier@gentoo.org>
31250 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31252 2012-02-15 Roland McGrath <roland@hack.frob.com>
31255 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31257 * mach/devstream.c (cookie_io_functions_t): Macro removed.
31258 (write, read, close): Likewise.
31259 Patch by Aurelien Jarno <aurelien@aurel32.net>.
31261 2012-02-15 Joseph Myers <joseph@codesourcery.com>
31263 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31264 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31265 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31266 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31268 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31272 2012-02-14 Marek Polacek <polacek@redhat.com>
31274 * sysdeps/x86_64/crti.S: New file.
31275 * sysdeps/x86_64/crtn.S: New file.
31276 * sysdeps/x86_64/elf/initfini.c: Remove file.
31278 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31280 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31281 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31282 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31283 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31285 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31289 2012-02-13 Joseph Myers <joseph@codesourcery.com>
31291 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31292 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31293 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31294 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31296 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31300 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
31302 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31303 __feraiseexcept instead of feraiseexcept.
31305 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31306 nanosleep invocations.
31307 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31308 strings, and add error checking for a nanosleep invocations.
31310 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
31312 Replace FSF snail mail address with URLs, as per GNU coding standards.
31313 Most of the snail mail addresses were wrong anyway, and omitting
31314 them makes the source code easier to maintain. Almost all of the
31315 changes are to license notices and to locale LC_IDENTIFICATION
31316 addresses, except for this one:
31317 * manual/libc.texinfo: In "Published by", give the FSF's URL,
31318 not its snail mail address.
31320 2012-02-09 Richard Henderson <rth@twiddle.net>
31322 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31323 of kernel-features.h.
31325 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31327 2012-02-08 Marek Polacek <polacek@redhat.com>
31329 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31330 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31331 * sysdeps/gnu/_G_config.h: Likewise.
31332 * sysdeps/generic/_G_config.h: Likewise.
31334 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
31336 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31340 * sysdeps/powerpc/powerpc32/crti.S: New file.
31341 * sysdeps/powerpc/powerpc32/crtn.S: New file.
31342 * sysdeps/powerpc/powerpc64/crti.S: New file.
31343 * sysdeps/powerpc/powerpc64/crtn.S: New file.
31345 * Makeconfig (have-initfini): Don't set.
31346 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31347 * configure.in (nopic_initfini): Don't substitute.
31348 * config.h.in (HAVE_INITFINI): Don't #undef.
31349 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31350 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31352 2012-02-08 Joseph Myers <joseph@codesourcery.com>
31354 Support crti.S and crtn.S provided directly by architectures.
31355 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31356 [crti.S in sysdirs] (omit-deps): Likewise.
31357 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31358 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31359 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31360 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31361 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31362 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31363 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31364 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31365 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31366 compiler output for sysdeps/generic/initfini.c.
31367 * sysdeps/i386/elf/Makefile: Remove file.
31368 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31370 2012-02-07 Marek Polacek <polacek@redhat.com>
31372 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31373 * sysdeps/gnu/_G_config.h: Likewise.
31374 * sysdeps/mach/hurd/_G_config.h: Likewise.
31376 2012-02-07 Marek Polacek <polacek@redhat.com>
31378 * math/Makefile (tests): Add tst-CMPLX2.
31379 * math/tst-CMPLX2.c: New file.
31381 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
31383 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31385 * math/libm-test.inc (jn_test): Add missing L suffix.
31387 2012-02-06 Marek Polacek <polacek@redhat.com>
31389 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31390 * sysdeps/i386/fpu/e_powf.S: Likewise.
31391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31394 * sysdeps/i386/fpu/e_pow.S: Likewise.
31395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
31398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31399 * sysdeps/i386/fpu/e_log2.S: Likewise.
31400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31402 * sysdeps/i386/fpu/e_powl.S: Likewise.
31403 * sysdeps/i386/fpu/s_log1p.S: Likewise.
31404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31405 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31406 * sysdeps/i386/fpu/e_logl.S: Likewise.
31407 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31408 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31413 * sysdeps/i386/fpu/e_log.S: Likewise.
31414 * sysdeps/i386/fpu/s_cexp.S: Likewise.
31415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31416 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31417 * sysdeps/i386/fpu/e_logf.S: Likewise.
31418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31419 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31420 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31421 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31422 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31423 * sysdeps/i386/fpu/e_log10.S: Likewise.
31424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
31425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
31427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31429 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31430 * sysdeps/i386/asm-syntax.h: Likewise.
31431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31434 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31435 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31440 * sysdeps/powerpc/sysdep.h: Likewise.
31441 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31444 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31447 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31449 2012-02-06 Joseph Myers <joseph@codesourcery.com>
31451 * sysdeps/i386/sysdep.h: Include <features.h>.
31452 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31455 2012-02-05 Joseph Myers <joseph@codesourcery.com>
31457 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31459 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31462 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31464 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31465 (SETUP_PIC_REG): Use GET_PC_THUNK.
31466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31469 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31471 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31472 for non-PIC compilation.
31473 (SETUP_PIC_REG): Add .p2align directive.
31474 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31475 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31478 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31480 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31488 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31489 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31490 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31491 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31492 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31493 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31501 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31502 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31503 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31504 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31509 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31511 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31512 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31513 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31514 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31516 2012-02-03 Joseph Myers <joseph@codesourcery.com>
31518 * math/tst-CMPLX.c: Include <stdio.h>.
31520 2012-01-31 Joseph Myers <joseph@codesourcery.com>
31522 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31524 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31525 * sysdeps/sparc/bits/mathdef.h: Likewise.
31527 2012-01-31 Marek Polacek <polacek@redhat.com>
31529 * libio/libio.h: Don't define _PARAMS.
31530 * locale/programs/config.h: Don't define PARAMS.
31531 * stdlib/strtol_l.c: Likewise.
31532 (__strtol_l): Remove PARAMS from the prototype.
31534 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31536 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31537 names. Just use the correct names. Remove unnecessary wrapper
31539 * malloc/arena.c: Likewise.
31540 * malloc/hooks.c: Likewise.
31542 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31543 ARENA_TEST says not to. Simplify test for creation of a new arena.
31544 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31546 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31548 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31550 (update_get_addr): New function.
31551 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31552 GET_ADDR_MODULE parameter.
31554 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31556 * crypt/cert.c: Remove __STDC__ conditionals.
31557 * crypt/crypt-entry.c: Likewise.
31558 * crypt/crypt_util.c: Likewise.
31559 * libio/filedoalloc.c: Likewise.
31560 * libio/fileops.c: Likewise.
31561 * libio/genops.c: Likewise.
31562 * libio/iofclose.c: Likewise.
31563 * libio/iofdopen.c: Likewise.
31564 * libio/iofopen.c: Likewise.
31565 * libio/iofopen64.c: Likewise.
31566 * libio/iogetdelim.c: Likewise.
31567 * libio/iopopen.c: Likewise.
31568 * libio/obprintf.c: Likewise.
31569 * libio/oldfileops.c: Likewise.
31570 * libio/oldiofclose.c: Likewise.
31571 * libio/oldiofdopen.c: Likewise.
31572 * libio/oldiofopen.c: Likewise.
31573 * libio/oldiopopen.c: Likewise.
31574 * libio/wfiledoalloc.c: Likewise.
31575 * libio/wgenops.c: Likewise.
31576 * locale/programs/xmalloc.c: Likewise.
31577 * misc/syslog.c: Likewise.
31578 * stdio-common/xbug.c: Likewise.
31579 * string/memchr.c: Likewise.
31580 * string/memcmp.c: Likewise.
31581 * string/memrchr.c: Likewise.
31582 * string/rawmemchr.c: Likewise.
31583 * sysdeps/posix/getcwd.c: Likewise.
31584 * time/strftime_l.c: Likewise.
31586 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31588 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31589 * config.make.in (config-cflags-sse2avx): Define.
31590 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31593 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31595 * scripts/config.guess: Update from upstream config git repository.
31596 * scripts/config.sub: Likewise.
31598 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31600 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31602 (R_TILEPRO_*, R_TILEGX_*): New macros.
31604 * scripts/firstversions.awk: Fix bug in version range handling.
31606 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31608 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31610 * include/sys/epoll.h: New file.
31611 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31614 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31616 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31617 Avoid unnecessary __WORDSIZE == 64 test.
31618 (fmaxf): Use VEX format if possible.
31623 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31624 * math/math_private.h: Remove libc_fegetround* and
31626 * sysdeps/i386/configure.in: Check for -msse2avx.
31627 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31628 also if SSE2AVX is defined.
31629 Remove libc_fegetround* and libc_fesetround*.
31630 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31631 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31640 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31642 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31644 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31646 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31648 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31651 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31653 * Makeconfig (libm): Define.
31654 * elf/Makefile: Add rules to build and run tst-relsort1.
31655 * elf/tst-relsort1.c: New file.
31656 * elf/tst-relsort1mod1.c: New file.
31657 * elf/tst-relsort1mod2.c: New file.
31659 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31661 * math/s_ldexp.c: Remove __STDC__ conditionals.
31662 * math/s_ldexpf.c: Likewise.
31663 * math/s_ldexpl.c: Likewise.
31664 * math/s_nextafter.c: Likewise.
31665 * math/s_nexttowardf.c: Likewise.
31666 * math/s_significand.c: Likewise.
31667 * math/s_significandf.c: Likewise.
31668 * math/s_significandl.c: Likewise.
31669 * math/w_jnl.c: Likewise.
31670 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31671 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31672 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31673 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31674 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31675 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31676 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31677 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31678 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31683 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31684 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31686 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31689 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31690 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31692 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31693 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31694 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31695 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31696 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31697 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31698 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31706 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31710 * sysdeps/ieee754/k_standard.c: Likewise.
31711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31712 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31713 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31721 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31722 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31723 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31724 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31725 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31726 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31727 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31730 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31733 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31734 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31735 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31736 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31740 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31741 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31742 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31743 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31744 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31747 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31751 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31753 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31754 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31760 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31761 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31767 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31770 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31771 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31773 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31775 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31776 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31777 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31780 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31781 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31782 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31783 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31784 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31785 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31787 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31788 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31789 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31790 * sysdeps/ieee754/s_matherr.c: Likewise.
31791 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31796 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31798 * crypt/md5.h: Remove __STDC__ conditionals.
31799 * libio/libioP.h: Likewise.
31800 * locale/programs/config.h: Likewise.
31801 * sysdeps/generic/sysdep.h: Likewise.
31802 * sysdeps/i386/asm-syntax.h: Likewise.
31803 * sysdeps/s390/asm-syntax.h: Likewise.
31804 * sysdeps/unix/sysdep.h: Likewise.
31805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31808 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31810 * libio/libio.h: Remove __STDC__ conditionals.
31811 * malloc/obstack.h: Likewise.
31812 * math/complex.h: Likewise.
31813 * math/math.h: Likewise.
31814 * sysdeps/generic/_G_config.h: Likewise.
31815 * sysdeps/gnu/_G_config.h: Likewise.
31816 * sysdeps/mach/hurd/_G_config.h: Likewise.
31817 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31818 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31819 * sysdeps/sparc/bits/mathdef.h: Likewise.
31821 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31824 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31825 Clean up HAS_* macros.
31826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31827 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31837 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31839 * elf/tst-unique3.cc (gets): Remove declaration.
31840 * elf/tst-unique3lib.cc (gets): Likewise.
31841 * elf/tst-unique3lib2.cc (gets): Likewise.
31842 * elf/tst-unique4.cc (gets): Likewise.
31844 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31846 * include/stdio.h: Add C++ protection. Add gets declarations and
31848 * debug/tst-chk1.c: Don't declare gets here.
31849 * stdio-common/tst-gets.c: Likewise.
31851 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31853 * posix/glob: Remove directory.
31855 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31857 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31859 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31861 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31862 of the non-standard EPFNOSUPPORT.
31864 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31866 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31867 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31868 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31870 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31872 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31874 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31876 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31878 * nscd/grpcache.c (cache_addgr): Likewise.
31879 * nscd/hstcache.c (cache_addhst): Likewise.
31880 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31881 * nscd/pwdcache.c (cache_addpw): Likewise.
31882 * nscd/servicescache.c (cache_addserv): Likewise.
31884 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31886 * malloc/malloc.c: Various cleanups.
31887 * malloc/hooks.c: Likewise.
31889 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31890 * stdlib/bug-fmtmsg1.c: New file.
31892 * stdlib/fmtmsg.c (init): Add missing unlock.
31893 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31895 2012-01-12 Marek Polacek <polacek@redhat.com>
31897 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31900 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31902 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31903 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31904 macro to ensure uniqueness of label name.
31905 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31906 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31908 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31910 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31912 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31913 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31914 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31917 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31921 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31922 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31925 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31927 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31928 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31929 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31932 * math/bits/math-finite.h: Add ldexp support.
31934 2012-01-10 Marek Polacek <polacek@redhat.com>
31936 * locale/programs/localedef.h (show_archive_content): Add noreturn
31939 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31941 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31945 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31947 * io/Makefile (headers): Add bits/poll2.h.
31949 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31952 typo #include statement.
31954 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31956 * include/sys/cdefs.h: Define __attribute_alloc_size.
31957 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31958 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31959 * elf/pldd.c: Likewise.
31960 * iconv/iconv_charmap.c: Likewise.
31961 * iconv/iconvconfig.c: Likewise.
31962 * iconv/strtab.c: Likewise.
31963 * locale/programs/locale.c: Likewise.
31964 * locale/programs/localedef.h: Likewise.
31965 * locale/programs/simple-hash.c: Likewise.
31966 * nscd/nscd.h: Likewise.
31967 * nss/makedb.c: Likewise.
31968 * sysdeps/generic/ldconfig.h: Likewise.
31969 * locale/programs/localedef.c: Remove xmalloc prototype.
31970 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31972 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31979 * math/Makefile (tests): Add tst-CMPLX.
31980 * math/tst-CMPLX.c: New file.
31982 * math/complex.h (CMPLXL): Fix typo.
31984 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31985 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31987 * debug/tst-chk1.c: Add poll and ppoll tests.
31988 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31989 * include/sys/poll.h: Add hidden proto for ppoll.
31990 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31991 * sysdeps/mach/hurd/ppoll.c: Likewise.
31992 * io/ppoll.c: Likewise.
31993 * debug/poll_chk.c: New file.
31994 * debug/ppoll_chk.c: New file.
31995 * include/bits/poll2.h: New file.
31996 * io/bits/poll2.h: New file.
31999 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
32001 * configure.in: static is always set to yes. Remove.
32002 * config.make.in: Don't set build-static.
32003 * Makeconfig: Remove use of build-static.
32004 * dlfcn/Makefile: Likewise.
32005 * elf/Makefile: Likewise.
32006 * math/Makefile: Likewise.
32007 * misc/Makefile: Likewise.
32008 * nptl/Makefile: Likewise.
32009 * sysdeps/mach/hurd/Makefile: Likewise.
32011 * configure.in: PWD_P is not used anymore.
32012 * config.make.in: Remove PWD_P entry.
32014 * configure.in: Remove last remnants of RANLIB.
32015 No need to check for signed size_t anymore.
32016 Don't set libc_commonpagesize and libc_relro_required here for Alpha
32018 Remove __builtin_expect test because we require at least gcc 3.4.
32019 * aclocal.m4: Likewise.
32021 * wcsmbs/mbrtoc16.c: Implement using towc function.
32022 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32023 * wcsmbs/wcsmbsload.c: Likewise.
32024 * iconv/gconv_simple.c: Likewise.
32025 * iconv/gconv_int.h: Likewise.
32026 * iconv/gconv_builtin.h: Likewise.
32027 * iconv/iconv_prog.c: Remove CHAR16 handling.
32029 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32031 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32033 * configure.in: Remove --with-elf and --enable-bounded options.
32034 Dont set base_machine for ia64. More non-ELF conditions removed.
32035 Remove testing and setting of leading underscore information.
32036 * config.make.in (build-bounded): Set to no.
32037 * config.h.in: Remove NO_UNDERSCORES entry.
32038 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
32040 * csu/start.c: Remove !NO_UNDERSCORE code.
32041 * locale/localeinfo.h: Likewise.
32042 * sysdeps/generic/machine-gmon.h: Likewise.
32043 * sysdeps/generic/sysdep.h: Likewise.
32044 * sysdeps/i386/sysdep.h: Likewise.
32045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32046 * sysdeps/mach/sysdep.h: Likewise.
32047 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32048 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32049 * sysdeps/sh/sysdep.h: Likewise.
32050 * sysdeps/sparc/sparc32/alloca.S: Likewise.
32051 * sysdeps/unix/i386/sysdep.S: Likewise.
32052 * sysdeps/unix/sparc/start.c: Likewise.
32053 * sysdeps/unix/sparc/sysdep.S: Likewise.
32054 * sysdeps/unix/sparc/sysdep.h: Likewise.
32055 * sysdeps/unix/start.c: Likewise.
32056 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32057 * sysdeps/x86_64/sysdep.h: Likewise.
32059 2012-01-07 Ulrich Drepper <drepper@gmail.com>
32062 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32064 * argp/argp-fmtstream.h: Use const instead __const.
32065 * argp/argp.h: Likewise.
32066 * assert/assert.h: Likewise.
32067 * bits/fenv.h: Likewise.
32068 * bits/sched.h: Likewise.
32069 * bits/sigset.h: Likewise.
32070 * bits/sigthread.h: Likewise.
32071 * catgets/nl_types.h: Likewise.
32072 * conform/data/pthread.h-data: Likewise.
32073 * crypt/crypt-private.h: Likewise.
32074 * crypt/crypt.h: Likewise.
32075 * crypt/crypt_util.c: Likewise.
32076 * ctype/ctype.h: Likewise.
32077 * debug/execinfo.h: Likewise.
32078 * debug/mbsnrtowcs_chk.c: Likewise.
32079 * debug/mbsrtowcs_chk.c: Likewise.
32080 * debug/wcsnrtombs_chk.c: Likewise.
32081 * debug/wcsrtombs_chk.c: Likewise.
32082 * debug/wcstombs_chk.c: Likewise.
32083 * dirent/dirent.h: Likewise.
32084 * dlfcn/dlfcn.h: Likewise.
32085 * elf/neededtest4.c: Likewise.
32086 * grp/grp.h: Likewise.
32087 * gshadow/gshadow.h: Likewise.
32088 * iconv/gconv.h: Likewise.
32089 * iconv/gconv_int.h: Likewise.
32090 * iconv/gconv_simple.c: Likewise.
32091 * iconv/iconv.h: Likewise.
32092 * iconv/loop.c: Likewise.
32093 * iconv/skeleton.c: Likewise.
32094 * include/aio.h: Likewise.
32095 * include/aliases.h: Likewise.
32096 * include/argz.h: Likewise.
32097 * include/arpa/inet.h: Likewise.
32098 * include/assert.h: Likewise.
32099 * include/dirent.h: Likewise.
32100 * include/dlfcn.h: Likewise.
32101 * include/execinfo.h: Likewise.
32102 * include/fcntl.h: Likewise.
32103 * include/fenv.h: Likewise.
32104 * include/glob.h: Likewise.
32105 * include/grp.h: Likewise.
32106 * include/libintl.h: Likewise.
32107 * include/mntent.h: Likewise.
32108 * include/netdb.h: Likewise.
32109 * include/pwd.h: Likewise.
32110 * include/rpc/netdb.h: Likewise.
32111 * include/sched.h: Likewise.
32112 * include/search.h: Likewise.
32113 * include/shadow.h: Likewise.
32114 * include/signal.h: Likewise.
32115 * include/stdio.h: Likewise.
32116 * include/stdlib.h: Likewise.
32117 * include/string.h: Likewise.
32118 * include/sys/socket.h: Likewise.
32119 * include/sys/stat.h: Likewise.
32120 * include/sys/statfs.h: Likewise.
32121 * include/sys/statvfs.h: Likewise.
32122 * include/sys/syslog.h: Likewise.
32123 * include/sys/time.h: Likewise.
32124 * include/sys/uio.h: Likewise.
32125 * include/time.h: Likewise.
32126 * include/unistd.h: Likewise.
32127 * include/utmp.h: Likewise.
32128 * include/wchar.h: Likewise.
32129 * include/wctype.h: Likewise.
32130 * inet/aliases.h: Likewise.
32131 * inet/arpa/inet.h: Likewise.
32132 * inet/netinet/ether.h: Likewise.
32133 * inet/netinet/in.h: Likewise.
32134 * intl/libintl.h: Likewise.
32135 * io/bits/fcntl2.h: Likewise.
32136 * io/fcntl.h: Likewise.
32137 * io/ftw.h: Likewise.
32138 * io/sys/poll.h: Likewise.
32139 * io/sys/stat.h: Likewise.
32140 * io/sys/statfs.h: Likewise.
32141 * io/sys/statvfs.h: Likewise.
32142 * io/utime.h: Likewise.
32143 * libio/bits/stdio.h: Likewise.
32144 * libio/bits/stdio2.h: Likewise.
32145 * libio/libio.h: Likewise.
32146 * libio/libioP.h: Likewise.
32147 * libio/stdio.h: Likewise.
32148 * locale/lc-ctype.c: Likewise.
32149 * locale/locale.h: Likewise.
32150 * login/utmp.h: Likewise.
32151 * malloc/arena.c: Likewise.
32152 * malloc/malloc.c: Likewise.
32153 * malloc/malloc.h: Likewise.
32154 * malloc/mcheck.c: Likewise.
32155 * malloc/mtrace.c: Likewise.
32156 * math/bits/mathcalls.h: Likewise.
32157 * math/fenv.h: Likewise.
32158 * math/math_private.h: Likewise.
32159 * misc/bits/error.h: Likewise.
32160 * misc/bits/syslog.h: Likewise.
32161 * misc/err.h: Likewise.
32162 * misc/error.h: Likewise.
32163 * misc/fstab.h: Likewise.
32164 * misc/mntent.h: Likewise.
32165 * misc/regexp.h: Likewise.
32166 * misc/search.h: Likewise.
32167 * misc/sgtty.h: Likewise.
32168 * misc/sys/mman.h: Likewise.
32169 * misc/sys/syslog.h: Likewise.
32170 * misc/sys/uio.h: Likewise.
32171 * misc/sys/xattr.h: Likewise.
32172 * misc/ttyent.h: Likewise.
32173 * nis/rpcsvc/ypclnt.h: Likewise.
32174 * nss/nss.h: Likewise.
32175 * posix/bits/unistd.h: Likewise.
32176 * posix/fnmatch.h: Likewise.
32177 * posix/glob.h: Likewise.
32178 * posix/sched.h: Likewise.
32179 * posix/spawn.h: Likewise.
32180 * posix/sys/wait.h: Likewise.
32181 * posix/unistd.h: Likewise.
32182 * posix/wordexp.h: Likewise.
32183 * pwd/pwd.h: Likewise.
32184 * resolv/netdb.h: Likewise.
32185 * resource/sys/resource.h: Likewise.
32186 * rt/aio.h: Likewise.
32187 * rt/bits/mqueue2.h: Likewise.
32188 * rt/mqueue.h: Likewise.
32189 * shadow/shadow.h: Likewise.
32190 * signal/signal.h: Likewise.
32191 * socket/send.c: Likewise.
32192 * socket/sendto.c: Likewise.
32193 * socket/sys/socket.h: Likewise.
32194 * stdio-common/printf.h: Likewise.
32195 * stdlib/bits/stdlib.h: Likewise.
32196 * stdlib/fmtmsg.h: Likewise.
32197 * stdlib/monetary.h: Likewise.
32198 * stdlib/stdlib.h: Likewise.
32199 * stdlib/ucontext.h: Likewise.
32200 * streams/stropts.h: Likewise.
32201 * string/argz.h: Likewise.
32202 * string/bits/string2.h: Likewise.
32203 * string/string.h: Likewise.
32204 * string/strings.h: Likewise.
32205 * sunrpc/rpc/auth.h: Likewise.
32206 * sunrpc/rpc/auth_des.h: Likewise.
32207 * sunrpc/rpc/clnt.h: Likewise.
32208 * sunrpc/rpc/netdb.h: Likewise.
32209 * sunrpc/rpc/pmap_clnt.h: Likewise.
32210 * sunrpc/rpc/xdr.h: Likewise.
32211 * sysdeps/generic/inttypes.h: Likewise.
32212 * sysdeps/generic/net/if.h: Likewise.
32213 * sysdeps/generic/sys/swap.h: Likewise.
32214 * sysdeps/gnu/net/if.h: Likewise.
32215 * sysdeps/gnu/utmpx.h: Likewise.
32216 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32217 * sysdeps/i386/i486/bits/string.h: Likewise.
32218 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32219 * sysdeps/s390/bits/string.h: Likewise.
32220 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32221 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32222 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32223 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32224 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32225 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32226 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32227 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32228 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32229 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32230 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32232 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32233 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32234 * sysdeps/unix/sysv/linux/readv.c: Likewise.
32235 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32236 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32240 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32241 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32242 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32243 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32244 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32245 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32246 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32248 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32250 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32251 * sysvipc/sys/ipc.h: Likewise.
32252 * sysvipc/sys/msg.h: Likewise.
32253 * sysvipc/sys/sem.h: Likewise.
32254 * sysvipc/sys/shm.h: Likewise.
32255 * termios/termios.h: Likewise.
32256 * time/sys/time.h: Likewise.
32257 * time/time.h: Likewise.
32258 * wcsmbs/bits/wchar2.h: Likewise.
32259 * wcsmbs/uchar.h: Likewise.
32260 * wcsmbs/wchar.h: Likewise.
32261 * wctype/wctype.h: Likewise.
32264 * Makeconfig: Remove all but ELF support including AIX support.
32265 * Makerules: Likewise.
32266 * config.h.in: Likewise.
32267 * config.make.in: Likewise.
32268 * configure: Likewise.
32269 * configure.in: Likewise.
32270 * csu/Makefile: Likewise.
32271 * csu/version.c: Likewise.
32272 * debug/Makefile: Likewise.
32273 * dlfcn/Makefile: Likewise.
32274 * elf/Makefile: Likewise.
32275 * extra-lib.mk: Likewise.
32276 * iconv/Makefile: Likewise.
32277 * include/libc-symbols.h: Likewise.
32278 * include/shlib-compat.h: Likewise.
32279 * resolv/Makefile: Likewise.
32280 * resolv/res_libc.c: Likewise.
32281 * rt/Makefile: Likewise.
32282 * sysdeps/i386/asm-syntax.h: Likewise.
32283 * sysdeps/i386/sysdep.h: Likewise.
32284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32285 * sysdeps/mach/sysdep.h: Likewise.
32286 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32287 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32288 * sysdeps/s390/asm-syntax.h: Likewise.
32289 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32291 * sysdeps/sh/sysdep.h: Likewise.
32292 * sysdeps/unix/sparc/sysdep.h: Likewise.
32293 * sysdeps/wordsize-32/divdi3.c: Likewise.
32294 * sysdeps/x86_64/sysdep.h: Likewise.
32296 * argp/Versions: Remove _argp_unlock_xxx.
32299 * abilist/ld.abilist: Update. Adjust for removal of tls option.
32300 * abilist/libBrokenLocale.abilist: Likewise.
32301 * abilist/libanl.abilist: Likewise.
32302 * abilist/libc.abilist: Likewise.
32303 * abilist/libcrypt.abilist: Likewise.
32304 * abilist/libdl.abilist: Likewise.
32305 * abilist/libm.abilist: Likewise.
32306 * abilist/libnsl.abilist: Likewise.
32307 * abilist/libpthread.abilist: Likewise.
32308 * abilist/libresolv.abilist: Likewise.
32309 * abilist/librt.abilist: Likewise.
32310 * abilist/libthread_db.abilist: Likewise.
32311 * abilist/libutil.abilist: Likewise.
32312 * abilist/libnss_db.abilist: New file.
32314 * scripts/abilist.awk: Add support for indirect functions.
32316 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32318 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32320 * shlib-versions: Remove entries for ports architectures.
32322 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
32324 * elf/stackguard-macros.h: Remove support for IA-64.
32325 * elf/tst-auditmod1.c: Likewise.
32326 * sysdeps/generic/ldsodefs.h: Likewise.
32328 * sysdeps/unix/sysv/linux/configure.in: Ports should define
32329 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32333 * configure.in: Remove --enable-omitfp support.
32335 * config.make.in: Likewise.
32336 * Makeconfig: Likewise.
32337 * manual/install.texi: Likewise.
32339 In case anyone cares, the IA-64 architecture could move to ports.
32340 * sysdeps/ia64/*: Removed.
32341 * sysdeps/unix/sysv/linux/ia64/*: Removed.
32342 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32345 * configure.in: Remove entries for unsupported architectures.
32348 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32349 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
32351 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32352 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32353 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
32354 fall back to using wcrtomb.
32355 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32356 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
32358 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32359 * wcsmbs/tst-c16c32-1.c: New file.
32361 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32364 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32366 * elf/tst-unique3.cc: Add explicit declaration of gets.
32367 * elf/tst-unique3lib.cc: Likewise.
32368 * elf/tst-unique3lib2.cc: Likewise.
32369 * elf/tst-unique4.cc: Likewise.
32371 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32373 2012-01-06 Joseph Myers <joseph@codesourcery.com>
32376 * assert/assert.h (static_assert): Don't define for C++.
32377 * libio/stdio.h (gets): Do declare for C++ <= C++11.
32378 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32380 2012-01-03 Ulrich Drepper <drepper@gmail.com>
32382 * iconv/loop.c (single loop): Fix assertion in storing of
32385 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32387 2012-01-01 Ulrich Drepper <drepper@gmail.com>
32389 * posix/getconf.c: Update copyright year.
32390 * nss/getent.c: Likewise.
32391 * nss/makedb.c: Likewise.
32392 * iconv/iconvconfig.c: Likewise.
32393 * iconv/iconv_prog.c: Likewise.
32394 * elf/ldconfig.c: Likewise.
32395 * elf/pldd.c: Likewise.
32396 * elf/sotruss.ksh: Likewise.
32397 * catgets/gencat.c: Likewise.
32398 * csu/version.c: Likewise.
32399 * elf/ldd.bash.in: Likewise.
32400 * elf/sprof.c (print_version): Likewise.
32401 * locale/programs/locale.c: Likewise.
32402 * locale/programs/localedef.c: Likewise.
32403 * login/programs/pt_chown.c: Likewise.
32404 * nscd/nscd.c (print_version): Likewise.
32405 * debug/xtrace.sh: Likewise.
32406 * malloc/memusage.sh: Likewise.
32407 * malloc/mtrace.pl: Likewise.
32408 * debug/catchsegv.sh: Likewise.
32410 2011-12-30 Jakub Jelinek <jakub@redhat.com>
32412 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32415 2011-12-24 Ulrich Drepper <drepper@gmail.com>
32418 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32419 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32421 * iconv/gconv_int.h: Likewise.
32422 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32423 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32424 from libc for GLIBC_2.16.
32425 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32426 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32427 * wcsmbs/uchar.h: Really define mbstate_t.
32428 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32429 * wcsmbs/c16rtomb.c: New file.
32430 * wcsmbs/mbrtoc16.c: New file.
32431 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32432 for C/POSIX locale.
32433 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32434 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32436 * wcsmbs/wchar.h: Add missing __restrict.
32438 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32441 * time/Makefile (routines): Add timespec_get.
32442 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32443 * time/time.h: Define TIME_UTC and declare timespec_get. Define
32444 timespec for ISO C11.
32445 * time/timespec_get.c: New file.
32446 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32447 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32450 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32451 * stdlib/stdlib.h: Declare aligned_alloc.
32452 * Versions.def: Add GLIBC_2.16 for libc.
32453 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32456 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32459 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32463 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32466 * assert/assert.h (static_assert): Define.
32468 * version.h: Update for 2.16 development version.
32471 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32474 * version.h (RELEASE): Bump for 2.15 release.
32475 * include/features.h (__GLIBC_MINOR__): Bump to 15.
32477 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32478 Patch by Marek Polacek <mpolacek@redhat.com>.
32480 * bits/byteswap.h: Protect long long constants with __extension__.
32481 * sysdeps/i386/bits/byteswap.h: Likewise.
32482 * sysdeps/ia64/bits/byteswap.h: Likewise.
32483 * sysdeps/s390/bits/byteswap.h: Likewise.
32484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32486 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32490 destination buffer.
32491 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32493 2011-12-23 Marek Polacek <polacek@redhat.com>
32495 * elf/dl-addr.c (determine_info): Add inline keyword.
32496 * elf/tst-auditmod4b.c (check_avx): Likewise.
32497 * elf/tst-auditmod6b.c (check_avx): Likewise.
32498 * elf/tst-auditmod6c.c (check_avx): Likewise.
32499 * elf/tst-auditmod7b.c (check_avx): Likewise.
32501 2011-12-23 Ulrich Drepper <drepper@gmail.com>
32503 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32506 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32509 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32510 processing for last bytes.
32512 2011-08-06 Bruno Haible <bruno@clisp.org>
32515 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32516 U+0385, not to U+1FEE.
32519 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32520 entry for U+00A5 U+0301.
32522 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32525 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32526 buffer for the output is too small.
32528 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32532 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32533 SSE flags if possible.
32535 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32539 processing for last bytes.
32541 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32543 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32544 (syscall-list-default-options, syscall-list-default-condition)
32545 (syscall-list-includes): Define.
32546 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32547 list of ABIs and options and #if conditions for each ABI. Do not
32548 handle common syscalls between ABIs specially.
32549 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32551 (syscall-list-variants, syscall-list-32bit-options)
32552 (syscall-list-32bit-condition, syscall-list-64bit-options)
32553 (syscall-list-64bit-condition): Define.
32554 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32555 (syscall-list-variants, syscall-list-32bit-options)
32556 (syscall-list-32bit-condition, syscall-list-64bit-options)
32557 (syscall-list-64bit-condition): Define.
32558 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32560 (syscall-list-variants, syscall-list-32bit-options)
32561 (syscall-list-32bit-condition, syscall-list-64bit-options)
32562 (syscall-list-64bit-condition): Define.
32563 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32565 (syscall-list-variants, syscall-list-32bit-options)
32566 (syscall-list-32bit-condition, syscall-list-64bit-options)
32567 (syscall-list-64bit-condition): Define.
32569 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32571 * locale/iso-639.def: Add brx entry.
32574 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32575 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32577 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32578 __feraiseexcept_renamed.
32580 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32583 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32584 EPOLLET with unsigned values.
32585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32588 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32589 to large cancellation.
32590 * math/s_cacoshf.c: Likewise.
32591 * math/s_cacoshl.c: Likewise.
32593 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32597 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32598 * math/s_cacoshf.c: Likewise.
32599 * math/s_cacoshl.c: Likewise.
32601 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32604 * iconv/gconv.h: Define __GCONV_SWAP.
32605 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32606 * iconvdata/utf-16.c: Likewise.
32607 * iconvdata/utf-32.c: Likewise.
32609 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32613 numerator after shifting it by one limb.
32615 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32617 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32618 under [__USE_EXTERN_INLINES].
32620 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32623 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32625 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32627 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32628 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32630 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32631 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32632 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32633 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32634 for strncasecmp/strncasecmp_l compilation.
32635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32636 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32638 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32641 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32644 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32647 * time/tzfile.c (__tzfile_read): Check values from file header.
32649 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32651 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32652 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32653 * powerpc/powerpc32/dl-start.S: Likewise.
32654 * powerpc/powerpc32/elf/start.S: Likewise.
32655 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32656 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32657 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32658 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32659 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32660 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32661 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32662 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32663 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32664 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32665 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32666 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32667 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32668 * powerpc/powerpc32/memset.S: Likewise.
32669 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32670 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32671 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32672 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32673 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32674 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32675 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32676 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32677 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32678 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32679 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32680 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32681 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32683 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32685 * math/libm-test.inc: Added more nearbyint tests.
32686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32691 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32693 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32696 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32698 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32699 Add wcscpy-ssse3 wcscpy-c.
32700 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32701 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32702 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32703 * sysdeps/x86_64/wcschr.S: New file.
32704 * sysdeps/x86_64/wcsrchr.S: New file.
32705 * string/test-strcmp.c: Remove checking of wcscmp function for
32707 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32708 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32709 wcsrchr-sse2 wcsrchr-c.
32710 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32711 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32712 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32713 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32714 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32715 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32716 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32717 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32718 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32719 * wcsmbc/wcschr.c (WCSCHR): New macro.
32721 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32723 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32724 * wcsmbs/test-wcsrchr.c: New file.
32725 * string/test-strrchr.c: Add wcsrchr support.
32727 * wcsmbs/test-wcscpy.c: New file.
32728 * string/test-strcpy.c: Add wcscpy support.
32731 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32736 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32739 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32741 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32744 Minor optimizations.
32746 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32747 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32748 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32750 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32752 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32753 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32754 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32755 for gcc to avoid warnings.
32756 * inet/Makefile (tests): Add tst-checks.
32757 * inet/tst-checks.c: New file.
32759 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32762 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32765 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32766 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32768 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32770 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32772 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32775 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32777 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32779 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32780 conditional on GCC version.
32781 (__arch_compare_and_exchange_val_8_acq)
32782 (__arch_compare_and_exchange_val_16_acq)
32783 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32784 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32785 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32787 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32789 * sysdeps/sh/backtrace.c: New file.
32791 2011-12-02 Andreas Schwab <schwab@redhat.com>
32793 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32796 2011-12-01 Andreas Schwab <schwab@redhat.com>
32798 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32799 falling back to utime.
32801 2011-11-30 Andreas Schwab <schwab@redhat.com>
32803 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32804 expectations for float.
32806 2011-11-29 Andreas Schwab <schwab@redhat.com>
32808 * locale/weight.h (findidx): Add parameter len.
32809 * locale/weightwc.h (findidx): Likewise.
32810 * posix/fnmatch_loop.c (FCT): Adjust caller.
32811 * posix/regcomp.c (build_equiv_class): Likewise.
32812 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32813 * posix/regexec.c (check_node_accept_bytes): Likewise.
32814 * string/strcoll_l.c (STRCOLL): Likewise.
32815 * string/strxfrm_l.c (STRXFRM): Likewise.
32817 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32819 * Makefile.in: Remove CVSOPT handling.
32820 * configure.in: Remove use of AC_REVISION.
32821 * iconvdata/Makefile (distribute): No need to filter out CVS.
32822 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32825 2011-11-16 Andreas Schwab <schwab@redhat.com>
32827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32828 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32829 [USE_AS_STRNCASECMP_L]: Likewise.
32830 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32831 NO_TLS_DIRECT_SEG_REFS.
32832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32833 Fix argument offsets for non-PIC.
32834 [USE_AS_STRNCASECMP_L]: Likewise.
32835 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32836 NO_TLS_DIRECT_SEG_REFS.
32838 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32840 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32842 * locale/loadlocale.c (_nl_load_locale): Likewise.
32844 2011-11-15 Andreas Schwab <schwab@redhat.com>
32846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32847 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32848 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32849 (SYSCALL_GETTIME): Set errno on error.
32851 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32852 count references to noai6ai_cached.
32854 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32856 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32858 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32859 FD_CLOEXEC for /proc/self/maps.
32861 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32862 FD_CLOEXEC for /proc/meminfo.
32864 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32867 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32868 FD_CLOEXEC for given file.
32870 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32872 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32873 FD_CLOEXEC for /etc/hosts.
32874 (_gethtent): Likewise.
32876 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32878 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32879 cancellation and set FD_CLOEXEC for /etc/netgroup.
32881 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32882 reading /etc/publickey.
32884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32885 allow cancellation when reading /etc/group.
32887 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32889 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32891 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32892 when using data file.
32894 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32896 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32897 (write_nis_obj): Use "c" and "e" in fopen.
32899 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32901 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32903 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32905 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32907 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32910 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32912 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32914 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32916 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32917 file parsing and set FD_CLOEXEC.
32919 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32921 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32923 2011-11-14 Andreas Schwab <schwab@redhat.com>
32925 * malloc/arena.c (arena_get2): Don't call reused_arena when
32926 _int_new_arena failed.
32928 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32930 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32931 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32933 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32936 to compile strcasecmp and strncasecmp.
32937 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32938 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32942 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32944 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32945 locale-defines.sym to gen-as-const-headers.
32946 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32947 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32949 to compile strcasecmp and strncasecmp.
32950 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32951 strcasecmp_l and strncasecmp_l.
32952 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32953 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32954 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32955 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32956 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32957 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32958 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32959 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32960 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32961 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32962 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32964 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32966 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32967 result of SYSDEP_GETTIME_CPU to retval.
32968 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32969 parameter list to macro. Remove trailing semicolon. Adjust users.
32971 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32978 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32979 from unused variable.
32981 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32983 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32986 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32989 * sunrpc/rpc_prot.c (rejected): Fix case value.
32991 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32992 unsigned long long int to avoid warnings in shift.
32994 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32996 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32999 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
33000 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33003 * nis/nis_table.c (nis_list): Use variable of correct type for
33004 result of __follow_path call.
33006 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33008 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
33009 of math functions ceil, trunc, floor, round, and sqrt, when
33010 avaliable on the platform.
33011 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33013 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33014 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33015 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33017 2011-10-30 Marek Polacek <mpolacek@redhat.com>
33019 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33022 2011-11-11 Roland McGrath <roland@hack.frob.com>
33024 * include/unistd.h: Fix __readlink return type.
33025 Reported by Chris Metcalf <cmetcalf@tilera.com>.
33027 2011-11-11 Ulrich Drepper <drepper@gmail.com>
33029 * stdlib/ucontext.h: Undo last change for makecontext.
33031 2011-11-11 Andreas Schwab <schwab@redhat.com>
33033 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33035 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33036 * setjmp/setjmp.h: Mark functions as non-leaf.
33037 * setjmp/bits/setjmp2.h: Likewise.
33038 * stdlib/ucontext.h: Likewise.
33040 2011-11-10 Andreas Schwab <schwab@redhat.com>
33042 * malloc/arena.c (_int_new_arena): Don't increment narenas.
33043 (reused_arena): Don't check arena limit.
33044 (arena_get2): Atomically check arena limit.
33046 2011-11-08 Ulrich Drepper <drepper@gmail.com>
33048 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33049 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33054 2011-11-07 Andreas Schwab <schwab@redhat.com>
33056 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33057 handler when locking.
33059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33060 Fix size of allocated buffer.
33062 2011-11-04 Andreas Schwab <schwab@redhat.com>
33065 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33066 declarations for long double functions.
33067 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33069 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33071 2011-11-03 Andreas Schwab <schwab@redhat.com>
33073 * nscd/nscd.c (main): Don't start AVC thread until credentials are
33076 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33079 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
33081 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33083 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
33085 * include/alloca.h (stackinfo_alloca_round): Define.
33086 (extend_alloca): Use it.
33087 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33088 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33091 * scripts/check-local-headers.sh: Ignore libaudit.h.
33093 * nscd/Makefile (extra-objs): Make recursively expanded.
33095 2011-11-01 Ulrich Drepper <drepper@gmail.com>
33097 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33100 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33101 * posix/tst-rfc3484-2.c: Likewise.
33102 * posix/tst-rfc3484-3.c: Likewise.
33104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33106 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33108 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33109 process_vm_writev from libc using GLIBC_2.15 version.
33111 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33113 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
33115 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33118 2011-10-31 Ulrich Drepper <drepper@gmail.com>
33121 * nss/getent.c (initgroups_keys): Show error message in case no group
33124 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33125 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33126 __bump_nl_timestamp.
33127 * nscd/connections (nscd_init): When host database is served open
33128 netlink socket and request notification about configuration changes.
33129 (main_loop_poll): Track netlink file descriptor and bump timestamp
33130 in case data becomes available.
33131 (main_loop_epoll): Likewise.
33132 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33133 (database_pers_head): Add extra_data fileds.
33134 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33135 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33136 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33139 in6ai data, call __free_in6ai.
33140 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33141 Add -DHAVE_NETLINK.
33142 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
33143 interface information. Reuse previous data if netlink timestamp
33145 (__bump_nl_timestamp): New function.
33146 (__free_in6ai): New function.
33148 2011-10-30 Ulrich Drepper <drepper@gmail.com>
33150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33151 close_not_cancel_no_status here.
33152 (__check_pf): Reorganize code a bit to not call close twice if OOM.
33154 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33157 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33160 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33161 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33162 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33164 2011-07-03 Andreas Jaeger <aj@suse.de>
33167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33168 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33169 * math/libm-test.inc (sin_test): Add test case.
33171 2011-10-29 Ulrich Drepper <drepper@gmail.com>
33174 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33175 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33177 * elf/chroot_canon.c (chroot_canon): Cleanups.
33179 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33182 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33185 * string/test-strchr.c: Make usable for strchrnul testing.
33186 * string/test-strchrnul.c: New file.
33187 * string/Makefile (strop-tests): Add strchrnul.
33189 * po/it.po: Update from translation team.
33190 * po/es.po: Likewise.
33192 2011-10-28 Ulrich Drepper <drepper@gmail.com>
33194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33195 the three constants needed as parameters. Drop the others.
33196 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33197 __m128i_strloadu_tolower.
33198 Create and initialize variable zero and use it in all the places
33199 where _mm_setzero_si128 was used.
33201 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33202 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33203 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33204 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33206 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33209 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33210 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33211 __mpranred, __mptan.
33212 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33213 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33214 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33215 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33216 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33217 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33218 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33219 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33222 2011-10-28 Andreas Schwab <schwab@redhat.com>
33224 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33225 redefine if SHARED.
33226 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33229 wide char related routines to wcsmbs subdir.
33231 2011-10-27 Andreas Schwab <schwab@redhat.com>
33234 * misc/sys/cdefs.h (__THROWNL): Define.
33235 * posix/unistd.h: Use __THREADNL instead of __THREAD
33236 for memory synchronization functions.
33238 2011-10-26 Roland McGrath <roland@hack.frob.com>
33241 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33243 * manual/stdio.texi (Obstack Streams): Node removed.
33245 2011-10-26 Andreas Schwab <schwab@redhat.com>
33247 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33248 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33251 * math/math_private.h (math_force_eval): Allow non-addressable
33253 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33255 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33257 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33258 file is not needed.
33260 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33267 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33269 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33270 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33271 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33272 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33273 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33274 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33275 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33276 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33279 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33280 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33286 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33287 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33289 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33290 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
33292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33293 place. Use VEX encoding when compiling for AVX.
33295 2011-10-25 Andreas Schwab <schwab@redhat.com>
33297 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33300 * string/test-strchr.c (do_test): Don't generate NUL bytes.
33302 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33304 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33305 useless if() expression.
33306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33307 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33308 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33310 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33312 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33320 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33323 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33324 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33326 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33328 2011-10-25 Andreas Schwab <schwab@redhat.com>
33330 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
33334 2011-10-25 Ulrich Drepper <drepper@gmail.com>
33336 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33337 .text section. Avoid duplicate constants.
33338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33346 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33347 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33348 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33350 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33351 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33352 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33354 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33355 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33361 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33362 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33363 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33364 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33365 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33366 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33367 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33369 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33370 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33371 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33372 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33373 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33374 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33375 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33376 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33377 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33378 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33380 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33381 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33382 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33384 2011-10-24 Ulrich Drepper <drepper@gmail.com>
33386 * sysdeps/x86_64/dla.h: Move to ...
33387 * sysdeps/x86_64/fpu/dla.h: ...here.
33388 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33389 situations. Use __builtin_fma only for gcc 4.6 and up.
33391 * config.make.in: Add have-mfma4 entry.
33392 * configure.in: Substitute libc_cv_cc_fma4.
33393 * math/Makefile (dbl-only-routines): Add sincostab.
33394 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33395 Use __sincostab not sincos.
33396 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
33403 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
33404 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
33405 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33406 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33409 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33411 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
33412 define aliases when function name is a macro.
33413 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33414 sysdeps/ieee754/dbl-64/sincos.tbl.
33415 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33416 fma4-enabled routines.
33417 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33418 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33419 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33420 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33422 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33426 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33427 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33429 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33440 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33444 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33445 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33446 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33448 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33459 2011-10-24 Andreas Schwab <schwab@redhat.com>
33461 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33463 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33467 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33469 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33471 * string/strnlen.c: Don't define STRNLEN, reverse logic.
33472 Remove unused variable magic_bits.
33473 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33475 * string/strnlen.c: Define and use STRNLEN macro.
33476 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33477 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33479 * wcsmbs/wcslen.c: Define and use WCSLEN.
33480 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33481 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33482 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33483 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33484 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33485 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33486 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33488 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33491 strnlen-sse2-no-bsf.
33492 Rename strlen-no-bsf to strlen-sse2-no-bsf.
33493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33494 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33495 Add strnlen support.
33496 (USE_AS_STRNLEN): New macro.
33497 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33499 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33500 * sysdeps/x86_64/wcslen.S: New file.
33502 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
33504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33505 XMM-moves are used for copying on small sizes.
33507 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33509 * wcsmbs/Makefile (strop-tests): Add wcschr.
33510 * wcsmbs/test-wcschr.c: New file.
33511 * string/test-strchr.c: Update.
33512 Add wcschr support.
33515 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33517 * wcsmbs/Makefile (strop-tests): Add wcslen.
33518 * wcsmbs/test-wcslen.c: New file.
33519 * string/test-strlen.c: Update.
33520 Add wcslen support.
33523 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33525 * po/it.po: Update from translation team.
33527 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33529 * sysdeps/x86_64/wcscmp.S: Update.
33530 Fix wrong comparison semantics.
33531 wcscmp shall use signed comparison not unsigned.
33532 Don't use substraction to avoid overflow bug.
33533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33534 * wcsmbc/wcscmp.c: Likewise.
33535 * string/test-strcmp.c: Likewise.
33536 Add new tests to check cases with negative values.
33538 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33540 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33541 * sysdeps/x86_64/dla.h: ...here. New file.
33542 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33552 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33555 __ynl_finite aliases.
33557 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33561 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33563 [DLA_FMA] (EMULV): Use DLA_FMA.
33564 [DLA_FMA] (MUL12): Use EMULV.
33565 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33566 that are not needed.
33567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33575 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33577 * math/s_nan.c: Undef __nan.
33578 * math/s_nanf.c: Undef __nanf.
33579 * math/s_nanl.c: Undef __nanl.
33580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33583 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33585 * math/s_catan.c: Add branch predictions.
33586 * math/s_catanf.c: Likewise.
33587 * math/s_catanh.c: Likewise.
33588 * math/s_catanhf.c: Likewise.
33589 * math/s_catanhl.c: Likewise.
33590 * math/s_catanl.c: Likewise.
33591 * math/s_cexp.c: Likewise.
33592 * math/s_cexpf.c: Likewise.
33593 * math/s_cexpl.c: Likewise.
33594 * math/s_clog.c: Likewise.
33595 * math/s_clog10.c: Likewise.
33596 * math/s_clog10f.c: Likewise.
33597 * math/s_clog10l.c: Likewise.
33598 * math/s_clogf.c: Likewise.
33599 * math/s_clogl.c: Likewise.
33600 * math/s_csqrt.c: Likewise.
33601 * math/s_csqrtf.c: Likewise.
33602 * math/s_csqrtl.c: Likewise.
33603 * math/s_ctanf.c: Likewise.
33604 * math/s_ctanh.c: Likewise.
33605 * math/s_ctanhf.c: Likewise.
33606 * math/s_ctanhl.c: Likewise.
33607 * math/s_ctanl.c: Likewise.
33609 * math/math_private.h: Define __nan, __nanf, __nanl.
33610 * math/s_cacosh.c: Include <math_private.h>.
33611 * math/s_cacoshl.c: Likewise.
33612 * math/s_casinh.c: Likewise.
33613 * math/s_casinhf.c: Likewise.
33614 * math/s_casinhl.c: Likewise.
33615 * math/s_ccos.c: Rely entire on ccosh.
33616 * math/s_ccosf.c: Rely entire on ccoshf.
33617 * math/s_ccosl.c: Rely entirely on ccoshl.
33618 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33619 Remove tests for FE_INVALID.
33620 * math/s_ccoshf.c: Likewise.
33621 * math/s_ccoshl.c: Likewise.
33622 * math/s_csin.c: Likewise.
33623 * math/s_csinf.c: Likewise.
33624 * math/s_csinh.c Likewise.
33625 * math/s_csinhf.c: Likewise.
33626 * math/s_csinhl.c: Likewise.
33627 * math/s_csinl.c: Likewise.
33628 * math/s_ctan.c: Likewise.
33629 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33630 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33633 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33636 compilation problems.
33638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33641 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33643 * sysdeps/i386/configure.in: Test for -mfma4 option.
33644 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33645 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33646 COMMON_CPUID_INDEX_80000001.
33647 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33648 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33649 use it if FMA3 is not supported.
33650 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33652 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33653 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33655 2011-10-20 Andreas Schwab <schwab@redhat.com>
33658 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33659 it would create a cycle with a link time dependency.
33661 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33663 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33665 * string/Makefile (strop-tests): Add rawmemchr.
33666 * string/test-rawmemchr.c: New file.
33668 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33670 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33671 when compiling str{,n}casecmp and when AVX is available. Hook up
33672 new optimized code in initializers.
33674 2011-10-19 Andreas Schwab <schwab@redhat.com>
33676 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33677 __feraiseexcept instead of feraiseexcept.
33679 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33681 * math/math_private.h: Define defaults for libc_fetestexcept and
33683 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33684 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33685 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33686 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33687 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33688 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33689 libc_fetestexcept and libc_feupdateenv.
33691 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33692 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33693 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33694 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33695 libc_feholdexcept_setround.
33697 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33698 Add s_nearbyint-c and s_nearbyintf-c.
33699 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33700 nearbyintf inlines.
33701 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33703 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33706 * math/math_private.h: Define defaults for libc_fegetround,
33707 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33708 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33709 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33711 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33712 standard functions.
33713 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33714 Remove comments and hacks for old compiler versions.
33715 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33716 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33717 libc_feholdexceptl.
33719 2011-10-18 Andreas Schwab <schwab@redhat.com>
33721 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33722 (__feraiseexcept_renamed): Add __NTH.
33723 (feraiseexcept): Add __NTH. Rename local variables to fix
33724 namespace violations.
33726 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33728 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33730 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33732 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33733 recently added interfaces.
33734 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33736 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33737 about macro parameter expansion.
33739 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33740 __NO_MATH_INLINES is defined. Cleanups.
33742 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33743 and __floorf is target has SSE4.1.
33744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33745 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33746 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33749 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33751 (floorf): Likewise.
33753 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33755 2011-10-17 Andreas Schwab <schwab@redhat.com>
33757 * misc/sys/cdefs.h: Fix last change.
33759 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33762 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33764 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33766 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33768 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33769 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33772 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33774 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33775 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33776 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33777 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33778 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33779 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33780 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33781 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33783 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33784 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33785 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33787 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33789 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33790 ceil, ceilf, floor, floorf.
33792 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33793 Perform IRELATIVE relocations last.
33795 * elf/do-rel.h: Add another parameter nrelative, replacing the
33796 local variable with the same name. Change name of the function
33797 to end in Rel or Rela (uppercase).
33798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33799 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33800 elf_dynamic_do_##reloc function.
33802 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33804 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33805 is sufficient, at least on modern CPUs.
33807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33809 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33810 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33812 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33814 * math/bits/math-finite.h: Add entries for exp.
33815 * math/e_expl.c: Add __*_finite alias.
33816 * sysdeps/i386/fpu/e_exp.S: Likewise.
33817 * sysdeps/i386/fpu/e_expf.S: Likewise.
33818 * sysdeps/i386/fpu/e_expl.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33820 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33821 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33827 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33828 is sufficient, at least on modern CPUs.
33830 * ctype/ctype-info.c (__ctype_init): Define.
33831 * include/ctype.h (__ctype_init): Declare.
33832 (__ctype_b_loc): The variable is always initialized.
33833 (__ctype_toupper_loc): Likewise.
33834 (__ctype_tolower_loc): Likewise.
33835 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33836 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33838 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33840 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33842 * configure.in: Also look in $cxxmachine/include for C++ system
33845 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33847 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33848 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33849 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33850 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33852 (USE_AS_WMEMCMP): New macro.
33854 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33855 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33856 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33857 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33859 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33860 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33861 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33862 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33863 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33865 (USE_AS_WMEMCMP): New macro.
33866 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33867 * sysdeps/string/test-memcmp.c: Update.
33868 Fix simple_wmemcmp.
33870 * wcsmbs/wmemcmp.c: Update.
33871 (WMEMCMP): New macro.
33874 2011-10-12 Andreas Jaeger <aj@suse.de>
33877 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33879 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33881 * libio/iofwide.c (do_length): Avoid warning.
33883 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33885 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33887 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33889 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33890 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33891 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33892 * sysdeps/i386/i686/fpu/e_log.S: New file.
33893 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33894 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33896 * ctype/ctype.h: Add support for inlined isXXX functions when
33897 compiling C++ code.
33899 2011-10-14 Andreas Schwab <schwab@redhat.com>
33901 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33905 2011-10-13 Roland McGrath <roland@hack.frob.com>
33908 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33910 2011-10-13 Andreas Schwab <schwab@redhat.com>
33912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33913 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33916 * sysdeps/x86_64/memrchr.S: Check for zero size.
33918 * string/stratcliff.c: Add memrchr tests.
33920 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33923 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33924 rawmemchr-sse2 rawmemchr-sse2-bsf.
33925 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33926 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33927 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33928 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33929 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33930 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33931 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33932 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33933 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33935 * string/memrchr.c (MEMRCHR): New macro.
33937 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33939 Add integration with gcc's -ffinite-math-only and optimize wrapper
33941 * Versions.def: Define GLIBC_2.15 version for libm.
33942 * math/Makefile (headers): Add bits/math-finite.h.
33943 * math/bits/math-finite.h: New file.
33944 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33945 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33946 * math/e_acoshl.c: Add __*_finite alias.
33947 * math/e_acosl.c: Likewise.
33948 * math/e_asinl.c: Likewise.
33949 * math/e_atan2l.c: Likewise.
33950 * math/e_atanhl.c: Likewise.
33951 * math/e_coshl.c: Likewise.
33952 * math/e_exp10.c: Likewise.
33953 * math/e_exp10f.c: Likewise.
33954 * math/e_exp10l.c: Likewise.
33955 * math/e_exp2l.c: Likewise.
33956 * math/e_fmodl.c: Likewise.
33957 * math/e_gammal_r.c: Likewise.
33958 * math/e_hypotl.c: Likewise.
33959 * math/e_j0l.c: Likewise.
33960 * math/e_j1l.c: Likewise.
33961 * math/e_jnl.c: Likewise.
33962 * math/e_lgammal_r.c: Likewise.
33963 * math/e_log10l.c: Likewise.
33964 * math/e_log2l.c: Likewise.
33965 * math/e_logl.c: Likewise.
33966 * math/e_powl.c: Likewise.
33967 * math/e_sinhl.c: Likewise.
33968 * math/e_sqrtl.c: Likewise.
33969 * math/e_scalb.c: Completely rewritten and optimized.
33970 * math/e_scalbf.c: Likewise.
33971 * math/e_scalbl.c: Likewise.
33972 * math/w_acos.c: Likewise.
33973 * math/w_acosf.c: Likewise.
33974 * math/w_acosl.c: Likewise.
33975 * math/w_acosh.c: Likewise.
33976 * math/w_acoshf.c: Likewise.
33977 * math/w_acoshl.c: Likewise.
33978 * math/w_asin.c: Likewise.
33979 * math/w_asinf.c: Likewise.
33980 * math/w_asinl.c: Likewise.
33981 * math/w_atan2.c: Likewise.
33982 * math/w_atan2f.c: Likewise.
33983 * math/w_atan2l.c: Likewise.
33984 * math/w_atanh.c: Likewise.
33985 * math/w_atanhf.c: Likewise.
33986 * math/w_atanhl.c: Likewise.
33987 * math/w_exp10.c: Likewise.
33988 * math/w_exp10f.c: Likewise.
33989 * math/w_exp10l.c: Likewise.
33990 * math/w_fmod.c: Likewise.
33991 * math/w_fmodf.c: Likewise.
33992 * math/w_fmodl.c: Likewise.
33993 * math/w_j0.c: Likewise.
33994 * math/w_j0f.c: Likewise.
33995 * math/w_j0l.c: Likewise.
33996 * math/w_j1.c: Likewise.
33997 * math/w_j1f.c: Likewise.
33998 * math/w_j1l.c: Likewise.
33999 * math/w_jn.c: Likewise.
34000 * math/w_jnf.c: Likewise.
34001 * math/w_log.c: Likewise.
34002 * math/w_logf.c: Likewise.
34003 * math/w_logl.c: Likewise.
34004 * math/w_log10.c: Likewise.
34005 * math/w_log10f.c: Likewise.
34006 * math/w_log10l.c: Likewise.
34007 * math/w_log2.c: Likewise.
34008 * math/w_log2f.c: Likewise.
34009 * math/w_log2l.c: Likewise.
34010 * math/w_pow.c: Likewise.
34011 * math/w_powf.c: Likewise.
34012 * math/w_powl.c: Likewise.
34013 * math/w_remainder.c: Likewise.
34014 * math/w_remainderf.c: Likewise.
34015 * math/w_remainderl.c: Likewise.
34016 * math/w_scalb.c: Likewise.
34017 * math/w_scalbf.c: Likewise.
34018 * math/w_scalbl.c: Likewise.
34019 * math/w_sqrt.c: Likewise.
34020 * math/w_sqrtf.c: Likewise.
34021 * math/w_sqrtl.c: Likewise.
34022 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34023 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
34025 * math/math_private.h: Declare __kernel_standard_f.
34026 * math/w_cosh.c: Remove cruft and optimize a bit.
34027 * math/w_coshf.c: Likewise.
34028 * math/w_coshl.c: Likewise.
34029 * math/w_exp2.c: Likewise.
34030 * math/w_exp2f.c: Likewise.
34031 * math/w_exp2l.c: Likewise.
34032 * math/w_hypot.c: Likewise.
34033 * math/w_hypotf.c: Likewise.
34034 * math/w_hypotl.c: Likewise.
34035 * math/w_lgamma.c: Likewise.
34036 * math/w_lgamma_r.c: Likewise.
34037 * math/w_lgammaf.c: Likewise.
34038 * math/w_lgammaf_r.c: Likewise.
34039 * math/w_lgammal.c: Likewise.
34040 * math/w_lgammal_r.c: Likewise.
34041 * math/w_sinh.c: Likewise.
34042 * math/w_sinhf.c: Likewise.
34043 * math/w_sinhl.c: Likewise.
34044 * math/w_tgamma.c: Likewise.
34045 * math/w_tgammaf.c: Likewise.
34046 * math/w_tgammal.c: Likewise.
34047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34049 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34050 Minor optimizations. Pretty printing. Remove cruft.
34051 * sysdeps/i386/fpu/e_acosf.S: Likewise.
34052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34053 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34055 * sysdeps/i386/fpu/e_acosl.c: Likewise.
34056 * sysdeps/i386/fpu/e_asin.S: Likewise.
34057 * sysdeps/i386/fpu/e_asinf.S: Likewise.
34058 * sysdeps/i386/fpu/e_atan2.S: Likewise.
34059 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34060 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34061 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34063 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34064 * sysdeps/i386/fpu/e_exp10.S: Likewise.
34065 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34066 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34067 * sysdeps/i386/fpu/e_exp2.S: Likewise.
34068 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34069 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34070 * sysdeps/i386/fpu/e_fmod.S: Likewise.
34071 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34072 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34073 * sysdeps/i386/fpu/e_hypot.S: Likewise.
34074 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34075 * sysdeps/i386/fpu/e_log.S: Likewise.
34076 * sysdeps/i386/fpu/e_log10.S: Likewise.
34077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34079 * sysdeps/i386/fpu/e_log2.S: Likewise.
34080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34082 * sysdeps/i386/fpu/e_logf.S: Likewise.
34083 * sysdeps/i386/fpu/e_logl.S: Likewise.
34084 * sysdeps/i386/fpu/e_pow.S: Likewise.
34085 * sysdeps/i386/fpu/e_powf.S: Likewise.
34086 * sysdeps/i386/fpu/e_powl.S: Likewise.
34087 * sysdeps/i386/fpu/e_remainder.S: Likewise.
34088 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34089 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34091 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34093 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34094 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34095 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34096 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34097 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34101 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34102 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34103 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34105 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34106 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34107 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34109 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34110 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34112 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34113 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34116 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34117 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34118 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34119 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34120 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34121 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34122 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34123 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34125 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34130 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34131 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34132 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34133 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34134 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34135 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34136 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34137 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34138 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34139 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34141 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34143 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34144 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34145 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34146 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34147 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34151 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34152 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34153 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34154 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34155 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34156 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34164 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34170 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34177 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34179 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34181 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34183 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34193 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34194 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34195 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34196 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34197 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34198 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34199 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34200 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34202 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34204 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34206 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
34207 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34208 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34209 (__isnanf): Likewise.
34210 (__isinf_ns): Likewise.
34211 (__isinf_nsf): Likewise.
34212 (__finite): Likewise.
34213 (__finitef): Likewise.
34214 (__ieee754_sqrt): Define as macro.
34215 (__ieee754_sqrtf): Define as macro.
34216 (__ieee754_sqrtl): Define as macro.
34217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34219 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34220 __FINITE_MATH_ONLY__ consistent.
34221 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34223 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
34225 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34228 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34230 2011-10-09 Ulrich Drepper <drepper@gmail.com>
34232 * po/ja.po: Update from translation team.
34234 2011-10-08 Roland McGrath <roland@hack.frob.com>
34236 * locale/programs/locarchive.c (prepare_address_space): New function.
34237 (create_archive, enlarge_archive, open_archive): Use it.
34239 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34240 inside [SHARED], where it is used.
34242 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34244 * nss/getent.c (netgroup_keys): Remove unused variable.
34245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34247 2011-10-08 Ulrich Drepper <drepper@gmail.com>
34249 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34250 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34253 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34254 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34255 * math/Makefile (libm-calls): Add s_isinf_ns.
34256 * math/divtc3.c: Use __isinf_nsl instead of isinf.
34257 * math/multc3.c: Likewise.
34258 * math/s_casin.c: Likewise.
34259 * math/s_casinf.c: Likewise.
34260 * math/s_casinl.c: Likewise.
34261 * math/s_ccos.c: Likewise.
34262 * math/s_ccosf.c: Likewise.
34263 * math/s_ccosl.c: Likewise.
34264 * math/s_ctan.c: Likewise.
34265 * math/s_ctanf.c: Likewise.
34266 * math/s_ctanh.c: Likewise.
34267 * math/s_ctanhf.c: Likewise.
34268 * math/s_ctanhl.c: Likewise.
34269 * math/s_ctanl.c: Likewise.
34270 * math/w_fmod.c: Likewise.
34271 * math/w_fmodf.c: Likewise.
34272 * math/w_fmodl.c: Likewise.
34273 * math/w_remainder.c: Likewise.
34274 * math/w_remainderf.c: Likewise.
34275 * math/w_remainderl.c: Likewise.
34276 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34277 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34280 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34281 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34282 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34283 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34285 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34287 * stdio-common/printf_fphex.c: Likewise.
34288 * stdio-common/printf_size.c: Likewise.
34290 * math/e_exp10.c: Include math_private.h using <...> not "...".
34291 * math/e_exp10f.c: Likewise.
34292 * math/e_exp10l.c: Likewise.
34293 * math/e_exp2l.c: Likewise.
34294 * math/e_j0l.c: Likewise.
34295 * math/e_j1l.c: Likewise.
34296 * math/e_jnl.c: Likewise.
34297 * math/e_lgammal_r.c: Likewise.
34298 * math/e_rem_pio2l.c: Likewise.
34299 * math/e_scalb.c: Likewise.
34300 * math/e_scalbf.c: Likewise.
34301 * math/e_scalbl.c: Likewise.
34302 * math/k_cosl.c: Likewise.
34303 * math/k_sinl.c: Likewise.
34304 * math/k_tanl.c: Likewise.
34305 * math/s_cacoshf.c: Likewise.
34306 * math/s_catan.c: Likewise.
34307 * math/s_catanf.c: Likewise.
34308 * math/s_catanh.c: Likewise.
34309 * math/s_catanhf.c: Likewise.
34310 * math/s_catanhl.c: Likewise.
34311 * math/s_catanl.c: Likewise.
34312 * math/s_ccosh.c: Likewise.
34313 * math/s_ccoshf.c: Likewise.
34314 * math/s_ccoshl.c: Likewise.
34315 * math/s_cexp.c: Likewise.
34316 * math/s_cexpf.c: Likewise.
34317 * math/s_cexpl.c: Likewise.
34318 * math/s_clog.c: Likewise.
34319 * math/s_clog10.c: Likewise.
34320 * math/s_clog10f.c: Likewise.
34321 * math/s_clog10l.c: Likewise.
34322 * math/s_clogf.c: Likewise.
34323 * math/s_clogl.c: Likewise.
34324 * math/s_csin.c: Likewise.
34325 * math/s_csinf.c: Likewise.
34326 * math/s_csinh.c: Likewise.
34327 * math/s_csinhf.c: Likewise.
34328 * math/s_csinhl.c: Likewise.
34329 * math/s_csinl.c: Likewise.
34330 * math/s_csqrt.c: Likewise.
34331 * math/s_csqrtf.c: Likewise.
34332 * math/s_csqrtl.c: Likewise.
34333 * math/s_ctan.c: Likewise.
34334 * math/s_ctanf.c: Likewise.
34335 * math/s_ctanh.c: Likewise.
34336 * math/s_ctanhf.c: Likewise.
34337 * math/s_ctanhl.c: Likewise.
34338 * math/s_ctanl.c: Likewise.
34339 * math/s_ldexp.c: Likewise.
34340 * math/s_ldexpf.c: Likewise.
34341 * math/s_ldexpl.c: Likewise.
34342 * math/s_significand.c: Likewise.
34343 * math/s_significandf.c: Likewise.
34344 * math/s_significandl.c: Likewise.
34345 * math/w_acos.c: Likewise.
34346 * math/w_acosf.c: Likewise.
34347 * math/w_acosh.c: Likewise.
34348 * math/w_acoshf.c: Likewise.
34349 * math/w_acoshl.c: Likewise.
34350 * math/w_acosl.c: Likewise.
34351 * math/w_asin.c: Likewise.
34352 * math/w_asinf.c: Likewise.
34353 * math/w_asinl.c: Likewise.
34354 * math/w_atan2.c: Likewise.
34355 * math/w_atan2f.c: Likewise.
34356 * math/w_atan2l.c: Likewise.
34357 * math/w_atanh.c: Likewise.
34358 * math/w_atanhf.c: Likewise.
34359 * math/w_atanhl.c: Likewise.
34360 * math/w_cosh.c: Likewise.
34361 * math/w_coshf.c: Likewise.
34362 * math/w_coshl.c: Likewise.
34363 * math/w_dremf.c: Likewise.
34364 * math/w_exp10.c: Likewise.
34365 * math/w_exp10f.c: Likewise.
34366 * math/w_exp10l.c: Likewise.
34367 * math/w_exp2.c: Likewise.
34368 * math/w_exp2f.c: Likewise.
34369 * math/w_fmod.c: Likewise.
34370 * math/w_fmodf.c: Likewise.
34371 * math/w_fmodl.c: Likewise.
34372 * math/w_hypot.c: Likewise.
34373 * math/w_hypotf.c: Likewise.
34374 * math/w_hypotl.c: Likewise.
34375 * math/w_j0.c: Likewise.
34376 * math/w_j0f.c: Likewise.
34377 * math/w_j0l.c: Likewise.
34378 * math/w_j1.c: Likewise.
34379 * math/w_j1f.c: Likewise.
34380 * math/w_j1l.c: Likewise.
34381 * math/w_jn.c: Likewise.
34382 * math/w_jnf.c: Likewise.
34383 * math/w_jnl.c: Likewise.
34384 * math/w_lgamma.c: Likewise.
34385 * math/w_lgamma_r.c: Likewise.
34386 * math/w_lgammaf.c: Likewise.
34387 * math/w_lgammaf_r.c: Likewise.
34388 * math/w_lgammal.c: Likewise.
34389 * math/w_lgammal_r.c: Likewise.
34390 * math/w_log.c: Likewise.
34391 * math/w_log10.c: Likewise.
34392 * math/w_log10f.c: Likewise.
34393 * math/w_log10l.c: Likewise.
34394 * math/w_log2.c: Likewise.
34395 * math/w_log2f.c: Likewise.
34396 * math/w_log2l.c: Likewise.
34397 * math/w_logf.c: Likewise.
34398 * math/w_logl.c: Likewise.
34399 * math/w_pow.c: Likewise.
34400 * math/w_powf.c: Likewise.
34401 * math/w_powl.c: Likewise.
34402 * math/w_remainder.c: Likewise.
34403 * math/w_remainderf.c: Likewise.
34404 * math/w_remainderl.c: Likewise.
34405 * math/w_scalb.c: Likewise.
34406 * math/w_scalbf.c: Likewise.
34407 * math/w_scalbl.c: Likewise.
34408 * math/w_sinh.c: Likewise.
34409 * math/w_sinhf.c: Likewise.
34410 * math/w_sinhl.c: Likewise.
34411 * math/w_sqrt.c: Likewise.
34412 * math/w_sqrtf.c: Likewise.
34413 * math/w_sqrtl.c: Likewise.
34414 * math/w_tgamma.c: Likewise.
34415 * math/w_tgammaf.c: Likewise.
34416 * math/w_tgammal.c: Likewise.
34418 * po/ja.po: Update from translation team.
34420 2011-09-29 Andreas Jaeger <aj@suse.de>
34423 * sunrpc/netname.c (netname2host): Fix logic.
34427 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34429 * math/w_remainder.c (__remainder): Likewise.
34430 * math/w_remainderf.c (__remainderf): Likewise.
34431 * math/libm-test.inc (remainder_test): Add test cases.
34433 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34435 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
34438 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34440 * string/test-memcmp.c: Avoid unncessary #defines.
34441 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34443 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34445 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34446 Use new sse2 version for core i3 - i7 as it's faster
34447 than sse42 version.
34448 (bit_Prefer_PMINUB_for_stringop): New.
34449 * sysdeps/x86_64/rawmemchr.S: Update.
34450 Replace with faster SSE2 version.
34451 * sysdeps/x86_64/memrchr.S: New file.
34452 * sysdeps/x86_64/memchr.S: Update.
34453 Replace with faster SSE2 version.
34455 2011-09-12 Marek Polacek <mpolacek@redhat.com>
34457 * elf/dl-load.c (lose): Add cast to avoid warning.
34459 2011-10-07 Ulrich Drepper <drepper@gmail.com>
34461 * po/ca.po: Update from translation team.
34463 * inet/getnetgrent_r.c: Hook up nscd.
34464 * nscd/Makefile (routines): Add nscd_netgroup.
34465 (nscd-modules): Add netgroupcache.
34466 (CFLAGS-netgroupcache.c): Define.
34467 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34468 (cache_search): Add const to second parameter.
34469 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34471 (dbs): Add netgrdb entry.
34472 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34473 (verify_persistent_db): Handle netgrdb.
34474 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34475 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34477 (netgroup_response_header): Define.
34478 (innetgroup_response_header): Define.
34479 (datahead): Add netgroup_response_header and innetgroup_response_header
34481 * nscd/nscd.conf: Add entries for netgroup cache.
34482 * nscd/nscd.h (dbtype): Add netgrdb.
34483 (_PATH_NSCD_NETGROUP_DB): Define.
34484 (netgroup_iov_disabled): Declare.
34485 (xmalloc, xcalloc, xrealloc): Move declarations here.
34486 (cache_search): Adjust prototype.
34487 Add netgroup-related prototypes.
34488 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34489 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34490 (__nscd_innetgr): Declare.
34491 * nscd/selinux.c (perms): Use access_vector_t as element type and
34492 add netgroup-related initializers.
34493 * nscd/netgroupcache.c: New file.
34494 * nscd/nscd_netgroup.c: New file.
34495 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34496 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34497 For four parameters use innetgr.
34498 * nss/nss_files/files-init.c: Add definition and callback for netgr.
34499 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34500 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34501 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34503 * nscd/connections.c (register_traced_file): Don't register file
34504 for disabled databases.
34506 2011-10-06 Ulrich Drepper <drepper@gmail.com>
34508 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34510 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34511 from tree and freeing node.
34513 2011-09-25 Jiri Olsa <jolsa@redhat.com>
34515 * nss/nsswitch.c (__nss_database_lookup): Handle
34516 nss_parse_service_list out of memory case.
34518 2011-09-15 Jiri Olsa <jolsa@redhat.com>
34520 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34521 out of memory case.
34523 2011-10-04 Andreas Schwab <schwab@redhat.com>
34525 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34526 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34528 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34529 elf_machine_rela, elf_machine_lazy_rel.
34530 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34531 (ELF_DYNAMIC_DO_REL): Likewise.
34532 (ELF_DYNAMIC_DO_RELA): Likewise.
34533 (ELF_DYNAMIC_RELOCATE): Likewise.
34534 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34535 to ELF_DYNAMIC_DO_REL.
34536 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34537 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34538 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34541 skip_ifunc, don't call ifunc function if non-zero.
34542 (elf_machine_rela): Likewise.
34543 (elf_machine_lazy_rel): Likewise.
34544 (elf_machine_lazy_rela): Likewise.
34545 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34546 (elf_machine_lazy_rel): Likewise.
34547 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34549 (elf_machine_lazy_rel): Likewise.
34550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34552 (elf_machine_lazy_rel): Likewise.
34553 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34554 (elf_machine_lazy_rel): Likewise.
34555 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34556 (elf_machine_lazy_rel): Likewise.
34557 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34558 (elf_machine_lazy_rel): Likewise.
34559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34560 (elf_machine_lazy_rel): Likewise.
34561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34562 (elf_machine_lazy_rel): Likewise.
34563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34564 (elf_machine_lazy_rel): Likewise.
34566 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34568 * nss/nss_files/files-init.c (_nss_files_init): Use static
34569 initialization for all the *_traced_file variables.
34571 2011-09-28 Andreas Schwab <schwab@redhat.com>
34573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34575 2011-09-27 Roland McGrath <roland@hack.frob.com>
34578 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34580 2011-09-27 Andreas Schwab <schwab@redhat.com>
34582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34583 Reread the line before reparsing it.
34585 2011-09-26 Andreas Schwab <schwab@redhat.com>
34587 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34589 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34590 Maxim Kuvyrkov <maxim@codesourcery.com>
34591 Joseph Myers <joseph@codesourcery.com>
34593 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34594 if needed for __stack_chk_guard.
34596 2011-09-19 Roland McGrath <roland@hack.frob.com>
34598 * sysdeps/posix/spawni.c (script_execute): Always define it.
34599 It will be optimized away if unused.
34600 (maybe_script_execute): New function.
34601 (__spawni): Call it.
34603 * Makerules: Don't include tls.make.
34604 (config-tls): Always set to thread.
34605 * tls.make.c: File removed.
34607 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34609 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34610 * config.make.in (CPPFLAGS-config): New substituted variable.
34612 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34617 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34618 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34620 2011-09-15 Roland McGrath <roland@hack.frob.com>
34622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34623 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34625 (CALL_FAIL): Likewise.
34626 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34627 (CALL_FAIL): Macro removed.
34628 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34630 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34632 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34633 for __FINITE_MATH_ONLY__ == 1.
34635 2011-09-15 Andreas Schwab <schwab@redhat.com>
34637 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34638 __ieee754_sqrt instead of sqrt.
34639 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34640 __ieee754_sqrtf instead of sqrtf.
34641 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34642 __floorf instead of floorf.
34643 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34644 __floorf, __truncf instead of floorf, truncf.
34646 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34648 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34650 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34651 __extern_always_inline.
34652 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34655 2011-09-14 Andreas Schwab <schwab@redhat.com>
34657 * elf/rtld.c (dl_main): Also relocate in dependency order when
34658 doing symbol dependency testing.
34660 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34663 Always define `refsym'.
34665 2011-09-13 Andreas Schwab <schwab@redhat.com>
34667 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34668 (__FD_ELT): Renamed from __FDELT.
34669 * misc/bits/select2.h (__FD_ELT): Likewise.
34670 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34671 __FD_MASK instead of __FDELT, __FDMASK.
34672 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34674 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34677 * elf/Makefile (gen-ldd): Fix pattern.
34679 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34680 (init_tls): Likewise.
34682 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34686 2011-09-12 Andreas Schwab <schwab@redhat.com>
34688 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34689 `struct cmsghdr *' instead of `void *'.
34690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34693 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34695 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34697 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34698 ldd_rewrite_script.
34700 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34702 * configure.in: Remove --with-tls option.
34703 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34704 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34705 out in case it is missing.
34706 * sysdeps/ia64/elf/configure.in: Likewise.
34707 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34708 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34709 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34710 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34711 * sysdeps/sh/elf/configure.in: Likewise.
34712 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34713 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34714 * sysdeps/x86_64/elf/configure.in: Likewise.
34715 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34716 * sysdeps/mach/hurd/tls.h: Likewise.
34719 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34722 * configure.in: Fix use of AC_INIT.
34724 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34726 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34728 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34730 * malloc/hooks.c: Likewise.
34733 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34734 variables statically.
34735 (narenas): Initialize.
34736 (list_lock): Initialize.
34737 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34738 initializtion of main_arena and list_lock. Small cleanups.
34739 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34740 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34741 Add initializers to main_arena and mp_.
34742 (malloc_state): Remove pagesize member. Change all users to use
34745 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34746 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34747 is always initialized.
34749 * malloc/malloc.c: Removed unused configurations and dead code.
34750 * malloc/arena.c: Likewise.
34751 * malloc/hooks.c: Likewise.
34752 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34754 * include/tls.h: Removed. USE___THREAD must always be defined.
34755 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34756 * elf/dl-libc.c: Likewise.
34757 * elf/dl-tsd.c: Likewise.
34758 * include/errno.h: Likewise.
34759 * include/netdb.h: Likewise.
34760 * include/resolv.h: Likewise.
34761 * inet/herrno-loc.c: Likewise.
34762 * inet/herrno.c: Likewise.
34763 * malloc/arena.c: Likewise.
34764 * malloc/hooks.c: Likewise.
34765 * malloc/malloc.c: Likewise.
34766 * resolv/res-state.c: Likewise.
34767 * resolv/res_libc.c: Likewise.
34768 * sysdeps/i386/dl-machine.h: Likewise.
34769 * sysdeps/ia64/dl-machine.h: Likewise.
34770 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34772 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34773 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34774 * sysdeps/sh/dl-machine.h: Likewise.
34775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34777 * sysdeps/unix/i386/sysdep.S: Likewise.
34778 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34779 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34784 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34788 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34789 * sysdeps/x86_64/dl-machine.h: Likewise.
34790 * tls.make.c: Likewise.
34792 * configure.in: Remove --with-__thread option. Make tests for
34793 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34794 tls_model attribute fail if no support is available. Remove
34796 * Makeconfig: Adjust for dropped configure option. All features are
34798 * Makerules: Likewise.
34799 * Versions.def: Likewise.
34800 * argp/argp-fmtstream.c: Likewise.
34801 * argp/argp-fmtstream.h: Likewise.
34802 * argp/argp-help.c: Likewise.
34803 * assert/assert.c: Likewise.
34804 * config.h.in: Likewise.
34805 * config.make.in: Likewise.
34806 * configure: Likewise.
34807 * configure.in: Likewise.
34808 * csu/Versions: Likewise.
34809 * csu/init.c: Likewise.
34810 * elf/tst-audit2.c: Likewise.
34811 * elf/tst-tls10.c: Likewise.
34812 * elf/tst-tls10.h: Likewise.
34813 * elf/tst-tls11.c: Likewise.
34814 * elf/tst-tls12.c: Likewise.
34815 * elf/tst-tls14.c: Likewise.
34816 * elf/tst-tlsmod11.c: Likewise.
34817 * elf/tst-tlsmod12.c: Likewise.
34818 * elf/tst-tlsmod13.c: Likewise.
34819 * elf/tst-tlsmod13a.c: Likewise.
34820 * elf/tst-tlsmod14a.c: Likewise.
34821 * elf/tst-tlsmod15b.c: Likewise.
34822 * elf/tst-tlsmod16a.c: Likewise.
34823 * elf/tst-tlsmod16b.c: Likewise.
34824 * elf/tst-tlsmod7.c: Likewise.
34825 * elf/tst-tlsmod8.c: Likewise.
34826 * elf/tst-tlsmod9.c: Likewise.
34827 * gmon/gmon.c: Likewise.
34828 * grp/fgetgrent_r.c: Likewise.
34829 * grp/putgrent.c: Likewise.
34830 * hurd/fopenport.c: Likewise.
34831 * include/libc-symbols.h: Likewise.
34832 * include/tls.h: Likewise.
34833 * intl/gettextP.h: Likewise.
34834 * intl/loadinfo.h: Likewise.
34835 * locale/global-locale.c: Likewise.
34836 * locale/localeinfo.h: Likewise.
34837 * mach/devstream.c: Likewise.
34838 * malloc/arena.c: Likewise.
34839 * malloc/set-freeres.c: Likewise.
34840 * misc/err.c: Likewise.
34841 * misc/getttyent.c: Likewise.
34842 * misc/mntent_r.c: Likewise.
34843 * posix/getopt.c: Likewise.
34844 * posix/wordexp.c: Likewise.
34845 * pwd/fgetpwent_r.c: Likewise.
34846 * resolv/Versions: Likewise.
34847 * resolv/res_hconf.c: Likewise.
34848 * shadow/fgetspent_r.c: Likewise.
34849 * shadow/putspent.c: Likewise.
34850 * stdio-common/printf_fphex.c: Likewise.
34851 * stdio-common/tmpfile.c: Likewise.
34852 * stdlib/abort.c: Likewise.
34853 * stdlib/fmtmsg.c: Likewise.
34854 * sunrpc/auth_unix.c: Likewise.
34855 * sunrpc/clnt_perr.c: Likewise.
34856 * sunrpc/clnt_tcp.c: Likewise.
34857 * sunrpc/clnt_udp.c: Likewise.
34858 * sunrpc/clnt_unix.c: Likewise.
34859 * sunrpc/openchild.c: Likewise.
34860 * sunrpc/svc_simple.c: Likewise.
34861 * sunrpc/svc_tcp.c: Likewise.
34862 * sunrpc/svc_udp.c: Likewise.
34863 * sunrpc/svc_unix.c: Likewise.
34864 * sunrpc/xdr.c: Likewise.
34865 * sunrpc/xdr_array.c: Likewise.
34866 * sunrpc/xdr_rec.c: Likewise.
34867 * sunrpc/xdr_ref.c: Likewise.
34868 * sunrpc/xdr_stdio.c: Likewise.
34870 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34872 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34874 2011-07-03 Andreas Jaeger <aj@suse.de>
34876 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34877 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34878 regenerate with gen-libm-tests.pl.
34880 2010-05-12 Petr Baudis <pasky@suse.cz>
34883 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34884 around j0() zero points by switching to j1().
34885 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34886 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34890 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34897 Patch in part by Pavel Roskin <proski@gnu.org>.
34900 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34902 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34903 Free memory block if necessary.
34906 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34907 be NULL. Don't lock in this case.
34909 2011-09-09 Roland McGrath <roland@hack.frob.com>
34911 * elf/elf.h (ELFOSABI_GNU): New macro.
34912 (ELFOSABI_LINUX): Define to that.
34914 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34916 * string/strncat.c (strncat): Undef the symbol in case it has been
34917 defined in bits/string.h.
34919 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34921 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34923 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34926 2011-08-17 Andreas Jaeger <aj@suse.de>
34928 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34930 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34931 Ian Lance Taylor <iant@google.com>
34933 * math/libm-test.inc (lround_test): New testcase.
34934 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34936 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34938 * Makefile: Remove support for automatic cvs check-ins.
34939 * Makerules: Likewise.
34940 * config.make.in: Likewise.
34941 * configure.in: Likewise.
34942 * intl/Makefile: Likewise.
34943 * locale/Makefile: Likewise.
34944 * po/Makefile: Likewise.
34945 * posix/Makefile: Likewise.
34946 * sysdeps/gnu/Makefile: Likewise.
34947 * sysdeps/mach/hurd/Makefile: Likewise.
34948 * sysdeps/sparc/sparc32/Makefile: Likewise.
34951 * posix/Makefile (bug-regex32-ENV): Define.
34952 Patch by John Stanley <jpsinthemix@verizon.net>.
34954 * misc/Makefile (headers): Add bits/select2.h.
34955 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34956 * misc/bits/select2.h: New file.
34957 * include/bits/select2.h: New file.
34958 * debug/Makefile (routines): Add fdelt_chk.
34959 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34960 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34962 * debug/fdelt_chk.c: New file.
34964 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34965 * wcsmbs/test-wmemcmp.c: Likewise.
34966 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34967 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34969 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34971 * string/Makefile (strop-tests): Add memcmp.
34972 * string/test-wmemcmp.c: New file.
34973 * string/test-memcmp.c: Add wmemcmp support.
34975 2011-09-08 Roland McGrath <roland@hack.frob.com>
34978 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34981 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34982 garbage value in a __mach_port_mod_refs call in the cases of the
34983 task-self and thread-self ports.
34985 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34987 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34989 2011-09-08 Andreas Schwab <schwab@redhat.com>
34991 * elf/dl-load.c (lose): Check for non-null L.
34993 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34995 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34997 * elf/dl-libc.c (dlerror_run): Pass back error code from
35001 * elf/dl-load.c (lose): Free l_origin if it is valid.
35003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
35005 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35008 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35009 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35010 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35012 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35014 * sysdeps/powerpc/fpu/e_hypot.c: New file.
35015 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35016 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35017 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35018 * sysdeps/powerpc/fpu/k_cosf.c: New file.
35019 * sysdeps/powerpc/fpu/k_sinf.c: New file.
35020 * sysdeps/powerpc/fpu/s_cosf.c: New file.
35021 * sysdeps/powerpc/fpu/s_sinf.c: New file.
35022 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35023 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35025 2011-08-15 Alan Modra <amodra@gmail.com>
35028 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35029 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35030 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
35031 ppc_mcount to static-only-routines.
35032 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35034 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35035 __mcount_internal with usual JUMPTARGET. Remove useless nop.
35037 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
35039 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35040 for finite and infinity parameters.
35042 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35044 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35045 and add nop instructions for throughput optimization.
35046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35048 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
35050 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35051 aligned copy for power7 with vector-scalar instructions.
35052 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35054 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
35056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35059 2011-09-07 Andreas Schwab <schwab@redhat.com>
35062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35065 2011-09-07 Ulrich Drepper <drepper@gmail.com>
35067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
35068 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35069 syscall wrapper around clock_gettime in __vdso_clock_gettime.
35070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35073 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35075 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35076 Forgot to demangle the pointer.
35078 * sysdeps/i386/sysdep.h: Define atom_text_section.
35079 * sysdeps/x86_64/sysdep.h: Likewise.
35080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35081 section with atom_text_section.
35082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35088 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35089 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35090 already be defined. Change to take two parameters and don't assign
35091 result to variable. Adjust all users.
35092 Define INTERNAL_GETTIME if not already defined.
35093 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35096 HAVE_CLOCK_GETTIME_VSYSCALL.
35097 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35100 gettimeofday vsyscall, just use time.
35102 2011-09-06 Andreas Schwab <schwab@redhat.com>
35104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35107 2011-09-06 Ulrich Drepper <drepper@gmail.com>
35109 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35113 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35115 syscall if possible.
35117 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35119 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35120 e_ident. Don't pass to find_mapsXX.
35121 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35123 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35126 strchr-sse2-no-bsf strrchr-sse2-no-bsf
35127 * sysdeps/x86_64/multiarch/strchr.S: Update.
35128 Check bit_slow_BSF bit.
35129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35130 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35133 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35136 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35138 (tryshell): Define.
35139 (__spawni): Change last parameter to be flag. Test
35140 SPAWN_XFLAGS_USE_PATH flag to use path or not.
35141 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35142 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35143 * posix/spawni.c: Likewise.
35144 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35145 * posix/spawnp.c: Likewise. Change normal version to use
35146 SPAWN_XFLAGS_USE_PATH.
35147 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35148 SPAWN_XFLAGS_TRY_SHELL.
35151 * posix/glob.h: Remove gcc 1.x support.
35154 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35156 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35159 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35161 * sysdeps/i386/i686/multiarch/strchr.S: New file.
35162 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35163 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35165 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35168 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35170 * sysdeps/x86_64/wcscmp.S: New file.
35172 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35173 wcscmp-c wcscmp-sse2
35174 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35175 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35176 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35177 * wcsmbs/wcscmp.c: Allow renaming.
35179 2011-09-05 David S. Miller <davem@davemloft.net>
35181 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35182 stack slot, rather than the struct return pointer slot.
35183 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35184 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35186 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35188 2011-09-05 Ulrich Drepper <drepper@gmail.com>
35190 * po/ja.po: Update from translation team.
35193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35194 kernel in 64-bit binaries.
35196 2011-09-01 David S. Miller <davem@davemloft.net>
35198 * elf/elf.h (HWCAP_SPARC_*): Move to..
35199 * sysdeps/sparc/sysdep.h: this new file and add new values.
35200 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35201 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35202 _DL_HWCAP_COUNT to 24.
35203 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35205 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35206 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35207 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35209 instead of magic constants.
35210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35212 2011-08-31 David S. Miller <davem@davemloft.net>
35214 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35216 Reimplement to do errno handling inline.
35217 (SYSCALL_ERROR_HANDLER): New macro.
35218 (__SYSCALL_STRING): Do not do errno handling in asm.
35219 (__CLONE_SYSCALL_STRING): Delete.
35220 (__INTERNAL_SYSCALL_STRING): Delete.
35221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35222 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35223 (PSEUDO): Reimplement to do errno handling inline.
35224 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35225 (SYSCALL_ERROR_HANDLER): New macro.
35226 (__SYSCALL_STRING): Do not do errno handling in asm.
35227 (__CLONE_SYSCALL_STRING): Delete.
35228 (__INTERNAL_SYSCALL_STRING): Delete.
35229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35230 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35232 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35233 (inline_syscall*): Add 'err' argument.
35234 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35235 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35236 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35237 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35239 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35240 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35242 2011-08-30 Andreas Schwab <schwab@redhat.com>
35244 * elf/rtld.c (dl_main): Relocate objects in dependency order.
35246 2011-08-29 Jiri Olsa <jolsa@redhat.com>
35248 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35251 2011-08-24 David S. Miller <davem@davemloft.net>
35253 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35255 2011-08-24 Andreas Schwab <schwab@redhat.com>
35257 * elf/Makefile: Add rules to build and run unload8 test.
35258 * elf/unload8.c: New file.
35259 * elf/unload8mod1.c: New file.
35260 * elf/unload8mod1x.c: New file.
35261 * elf/unload8mod2.c: New file.
35262 * elf/unload8mod3.c: New file.
35264 * elf/dl-close.c (_dl_close_worker): Reset private search list if
35267 2011-08-23 David S. Miller <davem@davemloft.net>
35269 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35270 subtract stack bias.
35271 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35272 %sp not %fp in calculations.
35273 (_JMPBUF_UNWINDS_ADJ): Likewise.
35275 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35276 (aio_suspend): Call it to force an exception region around the
35277 AIO_MISC_WAIT() invocation.
35279 2011-08-23 Andreas Schwab <schwab@redhat.com>
35281 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35284 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
35286 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35288 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35289 and <dl-machine.h>.
35290 (Elf64_FuncDesc): Remove.
35292 2011-08-22 David S. Miller <davem@davemloft.net>
35294 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35295 sigaltstack check, add missing cfi directives.
35296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35297 missing cfi directives, and sigaltstack handling.
35299 2011-08-16 Andreas Schwab <schwab@redhat.com>
35302 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35303 object is seen twice.
35304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35306 * elf/Makefile (distribute): Add tst-initorder2.c.
35307 (tests): Add tst-initorder2.
35308 (modules-names): Add tst-initorder2a tst-initorder2b
35309 tst-initorder2c tst-initorder2d. Add rules to build them.
35310 ($(objpfx)tst-initorder2.out): New rule.
35311 * elf/tst-initorder2.c: New file.
35312 * elf/tst-initorder2.exp: New file.
35314 2011-08-22 Andreas Schwab <schwab@redhat.com>
35316 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35318 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35319 dependencies back to end of function.
35321 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35322 $(elfobjdir)/ld.so.
35324 2011-08-21 Ulrich Drepper <drepper@gmail.com>
35326 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35327 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35329 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35330 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35331 of __vdso_gettimeofday.
35332 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35333 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
35335 (_libc_vdso_platform_setup): Remove initialization of
35336 __vdso_gettimeofday and __vdso_time.
35338 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35340 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35341 and fgetc_unlocked.
35342 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35345 * elf/dl-open.c (add_to_global): Report additions to the global scope
35346 for LD_DEBUG=scopes.
35347 (dl_open_worker): Also print scope of newly loaded dependencies.
35348 (_dl_show_scope): Indicate if there is no scope.
35351 * stdio-common/Makefile (tests): Add bug24.
35352 * stdio-common/bug24.c: New file.
35354 2011-08-19 Andreas Jaeger <aj@suse.de>
35357 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35358 non-existant file when using close-on-exec mode.
35360 2011-08-20 Ulrich Drepper <drepper@gmail.com>
35362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35363 the very first instruction.
35365 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35366 the CFI state in the end.
35367 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35368 inclusion of dl-trampoline.h.
35369 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35371 2011-08-19 Andreas Schwab <schwab@redhat.com>
35373 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35374 expectations for long double.
35376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35377 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35379 2011-08-14 David S. Miller <davem@davemloft.net>
35381 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35382 artificual limit depends upon the system page size.
35384 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35386 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35387 * resolv/Makefile: Define CFLAGS-libresolv.
35389 2011-08-17 Andreas Schwab <schwab@redhat.com>
35391 * nss/makedb.c (compute_tables): Make variables used in nested
35394 2011-08-17 Ulrich Drepper <drepper@gmail.com>
35396 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35397 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35398 if buffer was too small.
35400 * elf/pldd.c (main): Attach to all threads in the process.
35401 Rewrite /proc handling to use *at functions.
35403 2011-08-16 Ulrich Drepper <drepper@gmail.com>
35405 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35406 specifies first scope to show.
35407 (dl_open_worker): Update callers. Move printing scope of new
35408 object to before the relocation.
35409 * elf/rtld.c (dl_main): Update _dl_show_scope call.
35410 * sysdeps/generic/ldsodefs.h: Update declaration.
35412 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35413 string for the scope number.
35415 2011-08-14 Ulrich Drepper <drepper@gmail.com>
35417 * nscd/servicescache.c (cache_addserv): Make sure written is always
35420 2011-08-14 Roland McGrath <roland@hack.frob.com>
35422 * sysdeps/i386/i486/bits/atomic.h
35423 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35424 statement expression, so as to suppress "set but not used" warning.
35425 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35427 * string/strncat.c (STRNCAT): Use prototype definition.
35429 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35430 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35432 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35433 (localedef-modules): Add localedef.
35434 (locale-modules): Add locale.
35436 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35437 * elf/rtld.c (dl_main): Invert order of assignment in last change,
35438 to avoid a warning.
35440 2011-08-14 David S. Miller <davem@davemloft.net>
35442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35443 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35445 2011-08-13 Ulrich Drepper <drepper@gmail.com>
35447 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35448 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35449 * elf/rtld.c (dl_main): Set l_name of vDSO.
35450 Call _dl_show_scope when DL_DEBUG_SCOPES.
35451 (process_dl_debug): Recognize scopes flag and also set it for all.
35452 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35453 Declare _dl_show_scope.
35455 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35456 (do_dlopen): Pass caller_dlopen to dl_open.
35457 (__libc_dlopen_mode): Initialize caller_dlopen.
35459 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35460 of libc. Make tolower call locale-independent. Optimize a bit by
35461 using isdigit instead of isalnum.
35462 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35464 2011-08-12 Ulrich Drepper <drepper@gmail.com>
35466 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35467 was a dependency or dynamically loaded.
35469 2011-08-11 Ulrich Drepper <drepper@gmail.com>
35471 * intl/l10nflist.c: Allow architecture-specific pop function.
35472 * sysdeps/x86_64/l10nflist.c: New file.
35474 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35477 2011-08-10 Andreas Schwab <schwab@redhat.com>
35479 * include/dirent.h: Add libc_hidden_proto for scandirat and
35480 scandirat64. Don't declare __scandirat64.
35481 * dirent/scandirat.c: Add libc_hidden_def.
35482 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35483 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35485 2011-08-10 David S. Miller <davem@davemloft.net>
35487 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35490 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35493 2011-08-09 Ulrich Drepper <drepper@gmail.com>
35495 * Versions.def [libc]: Add GLIBC_2.15.
35496 * dirent/Makefile (routines): Add scandirat and scandirat64.
35497 * dirent/Versions [libc]: Export scandirat and scandirat64 for
35499 * dirent/dirent.h: Declare scandirat and scandirat64.
35500 * dirent/scandirat.c: New file.
35501 * dirent/scandirat64.c: New file.
35502 * sysdeps/wordsize-64/scandirat.c: New file.
35503 * sysdeps/wordsize-64/scandirat64.c: New file.
35504 * dirent/opendir.c: Define opendirat.
35505 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
35507 * dirent/scandir64.c: Adjust for scandir.c change.
35508 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
35509 __scandirat64, and __scandir_cancel_handler.
35510 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
35511 additional parameter and use openat instead of open (outside of ld.so).
35512 Add new __opendir as wrapper around __opendirat.
35513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35514 here without requiring old scandirat implementation.
35516 2011-08-08 Ulrich Drepper <drepper@gmail.com>
35518 * dirent/scandir.c (cancel_handler): Renamed to
35519 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
35520 defined. Adjust users.
35521 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35524 2011-08-04 Ulrich Drepper <drepper@gmail.com>
35526 * string/test-string.h (IMPL): Use __STRING to expand name and then
35529 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
35532 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35534 * string/Makefile: Update.
35535 (strop-tests): Append strncat.
35536 * string/test-wcscmp.c: New file.
35537 New comprehensive test for wcscmp.
35538 * string/test-strcmp.c: Update.
35539 (WIDE): New define.
35541 2011-07-22 Andreas Schwab <schwab@redhat.com>
35543 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35546 2011-07-26 Andreas Schwab <schwab@redhat.com>
35548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35549 encoding to ACE if AI_IDN.
35551 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35554 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35556 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35559 Fix overflow bug in strncat.
35560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35562 * string/test-strncat.c: Update.
35563 Add new tests for checking overflow bugs.
35565 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35568 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35569 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35570 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35572 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35573 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35574 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35575 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35578 (USE_AS_STRCAT): Define.
35579 Add strcat and strncat support.
35580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35582 2011-07-25 Andreas Schwab <schwab@redhat.com>
35584 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35585 __n bigger than INT_MAX+1.
35586 (__strncmp_g): Likewise.
35588 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35590 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35591 * libio/stido.h: Likewise.
35593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35598 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35605 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35610 (_dl_x86_64_save_sse): Likewise.
35612 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35616 (_dl_x86_64_save_sse): Likewise.
35618 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35620 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35622 2011-07-21 Andreas Schwab <schwab@redhat.com>
35624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35626 (_dl_x86_64_save_sse): Use correct AVX check.
35628 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35631 bug in strncpy/strncat.
35632 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35634 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35636 * string/tester.c (test_strcat): Add tests for different alignments
35637 of source and destination.
35638 (test_strncat): Likewise.
35640 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35643 * posix/glob.c (glob): Check passed in values before using them in
35644 expressions to avoid some overflows.
35645 (glob_in_dir): Likewise.
35648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35649 check for AVX enablement so that we don't crash with old kernels and
35651 * elf/tst-audit4.c: Add same checks here.
35652 * elf/tst-audit6.c: Likewise.
35654 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35656 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35658 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35660 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35662 * po/cs.po: Update from translation team.
35663 * po/bg.po: Likewise.
35665 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35667 * misc/sys/cdefs.h: Add support for const attribute.
35668 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35669 to gnu_dev_{major,minor,makedev} functions.
35671 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35673 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35675 2011-07-20 Andreas Schwab <schwab@redhat.com>
35677 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35680 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35683 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35684 register in order to avoid conflicts with the soft frame pointer
35685 being held in r11 when necessary.
35686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35687 (INTERNAL_VSYSCALL_NCS): Likewise.
35689 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35691 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35692 * elf/dl-fini.c (_dl_fini): Adjust caller.
35693 * elf/dl-close.c (_dl_close_worker): Likewise.
35694 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35696 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35698 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35699 "aux_cache->nlibs < 0".
35701 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35702 in the reload-count case.
35704 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35707 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35708 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35709 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35710 * sysdeps/x86_64/multiarch/strcat.S: New file.
35711 * sysdeps/x86_64/multiarch/strncat.S: New file.
35712 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35713 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35714 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35715 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35717 (USE_AS_STRCAT): Define.
35718 Add strcat and strncat support.
35719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35720 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35721 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35722 * string/strncat.c: Update.
35723 (USE_AS_STRNCAT): Define.
35724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35725 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35727 * sysdeps/x86_64/multiarch/init-arch.h
35728 (bit_Prefer_PMINUB_for_stringop): New.
35729 (index_Prefer_PMINUB_for_stringop): Likewise.
35730 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35731 bit_Prefer_PMINUB_for_stringop.
35733 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35735 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35737 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35738 of casting of buffer.
35739 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35740 buffer32 and buffer64.
35741 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35742 writes instead of casting of buffer.
35743 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35745 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35748 2011-07-19 Andreas Schwab <schwab@redhat.com>
35750 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35752 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35754 * nscd/nscd.c (termination_handler): Don't do anything for a database
35755 if it has not yet been initialized.
35757 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35759 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35761 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35763 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35767 * po/nl.po: Update from translation team.
35768 * po/sv.po: Likewise.
35770 2011-07-16 Roland McGrath <roland@hack.frob.com>
35772 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35773 now disallowed by GCC.
35775 * configure.in (use-default-link): Default to yes if a test -shared
35776 link meets our qualifications.
35777 * configure: Regenerated.
35779 * config.make.in (output-format): New variable.
35780 * configure.in: Check for ld --print-output-format support.
35781 * configure: Regenerated.
35782 * Makerules ($(common-objpfx)format.lds)
35783 [$(output-format) != unknown]: Just use $(output-format),
35784 instead of the linker-script munging.
35786 2011-07-14 Roland McGrath <roland@hack.frob.com>
35788 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35789 of $(common-objpfx)shlib.lds.
35790 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35792 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35793 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35795 * configure.in (-z relro check): Adjust test code to add a large
35796 writable data section after it.
35797 * configure: Regenerated.
35799 2011-07-11 Roland McGrath <roland@hack.frob.com>
35801 * configure.in (-z relro check): Fix test code to make the variable
35803 * configure: Regenerated.
35805 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35807 * nscd/nscd.h (struct traced_file): Define.
35808 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35809 elements. Add traced_files.
35810 (inotify_fd): Declare.
35811 (register_traced_file): Declare.
35812 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35813 (inotify_fd): Export.
35814 (resolv_conf_descr): Remove.
35815 (nscd_init): Move inotify descriptor creation to main.
35816 Don't register files for notification here.
35817 (register_traced_file): New function.
35818 (invalidate_cache): Don't use reset_res to determine whether to call
35819 res_init, go through the list of registered files.
35820 (main_loop_poll): The inotify descriptors are now stored in the
35821 structures for the traced files.
35822 (main_loop_epoll): Likewise
35823 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35824 to __nss_disable_nscd.
35825 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35826 for a database anymore. Check the records for all the registered
35828 * nss/Makefile (libnss_files-routines): Add files-init.
35829 (libnss_db-routines): Add db-init.
35830 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35831 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35832 * nss/nss_db/db-init.c: New file.
35833 * nss/nss_files/files-init.c: New file.
35834 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35835 __nss_lookup_function.
35836 (__nss_lookup_function): Call nss_load_library.
35837 (nss_load_all_libraries): New function.
35838 (__nss_disable_nscd): Take parameter with callback function for files
35839 to register. Set is_nscd. Load all the DSOs for the NSS modules
35840 used for the cached services.
35841 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35842 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35843 options for features to all the files in nscd.
35845 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35847 2011-07-10 Roland McGrath <roland@hack.frob.com>
35849 * csu/elf-init.c (__libc_csu_init): Comment typo.
35851 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35853 * po/pl.po: Update from translation team.
35854 * po/ja.po: Likewise.
35855 * po/ru.po: Likewise.
35856 * po/ko.po: Likewise.
35857 * po/fr.po: Likewise.
35859 2011-07-09 Roland McGrath <roland@hack.frob.com>
35861 * configure.in (.ctors/.dtors header and trailer check):
35862 Use an empirical test on a built program.
35863 * configure: Regenerated.
35865 * configure.in (-z relro check): Use an empirical test on a built DSO.
35866 Detect, but do not require, on ia64.
35867 * configure: Regenerated.
35869 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35870 Update tests that use readelf to use $READELF instead.
35871 * configure: Regenerated.
35873 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35875 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35876 if the result is not used.
35878 2011-07-05 Andreas Jaeger <aj@suse.de>
35881 * stdlib/tst-strtod.c: Add testcase.
35883 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35885 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35886 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35887 The latter has a higher limit. Take additional parameter to pass to
35889 (__pathconf): Pass file to __statfs_link_max.
35890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35892 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35896 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35900 (__statfs_filesize_max): Likewise.
35901 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35903 2011-07-05 Andreas Jaeger <aj@suse.de>
35905 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35907 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35909 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35911 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35914 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35916 * Makefile (strop-tests): Add strncat.
35917 * string/test-strncat.c: New file.
35919 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35921 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35923 2011-06-21 Andreas Jaeger <aj@suse.de>
35925 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35926 Copy rule from iconvdata/Makefile.
35928 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35931 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35932 but no long options are defined, just return 'W'.
35934 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35937 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35939 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35941 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35943 (innetgr): Likewise.
35945 2011-07-05 Roland McGrath <roland@hack.frob.com>
35947 * config.make.in (install_root): Default to $(DESTDIR).
35949 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35953 2011-07-02 Roland McGrath <roland@hack.frob.com>
35955 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35957 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35958 containing directory rather than embedding absolute directory names.
35960 * scripts/check-local-headers.sh: Rewritten using awk.
35961 Match by word, not by line. Print error messages for matches.
35962 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35964 * Makerules [shlib-lds-flags empty]:
35965 ($(common-objpfx)libc_pic.opts): New target.
35966 ($(common-objpfx)libc_pic.os.clean): New target.
35967 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35969 * config.make.in (OBJCOPY): New variable.
35970 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35971 * configure: Regenerated.
35973 * config.make.in (use-default-link): New variable.
35974 * configure.in (use_default_link): Grok --with-default-link to set it.
35975 * configure: Regenerated.
35976 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35977 (shlib-lds, shlib-lds-flags): Define to empty.
35979 * Makerules (shlib-lds): New variable.
35980 (shlib-lds-flags): New variable.
35981 (build-shlib, build-moduile, build-module-asneeded): Use it.
35982 ($(common-objpfx)libc.so): Use $(shlib-lds).
35983 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35984 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35986 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35987 DT_FLAGS/DT_FLAGS_1 with zero flags.
35989 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35990 linker script munging.
35992 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35994 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35996 * crypt/sha512.c (sha512_process_block): Perform total addition using
35997 128-bit if possible.
35998 (__sha512_finish_ctx): Likewise.
35999 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
36001 * crypt/sha256.c (SWAP64): Define.
36002 (sha256_process_block): Perform total addition using 64-bit if
36004 (__sha256_finish_ctx): Likewise.
36006 2011-07-01 Ulrich Drepper <drepper@gmail.com>
36008 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
36009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36010 * nscd/hstcache.c (cache_addhst): Likewise.
36011 * nscd/grpcache.c (cache_addgr): Likewise.
36012 * nscd/aicache.c (addhstaiX): Likewise
36013 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36015 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
36017 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36019 * nscd/hstcache.c (cache_addhst): Likewise.
36020 * nscd/grpcache.c (cache_addgr): Likewise.
36021 * nscd/aicache.c (addhstaiX): Likewise
36023 2011-07-01 Andreas Schwab <schwab@redhat.com>
36025 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36026 domain only when needed.
36028 2011-06-30 Andreas Schwab <schwab@redhat.com>
36030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36031 is always restored.
36033 2011-06-29 Ulrich Drepper <drepper@gmail.com>
36035 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36036 are re-adding the entry.
36037 * nscd/servicescache.c (cache_addserv): Likewise.
36039 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
36041 * sysdeps/generic/dl-irel.h: fix protection against multiple
36043 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36045 2011-06-28 Ulrich Drepper <drepper@gmail.com>
36048 * malloc/memusage.sh: Fix quoting in message.
36049 * debug/xtrace.sh: Likewise.
36051 * configure.in: Remove support for --experimental-malloc option, make
36053 * config.make.in: Likewise.
36054 * malloc/Makefile: Likewise.
36056 2011-06-27 Andreas Schwab <schwab@redhat.com>
36058 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36059 two-byte characters.
36061 2011-06-27 Roland McGrath <roland@hack.frob.com>
36063 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36064 AC_CACHE_CHECK invocation.
36065 * configure: Regenerated.
36067 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36069 2011-06-27 Ulrich Drepper <drepper@gmail.com>
36072 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
36073 bit from old_res_options.
36075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36077 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36078 value type for setfct.
36080 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
36082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36083 __gettimeofday instead of gettimeofday.
36085 2011-06-26 Ulrich Drepper <drepper@gmail.com>
36087 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36089 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
36091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36096 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36099 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36100 strcpy-sse2-unaligned strncpy-sse2-unaligned
36101 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36102 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36103 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36104 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36105 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36107 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36108 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36109 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36110 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36111 (STRCPY): Support SSE2 and SSSE3 versions.
36113 2011-06-24 Ulrich Drepper <drepper@gmail.com>
36116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36117 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36118 kernels which artificially limit size of requests.
36120 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
36122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36123 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36124 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36125 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36126 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36127 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36128 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36129 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36132 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36133 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36134 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36135 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36136 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36138 Enable unaligned load optimization for Intel Core i3, i5 and i7
36140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36142 (index_Fast_Unaligned_Load): Define.
36143 (HAS_FAST_UNALIGNED_LOAD): Define.
36145 2011-06-23 Marek Polacek <mpolacek@redhat.com>
36147 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36149 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36153 until it is clear that the information is realy needed.
36154 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36156 2011-06-22 Andreas Schwab <schwab@redhat.com>
36158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36160 2011-06-22 Ulrich Drepper <drepper@gmail.com>
36162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36163 /sys/devices/system/cpu/online if it is usable.
36165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36166 reading the information from the /proc filesystem to once a second.
36168 2011-06-21 Andreas Jaeger <aj@suse.de>
36170 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36171 NULL after inclusion of kernel headers.
36173 2011-06-21 Ulrich Drepper <drepper@gmail.com>
36175 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36176 calls to internal_setent.
36179 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36180 addresses using gethostbyname4_r ignore IPv4 addresses.
36182 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36183 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
36185 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36187 2011-06-20 David S. Miller <davem@davemloft.net>
36189 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36191 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36193 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36194 (elf_irel): Use it.
36195 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36196 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36197 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36198 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36199 * sysdeps/x86_64/dl-irel.h: Likewise.
36201 * elf/dl-runtime.c: Use elf_ifunc_invoke.
36202 * elf/dl-sym.c: Likewise.
36204 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36206 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
36207 need to dereference resplen2.
36209 2011-06-14 Andreas Schwab <schwab@redhat.com>
36211 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36213 2011-06-15 Ulrich Drepper <drepper@gmail.com>
36215 * Makeconfig: Define vardbdir and inst_vardbdir.
36216 * nss/Makefile: Add rules to install db-Makefile.
36218 * nss/nss_db/db-XXX.c: Cleanup.
36220 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36221 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36223 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36224 * nss/makedb.c: Implement -g option to specify that value strings
36225 are generated and should not be added to table iterated over for
36227 * nss/nss_db/db-initgroups.c: New file.
36229 * nss/getent.c: Add support for initgroups lookups through getgrouplist
36232 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36233 (internal_getgrouplist): Adjust to name change.
36234 Update use_initgroups_entry if this is not the first call.
36235 * nss/databases.def: Add initgroups entry.
36237 * nss/makedb.c (compute_tables): Check result of multiple hash table
36238 sizes to minimize maximum chain length.
36240 2011-06-14 Ulrich Drepper <drepper@gmail.com>
36242 * Versions.def: Add entry for libnss_db.
36243 * shlib-versions: Likewise.
36244 * nss/Makefile: Add rules to build libnss_db.
36245 * nss/Versions: Add libnss_db information. Organize libnss_files
36247 * nss/db-Makefile: Add gshadow support. Change rules for the new
36248 makedb progra. Some minor improvements to generate smaller files.
36249 * nss/nss_db/nss_db.h: Move NSS database header data structures to
36251 * nss/makedb.c: ...here.
36252 Improve database format to be smaller and require less memory at
36254 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
36256 * nss/nss_db/db-netgrp.c: Likewise.
36257 * nss/nss_db/db-open.c: Likewise.
36258 * nss/nss_files/flies-XXX.x: Adjust comments.
36259 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36260 * nss/nss_files/files-grp.c: Likewise.
36261 * nss/nss_files/files-hosts.c: Likewise.
36262 * nss/nss_files/files-network.c: Likewise.
36263 * nss/nss_files/files-proto.c: Likewise.
36264 * nss/nss_files/files-pwd.c: Likewise.
36265 * nss/nss_files/files-rpc.c: Likewise.
36266 * nss/nss_files/files-service.c: Likewise.
36267 * nss/nss_files/files-sgrp.c: Likewise.
36268 * nss/nss_files/files-spwd.c: Likewise.
36269 * nss/nss_db/db-alias.c: Removed.
36270 * nss/nss_db/dummy-db.h: Removed.
36272 2011-06-02 Ulrich Drepper <drepper@gmail.com>
36274 * nss/makedb.c: Rewritten to not use database library.
36275 * nss/Makefile: Update to build new makedb program.
36277 2011-06-14 Andreas Jaeger <aj@suse.de>
36279 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36280 memset declaration.
36282 2011-06-10 Andreas Schwab <schwab@redhat.com>
36284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36287 2011-06-10 Roland McGrath <roland@hack.frob.com>
36289 * Makerules (shlib.lds): Fail if the linker script comes out empty.
36290 * elf/Makefile ($(objpfx)ld.so): Likewise.
36292 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36293 Don't list ld.so twice in dependencies.
36295 * posix/bug-regex31.c: Include <stdlib.h>.
36297 * nscd/hstcache.c (cache_addhst): Remove unused variable.
36299 * nis/nss_compat/compat-spwd.c
36300 (getspent_next_nss_netgr): Remove unused variable.
36301 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36303 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36304 nonmembers" output to use the right array.
36306 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36308 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36310 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36311 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36312 * catgets/gencat.c (read_input_file): Likewise.
36313 * locale/programs/locarchive.c (enlarge_archive): Likewise.
36315 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36316 variable definition inside #if's controlling its use.
36318 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36320 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36322 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36324 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36327 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36329 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36330 * configure: Regenerated.
36332 * Makerules: Revert last change.
36333 * elf/Makefile: Likewise.
36335 2011-06-09 Roland McGrath <roland@hack.frob.com>
36337 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36338 * elf/Makefile ($(objpfx)librtld.os): Likewise.
36339 (reloc-link): Likewise.
36341 2011-06-09 Ulrich Drepper <drepper@gmail.com>
36343 * elf/Makefile: Add rules to build pldd.
36344 * elf/pldd.c: New file.
36345 * elf/pldd-xx.c: New file.
36347 2011-06-07 Ulrich Drepper <drepper@gmail.com>
36349 * version.h: Update for 2.15 development version.
36351 2011-06-07 David S. Miller <davem@davemloft.net>
36353 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36356 elf_machine_lazy_rel): Likewise.
36357 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36359 elf_machine_lazy_rel): Likewise.
36360 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36361 dl_hwcap via passed in argument.
36362 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36365 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36367 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
36369 2011-06-06 Roland McGrath <roland@hack.frob.com>
36372 * manual/fdl-1.1.texi: New file, verbatim from:
36373 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36374 * manual/lgpl-2.1.texi: New file, verbatim from:
36375 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36376 * manual/Makefile (licenses): New variable, list those new file names.
36378 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36380 * manual/fdl.texi: File removed.
36381 * manual/lesser.texi: File removed.
36382 * manual/libc.texinfo (Copying, Documentation License):
36383 Use new @include file names, put @appendix directive before @include.
36385 2011-06-04 Jakub Jelinek <jakub@redhat.com>
36388 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36389 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36390 (mq_open): Add __NTH.
36392 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
36394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36395 Assume Intel Core i3/i5/i7 processor if AVX is available.
36397 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36402 2011-05-31 Andreas Schwab <schwab@redhat.com>
36404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36405 memory. Use alloca_account. Fix memory leak when retrying.
36407 2011-05-31 Ulrich Drepper <drepper@gmail.com>
36409 * version.h (RELEASE): Bump for 2.14 release.
36410 * include/features.h (__GLIBC_MINOR__): Bump to 14.
36412 * config.make.in (RANLIB): Remove entry.
36414 2011-05-30 Ulrich Drepper <drepper@gmail.com>
36416 * po/Makefile (po-sed-cmd): Add ksh to extensions.
36417 (libc.pot): Work around missing support for .ksh extension in xgettext.
36420 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36421 if both request failed.
36422 (send_dg): In case of server errors clear resplen or *resplen2.
36425 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36426 when there are multiple maps.
36427 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36428 (_dl_fini): Remove test here.
36430 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36432 2011-05-29 Ulrich Drepper <drepper@gmail.com>
36435 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36436 bit from old_res_options.
36437 (gaih_inet): Likewise.
36440 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36443 * resolv/res_init.c (res_setoptions): Make the code more compact.
36446 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36450 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36452 * malloc/malloc.h: Mark malloc hook variables as deprecated.
36455 * malloc/malloc.h: Declare malloc hook variables as volatile.
36457 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36461 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36462 raise in the comment.
36463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36465 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36467 2011-05-28 Ulrich Drepper <drepper@gmail.com>
36470 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36471 grow the buffers more if it already has to be sufficient.
36472 (build_wcs_upper_buffer): Likewise.
36473 * posix/regexec.c (check_matching): Likewise.
36474 (clean_state_log_if_needed): Likewise.
36475 (extend_buffers): Don't enlarge buffers beyond size of the input
36477 Patches mostly by Emil Wojak <emil@wojak.eu>.
36478 * posix/bug-regex32.c: New file.
36479 * posix/Makefile (tests): Add bug-regex32.
36481 * locale/findlocale.c (_nl_find_locale): Return right away if
36482 _nl_explode_name failed.
36483 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36485 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36487 * debug/xtrace.sh: Unify messages.
36488 * malloc/memusage.sh: Likewise.
36491 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36492 time symbol from vDSO. Substitute with vsyscall if not available.
36493 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36497 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36498 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36499 Add sendmmsg and internal_sendmmsg.
36500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36501 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36502 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36504 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36505 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36508 2011-05-27 Ulrich Drepper <drepper@gmail.com>
36511 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36512 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
36514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36518 * iconvdata/Makefile (tests): Add bug-iconv9.
36519 * iconvdata/bug-iconv9.c: New file.
36521 2011-05-27 Andreas Schwab <schwab@redhat.com>
36524 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36526 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36529 (struct user_regs_struct): Change intcs field back to cs.
36531 2011-05-25 Ulrich Drepper <drepper@gmail.com>
36533 * po/ja.po: Update from translation team.
36535 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36538 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36539 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36541 2011-05-20 Andreas Schwab <schwab@redhat.com>
36543 * stdlib/longlong.h: Update from GCC.
36545 2011-05-23 Andreas Schwab <schwab@redhat.com>
36547 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36549 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36550 Add parameter name.
36551 (__sysconf): Pass it down.
36553 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36556 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36559 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36560 add in in __libc_use_alloca calls. Adjust callers.
36561 (glob): Use malloc in some situations.
36563 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36564 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36567 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36569 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36570 and CLOCK_BOOTTIME_ALARM.
36573 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36576 * string/_strerror.c (__strerror_r): Print negative errors as signed
36580 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36581 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36582 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36584 * configure.in: Fix typo in redirection and correct removal of test
36585 files in two cases.
36588 * locale/setlocale.c (new_composite_name): Fix test to check for
36589 identical name of all categories.
36592 * libio/filedoalloc.c (local_isatty): New function.
36593 (_IO_file_doallocate): Use local_isatty.
36594 * stdio-common/perror.c (perror): In case a new stream is used
36595 forward the stream error.
36596 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36599 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36604 * include/alloca.h (extend_alloca_account): Define.
36607 * posix/regex.h: Fix comments with documentation of user-accessible
36608 fields after compilation and describe correct free'ing of pattern
36609 after re_compile_pattern.
36610 Patch by Reuben Thomas <rrt@sc3d.org>.
36612 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36614 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36615 and -mno-altivec to prevent the compiler from using Altivec and/or
36616 VSX instructions when the corresponding registers are not available.
36618 2011-05-19 Andreas Schwab <schwab@redhat.com>
36620 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36622 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36624 * libio/freopen.c (freopen): Use __dup2, not dup2.
36625 * libio/freopen64.c (freopen64): Likewise.
36627 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36630 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36631 * math/Makefile (tests): Add test-powl.
36632 (CFLAGS-test-powl.c): Define.
36633 * math/test-powl.c: New file.
36635 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36637 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36639 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36642 * iconvdata/gb18030.c: Update to GB18020-2005.
36644 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36646 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36647 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36648 Patch by Aharon Robbins <arnold@skeeve.com>.
36651 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36655 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36656 through underflows.
36659 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36660 point to strings before performing equality test for error_one_per_line
36664 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36668 (struct user_fpregs_struct): Avoid __uint*_t types.
36671 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36672 symbol info. Use it instead of calling _dl_addr locally.
36673 (lock_and_info): New function.
36674 (tr_freehook): Call lock_and_info and pass symbol info as additional
36675 parameter to tr_where.
36676 (tr_mallochook): Likewise.
36677 (tr_reallochook): Likewise.
36678 (tr_memalignhook): Likewise.
36680 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36681 used and couldn't be at all thread-safe.
36683 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36685 * libio/freopen.c (freopen): Don't close old file descriptor
36686 before the new one is opened. Instead dup the new file descriptor
36687 to the old one after the new stream is created.
36688 * libio/freopen64.c (freopen64): Likewise.
36689 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36690 * libio/fileops.c (_IO_new_file_close_it): Handle new
36691 _IO_FLAGS2_NOCLOSE flag.
36692 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36693 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36694 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36695 _IO_FLAGS2_NOCLOSE flag.
36696 * include/unistd.h: Add hidden_proto for dup3.
36697 Define __have_dup3.
36698 * io/dup3.c: Define hidden symbol.
36699 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36702 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36703 when an incomplete long option is used.
36704 * posix/tst-getopt_long1.c: New file.
36705 * posix/Makefile (tests): Add tst-getopt_long1.
36708 * scripts/config.guess: Update from autoconf-2.68.
36709 * scripts/config.sub: Likewise.
36712 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36714 (has_cpuclock): ...this. New function.
36715 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36716 macro here based on has_cpuclock code.
36719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36720 First byte (not low byte) is now always NUL.
36721 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36724 Use non-cancelable interfaces.
36727 * locale/iso-639.def: Add entry for Sorani.
36730 * include/stdlib.h: Move include protection to the right place.
36731 Define abort_msg_s. Declare __abort_msg with it.
36732 * stdlib/abort.c (__abort_msg): Adjust type.
36733 * assert/assert.c (__assert_fail_base): New function. Majority
36734 of code from __assert_fail. Allocate memory for __abort_msg with
36736 (__assert_fail): Now call __assert_fail_base.
36737 * assert/assert-perr.c: Remove bulk of implementation. Use
36738 __assert_fail_base.
36739 * include/assert.hL Declare __assert_fail_base.
36740 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36742 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36744 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36748 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36749 until all modules are registered in the DTV.
36750 * elf/Makefile: Add rules to build and run tst-tls19.
36751 * elf/tst-tls19.c: New file.
36752 * elf/tst-tls19mod1.c: New file.
36753 * elf/tst-tls19mod2.c: New file.
36754 * elf/tst-tls19mod3.c: New file.
36755 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36758 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36762 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36763 two-byte sequence errors.
36764 * iconvdata/Makefile (tests): Add bug-iconv8.
36765 * iconvdata/bug-iconv8.c: New file.
36768 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36771 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36774 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36775 (dummy_getcfa): New function.
36776 (init): Get _Unwind_GetCFA address, use dummy if not found.
36777 (backtrace_helper): In recursion check, also check whether CFA changes.
36778 (__backtrace): Completely initialize arg.
36780 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36781 storing incomplete byte sequence in state object. Avoid testing for
36782 guaranteed too small input if we know there is enough data available.
36784 2011-05-11 Andreas Schwab <schwab@redhat.com>
36786 * Makeconfig (+link-pie): Indent.
36787 * Rules (binaries-pie): Define if $(have-fpie) and
36789 (binaries-shared): Also filter out $(binaries-pie).
36790 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36791 * nscd/Makefile (others-pie): Add nscd.
36792 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36793 ($(objpfx)nscd): Remove command override.
36794 * login/Makefile (others-pie): Add pt_chown.
36795 ($(objpfx)pt_chown): Remove command override.
36796 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36797 remove command overrides.
36799 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36801 * libio/tst_putwc.c: Fix error messages.
36804 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36805 currently writing and seek to current position when not.
36806 * libio/Makefile (tests): Add bug-fclose1.
36807 * libio/bug-fclose1.c: New file.
36809 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36812 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36813 don't set DF_1_NODELETE here.
36814 (do_lookup_x): When entering new entry test for copy relocation
36815 and if necessary set DF_1_NODELETE flag.
36816 * elf/tst-unique4.cc: New file.
36817 * elf/tst-unique4.h: New file.
36818 * elf/tst-unique4lib.cc: New file.
36819 * elf/Makefile: Add rules to build and run tst-unique4.
36820 Patch by Piotr Bury <pbury@goahead.com>.
36822 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36825 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36828 * misc/mntent_r.c (addmntent): Flush the stream after the output
36831 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36832 (is_trusted_path_normalize): Skip initial colon. Append slash
36833 to empty buffer. Duplicate is_trusted_path code but allow
36834 constructed patch to be prefix.
36835 (is_dst): Allow $ORIGIN followed by /.
36836 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36837 Correct testing of result of is_trusted_path_normalize
36838 (decompose_rpath): Fix warning.
36840 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36843 * grp/initgroups.c (internal_getgrouplist): When we found the service
36844 list through the initgroups entry in nsswitch.conf do not always
36845 continue on a successful lookup. Don't always use the
36846 __nss_group_database value if it is set.
36847 * nss/nsswitch.conf (initgroups): Change action for successful db
36848 lookup to continue for compatibility.
36850 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36853 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36855 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36857 * iconvdata/tst-tables.sh: Likewise.
36858 * iconvdata/cp770.c: New file.
36859 * iconvdata/cp771.c: New file.
36860 * iconvdata/cp772.c: New file.
36861 * iconvdata/cp773.c: New file.
36862 * iconvdata/cp774.c: New file.
36863 * iconvdata/testdata/CP770: New file.
36864 * iconvdata/testdata/CP770..UTF8: New file.
36865 * iconvdata/testdata/CP771: New file.
36866 * iconvdata/testdata/CP771..UTF8: New file.
36867 * iconvdata/testdata/CP772: New file.
36868 * iconvdata/testdata/CP772..UTF8: New file.
36869 * iconvdata/testdata/CP773: New file.
36870 * iconvdata/testdata/CP773..UTF8: New file.
36871 * iconvdata/testdata/CP774: New file.
36872 * iconvdata/testdata/CP774..UTF8: New file.
36874 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36876 * iconvdata/gen-8bit-gap.sh: Likewise.
36877 * iconvdata/gen-8bit.sh: Likewise.
36879 * locale/iso-639.def: Add ary entry.
36882 * locale/C-translit.h.in: Add U20A1 transliteration.
36885 * locale/iso-639.def: Add wae entry.
36886 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36889 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36893 * locale/C-translit.h.in: Add entry for U20B9.
36894 Patch by pravin.d.s@gmail.com.
36896 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36899 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36900 ENAMETOOLONG use generic getcwd.
36901 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36902 in rtld. Use *stat64.
36903 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36904 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36905 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36906 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36907 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36908 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36909 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36910 __fstatat64 macros.
36911 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36912 * dirent/rewinddir.c: Add libc_hidden_def.
36913 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36914 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36916 * include/dirent.h (__alloc_dir): Add flags parameter.
36917 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36918 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36920 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36921 from fdopendir if O_CLOEXEC is already set.
36923 2011-03-15 Alan Modra <amodra@gmail.com>
36925 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36926 l_tls_firstbyte_offset non-zero. Save padding offset in
36927 l_tls_firstbyte_offset for later use.
36928 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36929 freeing static tls block.
36931 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36933 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36934 where #ifdef was intended. The intent is to prevent ARG_MAX from
36935 being defined by the kernel headers.
36937 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36940 * resolv/resolv.h: Define RES_NOTLDQUERY.
36941 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36942 no-tld-query and set RES_NOTLDQUERY.
36943 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36944 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36945 modern BIND to search name as TLD unless forbidden.
36947 2011-05-07 Petr Baudis <pasky@suse.cz>
36948 Ulrich Drepper <drepper@gmail.com>
36951 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36952 (is_trusted_path): ...to here.
36953 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36954 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36955 using is_trusted_path_normalize() in setuid scripts.
36957 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36959 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36960 __BEGIN/__END_DECLS.
36962 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36965 NSS_STATUS_NOTFOUND if no record was found.
36967 2011-05-05 Andreas Schwab <schwab@redhat.com>
36969 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36970 (headers-not-in-tirpc): Remove rpc/netdb.h
36971 * resolv/netdb.h: Revert last change.
36973 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36975 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36976 circular dependency between libgcc.a and libc.a.
36978 2011-05-05 Andreas Schwab <schwab@redhat.com>
36980 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36981 * nis/Makefile: Don't install rpcsvc/*.
36982 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36983 instead of <rpc/types.h>.
36984 (MAXHOSTNAMELEN): Define.
36986 2011-05-03 Andreas Schwab <schwab@redhat.com>
36988 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36990 2011-04-28 Maciej Babinski <mbabinski@google.com>
36993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36994 gethostbyname4_r when IPv6 results are possible.
36996 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36999 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
37000 _PC_PIPE_BUF handling.
37002 2011-04-30 Bruno Haible <bruno@clisp.org>
37005 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
37006 * resolv/netdb.h (getnameinfo): Change type of flags parameter
37008 * inet/getnameinfo.c (getnameinfo): Likewise.
37010 2011-04-29 Ulrich Drepper <drepper@gmail.com>
37012 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37013 to groups setting in database lookup.
37014 * nss/nsswitch.conf: Add initgroups entry.
37016 2011-04-22 Ulrich Drepper <drepper@gmail.com>
37019 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37021 Patch by Eric Blake <eblake@redhat.com>.
37023 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
37025 * sunrpc/Makefile (need-export-routines): Add svc_run.
37026 (routines): Remove svc_run.
37027 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37028 * sunrpc/clnt_perr.c (clnt_perrno): Export.
37029 * sunrpc/svc_run.c (svc_run): Likewise.
37030 * sunrpc/svc_udp.c (svcudp_create): Likewise.
37032 2011-04-21 Ulrich Drepper <drepper@gmail.com>
37034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37035 problem in reallocation in last patch.
37037 2011-04-20 Ulrich Drepper <drepper@gmail.com>
37039 * sunrpc/Makefile: Move inclusion of Rules.
37041 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37043 * nss/nss_files/files-initgroups.c: New file.
37044 * nss/Makefile (libnss_files-routines): Add files-initgroups.
37045 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37046 _nss_files_initgroups_dyn.
37048 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
37050 * elf/elf.h (R_ARM_IRELATIVE): Define.
37052 2011-04-19 Ulrich Drepper <drepper@gmail.com>
37054 * po/ru.po: Update from translation team.
37056 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37058 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37061 2011-02-06 Mike Frysinger <vapier@gentoo.org>
37064 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37065 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37067 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37070 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
37072 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37074 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37076 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37078 2011-04-17 Ulrich Drepper <drepper@gmail.com>
37081 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37083 * stdlib/bug-getcontext.c: New file.
37084 * stdlib/Makefile: Add rules to build and run bug-getcontext.
37086 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37088 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37089 instructions into .machine "z9-109".
37090 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37091 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37093 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37095 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37096 between environment variables and auxiliary vector.
37098 2011-04-16 Ulrich Drepper <drepper@gmail.com>
37100 * Makefile: Add rules to build linkobj/libc.so.
37101 * include/libc-symbols.h: Define libc_hidden_nolink.
37102 * include/rpc/auth.h: Mark functions which are to be hidden.
37103 * include/rpc/auth_des.h: Likewise.
37104 * include/rpc/auth_unix.h: Likewise.
37105 * include/rpc/clnt.h: Likewise.
37106 * include/rpc/des_crypt.h: Likewise.
37107 * include/rpc/key_prot.h: Likewise.
37108 * include/rpc/pmap_clnt.h: Likewise.
37109 * include/rpc/pmap_prot.h: Likewise.
37110 * include/rpc/pmap_rmt.h: Likewise.
37111 * include/rpc/rpc_msg.h: Likewise.
37112 * include/rpc/svc.h: Likewise.
37113 * include/rpc/svc_auth.h: Likewise.
37114 * include/rpc/xdr.h: Likewise.
37115 * nis/Makefile: Link all DSOs against linkobj/libc.so.
37116 * nss/Makefile: Likewise.
37117 * sunrpc/Makefile: Don't install headers. Build library with normal
37118 entry points. Don't build rpcinfo. Link RPC tests appropriately.
37119 * sunrpc/auth_des.c: Hide exported symbols by default, export some
37120 for the compat linking library. Remove use of INTDEF/INTUSE.
37121 * sunrpc/auth_none.c: Likewise.
37122 * sunrpc/auth_unix.c: Likewise.
37123 * sunrpc/authdes_prot.c: Likewise.
37124 * sunrpc/authuxprot.c: Likewise.
37125 * sunrpc/clnt_gen.c: Likewise.
37126 * sunrpc/clnt_perr.c: Likewise.
37127 * sunrpc/clnt_raw.c: Likewise.
37128 * sunrpc/clnt_simp.c: Likewise.
37129 * sunrpc/clnt_tcp.c: Likewise.
37130 * sunrpc/clnt_udp.c: Likewise.
37131 * sunrpc/clnt_unix.c: Likewise.
37132 * sunrpc/des_crypt.c: Likewise.
37133 * sunrpc/des_soft.c: Likewise.
37134 * sunrpc/get_myaddr.c: Likewise.
37135 * sunrpc/key_call.c: Likewise.
37136 * sunrpc/key_prot.c: Likewise.
37137 * sunrpc/netname.c: Likewise.
37138 * sunrpc/pm_getmaps.c: Likewise.
37139 * sunrpc/pm_getport.c: Likewise.
37140 * sunrpc/pmap_clnt.c: Likewise.
37141 * sunrpc/pmap_prot.c: Likewise.
37142 * sunrpc/pmap_prot2.c: Likewise.
37143 * sunrpc/pmap_rmt.c: Likewise.
37144 * sunrpc/publickey.c: Likewise.
37145 * sunrpc/rpc_cmsg.c: Likewise.
37146 * sunrpc/rpc_common.c: Likewise.
37147 * sunrpc/rpc_dtable.c: Likewise.
37148 * sunrpc/rpc_prot.c: Likewise.
37149 * sunrpc/rpc_thread.c: Likewise.
37150 * sunrpc/rtime.c: Likewise.
37151 * sunrpc/svc.c: Likewise.
37152 * sunrpc/svc_auth.c: Likewise.
37153 * sunrpc/svc_authux.c: Likewise.
37154 * sunrpc/svc_raw.c: Likewise.
37155 * sunrpc/svc_run.c: Likewise.
37156 * sunrpc/svc_simple.c: Likewise.
37157 * sunrpc/svc_tcp.c: Likewise.
37158 * sunrpc/svc_udp.c: Likewise.
37159 * sunrpc/svc_unix.c: Likewise.
37160 * sunrpc/svcauth_des.c: Likewise.
37161 * sunrpc/xcrypt.c: Likewise.
37162 * sunrpc/xdr.c: Likewise.
37163 * sunrpc/xdr_array.c: Likewise.
37164 * sunrpc/xdr_float.c: Likewise.
37165 * sunrpc/xdr_intXX_t.c: Likewise.
37166 * sunrpc/xdr_mem.c: Likewise.
37167 * sunrpc/xdr_rec.c: Likewise.
37168 * sunrpc/xdr_ref.c: Likewise.
37169 * sunrpc/xdr_sizeof.c: Likewise.
37170 * sunrpc/xdr_stdio.c: Likewise.
37172 2011-04-10 Ulrich Drepper <drepper@gmail.com>
37175 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37176 * sysdeps/ia64/dl-tls.h: Likewise.
37177 * sysdeps/powerpc/dl-tls.h: Likewise.
37178 * sysdeps/s390/dl-tls.h: Likewise.
37179 * sysdeps/sh/dl-tls.h: Likewise.
37180 * sysdeps/sparc/dl-tls.h: Likewise.
37181 * sysdeps/x86_64/dl-tls.h: Likewise.
37182 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37184 2011-03-14 Andreas Schwab <schwab@redhat.com>
37186 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37187 rpath element also skip the following colon.
37188 (expand_dynamic_string_token): Add is_path parameter and pass
37189 down to DL_DST_REQUIRED and _dl_dst_substitute.
37190 (decompose_rpath): Call expand_dynamic_string_token with
37191 non-zero is_path. Ignore empty rpaths.
37192 (_dl_map_object_from_fd): Call expand_dynamic_string_token
37195 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
37197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37200 2011-04-09 Ulrich Drepper <drepper@gmail.com>
37203 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37204 Patch by Filipe David Manana <fdmanana@apache.org>.
37206 2011-04-07 Andreas Schwab <schwab@redhat.com>
37208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37209 Maintain aligned stack.
37210 (CHECK_RSP): Remove unused macro.
37212 2011-04-03 Ulrich Drepper <drepper@gmail.com>
37214 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37215 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37217 2011-04-02 Ulrich Drepper <drepper@gmail.com>
37219 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37221 * include/features.h: Mention __USE_XOPEN2K8 in comment.
37223 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
37226 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37227 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37228 * sysdeps/x86_64/memmove.c: New file.
37229 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37230 (memcpy): Renamed to ...
37231 (__new_memcpy): This.
37232 (memcpy): Provide GLIBC_2_14 memcpy.
37233 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37234 (memcpy): Provide GLIBC_2_2_5 memcpy.
37236 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37239 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37241 2011-03-30 Andreas Schwab <schwab@redhat.com>
37243 * misc/syncfs.c: New file.
37244 * misc/Makefile (routines): Add syncfs.
37245 * posix/unistd.h: Declare syncfs.
37246 * sysdeps/unix/syscalls.list: Add syncfs.
37248 2011-04-01 Andreas Schwab <schwab@redhat.com>
37250 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37257 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37260 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37264 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37270 * io/Makefile: Compile fallocate.c, fallocate64.c, and
37271 sync_file_range.c with -fexceptions.
37272 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37273 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37274 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37275 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37276 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37277 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37279 sync_file_range as cancellation point
37280 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
37281 now a wrapper around __call_sync_file_range with cancellation handling.
37282 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37283 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
37284 function name to __call_sync_file_range.
37285 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37286 Add call_sync_file_range.
37288 2011-04-01 Andreas Schwab <schwab@redhat.com>
37290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37293 2011-04-01 Ulrich Drepper <drepper@gmail.com>
37295 * iconv/iconv.h: Fix typo in comment.
37296 * io/fcntl.h: Likewise.
37297 * libio/stdio.h: Likewise.
37298 * posix/spawn.h: Likewise.
37299 * posix/unistd.h: Likewise.
37300 * stdlib/stdlib.h: Likewise.
37301 * time/time.h: Likewise.
37302 * wcsmbs/wchar.h: Likewise.
37304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37305 open_by_handle): Add.
37306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37307 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
37308 Augment a few comments.
37309 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37314 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37317 * io/fcntl.h (AT_EMPTY_PATH): Define.
37319 2011-03-30 Ulrich Drepper <drepper@gmail.com>
37321 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37322 * sysdeps/unix/sysv/linux/bits/time.h: New file.
37323 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37325 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
37326 * Versions.def: Add GLIBC_2.14.
37327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37330 2011-03-22 Ulrich Drepper <drepper@gmail.com>
37332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37336 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
37339 * string/test-strncmp.c (do_page_test): New function.
37340 (check2): Likewise.
37341 (test_main): Call check2.
37342 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37344 2011-03-20 Ulrich Drepper <drepper@gmail.com>
37347 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37348 Handle cache information in CPU leaf 4.
37349 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37351 2011-03-18 Ulrich Drepper <drepper@gmail.com>
37354 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37355 character representation.
37356 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37358 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
37360 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37361 END(__isnan) to END(__isnanf) to match function entry point/label
37362 EALIGN(__isnanf,...).
37364 2011-03-10 Jakub Jelinek <jakub@redhat.com>
37366 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37368 2011-03-10 Ulrich Drepper <drepper@gmail.com>
37371 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37372 copy from the symbol referenced in the relocation to initialize the
37374 Patch by Piotr Bury <pbury@goahead.com>.
37375 * elf/Makefile: Add rules to build and tst-unique3.
37376 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37377 * elf/tst-unique3.cc: New file.
37378 * elf/tst-unique3.h: New file.
37379 * elf/tst-unique3lib.cc: New file.
37380 * elf/tst-unique3lib2.cc: New file.
37382 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37384 2011-03-10 Mike Frysinger <vapier@gentoo.org>
37386 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37387 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
37390 2011-03-06 Ulrich Drepper <drepper@gmail.com>
37392 * elf/dl-load.c (_dl_map_object): If we are looking for the first
37393 to-be-loaded object along a path to loader is ld.so.
37395 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37396 Ulrich Drepper <drepper@gmail.com>
37398 * sysdeps/x86_64/memset.S: After aligning destination, code
37399 branches to different locations depending on the value of
37400 misalignment, when multiarch is enabled. Fix this.
37402 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
37404 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37405 Set _x86_64_preferred_memory_instruction for AMD processsors.
37406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37407 Set bit_Prefer_SSE_for_memop for AMD processors.
37409 2011-03-04 Ulrich Drepper <drepper@gmail.com>
37411 * libio/fmemopen.c (fmemopen): Optimize a bit.
37413 2011-03-03 Andreas Schwab <schwab@redhat.com>
37415 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37417 2011-03-03 Roland McGrath <roland@redhat.com>
37419 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37421 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
37423 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37424 __bzero_ultra1 instead of __memset_ultra1.
37426 2011-02-23 Andreas Schwab <schwab@redhat.com>
37427 Ulrich Drepper <drepper@gmail.com>
37430 * include/link.h (struct link_map): Add l_orig_initfini.
37431 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37432 returning unsuccessfully.
37433 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37434 close of a file loaded at startup, restore the original l_initfini
37436 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37437 list, store the pointer.
37438 * elf/Makefile ($(objpfx)noload-mem): New rule.
37439 (noload-ENV): Define.
37440 (tests): Add $(objpfx)noload-mem.
37441 * elf/noload.c: Include <memcheck.h>.
37442 (main): Call mtrace. Close all opened handles.
37444 2011-02-17 Andreas Schwab <schwab@redhat.com>
37447 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37448 dependencies are missing.
37450 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
37452 Fix __if_freereq crash: Unlike the generic version which uses free,
37454 * sysdeps/mach/hurd/ifreq.h: New file.
37456 2011-01-27 Petr Baudis <pasky@suse.cz>
37457 Ulrich Drepper <drepper@gmail.com>
37460 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37461 to extend_alloca().
37462 * stdio-common/bug23.c: New file.
37463 * stdio-common/Makefile (tests): Add bug23.
37465 2010-09-28 Andreas Schwab <schwab@redhat.com>
37466 Ulrich Drepper <drepper@gmail.com>
37469 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37470 before performing relro protection. At old place add assertion
37471 to make sure nothing changed.
37473 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
37474 Glauber de Oliveira Costa <glommer@gmail.com>
37476 * elf/elf.h: Add new ARM TLS relocs.
37478 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
37480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37481 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37483 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
37485 * sysdeps/wordsize-64/tst-writev.c: New file.
37487 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
37489 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37490 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37491 insns in _dl_start to prevent a TOC reference before relocs are
37494 2011-02-15 Ulrich Drepper <drepper@gmail.com>
37497 * Makeconfig: Remove RANLIB definition.
37498 * Makerules: Don't use RANLIB.
37499 * aclocal.m4: Remove ranlib test.
37500 * configure.in: No need to check for ranlib.
37501 * elf/rtld-Rules: Don't use RANLIB.
37503 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
37505 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37507 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37508 inclusion protection macro.
37510 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37511 SIGRTMIN and SIGRTMAX and print information in that case only when
37512 SIGRTMIN is defined.
37514 2011-02-11 Jakub Jelinek <jakub@redhat.com>
37516 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37517 arginfo fn returning -1.
37519 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37520 and thousands string is zero terminated.
37522 2011-02-03 Andreas Schwab <schwab@redhat.com>
37524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37525 sysdeps/unix/sysv/linux/bits/socket.h.
37527 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
37529 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37530 (__CPU_COUNT): Remove old macros.
37531 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37532 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37533 (__CPU_ALLOC, __CPU_FREE): Add macros.
37534 (__sched_cpualloc, __sched_cpufree): Add declarations.
37536 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37538 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37539 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37540 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37541 (readdhstai): Return value of addhstaiX call.
37542 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37543 (addgrbyX): Return value returned by cache_addgr.
37544 (readdgrbyname): Return value returned by addgrbyX.
37545 (readdgrbygid): Likewise.
37546 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37547 (addpwbyX): Return value returned by cache_addpw.
37548 (readdpwbyname): Return value returned by addhstbyX.
37549 (readdpwbyuid): Likewise.
37550 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37551 (addservbyX): Return value returned by cache_addserv.
37552 (readdservbyname): Return value returned by addservbyX:
37553 (readdservbyport): Likewise.
37554 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37555 (addhstbyX): Return value returned by cache_addhst.
37556 (readdhstbyname): Return value returned by addhstbyX.
37557 (readdhstbyaddr): Likewise.
37558 (readdhstbynamev6): Likewise.
37559 (readdhstbyaddrv6): Likewise.
37560 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37561 (readdinitgroups): Return value returned by addinitgroupsX.
37562 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37563 (prune_cache): Keep track of timeout value of re-added entries.
37564 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37565 * nscd/nscd.h: Adjust prototypes of readd* functions.
37567 2011-02-04 Roland McGrath <roland@redhat.com>
37569 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37570 (nis_stats): Likewise.
37571 * nis/nis_modify.c (nis_modify): Likewise.
37572 * nis/nis_remove.c (nis_remove): Likewise.
37573 * nis/nis_add.c (nis_add): Likewise.
37575 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37577 * posix/fnmatch_loop.c: Add some consts.
37579 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37581 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37584 * config.make.in (config-cflags-novzeroupper): Define.
37585 * configure.in: Substitute libc_cv_cc_novzeroupper.
37586 * elf/Makefile (AVX-CFLAGS): Define.
37587 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37588 (CFLAGS-tst-auditmod4a.c): Likewise.
37589 (CFLAGS-tst-auditmod4b.c): Likewise.
37590 (CFLAGS-tst-auditmod6b.c): Likewise.
37591 (CFLAGS-tst-auditmod6c.c): Likewise.
37592 (CFLAGS-tst-auditmod7b.c): Likewise.
37593 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37595 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37597 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37598 function to the callback.
37599 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37601 2011-02-02 Andreas Schwab <schwab@redhat.com>
37603 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37606 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37609 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37611 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37613 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37616 * elf/Makefile: Add rules to build and run new test.
37617 * elf/tst-initorder.c: New file.
37618 * elf/tst-initorder.exp: New file.
37619 * elf/tst-initordera1.c: New file.
37620 * elf/tst-initordera2.c: New file.
37621 * elf/tst-initordera3.c: New file.
37622 * elf/tst-initordera4.c: New file.
37623 * elf/tst-initorderb1.c: New file.
37624 * elf/tst-initorderb2.c: New file.
37625 * elf/tst-order-a1.c: New file.
37626 * elf/tst-order-a2.c: New file.
37627 * elf/tst-order-a3.c: New file.
37628 * elf/tst-order-a4.c: New file.
37629 * elf/tst-order-b1.c: New file.
37630 * elf/tst-order-b2.c: New file.
37631 * elf/tst-order-main.c: New file.
37632 New test case by George Gensure <werkt0@gmail.com>.
37634 2010-10-01 Andreas Schwab <schwab@redhat.com>
37636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37637 decoding ACE if AI_CANONIDN.
37639 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37641 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37643 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37645 * version.h (RELEASE): Bump for 2.13 release.
37646 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37648 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37652 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37659 * posix/getconf.c: Update copyright year.
37660 * catgets/gencat.c: Likewise.
37661 * csu/version.c: Likewise.
37662 * debug/catchsegv.sh: Likewise.
37663 * debug/xtrace.sh: Likewise.
37664 * elf/ldconfig.c: Likewise.
37665 * elf/ldd.bash.in: Likewise.
37666 * elf/sprof.c (print_version): Likewise.
37667 * iconv/iconv_prog.c: Likewise.
37668 * iconv/iconvconfig.c: Likewise.
37669 * locale/programs/locale.c: Likewise.
37670 * locale/programs/localedef.c: Likewise.
37671 * malloc/memusage.sh: Likewise.
37672 * malloc/mtrace.pl: Likewise.
37673 * nscd/nscd.c (print_version): Likewise.
37674 * nss/getent.c: Likewise.
37676 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37677 PF_CAIF, and PF_ALG.
37678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37680 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37682 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37683 (modules-names): Use them.
37684 (ifunc-test-modules, ifunc-pie-tests): Define.
37685 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37686 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37687 (test-extras): Likewise.
37688 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37689 $(compile-command.c).
37690 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37691 (all-built-dso): Define.
37692 (check-textrel.out, check-execstack.out): Depend on it.
37694 * configure.in: Don't override --enable-multi-arch.
37696 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37699 * nscd/hstcache.c (tryagain): Define.
37700 (cache_addhst): Return tryagain not notfound for temporary errors.
37701 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37704 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37707 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37708 to make the syscall.
37709 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37712 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37713 and fall back to matching as normal character if the string ends before
37714 the matching ']' is found. This is what POSIX requires.
37715 * posix/testfnm.c: Adjust test result.
37716 * posix/globtest.sh: Adjust test result. Add new test.
37717 * posix/tst-fnmatch.input: Likewise.
37718 * posix/tst-fnmatch2.c: Add new test.
37720 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37722 * elf/Makefile (check-execstack): Revert last change. Depend on
37724 (check-execstack.h): New target.
37725 (generated): Add check-execstack.h.
37726 * elf/check-execstack.c: Include "check-execstack.h".
37727 (main): Revert last change.
37728 (handle_file): Return zero if GNU_STACK is absent and
37729 DEFAULT_STACK_PERMS doesn't include PF_X.
37731 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37733 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37734 in child fails because the descriptor is already closed.
37735 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37736 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37737 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37740 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37744 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37745 temporary buffer used to handle multi lookups locally.
37746 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37748 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37750 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37753 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37755 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37756 alignment for SSE2.
37758 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37761 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37762 characters. When rounding increased number of integer digits recompute
37764 * stdio-common/tst-grouping.c: New file.
37765 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37767 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37769 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37770 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37772 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37774 * bits/select.h: Likewise.
37776 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37778 * po/ja.po: Update from translation team.
37780 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37783 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37784 implementation just like for lxstat, fxstatat, et al.
37786 2010-12-27 Jim Meyering <meyering@redhat.com>
37789 * posix/regexec.c (build_trtable): Return failure indication upon
37790 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37792 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37795 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37796 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37798 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37801 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37804 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37805 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37807 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37809 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37810 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37811 script has SORT_BY_INIT_PRIORITY.
37812 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37813 NO_CTORS_DTORS_SECTIONS is defined.
37814 * elf/soinit.c: Likewise.
37815 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37816 NO_CTORS_DTORS_SECTIONS is defined.
37817 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37818 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37819 * sysdeps/sh/init-first.c: Likewise.
37820 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37822 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37824 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37825 always use the slow path.
37827 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37829 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37830 similar rule which adds the sysdep directories to the header search in
37831 order to pick up the correct platform stackinfo.h.
37832 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37833 perform test if it is, otherwise return successfully without testing.
37834 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37835 DEFAULT_STACK_PERMS define in stackinfo.h.
37836 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37837 defined in stackinfo.h.
37838 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37839 DEFAULT_STACK_PERMS defined in stackinfo.h.
37840 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37841 * sysdeps/ia64/stackinfo.h: Likewise.
37842 * sysdeps/s390/stackinfo.h: Likewise.
37843 * sysdeps/sh/stackinfo.h: Likewise.
37844 * sysdeps/sparc/stackinfo.h: Likewise.
37845 * sysdeps/x86_64/stackinfo.h: Likewise.
37846 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37847 PF_X for powerpc64. Retain PF_X for powerpc32.
37849 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37851 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37853 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37854 GETDENTS_64BIT_ALIGNED.
37856 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37858 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37860 2010-12-10 Andreas Schwab <schwab@redhat.com>
37862 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37865 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37866 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37868 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37869 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37871 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37874 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37877 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37879 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37881 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37883 * po/it.po: Update from translation team.
37885 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37890 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37892 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37894 2010-11-24 Andreas Schwab <schwab@redhat.com>
37896 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37898 (gaih_getanswer_slice): Likewise.
37900 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37904 2010-05-31 Petr Baudis <pasky@suse.cz>
37907 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37908 silently even in the chroot mode.
37910 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37912 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37913 last patch a bit. Pretty printing
37915 2010-05-31 Petr Baudis <pasky@suse.cz>
37918 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37919 initialization of skip_initgroups_dyn.
37921 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37923 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37926 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37928 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37930 2010-11-11 Andreas Schwab <schwab@redhat.com>
37932 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37933 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37934 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37935 ($(objpfx)tst-fnmatch-mem): New rule.
37936 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37937 * posix/tst-fnmatch.c (main): Call mtrace.
37939 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37942 Support Intel processor model 6 and model 0x2c.
37944 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37949 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37952 * string/test-strncasecmp.c (check_result): New function.
37953 (do_one_test): Use it.
37954 (check1): New function.
37955 (test_main): Use it.
37956 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37957 Support strcasecmp and strncasecmp.
37959 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37962 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37965 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37967 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37971 * sysdeps/x86_64/multiarch/bzero.S: New file.
37972 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37973 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37974 * sysdeps/x86_64/multiarch/memset.S: New file.
37975 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37977 Set bit_Prefer_SSE_for_memop for Intel processors.
37978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37980 (index_Prefer_SSE_for_memop): Define.
37981 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37983 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37985 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37988 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37991 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37992 (__x86_64_raw_data_cache_size_half): Likewise.
37993 (__x86_64_raw_shared_cache_size): Likewise.
37994 (__x86_64_raw_shared_cache_size_half): Likewise.
37996 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37997 (__x86_64_raw_data_cache_size_half): Likewise.
37998 (__x86_64_raw_shared_cache_size): Likewise.
37999 (__x86_64_raw_shared_cache_size_half): Likewise.
38000 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
38001 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
38002 and __x86_64_raw_shared_cache_size_half. Round
38003 __x86_64_data_cache_size_half, __x86_64_data_cache_size
38004 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
38005 to multiple of 256 bytes.
38007 2010-11-03 Ulrich Drepper <drepper@gmail.com>
38010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
38011 of inacessible symlinks. Verify result of symlink before returning it.
38012 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38013 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38015 2010-10-28 Erich Ritz <erichritz@gmail.com>
38017 * math/math.h (isinf): Fix typo in comment.
38019 2010-11-01 Ulrich Drepper <drepper@gmail.com>
38021 * po/da.po: Update from translation team.
38023 2010-10-26 Ulrich Drepper <drepper@gmail.com>
38025 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38026 is added to the list.
38028 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38029 Ulrich Drepper <drepper@gmail.com>
38031 * elf/dl-object.c (_dl_new_object): Don't append the new object to
38032 the global list here. Move code to...
38033 (_dl_add_to_namespace_list): ...here. New function.
38034 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38035 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38036 * elf/dl-load.c (lose): Don't remove the element from the list.
38037 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38038 (_dl_map_object): Likewise.
38040 2010-10-25 Ulrich Drepper <drepper@gmail.com>
38043 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38044 into all bytes of SSE register.
38045 Patch by Richard Li <richardpku@gmail.com>.
38047 2010-10-24 Ulrich Drepper <drepper@gmail.com>
38050 * malloc/malloc.c (_int_free): Fill correct number of bytes when
38053 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
38055 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38056 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38057 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38063 2010-10-22 Andreas Schwab <schwab@redhat.com>
38065 * include/dlfcn.h (__RTLD_SECURE): Define.
38066 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
38067 mode & __RTLD_SECURE instead.
38068 (open_path): Rename preloaded parameter to secure.
38069 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38070 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38071 * elf/dl-deps.c (openaux): Likewise.
38072 * elf/rtld.c (struct map_args): Remove is_preloaded.
38073 (map_doit): Don't use it.
38074 (dl_main): Likewise.
38075 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38076 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38078 2010-09-09 Andreas Schwab <schwab@redhat.com>
38080 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38081 (sysd-rules-targets): Remove duplicates.
38082 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38083 rtld-%.$o dependency.
38085 2010-10-18 Andreas Schwab <schwab@redhat.com>
38087 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38088 _dl_map_object do it.
38090 2010-10-19 Ulrich Drepper <drepper@gmail.com>
38092 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38093 fast fma builtins, define the macros in the C99 standard.
38094 (FP_FAST_FMAF): Likewise.
38095 (FP_FAST_FMAL): Likewise.
38096 * sysdeps/x86_64/bits/mathdef.h: Likewise.
38098 * bits/mathdef.h: Update copyright year.
38099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38101 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
38103 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38104 builtins, define the macros in the C99 standard.
38105 (FP_FAST_FMAF): Likewise.
38106 (FP_FAST_FMAL): Likewise.
38107 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38109 (FP_FAST_FMAF): Likewise.
38111 2010-10-15 Jakub Jelinek <jakub@redhat.com>
38114 * math/libm-test.inc (fma_test): Some new testcases.
38115 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38117 y and infinite z. Do multiplication by C already in long double.
38118 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38120 y and infinite z. Do bitwise or of inexact bit into u.d.
38121 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38122 * sysdeps/i386/fpu/s_fmaf.S: Removed.
38123 * sysdeps/i386/fpu/s_fma.S: Removed.
38124 * sysdeps/i386/fpu/s_fmal.S: Removed.
38126 2010-10-16 Jakub Jelinek <jakub@redhat.com>
38129 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38131 computation is not scheduled after fetestexcept. Fix value
38132 of minimum denormal long double.
38134 2010-10-14 Jakub Jelinek <jakub@redhat.com>
38137 * math/libm-test.inc (fma_test): Add some more tests.
38138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38141 2010-10-15 Andreas Schwab <schwab@redhat.com>
38143 * scripts/data/localplt-s390-linux-gnu.data: New file.
38144 * scripts/data/localplt-s390x-linux-gnu.data: New file.
38146 2010-10-13 Jakub Jelinek <jakub@redhat.com>
38149 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38150 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38152 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38154 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38156 if one of x and y is very large and the other is subnormal.
38157 * sysdeps/s390/fpu/s_fmaf.c: New file.
38158 * sysdeps/s390/fpu/s_fma.c: New file.
38159 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38160 * sysdeps/powerpc/fpu/s_fma.S: New file.
38161 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38162 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38163 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38165 2010-10-12 Jakub Jelinek <jakub@redhat.com>
38168 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38170 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38171 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38172 * sysdeps/i386/i686/multiarch/s_fma.c: Include
38173 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38174 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38175 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38178 2010-10-12 Ulrich Drepper <drepper@redhat.com>
38181 * posix/regcomp.c (parse_branch): One more memory leak plugged.
38182 * posix/bug-regex31.input: Add test case.
38184 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38186 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38187 * posix/bug-regex31.input: New file.
38190 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38191 (parse_sub_exp): Fix last change, use postorder.
38193 * posix/bug-regex31.c: New file.
38194 * posix/Makefile: Add rules to build and run bug-regex31.
38196 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38199 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38202 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38203 to have entries in sys_siglist.
38206 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38209 2010-10-07 Jakub Jelinek <jakub@redhat.com>
38212 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38213 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38214 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38215 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38216 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38217 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38218 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38219 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38220 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38221 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38222 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38223 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38224 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38225 * math/ftestexcept.c (fetestexcept): Likewise.
38226 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38227 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38228 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38230 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38231 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38234 2010-10-11 Ulrich Drepper <drepper@gmail.com>
38237 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38240 2010-10-06 Ulrich Drepper <drepper@gmail.com>
38242 * string/bug-strstr1.c: New file.
38243 * string/Makefile: Add rules to build and run bug-strstr1.
38245 2010-10-05 Eric Blake <eblake@redhat.com>
38248 * string/str-two-way.h (two_way_long_needle): Always clear memory
38249 when skipping input due to the shift table.
38251 2010-10-03 Ulrich Drepper <drepper@gmail.com>
38254 * malloc/mcheck.c: Handle large requests.
38257 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38258 for strncmp and strncasecmp.
38259 * string/stratcliff.c: Add tests for strcmp and strncmp.
38260 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38262 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38264 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38267 2010-09-30 Andreas Jaeger <aj@suse.de>
38269 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38270 (CGROUP_SUPER_MAGIC): Define.
38271 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38272 Handle btrfs and cgroup file systems.
38273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38276 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
38278 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38279 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38281 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38284 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38285 trying to locate the ELF header.
38287 2010-09-27 Andreas Schwab <schwab@redhat.com>
38290 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38291 Mask out sign-bit copies when constructing f_fsid.
38293 2010-09-24 Petr Baudis <pasky@suse.cz>
38295 * debug/stack_chk_fail_local.c: Add missing licence exception.
38296 * debug/warning-nop.c: Likewise.
38298 2010-09-15 Joseph Myers <joseph@codesourcery.com>
38300 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38301 implementing getdents64 using getdents syscall, set d_type if
38302 __ASSUME_GETDENTS32_D_TYPE.
38304 2010-09-16 Andreas Schwab <schwab@redhat.com>
38306 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38307 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38309 2010-09-21 Ulrich Drepper <drepper@redhat.com>
38312 * posix/unistd.h: Undo change of feature selection for ftruncate from
38315 2010-09-20 Ulrich Drepper <drepper@redhat.com>
38317 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38320 2010-09-20 Andreas Schwab <schwab@redhat.com>
38322 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38324 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38326 2010-09-14 Andreas Schwab <schwab@redhat.com>
38328 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38329 variables after CHECK_SP call.
38330 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38332 2010-09-13 Andreas Schwab <schwab@redhat.com>
38333 Ulrich Drepper <drepper@redhat.com>
38335 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38336 re-relocationg ld.so.
38337 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38338 _dl_init_paths call.
38339 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
38342 2010-09-14 Ulrich Drepper <drepper@redhat.com>
38344 * resolv/res_init.c (__res_vinit): Count the default server we added.
38346 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
38347 Ulrich Drepper <drepper@redhat.com>
38350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38351 (____longjmp_chk): Use %ebx for saving value across system call.
38354 2010-09-06 Andreas Schwab <schwab@redhat.com>
38356 * manual/Makefile: Don't mix pattern rules with normal rules.
38358 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
38360 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38362 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38363 * libio/iofopncook.c (_IO_cookie_init): Likewise.
38364 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38365 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38369 2010-09-04 Ulrich Drepper <drepper@redhat.com>
38372 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38373 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38375 2010-09-02 Ulrich Drepper <drepper@redhat.com>
38377 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38378 * sysdeps/x86_64/addmul_1.S: Likewise.
38379 * sysdeps/x86_64/lshift.S: Likewise.
38380 * sysdeps/x86_64/mul_1.S: Likewise.
38381 * sysdeps/x86_64/rshift.S: Likewise.
38382 * sysdeps/x86_64/sub_n.S: Likewise.
38383 * sysdeps/x86_64/submul_1.S: Likewise.
38385 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
38387 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38388 Define __sched_param instead of SCHED_* and sched_param when
38389 <bits/sched.h> is included with __need_schedparam defined.
38390 * bits/sched.h [__need_schedparam]
38391 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38392 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38393 (__defined_schedparam): Define to 1.
38394 (__sched_param): New structure, identical to sched_param.
38395 (__need_schedparam): Undefine.
38397 2010-08-31 Mike Frysinger <vapier@gentoo.org>
38399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38400 (epoll_create1): Declare.
38402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38404 2010-08-31 Andreas Schwab <schwab@redhat.com>
38407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38408 shifting retval into place.
38410 2010-09-01 Ulrich Drepper <drepper@redhat.com>
38412 * nis/rpcsvc/nis.h: Update copyright notice.
38413 * nis/rpcsvc/nis.x: Likewise.
38414 * nis/rpcsvc/nis_callback.h: Likewise.
38415 * nis/rpcsvc/nis_callback.x: Likewise.
38416 * nis/rpcsvc/nis_object.x: Likewise.
38417 * nis/rpcsvc/nis_tags.h: Likewise.
38418 * nis/rpcsvc/yp.h: Likewise.
38419 * nis/rpcsvc/yp.x: Likewise.
38420 * nis/rpcsvc/ypupd.h: Likewise.
38421 * nis/yp_xdr.c: Likewise.
38422 * nis/ypupdate_xdr.c: Likewise.
38424 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
38425 mainly the body of pmap_getport. Add parameters to specify timeouts.
38426 (pmap_getport): Use __libc_rpc_getport.
38427 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38428 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38429 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38431 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
38433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38436 2010-08-27 Roland McGrath <roland@redhat.com>
38438 * sysdeps/i386/i686/multiarch/Makefile
38439 (CFLAGS-varshift.c): New variable.
38441 2010-08-27 Ulrich Drepper <drepper@redhat.com>
38443 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38444 * sysdeps/i386/i686/multiarch/varshift.c: New file.
38446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38448 * sysdeps/x86_64/strlen.S: Minimal code improvement.
38450 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
38452 * sysdeps/x86_64/strlen.S: Unroll the loop.
38453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38454 strlen-sse2 strlen-sse2-bsf.
38455 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38456 __strlen_no_bsf if bit_Slow_BSF is set.
38457 (__strlen_sse42): Removed.
38458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38459 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38461 2010-08-25 Roland McGrath <roland@redhat.com>
38463 * sysdeps/x86_64/multiarch/varshift.S: File removed.
38464 * sysdeps/x86_64/multiarch/varshift.c: New file.
38465 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38466 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38467 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38468 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38470 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
38472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38473 strlen-sse2 strlen-sse2-bsf.
38474 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38475 __strlen_sse2_bsf if bit_Slow_BSF is unset.
38476 (__strlen_sse2): Removed.
38477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38480 bit_Slow_BSF for Atom.
38481 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38482 (index_Slow_BSF): Define.
38483 (HAS_SLOW_BSF): Define.
38485 2010-08-25 Ulrich Drepper <drepper@redhat.com>
38488 * resolv/res_init.c (__res_vinit): When no server address at all
38489 is given default to loopback.
38491 2010-08-24 Roland McGrath <roland@redhat.com>
38493 * configure.in: Remove config-name.h generation.
38494 * configure: Regenerated.
38495 * config-name.in: File removed.
38496 * scripts/config-uname.sh: New file.
38497 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38498 ($(objdir)config-name.h): New target.
38500 * sunrpc/rpc_parse.h: Avoid nested comment.
38502 2010-08-24 Richard Henderson <rth@redhat.com>
38503 Ulrich Drepper <drepper@redhat.com>
38504 H.J. Lu <hongjiu.lu@intel.com>
38506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38508 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38509 Replace _mm_srli_si128 with __m128i_shift_right. Replace
38510 _mm_alignr_epi8 with _mm_loadu_si128.
38511 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38512 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38513 (__m128i_shift_right): Removed.
38514 * sysdeps/i386/i686/multiarch/varshift.h: New file.
38515 * sysdeps/i386/i686/multiarch/varshift.S: New file.
38516 * sysdeps/x86_64/multiarch/varshift.h: New file.
38517 * sysdeps/x86_64/multiarch/varshift.S: New file.
38519 2010-08-21 Mike Frysinger <vapier@gentoo.org>
38521 * configure.in: Move assembler checks to before sysdep dir checking.
38523 2010-08-20 Petr Baudis <pasky@suse.cz>
38525 * LICENSES: Sync the sunrpc license.
38527 2010-08-19 Ulrich Drepper <drepper@redhat.com>
38529 * sunrpc/auth_des.c: Update copyright notice once again.
38530 * sunrpc/auth_none.c: Likewise.
38531 * sunrpc/auth_unix.c: Likewise.
38532 * sunrpc/authdes_prot.c: Likewise.
38533 * sunrpc/authuxprot.c: Likewise.
38534 * sunrpc/bindrsvprt.c: Likewise.
38535 * sunrpc/clnt_gen.c: Likewise.
38536 * sunrpc/clnt_perr.c: Likewise.
38537 * sunrpc/clnt_raw.c: Likewise.
38538 * sunrpc/clnt_simp.c: Likewise.
38539 * sunrpc/clnt_tcp.c: Likewise.
38540 * sunrpc/clnt_udp.c: Likewise.
38541 * sunrpc/clnt_unix.c: Likewise.
38542 * sunrpc/des_crypt.c: Likewise.
38543 * sunrpc/des_soft.c: Likewise.
38544 * sunrpc/get_myaddr.c: Likewise.
38545 * sunrpc/getrpcport.c: Likewise.
38546 * sunrpc/key_call.c: Likewise.
38547 * sunrpc/key_prot.c: Likewise.
38548 * sunrpc/openchild.c: Likewise.
38549 * sunrpc/pm_getmaps.c: Likewise.
38550 * sunrpc/pm_getport.c: Likewise.
38551 * sunrpc/pmap_clnt.c: Likewise.
38552 * sunrpc/pmap_prot.c: Likewise.
38553 * sunrpc/pmap_prot2.c: Likewise.
38554 * sunrpc/pmap_rmt.c: Likewise.
38555 * sunrpc/rpc/auth.h: Likewise.
38556 * sunrpc/rpc/auth_unix.h: Likewise.
38557 * sunrpc/rpc/clnt.h: Likewise.
38558 * sunrpc/rpc/des_crypt.h: Likewise.
38559 * sunrpc/rpc/key_prot.h: Likewise.
38560 * sunrpc/rpc/netdb.h: Likewise.
38561 * sunrpc/rpc/pmap_clnt.h: Likewise.
38562 * sunrpc/rpc/pmap_prot.h: Likewise.
38563 * sunrpc/rpc/pmap_rmt.h: Likewise.
38564 * sunrpc/rpc/rpc.h: Likewise.
38565 * sunrpc/rpc/rpc_des.h: Likewise.
38566 * sunrpc/rpc/rpc_msg.h: Likewise.
38567 * sunrpc/rpc/svc.h: Likewise.
38568 * sunrpc/rpc/svc_auth.h: Likewise.
38569 * sunrpc/rpc/types.h: Likewise.
38570 * sunrpc/rpc/xdr.h: Likewise.
38571 * sunrpc/rpc_clntout.c: Likewise.
38572 * sunrpc/rpc_cmsg.c: Likewise.
38573 * sunrpc/rpc_common.c: Likewise.
38574 * sunrpc/rpc_cout.c: Likewise.
38575 * sunrpc/rpc_dtable.c: Likewise.
38576 * sunrpc/rpc_hout.c: Likewise.
38577 * sunrpc/rpc_main.c: Likewise.
38578 * sunrpc/rpc_parse.c: Likewise.
38579 * sunrpc/rpc_parse.h: Likewise.
38580 * sunrpc/rpc_prot.c: Likewise.
38581 * sunrpc/rpc_sample.c: Likewise.
38582 * sunrpc/rpc_scan.c: Likewise.
38583 * sunrpc/rpc_scan.h: Likewise.
38584 * sunrpc/rpc_svcout.c: Likewise.
38585 * sunrpc/rpc_tblout.c: Likewise.
38586 * sunrpc/rpc_util.c: Likewise.
38587 * sunrpc/rpc_util.h: Likewise.
38588 * sunrpc/rpcinfo.c: Likewise.
38589 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38590 * sunrpc/rpcsvc/key_prot.x: Likewise.
38591 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38592 * sunrpc/rpcsvc/mount.x: Likewise.
38593 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38594 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38595 * sunrpc/rpcsvc/rex.x: Likewise.
38596 * sunrpc/rpcsvc/rstat.x: Likewise.
38597 * sunrpc/rpcsvc/rusers.x: Likewise.
38598 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38599 * sunrpc/rpcsvc/spray.x: Likewise.
38600 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38601 * sunrpc/rtime.c: Likewise.
38602 * sunrpc/svc.c: Likewise.
38603 * sunrpc/svc_auth.c: Likewise.
38604 * sunrpc/svc_authux.c: Likewise.
38605 * sunrpc/svc_raw.c: Likewise.
38606 * sunrpc/svc_run.c: Likewise.
38607 * sunrpc/svc_simple.c: Likewise.
38608 * sunrpc/svc_tcp.c: Likewise.
38609 * sunrpc/svc_udp.c: Likewise.
38610 * sunrpc/svc_unix.c: Likewise.
38611 * sunrpc/svcauth_des.c: Likewise.
38612 * sunrpc/xcrypt.c: Likewise.
38613 * sunrpc/xdr.c: Likewise.
38614 * sunrpc/xdr_array.c: Likewise.
38615 * sunrpc/xdr_float.c: Likewise.
38616 * sunrpc/xdr_mem.c: Likewise.
38617 * sunrpc/xdr_rec.c: Likewise.
38618 * sunrpc/xdr_ref.c: Likewise.
38619 * sunrpc/xdr_sizeof.c: Likewise.
38620 * sunrpc/xdr_stdio.c: Likewise.
38622 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38625 2010-08-19 Andreas Schwab <schwab@redhat.com>
38627 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38629 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38631 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38632 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38633 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38634 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38635 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38636 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38637 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38638 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38640 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38641 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38642 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38643 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38644 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38646 2010-07-26 Anton Blanchard <anton@samba.org>
38648 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38649 * malloc/arena.c (heap_trim): Likewise.
38651 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38653 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38656 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38658 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38660 * sysdeps/i386/elf/Makefile: New file.
38662 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38664 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38665 from fanotify_init.
38666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38669 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38671 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38673 * sysdeps/multiarch/strcmp.S: Likewise.
38675 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38678 strncase_l-nonascii.
38679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38680 Add strncase_l-ssse3.
38681 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38682 * sysdeps/x86_64/strcmp.S: Likewise.
38683 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38684 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38685 * sysdeps/x86_64/strncase.S: New file.
38686 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38687 * sysdeps/x86_64/strncase_l.S: New file.
38688 * string/Makefile (strop-tests): Add strncasecmp.
38689 * string/test-strncasecmp.c: New file.
38691 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38694 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38695 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38697 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38699 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38701 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38703 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38707 2010-05-01 Alan Modra <amodra@gmail.com>
38709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38710 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38711 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38712 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38713 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38714 tidying. Don't tail-call __sigjmp_save for static lib.
38715 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38717 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38718 (CALL_MCOUNT): Add eh info, and nop after bl.
38719 (TAIL_CALL_SYSCALL_ERROR): New macro.
38720 (PSEUDO_RET): Use it.
38721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38722 Correct save location of integer regs and cr.
38723 (_dl_profile_resolve): Correct cr save location. Delete nops
38724 after bl when SHARED. Reduce cfi size a little by better
38725 placement of cfi directives.
38726 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38727 make a stack frame. Instead use parm save area as a temp.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38729 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38731 Don't make a stack frame for parent, use parm save area.
38732 Increase child stack frame to 112 bytes. Don't save unused reg,
38733 and adjust reg usage. Set up cfi on error recovery and
38734 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38736 (__makecontext): Add dummy nop after jump to exit.
38737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38738 Use correct parm save area and cr save, reduce stack frame.
38739 Correct cfi for possible PSEUDO_RET frame setup.
38740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38741 Branch to local label emitted by PSEUDO_RET rather than
38744 2010-08-12 Andreas Schwab <schwab@redhat.com>
38747 * locale/programs/locale.c (print_assignment): New function.
38748 (show_locale_vars): Use it.
38750 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38752 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38754 (struct statfs64): Likewise.
38755 (_STATFS_F_FLAGS): Define.
38756 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38758 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38759 (ST_VALID): Define locally.
38760 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38761 __statvfs_getflags, use the provided value.
38762 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38763 __ASSUME_STATFS_F_FLAGS.
38765 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38767 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38768 Add sys/fanotify.h.
38769 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38770 fanotify_mask for GLIBC_2.13.
38771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38772 fanotify_init and fanotify_mark.
38773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38774 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38778 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38779 prlimit64 for GLIBC_2.13.
38780 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38786 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38787 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38790 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38793 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38794 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38796 * nss/Makefile: Add rules to build and run tst-nss-test1.
38797 * shlib-versions: Add entry for libnss_test1.
38798 * nss/nss_test1.c: New file.
38799 * nss/tst-nss-test1.c: New file.
38801 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38802 (__nss_configure_lookup): Set appropriate entry in
38803 __nss_configure_lookup to true.
38804 * nss/nsswitch.h: Define enum with indeces of databases in
38805 databases and __nss_database_custom arrays. Declare
38806 __nss_database_custom.
38807 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38808 to avoid using nscd when custom rules are installed.
38809 * nss/getXXbyYY_r.c: Likewise.
38810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38812 * nss/nss_files/files-parse.c: Whitespace fixes.
38814 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38817 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38818 * posix/fnmatch_loop.c: Likewise.
38820 2010-07-17 Andi Kleen <ak@linux.intel.com>
38822 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38823 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38824 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38825 * Versions.def [GLIBC_2.13]: Add.
38827 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38830 Also fail if tpwd after pwuid call is NULL.
38832 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38834 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38835 when converting to ms.
38837 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38839 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38840 EOPNOTSUPP errors with ENOTTY.
38841 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38842 EOPNOTSUPP errors with ENOTTY.
38844 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38846 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38847 Add strcasecmp_l-ssse3.
38848 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38850 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38851 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38852 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38854 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38856 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38858 * string/Makefile (strop-tests): Add strcasecmp.
38859 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38860 strcasecmp_l-nonascii.
38861 (gen-as-const-headers): Add locale-defines.sym.
38862 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38863 * sysdeps/x86_64/strcasecmp.S: New file.
38864 * sysdeps/x86_64/strcasecmp_l.S: New file.
38865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38866 * sysdeps/x86_64/locale-defines.sym: New file.
38867 * string/test-strcasecmp.c: New file.
38869 * string/test-strcasestr.c: Test both ends of the range of characters.
38870 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38872 2010-07-29 Roland McGrath <roland@redhat.com>
38875 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38877 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38879 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38882 2010-07-27 Andreas Schwab <schwab@redhat.com>
38884 * manual/memory.texi (Malloc Tunable Parameters): Document
38887 2010-07-26 Roland McGrath <roland@redhat.com>
38890 * configure.in (-fgnu89-inline check): Set and substitute
38891 gnu89_inline, not libc_cv_gnu89_inline.
38892 * configure: Regenerated.
38893 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38895 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38897 * string/test-strnlen.c: New file.
38898 * string/Makefile (strop-tests): Add strnlen.
38899 * string/tester.c (test_strnlen): Add a few more test cases.
38900 * string/tst-strlen.c: Better error reporting.
38902 * sysdeps/x86_64/strnlen.S: New file.
38904 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38907 lower-latency instructions.
38909 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38911 * string/test-strcasestr.c: New file.
38912 * string/test-strstr.c: New file.
38913 * string/Makefile (strop-tests): Add strstr and strcasestr.
38914 * string/str-two-way.h: Don't undefine MAX.
38915 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38917 2010-07-21 Andreas Schwab <schwab@redhat.com>
38919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38920 strcasestr-nonascii.
38921 (CFLAGS-strcasestr-nonascii.c): Define.
38922 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38924 Remove unused attribute.
38926 2010-07-20 Roland McGrath <roland@redhat.com>
38928 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38929 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38930 ld.so.cache was broken. With it, there is no way to disable dsocaps
38931 like LD_HWCAP_MASK can disable hwcaps.
38933 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38935 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38937 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38939 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38940 call in strcasestr.
38941 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38942 __strcasestr_sse42_nonascii.
38943 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38944 strcasestr-nonascii.c.
38945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38947 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38954 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38959 2010-07-06 Andreas Schwab <schwab@redhat.com>
38962 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38965 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38967 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38968 _PC_PIPE_BUF using F_GETPIPE_SZ.
38970 2010-07-05 Roland McGrath <roland@redhat.com>
38972 * manual/arith.texi (Rounding Functions): Fix rint description
38973 implicit in round description.
38975 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38977 * elf/Makefile: Fix linking for a few tests to make recent linker
38980 2010-06-30 Andreas Schwab <schwab@redhat.com>
38982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38983 $(common-objpfx)libc_nonshared.a.
38985 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38987 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38988 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38989 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38990 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38991 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38992 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38993 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38994 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
39000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
39001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
39003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
39004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
39005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
39006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
39007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
39008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
39009 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
39010 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
39011 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39012 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39013 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39014 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39015 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39016 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39017 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39018 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39019 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39020 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39036 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
39038 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39039 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
39040 * string/memmove.c (memmove): Renamed to ...
39041 (MEMMOVE): ...this. Default to memmove.
39042 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39043 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39046 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39047 mempcpy-ssse3-back memmove-ssse3-back.
39048 * sysdeps/x86_64/multiarch/bcopy.S: New file .
39049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39051 * sysdeps/x86_64/multiarch/memcpy.S: New file.
39052 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39053 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39054 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39055 * sysdeps/x86_64/multiarch/memmove.c: New file.
39056 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39057 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39058 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39059 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39060 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39063 (index_Fast_Copy_Backward): Define.
39064 (HAS_ARCH_FEATURE): Define.
39065 (HAS_FAST_REP_STRING): Define.
39066 (HAS_FAST_COPY_BACKWARD): Define.
39068 2010-06-21 Andreas Schwab <schwab@redhat.com>
39070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39071 Restore proper fallback handling.
39073 2010-06-19 Ulrich Drepper <drepper@redhat.com>
39076 * posix/group_member.c (__group_member): Correct checking loop.
39078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39079 OOM in getpwuid_r correctly. Return error number when the caller
39080 should return, otherwise -1.
39081 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39082 call returning > 0 value.
39083 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39085 2010-06-07 Andreas Schwab <schwab@redhat.com>
39087 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39088 libc_nonshared.a from targets in modules-names.
39090 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
39092 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39095 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
39097 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39098 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39102 2010-06-02 Andreas Schwab <schwab@redhat.com>
39104 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39106 2010-06-14 Ulrich Drepper <drepper@redhat.com>
39108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39117 2010-06-14 Roland McGrath <roland@redhat.com>
39119 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39121 2010-06-07 Jakub Jelinek <jakub@redhat.com>
39123 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39124 __REDIRECT followed by __THROW.
39125 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39126 * posix/getopt.h (getopt): Likewise.
39128 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
39130 * hurd/lookup-at.c (__file_name_lookup_at): Accept
39131 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
39132 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39134 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39135 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39137 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
39139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39141 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
39144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39145 Properly check family and model.
39147 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
39149 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39151 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
39153 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39155 2010-05-21 Ulrich Drepper <drepper@redhat.com>
39157 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39160 2010-05-19 Andreas Schwab <schwab@redhat.com>
39162 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39165 2010-05-21 Andreas Schwab <schwab@redhat.com>
39167 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39168 and internal_recvmmsg.
39169 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39170 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39171 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39172 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39174 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39175 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39176 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39178 2010-05-20 Andreas Schwab <schwab@redhat.com>
39180 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39182 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
39184 POWER7 optimizations.
39185 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39186 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39188 2010-05-19 Ulrich Drepper <drepper@redhat.com>
39190 * version.h: Update for 2.13 development version.
39192 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
39194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39195 exceptions. Return 0.
39197 2010-05-07 Roland McGrath <roland@redhat.com>
39199 * elf/ldconfig.c (main): Add a const.
39201 2010-05-06 Ulrich Drepper <drepper@redhat.com>
39203 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39204 (args_options): Add no-idn option.
39205 (ahosts_keys_int): Add idn_flags to ai_flags.
39206 (parse_option): Handle 'i' option to clear idn_flags.
39208 * malloc/malloc.c (_int_free): Possible race in the most recently
39209 added check. Only act on the data if no current modification
39212 See ChangeLog.17 for earlier changes.