PowerPC: Cleanup powerpc memmove
[glibc.git] / ChangeLog
blobb23aace04be1c70835a4c83a226bbd6396ad2e8e
1 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/memmove.c: Remove file.
4         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
10         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11         string memmove instead of removed powerpc one.
13         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
14         [weak_alias]: Fix compiler warning due trailing data.
15         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16         [weak_alias]: Likewise.
17         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
18         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
20         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21         (__libc_ifunc_impl_list): Add memmove functions.
23 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26         to avoid alignment traps in non-cacheable memory.
27         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30         multiarch objects.
31         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32         file: multiarch power7 memmove.
33         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34         multiarch default memmove.
35         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36         multiarch memove for powerpc32/power4.
38         * string/bcopy.c: Use full path to include memmove.c.
39         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40         multiarch objects.
41         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
42         bcopy for powerpc64.
43         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44         bcopy for powerpc64.
45         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46         and memmove implementations.
47         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
48         optimized multiarch memmove for POWER7/powerpc64.
49         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
50         default multiarch memmove for powerpc64.
51         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
52         multiarch for powerpc64.
53         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
54         for POWER7/powerpc64.
55         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
56         memmove for POWER7/powerpc64.
58         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
59         glibc default one.
61 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
62             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
65         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
66         optimizations.
67         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
68         (__libc_ifunc_impl_list): Likewise.
69         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
70         multiarch strcat for PPC64.
71         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
72         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
74 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
77         macro: hardware supports Vector Crypto instructions.
79 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
81         [BZ #17031]
82         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
83         double, adjusted for any remainder from the high double.
84         * math/libm-test.inc (nearbyint): Add tests.
85         (rint): Likewise.
87 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
89         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
90         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
91         multiarch strcmp for PPC64.
92         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
93         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
94         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
95         multiarch optimizations.
96         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
97         (__libc_ifunc_impl_list): Likewise.
99 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
101         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
102         strlen for non SHARED builds.
104         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
105         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
106         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
107         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
108         imply folder.
109         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
110         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
111         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
112         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
113         correct imply path.
114         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
115         strlen symbol for non multi-arch builds.
116         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
117         missing hidden_def and weak_alias.
119 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
121         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
122         by insrwi.
123         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
124         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
125         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
126         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
127         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
128         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
129         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
131 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
134         libc_hidden_builtin_def to ifunc.
135         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
136         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
138 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
143 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
145         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
146         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
147         multiarch strncpy for PPC64.
148         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
149         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
151         multiarch optimizations.
152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
153         (__libc_ifunc_impl_list): Likewise.
154         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
155         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
156         multiarch stpncpy for PPC64.
157         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
158         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
160 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
162         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
163         [libc_hidden_builtin_def]: Define to empty value.
164         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
165         [libc_hidden_builtin_def]: Likewise.
166         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
167         [libc_hidden_builtin_def]: Likewise.
168         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
169         [libc_hidden_builtin_def]: Likewise.
170         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
171         __redirect_memcpy and define ifunc as default hidden symbol.
172         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
173         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
175 2014-04-16  Alan Modra  <amodra@gmail.com>
177         [BZ #16740]
178         [BZ #16619]
179         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
180         * math/libm-test.inc (frexp_test_data): Add tests.
182 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
184         [BZ #16815]
185         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
186         result for FE_DOWNWARD rounding mode.
187         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
188         Likewise.
189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
191 2014-04-02  Alan Modra  <amodra@gmail.com>
193         [BZ #16739]
194         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
195         output when value is near a power of two.  Use int64_t for lx and
196         remove casts.  Use decimal rather than hex exponent constants.
197         Don't use long double multiplication when double will suffice.
198         * math/libm-test.inc (nextafter_test_data): Add tests.
199         * NEWS: Add 16739 and 16786 to bug list.
201 2014-04-02  Alan Modra  <amodra@gmail.com>
203         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
205 2014-04-02  Alan Modra  <amodra@gmail.com>
207         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
209 2014-04-01  Alan Modra  <amodra@gmail.com>
211         [BZ #16786]
212         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
214 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
216         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
217         Encode instruction correctly in little endian.
218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
219         Likewise.
220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
221         Likewise.
222         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
223         Likewise.
224         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
225         Likewise.
227 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
228             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
230         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
232         and strpbrk-ppc64 objects.
233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
234         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
235         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
236         multiarch strpbrk for POWER7.
237         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
238         multiarch strpbrk for PPC64.
239         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
240         ifunc selector.
241         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
242         strpbrk for POWER7.
244 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
246         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
248         and strcspn-ppc64 objects.
249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
250         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
251         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
252         multiarch strcspn for POWER7.
253         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
254         multiarch strcspn for PPC64.
255         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
256         ifunc selector.
257         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
258         strcspn for POWER7.
260 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
262         [BZ #16707]
263         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
264         implementation.
265         * math/libm-test.inc (round_test_data): Add more tests.
267 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
269         [BZ #16706]
270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
271         implementation.
272         * math/libm-test.inc (nearbyint_test_data): Add more tests.
274 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
276         [BZ #16701]
277         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
278         implementation.
279         * math/libm-test.inc (ceil_test_data): Add more tests.
281 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
283         * math/libm-test.inc (trunc_test_data): Add more tests related to
284         BZ#16414.
286 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
288         [BZ #16689]
289         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
290         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
291         static build.
292         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
293         selector for static builds.
295 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
297         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
298         selector for static builds.
300 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
302         [BZ #16683]
303         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
304         Define it for static builds as well.
305         (NO_BZERO_IMPL): Likewise.
307 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
309         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
310         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
311         multiarch strspn for PPC64.
312         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
313         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
315         (__libc_ifunc_impl_list): Likewise.
316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
317         multiarch optimizations
318         * string/strspn.c (strspn): Using macro to redefine symbol name.
320 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
321             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
323         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
324         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
325         multiarch strncat for PPC64.
326         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
327         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
329         (__libc_ifunc_impl_list): Likewise.
330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
331         multiarch optimizations
333 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
335         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
337         implementation.
338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
339         (__libc_ifunc_impl_list): Likewise.
340         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
341         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
342         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
343         * string/strrchr.c: Define STRRCHR.
345 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
347         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
348         implementation.
349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
350         POWER8 llround ifunc implementation.
351         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
352         POWER8 implementation.
353         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
354         POWER8 llround implementation.
356 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
358         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
359         implementation.
360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
361         POWER8 llrint ifunc implementation.
362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
363         POWER8 implementation.
364         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
365         POWER8 llrint implementation.
367 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
369         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
370         implementation.
371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
372         POWER8 finite ifunc implementation.
373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
374         POWER8 implementation.
375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
376         Likewise.
377         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
378         POWER8 finite implementation.
379         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
381 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
384         implementation.
385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
386         POWER8 isinf ifunc implementation.
387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
388         POWER8 implementation.
389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
390         Likewise.
391         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
392         POWER8 isinf implementation.
393         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
395 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
397         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
398         Add hwcap2 initialization.
399         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
400         implementation.
401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
402         POWER8 isnan ifunc implementation.
403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
404         POWER8 implementation.
405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
406         Likewise.
407         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
408         POWER8 isnan implementation.
409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
411 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
413         [BZ #16545]
414         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
415         model 1.
417 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
419         [BZ #16529]
420         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
422 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
424         * manual/contrib.texi: Update entry for Carlos O'Donell,
425         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
427 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
429         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
431         * sysdeps/unix/sysv/linux/kernel-features.h
432         [__LINUX_KERNEL_VERSION >= 0x020621]
433         (__ASSUME_PROC_PID_TASK_COMM): Define.
435 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
437         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
438         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
439         Leonard and Allan McRae.
441 2014-02-04  David S. Miller  <davem@davemloft.net>
443         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
444         32-bit.
446 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
449         file
450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
451         New file
452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
453         file.
454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
455         file.
456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
457         New file.
458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
459         file.
460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
461         file.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
463         New file.
464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
465         New file.
466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
467         New file.
468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
469         New file.
470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
471         New file.
472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
473         New file.
475 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
477         * nptl/shlib-versions: Change powerpc*le start to 2.17.
478         * shlib-versions: Likewise.
480 2014-02-04  Roland McGrath  <roland@hack.frob.com>
481             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
484         (abilist-pattern): New variable, set to %-le.abilist.
486         * Makerules (abilist-pattern): New variable.
487         (vpath): Use $(abilist-pattern) in place of %.abilist.
488         (check-abi-% pattern rule): Likewise.
489         (check-abi, update-abi): Likewise.
491 2014-02-04  Eric Wong  <normalperson@yhbt.net>
493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
495 2014-02-04  Eric Wong  <normalperson@yhbt.net>
497         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
499 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
501         * manual/startup.texi: Add next, previous, and top entries for
502         the `Program Arguments' and `Environment Variables' nodes.
504 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
506         * manual/macros.texi: Add comments before MTASC-safety macros.
508         * manual/users.texi: Document MTASC-safety properties.
510         * manual/threads.texi (pthread_key_create, pthread_key_delete,
511         pthread_getspecific, pthread_setspecific): Format with
512         @deftypefun, and add @safety note.
513         * manual/signal.texi: Move comments that analyze the above
514         functions to their home place.
516 2014-02-03  Allan McRae  <allan@archlinux.org>
518         * po/sl.po: Update Slovenian translation from translation project.
520 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
522         * manual/time.texi (timegm): Add missing blank after @c.
523         Reported by Joseph Myers <joseph@codesourcery.com>.
525 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
527         * manual/check-safety.sh: New.
528         * manual/Makefile ($(objpfx)stamp-summary): Run it.
530         * manual/terminal.texi: Document MTASC-safety properties.
532         * manual/filesys.texi: Document MTASC-safety properties.
534         * manual/errno.texi: Document MTASC-safety properties.
536         * manual/intro.texi: Document safety identifiers and
537         conditionals.
539         * manual/string.texi (wcstok): Fix prototype.
540         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
542         * manual/time.texi: Document MTASC-safety properties.
544         * manual/string.texi: Document MTASC-safety properties.
546         * manual/threads.texi: Document MTASC-safety properties.
548         * manual/stdio.texi: Document MTASC-safety properties.
550         * manual/syslog.texi: Document MTASC-safety properties.
552         * manual/sysinfo.texi: Document MTASC-safety properties.
554         * manual/startup.texi: Document MTASC-safety properties.
556         * manual/socket.texi: Document MTASC-safety properties.
558         * manual/signal.texi: Document MTASC-safety properties.
560 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
562         * manual/setjmp.texi: Document MTASC-safety properties.
564         * manual/search.texi: Document MTASC-safety properties.
566         * manual/resource.texi: Document MTASC-safety properties.
568         * manual/process.texi: Document MTASC-safety properties.
570         * manual/platform.texi: Document MTASC-safety properties.
572         * manual/pipe.texi: Document MTASC-safety properties.
574         * manual/pattern.texi: Document MTASC-safety properties.
576         * manual/message.texi: Document MTASC-safety properties.
578         [BZ #12751]
579         * manual/memory.texi: Document MTASC-safety properties.
581         * manual/math.texi: Document MTASC-safety properties.
583         * manual/locale.texi: Document MTASC-safety properties.
585         * manual/llio.texi: Document MTASC-safety properties.
587         * manual/libdl.texi: New.
589         * manual/lang.texi: Document MTASC-safety properties.
591         * manual/job.texi: Document MTASC-safety properties.
593         * manual/getopt.texi: Document MTASC-safety properties.
595         * manual/ctype.texi: Document MTASC-safety properties.
597 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
599         [BZ #16046]
600         * csu/libc-tls.c (static_map): Remove variable.
601         (__libc_setup_tls): Use main executable's link map for TLS data.
602         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
603         casing for LM_ID_BASE and GL(dl_nns).
604         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
605         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
606         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
607         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
608         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
609         member.
610         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
611         l_phnum members.
613 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
615         * manual/debug.texi: Document MTASC-safety properties.
617 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
619         [BZ #16510]
620         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
621         of __x86_64__ when disabling x87 inline functions.
623 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
625         * manual/charset.texi: Document MTASC-safety properties.
627         * manual/crypt.texi: Document MTASC-safety properties.
629         * manual/conf.texi: Document MTASC-safety properties.
631         * manual/arith.texi: Document MTASC-safety properties.
633         * manual/argp.texi: Document MTASC-safety properties.
635         * manual/macros.texi: Introduce macros to document multi
636         thread, asynchronous signal and asynchronous cancellation
637         safety properties.
638         * manual/intro.texi: Introduce the properties themselves.
640 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
642         * sysdeps/sh/sh4/Makefile: New file.
644 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
646         * math/gen-libm-test.pl ($srcdir): New variable.
647         ($auto_input): Use it.
649 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
651         [BZ #16506]
652         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
653         access beyond array bounds when parsing netgroups file.
655         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
656         the old buffer before realloc.
658 2014-01-27  Allan McRae  <allan@archlinux.org>
660         * po/fr.po: Update French translation from translation project.
662 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
664         * sysdeps/sh/libm-test-ulps: Regenerate.
666 2014-01-24  David S. Miller  <davem@davemloft.net>
668         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
670 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
672         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
673         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
675 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
677         [BZ #16474]
678         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
679         string pointers after reallocation.
681 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
683         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
684         __SH4A__ instead of __SH_FPU_ANY__.
686 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
688         * sysdeps/sh/fpu_control.h: New file.
689         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
690         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
691         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
692         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
693         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
694         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
695         * sysdeps/sh/sys/ucontext.h: Remove.
696         * sysdeps/sh/sys: Remove directory.
698 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
700         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
701         s390/sys/ucontext.h.
702         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
703         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
705 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
707         [BZ #15605]
708         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
710 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
712         [BZ#16431]
713         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
714         Adjust the vDSO correctly for internal calls.
715         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
717 2014-01-20  Allan McRae  <allan@archlinux.org>
719         * po/ca.po: Update Catalan translation from translation project.
721 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
723         * sysdeps/s390/sotruss-lib.c: New file.
725 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
727         [BZ#16430]
728         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
729         (__GI___gettimeofday): Alias for a different internal symbol to avoid
730         local calls issues by not having a PLT stub required for IFUNC calls.
731         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
733 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
735         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
736         * math/test-fpucw-static.c: Likewise.
738 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
740         [BZ #16453]
741         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
743 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
745         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
746         implementation for powerpc.
748 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
750         [BZ #14782]
751         * sysdeps/posix/system.c (__libc_system): Do not enable
752         asynchronous cancellation.
754 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
756         [BZ #16427]
757         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
758         handling only for numbers special also in the IEEE case.
760 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
762         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
764 2014-01-11  Allan McRae  <allan@archlinux.org>
766         * po/bg.po: Update Bulgarian translation from translation project.
768         * po/de.po: Update German translation from translation project.
770 2014-01-10  Roland McGrath  <roland@hack.frob.com>
772         * sysdeps/generic/gcc-compat.h: New file.
774 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
776         * benchtests/asin-inputs: Correct slow inputs.
777         * benchtests/acos-inputs: Likewise.
779 2014-01-10  Allan McRae  <allan@archlinux.org>
781         * po:sv.po: Update Swedish translation from translation project.
783         * po/vi.po: Update Vietnamese translation from translation project.
785         * po/eo.po: Update Esperanto translation from translation project.
787         * po/cs.po: Update Czech translation from translation project.
789         * po/nl.po: Update Dutch translation from translation project.
791         * po/pl.po: Update Polish translation from translation project.
793         * po/ru.po: Update Russian translation from translation project.
795         * po/uk.po: Update Ukrainian translation from translation project.
797 2014-01-08  Brooks Moses  <bmoses@google.com>
799         * elf/dl-load.c: Fix comment typo.
801 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
803         * po/header.pot: Rename to...
804         * po/pot.header: ... this.
805         * po/Makefile: Use pot.header.
807 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
808             Maxim Kuvyrkov  <maxim@kugelworks.com>
810         [BZ #16394]
811         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
812         SRC and DEST against LEN.
814 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
816         [BZ #16414]
817         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
818         implementation.
819         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
821 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
825 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
827         [BZ #16408]
828         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
829         for large positive arguments.
831 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
833         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
835         * math/auto-libm-test-in: Mark various tests with
836         xfail-rounding:ldbl-128ibm.
837         * math/auto-libm-test-out: Regenerated.
839         [BZ #16407]
840         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
841         Increase overflow threshold.
843 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
845         [BZ #14286]
846         * stdio-common/vfprintf.c: Check for integer overflow.
848 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
850         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
851         the first argument and return value of __tls_get_addr_internal.
853 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
855         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
856         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
858 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
860         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
861         * sysdeps/s390/rtld-global-offsets.sym: New file.
862         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
863         GLIBC_2.19 symbol.
864         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
866         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
867         ... this.
868         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
869         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
870         ... this.
871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
872         Regenerate.
873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
874         Regenerate.
875         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
876         halfs of GPRs for high_gprs contexts.
877         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
878         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
879         field.
880         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
881         uc_flags field.
882         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
883         64 bit versions:
884         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
885         for high GPRs (uc_high_gprs) and for future extensions
886         (__reserved).
887         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
888         for future extensions (__reserved).
889         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
890         64 bit versions:
891         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
892         SC_HIGHGPRS offset definition.
893         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
894         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
896 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
898         * Versions.def: Add GLIBC_2.19 for libpthread.
899         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
900         siglongjmp for libpthread with GLIBC_2.19 symver.
901         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
902         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
903         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
904         * sysdeps/s390/__longjmp.c: New file.
905         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
906         * sysdeps/s390/longjmp.c: New file.
907         * sysdeps/s390/setjmp.S: New file.
908         * sysdeps/s390/sigjmp.S: New file.
909         * sysdeps/s390/v1-longjmp.c: New file.
910         * sysdeps/s390/v1-setjmp.h: New file.
911         * sysdeps/s390/v1-sigjmp.c: New file.
912         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
913         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
914         GLIBC_2.19 version.
915         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
916         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
917         versioned symbols for ____longjmp_chk.
918         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
919         Likewise.
920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
921         Regenerate.
922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
923         Regenerate.
924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
925         Regenerate.
926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
927         Regenerate.
928         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
929         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
930         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
931         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
932         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
933         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
934         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
935         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
936         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
937         * sysdeps/s390/rtld-__longjmp.c: New file.
938         * sysdeps/s390/rtld-setjmp.S: New file.
940 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
942         [BZ #16400]
943         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
944         Return -__logl (x) for small positive arguments without evaluating
945         a polynomial.
947 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
949         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
950         Rename to ...
951         (__ptrace_peeksiginfo_args): ... this.
952         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
954         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
956 2014-01-06  Allan McRae  <allan@archlinux.org>
958         * inet/netinet/in.h: Fix typo in comment.
960 2014-01-05  Andreas Jaeger  <aj@suse.de>
962         * sysdeps/i386/fpu/libm-test-ulps: Update.
964 2014-01-05  Allan McRae  <allan@archlinux.org>
966         * po/libc.pot: Regenerated.
968         * malloc/memusagestat.c: Fix gettext call formatting.
970 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
972         * nscd/nscd.c: Improve usage() output.
974 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
976         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
977         * sysdeps/unix/sysv/linux/configure: Regenerated.
978         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
979         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
981 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
983         [BZ #16390]
984         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
985         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
987 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
989         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
990         extra tokens at end of #undef directive.
991         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
992         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
993         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
995 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
997         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
999         * math/auto-libm-test-in: Mark various tests with
1000         xfail-rounding:ldbl-128ibm.
1001         * math/auto-libm-test-out: Regenerated.
1003 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
1005         [BZ #16386]
1006         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
1007         numbers with subnormal high part when calculating exponent.
1009         [BZ #16385]
1010         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
1011         fabs.
1013         [BZ #16384]
1014         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
1015         M_LN2l.
1016         (__ieee754_acoshl): Use __log1pl not __log1p.
1018 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
1020         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
1021         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
1022         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
1023         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
1024         Convert to GNU style.
1025         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
1026         mem2mem_check, mem2chunk_check, top_check, realloc_check,
1027         memalign_check, __malloc_set_state): Likewise.
1028         * malloc/mallocbug.c (main): Likewise.
1029         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
1030         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
1031         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
1032         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
1033         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
1034         * malloc/malloc.h: Likewise.
1035         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
1036         memalignhook, reallochook, mabort): Likewise.
1037         * malloc/mcheck.h: Likewise.
1038         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
1039         mmap64, mremap, munmap, dest): Likewise.
1040         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
1041         * malloc/morecore.c (__default_morecore): Likewise.
1042         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
1043         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
1044         _obstack_allocated_p, obstack_free, _obstack_memory_used,
1045         print_and_abort): Likewise.
1046         * malloc/obstack.h: Likewise.
1047         * malloc/set-freeres.c (__libc_freeres): Likewise.
1048         * malloc/tst-mallocstate.c (main): Likewise.
1049         * malloc/tst-mtrace.c (main): Likewise.
1050         * malloc/tst-realloc.c (do_test): Likewise.
1052 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1054         [BZ #16366]
1055         * nscd/netgroupcache.c (do_notfound): New function.
1056         (addgetnetgrentX): Use it.
1058         [BZ # 16365]
1059         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
1060         NSS_STATUS_NOTFOUND.
1062 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
1064         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1067 2014-01-01  Allan McRae  <allan@archlinux.org>
1069         * scripts/update-copyrights: Update configure input file suffix.
1071         * NEWS: Update copyright year.
1072         * catgets/gencat.c: Likewise.
1073         * csu/version.c: Likewise.
1074         * debug/catchsegv.sh: Likewise.
1075         * debug/pcprofiledump.c: Likewise.
1076         * debug/xtrace.sh: Likewise.
1077         * elf/ldconfig.c: Likewise.
1078         * elf/ldd.bash.in: Likewise.
1079         * elf/pldd.c: Likewise.
1080         * elf/sotruss.ksh: Likewise.
1081         * elf/sprof.c: Likewise.
1082         * iconv/iconv_prog.c: Likewise.
1083         * iconv/iconvconfig.c: Likewise.
1084         * locale/programs/locale.c: Likewise.
1085         * locale/programs/localedef.c: Likewise.
1086         * login/programs/pt_chown.c: Likewise.
1087         * malloc/memusage.sh: Likewise.
1088         * malloc/memusagestat.c: Likewise.
1089         * malloc/mtrace.pl: Likewise.
1090         * manual/libc.texinfo: Likewise.
1091         * nscd/nscd.c: Likewise.
1092         * nss/getent.c: Likewise.
1093         * nss/makedb.c: Likewise.
1094         * posix/getconf.c: Likewise.
1095         * scripts/test-installation.pl: Likewise.
1097         * All files with FSF copyright notices: Update copyright dates
1098         using scripts/update-copyrights.
1099         * intl/plural.c: Regenerated.
1100         * locale/programs/charmap-kw.h: Likewise.
1101         * locale/programs/locfile-kw.h: Likewise.
1103 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
1105         * sysdeps/unix/sysv/linux/configure: Regenerated.
1106         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
1107         the linux/fanotify.h header.
1108         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
1109         HAVE_LINUX_FANOTIFY_H is defined.
1111 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1113         * benchtests/cos-inputs: New inputs.
1114         * benchtests/sin-inputs: Likewise.
1116         * benchtests/atan-inputs: New inputs. Fix name of multiple
1117         precision fallback inputs.
1119         * benchtests/atanh-inputs: New inputs.
1120         * benchtests/tanh-inputs: Likewise.
1122         * benchtests/acosh-inputs: New inputs.
1123         * benchtests/asinh-inputs: Likewise.
1125         * benchtests/cosh-inputs: New inputs.
1126         * benchtests/sinh-inputs: Likewise.
1128         * benchtests/acos-inputs: Add more inputs.
1129         * benchtests/asin-inputs: Likewise.
1131 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
1133         [BZ #16375]
1134         * manual/arith.texi: Fix spelling.
1135         * manual/charset.texi: Likewise.
1136         * manual/errno.texi: Likewise.
1137         * manual/filesys.texi: Likewise.
1138         * manual/lang.texi: Likewise.
1139         * manual/llio.texi: Likewise.
1140         * manual/locale.texi: Likewise.
1141         * manual/message.texi: Likewise.
1142         * manual/resource.texi: Likewise.
1143         * manual/search.texi: Likewise.
1144         * manual/setjmp.texi: Likewise.
1145         * manual/stdio.texi: Likewise.
1146         * manual/string.texi: Likewise.
1147         * manual/sysinfo.texi: Likewise.
1148         * manual/time.texi: Likewise.
1150 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
1152         * po/sl.po: New file.
1154 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
1156         * .gitignore: Add core/.gdbinit/.gdb_history.
1158 2013-12-27  Allan McRae  <allan@archlinux.org>
1160         [BZ #16369]
1161         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
1162         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
1164 2013-12-24  Brooks Moses  <bmoses@google.com>
1166         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
1167         all compilers that claim C++98 compliance, not just GCC.
1168         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1169         Likewise.
1171 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1173         * NEWS: Restore accidentally deleted bug-fix entries.
1175 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
1176             Ondřej Bílka  <neleai@seznam.cz>
1178         [BZ #15073]
1179         * malloc/malloc.c (_int_free): Perform sanity check only if we
1180         have_lock.
1182 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
1184         [BZ #12986]
1185         * manual/stdio.texi (String Input Conversions): Clarify that character
1186         classes are not supported.
1188 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1192 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
1194         [BZ #16337]
1195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
1196         Calculate results for small negative arguments directly rather
1197         than using reflection formula with special underflow handling.
1199         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
1200         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
1201         sysdeps/unix/bsd/bsd4.4/syscalls.list.
1202         (fchflags): Likewise.
1203         (revoke): Likewise.
1204         (setlogin): Likewise.
1205         (sigaltstack): Likewise.
1206         (wait4): Likewise.
1207         (sigblock): Remove.
1208         (sigsetmask): Likewise.
1209         (wait3): Likewise.
1210         (waitpid): Likewise.
1211         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
1212         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
1213         file.
1214         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
1215         * sysdeps/unix/bsd/Makefile: ... here.
1216         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
1217         * sysdeps/unix/bsd/Versions: ... here.
1218         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
1219         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
1220         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
1221         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
1222         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
1223         * sysdeps/unix/bsd/sigblock.c: ... here.
1224         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
1225         * sysdeps/unix/bsd/sigsetmask.c: ... here.
1226         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
1227         * sysdeps/unix/bsd/sigvec.c: ... here.
1228         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
1229         * sysdeps/unix/bsd/tcdrain.c: ... here.
1230         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
1231         * sysdeps/unix/bsd/tcgetattr.c: ... here.
1232         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
1233         * sysdeps/unix/bsd/tcsetattr.c: ... here.
1234         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
1235         * sysdeps/unix/bsd/wait.c: ... here.
1236         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
1237         * sysdeps/unix/bsd/wait3.c: ... here.
1238         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
1239         * sysdeps/unix/bsd/waitpid.c: ... here.
1241 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
1243         [BZ #16356]
1244         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
1245         round-to-nearest for [!USE_AS_EXPM1L].
1246         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
1247         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
1248         more tests of exp and exp10.  Expect some exp10 tests to miss
1249         exceptions or fail in directed rounding modes.
1250         * math/auto-libm-test-out: Regenerated.
1251         * math/libm-test.inc (exp10_tonearest_test_data): New array.
1252         (exp10_test_tonearest): New function.
1253         (exp10_towardzero_test_data): New array.
1254         (exp10_test_towardzero): New function.
1255         (exp10_downward_test_data): New array.
1256         (exp10_test_downward): New function.
1257         (exp10_upward_test_data): New array.
1258         (exp10_test_upward): New function.
1259         (main): Call the new functions.
1260         * sysdeps/i386/fpu/libm-test-ulps: Update.
1261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1263 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
1265         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1266         asinh, atan, atan2, atanh, cbrt, cos and cosh.
1267         * math/auto-libm-test-out: Regenerated.
1268         * math/libm-test.inc (acosh_test_data): Add more tests.
1269         (atanh_test_data): Likewise.
1270         (ceil_test_data): Likewise.
1271         (copysign_test_data): Likewise.
1272         * sysdeps/i386/fpu/libm-test-ulps: Update.
1273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1275         * timezone/checktab.awk: Update from tzcode 2013i.
1276         * timezone/private.h: Likewise.
1277         * timezone/scheck.c: Likewise.
1278         * timezone/tzfile.h: Likewise.
1279         * timezone/tzselect.ksh: Likewise.
1280         * timezone/zdump.c: Likewise.
1281         * timezone/zic.c: Likewise.
1283         * math/auto-libm-test-in: Add tests of cpow.
1284         * math/auto-libm-test-out: Regenerated.
1285         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
1286         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
1287         mpc_cc_c.
1288         (func_calc_desc): Add mpc_cc_c union field.
1289         (test_functions): Add cpow.
1290         (special_fill_2pi): New function.
1291         (special_real_inputs): Add 2pi.
1292         (calc_generic_results): Handle mpc_cc_c.
1293         * sysdeps/i386/fpu/libm-test-ulps: Update.
1294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
1297         csqrt, ctan and ctanh.
1298         * math/auto-libm-test-out: Regenerated.
1299         * math/libm-test.inc (TEST_COND_x86_64): New macro.
1300         (TEST_COND_x86): Likewise.
1301         (ccos_test_data): Use AUTO_TESTS_c_c.
1302         (ccosh_test_data): Likewise.
1303         (cexp_test_data): Likewise.
1304         (clog_test_data): Likewise.
1305         (csqrt_test_data): Likewise.
1306         (ctan_test_data): Likewise.
1307         (ctan_tonearest_test_data): Likewise.
1308         (ctan_towardzero_test_data): Likewise.
1309         (ctan_downward_test_data): Likewise.
1310         (ctan_upward_test_data): Likewise.
1311         (ctanh_test_data): Likewise.
1312         (ctanh_tonearest_test_data): Likewise.
1313         (ctanh_towardzero_test_data): Likewise.
1314         (ctanh_downward_test_data): Likewise.
1315         (ctanh_upward_test_data): Likewise.
1316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1317         mpc_c_c.
1318         (func_calc_desc): Add mpc_c_c union field.
1319         (FUNC_mpc_c_c): New macro.
1320         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
1321         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
1322         ctanh.
1323         (special_fill_min_subnorm_p120): New function.
1324         (special_real_inputs): Add min_subnorm_p120.
1325         (calc_generic_results): Handle mpc_c_c.
1326         * sysdeps/i386/fpu/libm-test-ulps: Update.
1327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1331         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
1332         do_sin_slow): New functions.
1333         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
1334         cslow2, csloww1, csloww2): Use the new functions.
1336         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
1337         Use M to change sign of result instead of X.  Assume X is
1338         positive.
1339         (csloww1): Likewise.
1340         (__sin): Adjust.
1341         (__cos): Adjust.
1343         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
1344         arguments A and DA.
1345         (__sin): Adjust.
1346         (__cos): Likewise.
1348         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
1349         (__cos): Likewise.
1350         (sloww1): Don't adjust sign of DX.
1351         (csloww1): Likewise.
1352         (sloww2): Use X directly and don't adjust sign of DX.
1353         (csloww2): Likewise.
1355 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1357         * math/auto-libm-test-in: Add tests of cabs and carg.
1358         * math/auto-libm-test-out: Regenerated.
1359         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
1360         (carg_test_data): Likewise.
1361         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1362         mpc_c_f.
1363         (func_calc_desc): Add mpc_c_f union field.
1364         (test_functions): Add cabs and carg.
1365         (calc_generic_results): Handle mpc_c_f.
1367         * sysdeps/powerpc/powerpc32/libgcc-compat.S
1368         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
1369         as a macro and a compat symbol.
1370         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1371         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1372         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1373         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1374         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
1375         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
1376         not use .hidden.
1377         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
1378         Likewise.
1379         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
1380         Likewise.
1381         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
1382         Likewise.
1383         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
1384         Likewise.
1385         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
1386         Likewise.
1387         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
1388         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
1389         from GLIBC_2.3.2.
1391 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1395 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1397         * manual/texinfo.tex: Update to version 2013-11-26.10 with
1398         trailing whitespace removed.
1399         * scripts/config.guess: Update to version 2013-11-29.
1400         * scripts/config.sub: Update to version 2013-10-01.
1402         * math/auto-libm-test-in: Add tests of sincos.
1403         * math/auto-libm-test-out: Regenerated.
1404         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
1405         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1406         mpfr_f_11.
1407         (func_calc_desc): Add mpfr_f_11 union field.
1408         (test_functions): Add sincos.
1409         (calc_generic_results): Handle mpfr_f_11.
1410         * sysdeps/i386/fpu/libm-test-ulps: Update.
1411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1413 2013-12-19  Andreas Schwab  <schwab@suse.de>
1415         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
1416         CALL_MCOUNT.
1417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
1418         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1419         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
1421 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
1423         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
1424         * sysdeps/i386/fpu/libm-test-ulps: Update.
1425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1427         [BZ #16293]
1428         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
1429         round-to-nearest mode when using frndint.
1430         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
1431         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
1432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1433         Likewise.
1434         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
1435         sinh test to fail.
1436         * math/auto-libm-test-out: Regenerated.
1437         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
1438         (TEST_COND_x86): Likewise.
1439         (expm1_tonearest_test_data): New array.
1440         (expm1_test_tonearest): New function.
1441         (expm1_towardzero_test_data): New array.
1442         (expm1_test_towardzero): New function.
1443         (expm1_downward_test_data): New array.
1444         (expm1_test_downward): New function.
1445         (expm1_upward_test_data): New array.
1446         (expm1_test_upward): New function.
1447         (main): Run the new test functions.
1448         * sysdeps/i386/fpu/libm-test-ulps: Update.
1449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1451         * include/features.h: Update comment documenting feature test
1452         macros.  Mention _DEFAULT_SOURCE in comment.
1453         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
1454         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
1455         _BSD_SOURCE and _SVID_SOURCE.
1456         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
1457         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
1458         !_SVID_SOURCE]: Likewise.
1459         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1460         (__USE_POSIX_IMPLICITLY): Define.
1461         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1462         (_POSIX_SOURCE): Undefine and redefine.
1463         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
1464         (_POSIX_C_SOURCE): Likewise.
1465         * manual/creature.texi (_DEFAULT_SOURCE): Document.
1466         (Feature Test Macros): Update documentation of default features.
1468 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1470         * benchtests/Makefile: Add bench-strtok.
1471         * benchtests/bench-strtok.c: New file: strtok benchtest.
1473 2013-12-19  Allan McRae  <allan@archlinux.org>
1475         * manual/install.texi: Suppress menu for plain text output.
1476         * INSTALL: Regenerated.
1478 2013-12-18  Brooks Moses  <bmoses@google.com>
1480         [BZ #15846]
1481         * misc/getauxval.c: Include errno.h.
1482         (__getauxval): Set errno to ENOENT if the requested type is not
1483         found.
1484         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1485         don't declare with __attribute_const__.
1486         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1487         * manual/startup.texi: Document that getauxval sets errno.
1489 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1491         * math/auto-libm-test-in: Add tests of jn and yn.
1492         * math/auto-libm-test-out: Regenerated.
1493         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1494         (yn_test_data): Likewise.
1495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1496         mpfr_if_f.
1497         (func_calc_desc): Add mpfr_if_f union field.
1498         (FUNC_mpfr_if_f): New macro.
1499         (test_functions): Add jn and yn.
1500         (calc_generic_results): Assert type of second input for
1501         mpfr_ff_f.  Handle mpfr_if_f.
1502         (output_for_one_input_case): Disable all checking for arguments
1503         fitting floating-point types in case of an integer argument.
1504         * sysdeps/i386/fpu/libm-test-ulps: Update.
1505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1508         Don't expect fegetround reference in libm.so.
1510 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1512         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1513         $(config-cflags-nofma).
1515 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1517         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1518         * math/auto-libm-test-out: Regenerated.
1520         [BZ #16338]
1521         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1522         to determine exponent and adjust argument to have exponent of -1.
1523         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1524         log2.
1525         * math/auto-libm-test-out: Regenerated.
1526         * sysdeps/i386/fpu/libm-test-ulps: Update.
1527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1529 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1531         * manual/probes.texi: Remove cases when per-thread arenas are
1532         disabled.
1534 2013-12-18  Andreas Schwab  <schwab@suse.de>
1536         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1537         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1538         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1539         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1540         * sysdeps/i386/i686/multiarch/Makefile: Update.
1541         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1543 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1545         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1546         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1548 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1550         [BZ #15968]
1551         Support TZ transition times < 00:00:00.
1552         This is needed for version-3 tz-format files; it supports time
1553         stamps past 2037 for America/Godthab (the only entry in the tz
1554         database for which this change is relevant).
1555         * manual/time.texi (TZ Variable): Document transition times
1556         from -167:59:59 through -00:00:01.
1557         * time/tzset.c (tz_rule): Time of day is now signed.
1558         (__tzset_parse_tz): Parse negative time of day.
1560         Document TZ transition times >= 25:00:00.
1561         * manual/time.texi (TZ Variable): Document transition times from
1562         25:00:00 through 167:59:59.  These are already supported, and this
1563         support will help with version-3 tz-format files.
1565         * manual/time.texi (TZ Variable): Modernize North America example
1566         to reflect current (i.e., 2007-and-later) daylight saving rules.
1568         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1570 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1572         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1573         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1574         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1575         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1576         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1577         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1578         * sysdeps/unix/bsd/clock.c: Likewise.
1579         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1580         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1581         * sysdeps/unix/bsd/init-posix.c: Likewise.
1582         * sysdeps/unix/bsd/poll.c: Likewise.
1583         * sysdeps/unix/bsd/ptsname.c: Likewise.
1584         * sysdeps/unix/bsd/seekdir.c: Likewise.
1585         * sysdeps/unix/bsd/setegid.c: Likewise.
1586         * sysdeps/unix/bsd/seteuid.c: Likewise.
1587         * sysdeps/unix/bsd/setgid.c: Likewise.
1588         * sysdeps/unix/bsd/setrgid.c: Likewise.
1589         * sysdeps/unix/bsd/setruid.c: Likewise.
1590         * sysdeps/unix/bsd/setsid.c: Likewise.
1591         * sysdeps/unix/bsd/setuid.c: Likewise.
1592         * sysdeps/unix/bsd/sigaction.c: Likewise.
1593         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1594         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1595         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1596         * sysdeps/unix/bsd/telldir.c: Likewise.
1597         * sysdeps/unix/bsd/times.c: Likewise.
1598         * sysdeps/unix/bsd/usleep.c: Likewise.
1600         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1601         ($(objpfx)libbsd-compat.a): Remove rule.
1603         * include/features.h (__FAVOR_BSD): Do not define.
1604         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1605         features conflicting with POSIX.
1606         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1607         (_BSD_SOURCE): Remove description of not being a subset of other
1608         feature test macros.
1609         * manual/job.texi (getpgrp): Do not document BSD version.
1610         (getpgid): Do not document by reference to BSD getpgrp.
1611         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1612         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1613         * signal/signal.h [__FAVOR_BSD]: Likewise.
1614         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1615         instead of making contents conditional on [__FAVOR_BSD].
1616         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1618 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1620         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1622 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1624         [BZ #16314]
1625         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1626         values below 2**-450, not 2**-500.
1627         * math/auto-libm-test-in: Don't allow spurious underflow from
1628         hypot.
1629         * math/auto-libm-test-out: Regenerated.
1631         [BZ #16316]
1632         [BZ #16330]
1633         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1634         values of ha and hb and sort them after adjusting subnormal
1635         arguments.
1636         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1637         Likewise.
1638         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1639         values of ea and eb and sort them after adjusting subnormal
1640         arguments.
1641         * math/auto-libm-test-in: Do not expect some hypot tests of
1642         subnormals to fail.  Add more hypot tests.
1643         * math/auto-libm-test-out: Regenerated.
1645 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1647         [BZ #13304]
1648         * sysdeps/sh/s_fma.c: New file.
1649         * sysdeps/sh/s_fmaf.c: New file.
1650         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1651         version.
1652         * sysdeps/sh/Implies: Add sh/soft-fp.
1654 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1656         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1657         level of indirection to members `objname', `errstring', `malloced'.
1658         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1659         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1660         it as the __longjmp argument (just pass 1 instead).
1661         (_dl_catch_error): Initialize C with argument pointers and address of
1662         volatile local ERRCODE rather than copying values out of C at return.
1664 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1666         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1667         * math/auto-libm-test-out: Regenerated.
1668         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1669         (hypot_test_data): Likewise.
1670         (pow_test_data): Likewise.
1671         (pow_tonearest_test_data): Likewise.
1672         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1673         mpfr_ff_f.
1674         (func_calc_desc): Add mpfr_ff_f union field.
1675         (FUNC_mpfr_ff_f): New macro.
1676         (test_functions): Add atan2, hypot and pow.
1677         (special_fill_min): New function.
1678         (special_fill_minus_min): Likewise.
1679         (special_fill_min_subnorm): Likewise.
1680         (special_fill_minus_min_subnorm): Likewise.
1681         (special_real_inputs): Add min, -min, min_subnorm and
1682         -min_subnorm.
1683         (calc_generic_results): Handle mpfr_ff_f.
1684         * sysdeps/i386/fpu/libm-test-ulps: Update.
1685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1687 2013-12-16  Will Newton  <will.newton@linaro.org>
1689         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1690         (Aligned Memory Blocks): Add documentation for aligned_alloc
1691         and suggest it as an alternative to posix_memalign.
1692         (Hooks for Malloc): Document __memalign_hook is also called
1693         for aligned_alloc.  (Summary of Malloc): Add summary for
1694         aligned alloc.  Document __memalign_hook is also called
1695         for aligned_alloc.
1697 2013-12-16  Will Newton  <will.newton@linaro.org>
1699         * manual/memory.texi (Malloc Examples): Clarify default
1700         alignment documentation.  Suggest posix_memalign rather
1701         than memalign or valloc.
1702         (Aligned Memory Blocks): Remove suggestion to use memalign
1703         or valloc.  Remove obsolete comment about BSD.
1704         Document memalign errno values and mark the function obsolete.
1705         Document posix_memalign returned error codes.  Mark valloc
1706         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1707         called for posix_memalign and valloc.
1708         (Summary of Malloc): Add posix_memalign to function summary.
1709         __memalign_hook is also called for posix_memalign and valloc.
1711 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1713         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1714         TAYLOR_SIN.
1715         (__sin): Adjust.
1716         (__cos): Likewise.
1717         (sloww): Use mynumber union.  Expand ternary operator into
1718         if-else statements.
1719         (cslow): use mynumber union.
1721 2013-12-16  Allan McRae  <allan@archlinux.org>
1723         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1724         * configure: Regenerated.
1726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1728         [BZ #14120]
1729         * configure.ac: Added --enable-maintainer-mode. Check for
1730         autoconf when enabled.
1731         * configure: Regenerated.
1733         * nscd/nscd.service: New file.
1734         * nscd/nscd.tmpfiles: New file.
1736 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1738         [BZ #12100]
1739         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1740         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1741         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1742         (strstr): Add __strstr_sse2_unaligned ifunc.
1743         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1744         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1745         (strcasestr): Remove __strcasestr_sse42 ifunc.
1746         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1748         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1750 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1752         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1753         * sysdeps/sh/bits/fenv.h: ... here.
1754         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1756 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1758         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1760 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1763         hypotf multiarch implementations.
1764         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1765         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1766         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1767         multiarch hypot for PPC64.
1768         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1769         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1770         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1771         multiarch hypotf for PPC64.
1773 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1776         modff multiarch implementations.
1777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1780         multiarch modf for PPC64.
1781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1784         multiarch modff for PPC64.
1786 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1789         and logl multiarch implementations.
1790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1793         multiarch logb for PPC64.
1794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1797         multiarch logb for PPC64.
1798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1801         multiarch logb for PPC64.
1803 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1806         isinff multiarch implementation.
1807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1808         file.
1809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1811         multiarch isinf for PPC64.
1812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1813         file.
1814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1815         multiarch isinff for PPC64.
1817 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1819         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1820         finitef multiarch implementation.
1821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1822         file.
1823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1825         multiarch finite for PPC64.
1826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1827         file.
1828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1829         multiarch finitef for PPC64.
1831 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1833         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1834         lrint multiarch implementation.
1835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1836         file.
1837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1839         multiarch llrint for PPC64.
1840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1841         multiarch lrint for PPC64.
1843 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1846         copysignf multiarch implementation.
1847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1848         file.
1849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1850         file.
1851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1852         multiarch copysign for PPC64.
1853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1854         multiarch copysignf for PPC64.
1856 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1859         multiarch implementation.
1860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1861         file.
1862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1863         file.
1864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1865         file.
1866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1867         file.
1868         multiarch llround for PPC64.
1869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1870         multiarch trunc for PPC64.
1871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1872         multiarch truncf for PPC64.
1874 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1877         multiarch implementation.
1878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1879         file.
1880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1881         file.
1882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1883         file.
1884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1885         file.
1886         multiarch llround for PPC64.
1887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1888         multiarch round for PPC64.
1889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1890         multiarch roundf for PPC64.
1892 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1894         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1895         multiarch implementation.
1896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1897         file.
1898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1899         file.
1900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1901         file.
1902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1903         file.
1904         multiarch llround for PPC64.
1905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1906         multiarch floor for PPC64.
1907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1908         multiarch floorf for PPC64.
1910 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1913         multiarch implementation.
1914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1915         file.
1916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1917         file.
1918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1919         file.
1920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1921         file.
1922         multiarch llround for PPC64.
1923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1924         multiarch ceil for PPC64.
1925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1926         multiarch ceilf for PPC64.
1928 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1931         multiarch implementation.
1932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1933         file.
1934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1935         file.
1936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1937         file.
1938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1939         multiarch llround for PPC64.
1940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1941         multiarch lround for PPC64.
1943 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1946         multiarch implementation.
1947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1950         file.
1951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1954         multiarch isnan for PPC64.
1955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1956         multiarch isnanf for PPC64.
1958 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1960         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1961         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1962         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1963         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1964         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1967 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1969         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1970         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1971         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1972         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1974 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1977         multiarch implementations.
1978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1979         (__libc_ifunc_impl_list): Likewise.
1980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1981         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1983         multiarch stpcpy for PPC64.
1985 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1987         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1988         multiarch implementations.
1989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1990         (__libc_ifunc_impl_list): Likewise.
1991         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1992         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1993         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1994         multiarch strcpy for PPC64.
1996 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1998         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1999         redefine function name.
2000         (_wordcopy_fwd_dest_aligned): Likewise.
2001         (_wordcopy_bwd_aligned): Likewise.
2002         (_wordcopy_bwd_dest_aligned): Likewise.
2003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
2004         multiarch implementations.
2005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2006         (__libc_ifunc_impl_list): Likewise.
2007         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
2008         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
2009         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
2010         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
2011         multiarch wcscpy for PPC64.
2013 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
2016         multiarch implementations.
2017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2018         (__libc_ifunc_impl_list): Likewise.
2019         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
2020         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
2021         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
2022         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.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 wcsrchr
2028         multiarch implementations.
2029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2030         (__libc_ifunc_impl_list): Likewise.
2031         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
2032         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
2033         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
2034         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
2035         multiarch wcsrchr for PPC64.
2037 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
2040         multiarch implementations.
2041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2042         (__libc_ifunc_impl_list): Likewise.
2043         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
2044         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
2045         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
2046         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
2047         multiarch wcschr for PPC64.
2049 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
2052         multiarch implementations.
2053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2054         (__libc_ifunc_impl_list): Likewise.
2055         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
2056         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
2057         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
2058         multiarch strchrnul for PPC64.
2060 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
2063         implementations.
2064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2065         (__libc_ifunc_impl_list): Likewise.
2066         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
2067         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
2068         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
2069         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
2070         strchr for PPC64.
2072 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
2075         implementations.
2076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2077         (__libc_ifunc_impl_list): Likewise.
2078         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
2079         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
2080         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
2081         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
2082         strncmp for PPC64.
2084 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
2087         multiarch implementations.
2088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2089         (__libc_ifunc_impl_list): Likewise.
2090         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
2091         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
2092         strncasecmp for PPC64.
2093         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
2094         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
2095         multiarch strncasecmp_l for PPC64.
2097 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
2100         multiarch implementations.
2101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2102         (__libc_ifunc_impl_list): Likewise.
2103         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
2104         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
2105         multiarch strcasecmp for PPC64.
2106         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
2107         file.
2108         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
2109         multiarch strcasecmp_l for PPC64.
2111 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
2114         implementations.
2115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2116         (__libc_ifunc_impl_list): Likewise.
2117         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
2118         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
2119         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
2120         strnlen for PPC64.
2122 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
2125         implementations.
2126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2127         (__libc_ifunc_impl_list): Likewise.
2128         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
2129         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
2130         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
2131         strlen for PPC64.
2133 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2135         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
2136         implementations.
2137         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2138         (__libc_ifunc_impl_list): Likewise.
2139         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
2140         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
2141         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
2142         rawmemrchr for PPC64.
2144 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2146         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
2147         implementation.
2148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2149         (__libc_ifunc_impl_list): Likewise.
2150         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
2151         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
2152         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
2153         memrchr for PPC64.
2155 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
2158         implementation.
2159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2160         (__libc_ifunc_impl_list): Likewise.
2161         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
2162         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
2163         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
2164         memchr for PPC64.
2166 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
2169         implementation.
2170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2171         (__libc_ifunc_impl_list): Likewise.
2172         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
2173         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
2174         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
2175         mempcpy for PPC64.
2177 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2179         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
2180         avoid cretion of __bzero symbol.
2181         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
2182         Likewise.
2183         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
2184         Likewise.
2185         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
2186         Likewise.
2187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
2188         multiarch implementations.
2189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2190         (__libc_ifunc_impl_list): Likewise.
2191         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
2192         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
2193         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
2194         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
2195         bzero for PPC32.
2196         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
2197         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
2198         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
2199         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
2200         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
2201         memset for PPC64.
2202         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
2204 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2206         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
2207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
2208         implementations.
2209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2210         (__libc_ifunc_impl_list): Likewise.
2211         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
2212         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
2213         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
2214         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
2215         memcmp for PPC64.
2217 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
2220         multiarch for POWER/PPC64.
2221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2222         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
2223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
2224         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
2225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
2226         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
2227         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
2228         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
2229         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
2230         memcpy for PPC64.
2232 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2234         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
2235         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
2236         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
2237         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
2238         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
2239         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
2240         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
2241         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
2242         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
2243         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
2244         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
2245         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
2246         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
2247         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
2248         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
2251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
2253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
2255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
2257 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2259         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
2261 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2263         * benchtests/Makefile (bench): Add exp2 and log2.
2264         (LDLIBS-bench-exp2): Add -lm.
2265         (LDLIBS-bench-log2): Likewise.
2266         * benchtests/exp2-inputs: New inputs file.
2267         * benchtests/log2-inputs: New inputs file.
2268         * benchtests/log-inputs: Add new inputs.
2269         * benchtests/tan-inputs: Likewise.
2271 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2273         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
2274         definition...
2275         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
2276         csloww1, csloww2): ... from here.
2278         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
2279         instead of structures.
2280         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
2281         (POLYNOMIAL): Likewise.
2282         (TAYLOR_SLOW): Likewise.
2283         (__sin): Likewise.
2284         (__cos): Likewise.
2285         (slow1): Likewise.
2286         (slow2): Likewise.
2287         (sloww): Likewise.
2288         (sloww1); Likewise.
2289         (sloww2): Likewise.
2290         (bsloww1): Likewise.
2291         (bsloww2): Likewise.
2292         (cslow2): Likewise.
2293         (csloww): Likewise.
2294         (csloww1): Likewise.
2295         (csloww2): Likewise.
2297 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2299         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
2300         (__malloc_assert, __libc_realloc, __libc_calloc,
2301         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
2302         memcpy and memset.
2303         * malloc/hooks.c (realloc_check): Likewise.
2305 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
2307         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
2308         * malloc/arena.c: Remove PER_THREAD conditional.
2309         [!PER_THREAD]: Remove code.
2310         (ptmalloc_unlock_all2): Likewise.
2311         (ptmalloc_init): Likewise.
2312         (_int_new_arena): Likewise.
2313         (arena_get2): Likewise.
2314         * malloc/hooks.c (__malloc_get_state): Likewise.
2315         (__malloc_set_state): Likewise.
2316         * malloc/malloc.c: Likewise.
2317         (struct malloc_state): Likewise.
2318         (struct malloc_par): Likewise.
2319         (__libc_realloc): Likewise.
2320         (__libc_mallopt): Likewise.
2322 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2324         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
2326 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2328         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
2329         macro to a function.  Check for zero perturb_byte.
2330         (_int_malloc, _int_free): Remove zero perturb_byte checks.
2332 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
2334         * malloc/malloc.c: (force_reg): Remove.
2335         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
2336         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
2337         force_reg by atomic_forced_read.
2338         * malloc/arena.c (ptmalloc_init): Likewise.
2339         * malloc/hooks.c (top_check): Likewise.
2341 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2345 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
2347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2349 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
2351         * math/auto-libm-test-in: Add tests of lgamma.
2352         * math/auto-libm-test-out: Regenerated.
2353         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
2354         (M_LOG_2_SQRT_PIl): Likewise.
2355         (lgamma_test_data): Use AUTO_TESTS_f_f1.
2356         * math/gen-auto-libm-tests.c (func_calc_method): Add value
2357         mpfr_f_f1.
2358         (func_calc_desc): Add mpfr_f_f1 union field.
2359         (ARGS1): New macro.
2360         (ARGS2): Likewise.
2361         (ARGS3): Likewise.
2362         (ARGS4): Likewise.
2363         (RET1): Likewise.
2364         (RET2): Likewise.
2365         (CALC): Likewise.
2366         (FUNC): Likewise.
2367         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
2368         (test_functions): Add lgamma.
2369         (calc_generic_results): Handle mpfr_f_f1.
2370         * sysdeps/i386/fpu/libm-test-ulps: Update.
2371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2373 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2375         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
2376         __mpn_add_n for PowerPC64/POWER7.
2377         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
2378         __mpn_sub_n for PowerPC64/POWER7.
2380 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2382         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
2383         __mpn_addmul_1 for PowerPC64.
2384         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
2385         __mpn_submul_1 for PowerPC64.
2386         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
2387         for PowerPC64.
2388         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
2389         for PowerPC64.
2391 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
2393         [BZ #15089]
2394         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
2396 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2398         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
2400 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2402         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
2403         add multiarch folders.
2404         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
2405         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
2406         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
2407         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
2408         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
2409         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
2410         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
2411         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
2412         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
2413         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
2414         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
2417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
2418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
2419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
2420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
2422 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2425         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
2426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
2427         New file.
2428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
2429         New file.
2430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
2431         multiarch __ieee754_hypot for PowerPC32.
2432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
2433         New file.
2434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
2435         New file.
2436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
2437         multiarch __ieee754_hypotf for PowerPC32.
2439 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2441         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
2442         long_double_symbol only if __logbl is defined.
2443         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
2444         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
2445         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
2446         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
2447         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
2448         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
2449         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
2450         path for implementation.
2451         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
2452         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
2453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
2454         logb, and logbl multiarch implementations for PowerPC32.
2455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
2456         file.
2457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
2458         file.
2459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2460         multiarch logb for PowerPC32.
2461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2462         file.
2463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2464         file.
2465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2466         multiarch logbf for PowerPC32.
2467         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2469         file.
2470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2471         multiarch logbl implementation for PowerPC32.
2473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2476         and modff multiarch implementations.
2477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2478         New file.
2479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2480         New file.
2481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2482         multiarch modf for PowerPC32.
2483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2484         New file.
2485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2486         New file.
2487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2488         multiarch modff for PowerPC32.
2490 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2493         and lrintf multiarch implementations.
2494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2495         New file.
2496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2497         New file.
2498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2499         multiarch lrint for PowerPC32.
2500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2501         file: multiarch lrintf for PowerPC32.
2503 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2506         and lroundf multiarch implementations.
2507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2508         New file.
2509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2510         New file.
2511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2512         New file.
2513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2514         multiarch lround for PowerPC32.
2515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2516         file: multiarch lroundf for PowerPC32.
2518 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2521         copysign and copysignf multiarch implementations.
2522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2523         New file.
2524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2525         New file.
2526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2527         file: multiarch copysign for PowerPC32.
2528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2529         file: multiarch copysignf for PowerPC32.
2531 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2534         and truncf multiarch implementations.
2535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2536         New file.
2537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2538         file.
2539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2540         multiarch trunc for PowerPC32.
2541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2542         New file.
2543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2544         New file.
2545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2546         multiarch truncf for PowerPC32.
2548 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2551         and roundf multiarch implementations.
2552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2553         New file.
2554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2555         file.
2556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2557         multiarch round for PowerPC32.
2558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2559         New file.
2560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2561         New file.
2562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2563         multiarch roundf for PowerPC32.
2565 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2568         and floorf multiarch implementations.
2569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2570         New file.
2571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2572         file.
2573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2574         multiarch floor for PowerPC32.
2575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2576         New file.
2577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2578         New file.
2579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2580         multiarch floorf for PowerPC32.
2582 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2585         and ceilf multiarch implementations.
2586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2587         New file.
2588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2589         file.
2590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2591         multiarch ceil for PowerPC32.
2592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2593         New file.
2594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2595         file.
2596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2597         multiarch ceilf for PowerPC32.
2599 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2601         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2602         is defined.
2603         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2604         FINITEF is defined.
2605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2606         and finitef multiarch implementations.
2607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2608         New file.
2609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2610         file.
2611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2612         multiarch finite for PowerPC32.
2613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2614         New file.
2615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2616         file: multiarch finitef for PowerPC32.
2618 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2621         and isinff multiarch implementations.
2622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2623         file.
2624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2625         file.
2626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2627         multiarch isinf for PowerPC32.
2628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2629         New file.
2630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2631         multiarch isinff for PowerPC32.
2633 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2635         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2636         alias when __isnan is defined.
2637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2638         and isnanf multiarch implementations.
2639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2640         file.
2641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2642         file.
2643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2644         file.
2645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2646         file.
2647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2648         multiarch isnan for PowerPC32.
2649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2650         New file.
2651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2652         New file.
2653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2654         multiarch isnanf for PowerPC32.
2656 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2659         and sqrtf multiarch implementations.
2660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2661         file.
2662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2663         file.
2664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2665         multiarch sqrt for PowerPC32.
2666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2667         file.
2668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2669         file.
2670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2671         multiarch sqrtf for PowerPC32.
2673 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2676         and llroundf multiarch implementations.
2677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2678         New file.
2679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2680         New file.
2681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2682         New file.
2683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2684         file: multiarch llround for PowerPC32.
2685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2686         file: multiarch llroundf for PowerPC32.
2688 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2691         multiarch PowerPC32 fpu implementations.
2692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2693         New file.
2694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2695         New file.
2696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2697         multiarch llrint for PowerPC32.
2698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2699         New file.
2700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2701         New file.
2702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2703         file.
2705 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2709 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2712         file.
2713         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2714         file.
2715         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2716         file.
2717         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2718         multiarch wordcopy for PPC32.
2719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2720         wordcopy objects.
2721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2722         (__libc_ifunc_impl_list): Likewise.
2723         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2724         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2725         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2726         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2727         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2728         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2730 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2732         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2734         file.
2735         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2736         file.
2737         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2738         file.
2739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2740         multiarch wcscpy for PPC32.
2741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2742         multiarch objects.
2743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2744         (__libc_ifunc_impl_list): Likewise.
2745         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2746         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2747         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2748         sysdeps/powerpc/power6/wcscpy.c.
2750 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2752         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2753         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2754         file.
2755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2756         file.
2757         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2758         file.
2759         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2760         multiarch wcsrchr for PPC32.
2761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2762         multiarch objects.
2763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2764         (__libc_ifunc_impl_list): Likewise.
2765         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2766         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2767         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2768         sysdeps/powerpc/power6/wcsrchr.c.
2770 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2773         file.
2774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2775         file.
2776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2778         multiarch wcschr for PPc32.
2779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2780         multiarch objects.
2781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2782         (__libc_ifunc_impl_list): Likewise.
2783         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2784         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2785         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2786         sysdeps/powerpc/power6/wcschr.c.
2788 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2790         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2791         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2792         file.
2793         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2794         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2795         file: multiarch strchr for PPC32.
2796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2797         multiarch objects.
2798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2799         (__libc_ifunc_impl_list): Likewise.
2801 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2803         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2804         name.
2805         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2806         file.
2807         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2808         file.
2809         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2810         multiarch strchrnul for PPC32.
2811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2812         multiarch objects.
2813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2814         (__libc_ifunc_impl_list): Likewise.
2816 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2818         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2819         file.
2820         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2821         multiarch strncasecmp for PPC32.
2822         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2823         file.
2824         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2825         multiarch strncasecmp_l for PPC32.
2826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2827         strncasecmp multiarch objects.
2828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2829         (__libc_ifunc_impl_list): Likewise.
2831 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2833         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2834         file.
2835         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2836         multiarch strncasecmp for PPC32.
2837         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2838         New file.
2839         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2840         multiarch strcasecmp_l for PPC32.
2841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2842         multiarch objects.
2843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2844         (__libc_ifunc_impl_list): Likewise.
2846 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2848         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2849         file.
2850         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2851         file.
2852         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2853         multiarch strncmp for PPC32.
2854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2855         multiarch objects.
2856         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2857         (__libc_ifunc_impl_list): Likewise.
2859 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2861         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2862         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2863         file.
2864         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2865         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2867         multiarch objects.
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/strlen-power7.S: New
2874         file.
2875         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2876         file.
2877         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2878         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2879         multiarch objects.
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/rawmemchr-power7.S: New
2886         file.
2887         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2888         file.
2889         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2890         multiarch rawmemchr for PPC32.
2891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2892         multiarch objects.
2893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2894         (__libc_ifunc_impl_list): Likewise.
2896 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2898         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2899         file.
2900         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2901         file.
2902         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2903         file: memrchr multiarch for PPC32.
2904         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2905         multiarch objects.
2906         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2907         (__libc_ifunc_impl_list): Likewise.
2909 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2911         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2912         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2913         file.
2914         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2915         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2916         multiarch memchr for PPC32.
2917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2918         multiarch objects.
2919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2920         (__libc_ifunc_impl_list): Likewise.
2922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2924         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2925         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2926         file.
2927         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2928         file.
2929         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2930         file: multiarch mempcpy for PPC32.
2931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2932         multiarch objects.
2933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2934         (__libc_ifunc_impl_list): Likewise.
2936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2938         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2939         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2940         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2941         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2942         multiarch bzero for PPC32.
2943         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2944         file.
2945         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2946         file.
2947         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2948         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2949         file: multiarch memset for PPC32.
2950         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2952         memset multiarch objects.
2953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2954         (__libc_ifunc_impl_list): Likewise.
2956 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2959         file.
2960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2962         memcmp for PPC32.
2963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2965         multiarch objects.
2966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2967         (__libc_ifunc_impl_list): Likewise.
2969 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2971         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2974         file.
2975         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2976         file.
2977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2978         file.
2979         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2980         multiarch memcpy for PPC32.
2981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2982         multiarch objects.
2983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2984         (__libc_ifunc_impl_list): Likewise.
2986 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2989         support multiarch for POWER/PPC32.
2990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2991         Likewise.
2992         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2994         Implies file to make multiarch folder appers before the fpu and
2995         default folder for power4 configuration.
2997 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2999         * scripts/bench.pl: Append volatile keyword to type.
3001 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3003         * sysdeps/sh/sotruss-lib.c: New file.
3004         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
3006 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3008         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3010 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
3012         [BZ #6810]
3013         * math/w_tgamma.c: Include <errno.h>.
3014         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
3015         * math/w_tgammaf.c: Include <errno.h>.
3016         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
3017         * math/w_tgammal.c: Include <errno.h>.
3018         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
3019         * math/auto-libm-test-in: Do not allow missing errno on tgamma
3020         underflow.  Add more tgamma tests.
3021         * math/auto-libm-test-out: Regenerated.
3022         * sysdeps/i386/fpu/libm-test-ulps: Update.
3023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3025         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
3026         sin, sinh, tan, tanh, tgamma, y0 and y1.
3027         * math/auto-libm-test-out: Regenerated.
3028         * math/libm-test.inc (TEST_COND_x86_64): New macro.
3029         (TEST_COND_x86): Likewise.
3030         (M_E2l): Remove macro.
3031         (M_E3l): Likewise.
3032         (M_2_SQRT_PIl): Likewise.
3033         (M_SQRT_PIl): Likewise.
3034         (M_1_DIV_El): Likewise.
3035         (log_test_data): Use AUTO_TESTS_f_f.
3036         (log10_test_data): Likewise.
3037         (log1p_test_data): Likewise.
3038         (log2_test_data): Likewise.
3039         (sin_test_data): Likewise.
3040         (sin_tonearest_test_data): Likewise.
3041         (sin_towardzero_test_data): Likewise.
3042         (sin_downward_test_data): Likewise.
3043         (sin_upward_test_data): Likewise.
3044         (sinh_test_data): Likewise.
3045         (sinh_tonearest_test_data): Likewise.
3046         (sinh_towardzero_test_data): Likewise.
3047         (sinh_downward_test_data): Likewise.
3048         (sinh_upward_test_data): Likewise.
3049         (tan_test_data): Likewise.
3050         (tan_tonearest_test_data): Likewise.
3051         (tan_towardzero_test_data): Likewise.
3052         (tan_downward_test_data): Likewise.
3053         (tan_upward_test_data): Likewise.
3054         (tanh_test_data): Likewise.
3055         (tgamma_test_data): Likewise.
3056         (y0_test_data): Likewise.
3057         (y1_test_data): Likewise.
3058         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
3059         (special_real_inputs): Add pi/4.
3060         * sysdeps/i386/fpu/libm-test-ulps: Update.
3061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3063 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3065         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
3066         "longjmp_target" static probes.
3067         (__longjmp): Rename to __longjmp_symbol.
3068         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3069         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
3070         on which longjmp to generate.
3071         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3072         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
3073         probe.
3074         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3075         (__sigjmp_save): Rename to __sigjmp_save_symbol.
3076         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3077         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
3078         and __sigjmp_save_symbol based on which sigsetjmp to generated.
3079         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
3081         __longjmp_symbol based on which __longjmp to generate.
3082         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
3083         probe.
3084         (setjmp): Rename to setjmp_symbol.
3085         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3086         (_setjmp): Rename to _setjmp_symbol.
3087         (__sigsetjmp): Rename to __sigsetjmp_symbol.
3088         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
3089         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
3090         which setjmp to generate.
3091         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
3092         "longjmp_target" static probes.
3094 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3096         * benchtests/README: Add note about output arguments.
3097         * benchtests/bench-sincos.c: Remove file.
3098         * benchtests/sincos-inputs: New file.
3099         * scripts/bench.pl: Identify output arguments and define
3100         static variables for them.
3102         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
3104         [BZ #15941]
3105         * Makefile (INSTALL): Add install-plain.texi as the primary
3106         dependency.
3107         * manual/install-plain.texi: New file.
3108         * manual/install.texi: Include node directive only for
3109         non-plaintext output.
3111 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
3113         * stdlib/longlong.h: Update from GCC.
3115         [BZ #6807]
3116         [BZ #15901]
3117         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
3118         * math/w_j0f.c (y0f): Likewise.
3119         * math/w_j0l.c (__y0l): Likewise.
3120         * math/w_j1.c (y1): Likewise.
3121         * math/w_j1f.c (y1f): Likewise.
3122         * math/w_j1l.c (__y1l): Likewise
3123         * math/w_jn.c (yn): Likewise.
3124         * math/w_jnf.c (ynf): Likewise.
3125         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
3126         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
3127         value for Bessel function domain errors outside _SVID_ mode.
3128         Adjust sign of return value for yn (negative integer, 0).
3129         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
3130         by zero in return for negative x and set sign appropriately for
3131         negative n.
3132         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
3133         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
3134         * math/libm-test.inc (y0_test_data): Add more tests and adjust
3135         expectations in error cases.
3136         (y1_test_data): Likewise.
3137         (yn_test_data): Likewise.
3138         * sysdeps/i386/fpu/libm-test-ulps: Update.
3139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3141 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3143         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
3144         "64" to "64-v1".  Add "64-v2".
3145         (abi-64-options): Rename to ...
3146         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
3147         (abi-64-condition): Rename to ...
3148         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
3149         (abi-64-ld-soname): Rename to ...
3150         (abi-64-v1-ld-soname): ... this.
3151         (abi-64-v2-options): Define.
3152         (abi-64-v2-condition): Likewise.
3153         (abi-64-v2-ld-soname): Likewise.
3154         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
3155         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
3157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
3158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
3160 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3161             Alan Modra  <amodra@gmail.com>
3163         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
3164         New versions for use with the ELFv2 ABI.
3165         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
3166         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
3167         declaration.
3168         (struct La_ppc64v2_retval): Likewise.
3169         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
3170         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
3171         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
3172         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
3173         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
3174         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
3175         Do not save or restore CR.
3176         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
3177         (_dl_profile_resolve): Do no save or restore CR.  Support extended
3178         return values for ELFv2 ABI.  Fix location of FPR return registers.
3179         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
3180         updated values for _CALL_ELF == 2.
3181         (La_regs, La_retval, int_retval): Likewise.
3183 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3185         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
3186         (FRAME_MIN_SIZE_PARM): Likewise.
3187         (FRAME_BACKCHAIN): Likewise.
3188         (FRAME_CR_SAVE): Likewise.
3189         (FRAME_LR_SAVE): Likewise.
3190         (FRAME_TOC_SAVE): Likewise.
3191         (FRAME_PARM_SAVE): Likewise.
3192         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3193         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3194         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3195         (call_mcount_parm_offset): New macro.
3196         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
3197         (PROF): Use symbolic stack frame offsets.
3198         (TAIL_CALL_SYSCALL_ERROR): Likewise.
3199         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
3200         Redefine in terms of FRAME_MIN_SIZE.
3201         (_dl_runtime_resolve): Use symbolic stack frame offsets.
3202         (_dl_profile_resolve): Likewise.  Update comment.
3203         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
3204         symbols stack frame offsets.
3205         (__sigsetjmp): Likewise.
3206         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
3207         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
3208         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
3209         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
3211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
3212         (FRAME_BACKCHAIN): Remove.
3213         (FRAME_CR_SAVE): Likewise.
3214         (FRAME_LR_SAVE): Likewise.
3215         (FRAME_COMPILER_DW): Likewise.
3216         (FRAME_LINKER_DW): Likewise.
3217         (FRAME_TOC_SAVE): Likewise.
3218         (FRAME_PARM_SAVE): Likewise.
3219         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3220         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3221         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
3222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
3223         (CHECK_SP): Use symbolic stack frame offsets.
3224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
3225         zone" instead of caller's parameter save area for temp storage.
3226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3227         Likewise.  Also, use symbolic stack frame offsets.
3228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
3229         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
3230         our own stack frame instead of the caller's.
3231         (__socket): Use symbolic stack frame offsets.
3233 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3234             Alan Modra  <amodra@gmail.com>
3236         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
3237         Define.
3238         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
3239         PPC64_LOCAL_ENTRY_OFFSET): Define.
3240         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
3241         New function.
3242         (elf_machine_fixup_plt): Call it.
3243         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
3244         reloc arguments.
3245         (elf_machine_rela): Update call to elf_machine_plt_conflict.
3246         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3247         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
3248         r2 before calling target.
3250 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3251             Alan Modra  <amodra@gmail.com>
3253         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
3254         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
3255         versions of macros to support ELFv2 ABI.
3256         (LOCALENTRY): New macro.
3257         (ENTRY, EALIGN): Use it.
3258         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
3259         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
3260         fall through into ENTRY entry point.
3261         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
3262         Only define if _CALL_ELF != 2.
3264         (elf_machine_matches_host): Verify ABI version matches.
3265         (RTLD_START): Use LOCALENTRY.
3266         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
3267         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
3268         (PLT_ENTRY_WORDS): New macro.
3269         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
3270         (elf_machine_runtime_setup): Support ELFv2 ABI.
3271         (elf_machine_fixup_plt): Likewise.
3272         (elf_machine_plt_conflict): Likewise.
3273         (resolve_ifunc): Likewise.
3274         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
3278         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3280         (makecontext): Support ELFv2 ABI.
3281         * elf/elf.h (EF_PPC64_ABI): Define.
3283 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3285         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
3286         New assembler macro.
3287         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
3288         [ASSEMBLER] (ENTRY): ... but instead here ...
3289         [ASSEMBLER] (EALIGN): ... and here.
3290         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
3291         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
3292         [!ASSEMBLER] (ENTRY_2): Use it.
3293         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
3294         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
3295         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
3296         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
3297         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
3298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
3299         Use PPC64_LOAD_FUNCPTR.
3301 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3303         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
3305 2013-12-04  Alan Modra  <amodra@gmail.com>
3307         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
3308         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
3309         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
3310         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
3312         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
3313         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
3314         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
3315         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
3316         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
3317         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
3319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
3321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
3322         (__makecontext): Fix incorrect CFI when backtracing out of
3323         context created via makecontext.
3324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
3325         (__setcontext): Fix incorrect CFI during switch to new context.
3326         (__novec_setcontext): Likewise.
3328 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3330         [BZ #4772]
3331         * time/strptime_l.c (__strptime_internal): Allow modifiers
3332         in strptime.
3333         * time/tst-strptime.c (day_tests): Add testcase.
3336 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3338         * scripts/bench.pl: Skip over blank lines.
3340 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
3342         [BZ #926]
3343         * manual/time.texi (Calendar Time): Clarify what timezone functions
3344         use.
3346 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3350 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
3352         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
3353         implementation.
3354         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3355         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3356         * debug/memset_chk.c (__memset_chk): Likewise.
3357         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
3358         * debug/strncpy_chk.c: Likewise.
3360 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3362         [BZ #15268]
3363         [BZ #15425]
3364         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
3365         (__ieee754_exp): For possibly underflowing results, check size of
3366         result and force underflow exception if required.
3367         * math/auto-libm-test-in: Add more tests of exp.
3368         * math/auto-libm-test-out: Regenerated.
3369         * sysdeps/i386/fpu/libm-test-ulps: Update.
3370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3372         [BZ #16283]
3373         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
3374         * math/w_exp2f.c (__exp2f): Likewise.
3375         * math/w_exp2l.c (__exp2l): Likewise.
3376         * math/auto-libm-test-in: Do not allow missing errno on exp2
3377         underflow.
3378         * math/auto-libm-test-out: Regenerated.
3380 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
3382         [BZ #16274]
3383         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
3384         handle filename validation.
3385         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
3386         (do_open): Delete.
3388 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
3390         [BZ #6786]
3391         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
3392         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
3393         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
3394         <float.h>.
3395         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
3396         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
3397         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
3399         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3400         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
3401         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
3402         * math/auto-libm-test-in: Don't allow missing errno from erfc.
3403         Add more erfc tests.
3404         * math/auto-libm-test-out: Regenerated.
3405         * sysdeps/i386/fpu/libm-test-ulps: Update.
3406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3408         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
3409         exp2, expm1, j0 and j1.
3410         * math/auto-libm-test-out: Regenerated.
3411         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
3412         (erfc_test_data): Likewise.
3413         (exp_test_data): Likewise.
3414         (exp_tonearest_test_data): Likewise.
3415         (exp_towardzero_test_data): Likewise.
3416         (exp_downward_test_data): Likewise.
3417         (exp_upward_test_data): Likewise.
3418         (exp10_test_data): Likewise.
3419         (exp2_test_data): Likewise.
3420         (expm1_test_data): Likewise.
3421         (j0_test_data): Likewise.
3422         (j1_test_data): Likewise.
3423         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
3424         (input_flag_type): Add flag_xfail_rounding.
3425         (input_flags): Add xfail-rounding.
3426         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
3427         (output_for_one_input_case): Handle flag_xfail_rounding.
3428         * sysdeps/i386/fpu/libm-test-ulps: Update.
3429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3431 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
3433         [BZ #16289]
3434         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
3435         division by 0.
3437 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3439         [BZ #16195]
3440         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3441         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
3442         (STAP_PROBE0): New macro.
3443         (STAP_PROBE1): Likewise.
3444         (STAP_PROBE2): Likewise.
3445         (STAP_PROBE3): Likewise.
3446         (STAP_PROBE4): Likewise.
3448 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
3450         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
3452 2013-12-02  Steve Ellcey  <sellcey@mips.com>
3454         * benchtests/Makefile (bench): Add sqrt.
3455         (LDLIBS-bench-sqrt): New.
3456         * benchtests/sqrt-input: New.
3458 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
3460         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3461         (GAIH_EAI): Likewise.
3462         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3463         (gaih_inet): Likewise.
3464         (getaddrinfo): Don't use GAIH_EAI.
3466         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3467         (struct gaih): Remove definition.
3469 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3471         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3472         Use HERRNOP directly.
3474 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3478 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3480         * math/gen-auto-libm-tests.c (test_functions): Add more
3481         single-argument functions.
3482         (special_fill_pi_2): New function.
3483         (special_fill_minus_pi_2): Likewise.
3484         (special_fill_pi_6): Likewise.
3485         (special_fill_minus_pi_6): Likewise.
3486         (special_fill_pi_3): Likewise.
3487         (special_fill_2pi_3): Likewise.
3488         (special_fill_e): Likewise.
3489         (special_fill_1_e): Likewise.
3490         (special_fill_e_minus_1): Likewise.
3491         (special_real_inputs): Add more special inputs.
3492         (output_for_one_input_case): Do not require ERANGE on underflow to
3493         zero if round-to-nearest result does not underflow to zero, unless
3494         exact results required.
3495         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3496         atan, atanh, cbrt, cos and cosh.
3497         * math/auto-libm-test-out: Regenerated.
3498         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3499         (acos_tonearest_test_data): Likewise.
3500         (acos_towardzero_test_data): Likewise.
3501         (acos_downward_test_data): Likewise.
3502         (acos_upward_test_data): Likewise.
3503         (acosh_test_data): Likewise.
3504         (asin_test_data): Likewise.
3505         (asin_tonearest_test_data): Likewise.
3506         (asin_towardzero_test_data): Likewise.
3507         (asin_upward_test_data): Likewise.
3508         (asinh_test_data): Likewise.
3509         (atan_test_data): Likewise.
3510         (atanh_test_data): Likewise.
3511         (cbrt_test_data): Likewise.
3512         (cos_test_data): Likewise.
3513         (cos_tonearest_test_data): Likewise.
3514         (cos_towardzero_test_data): Likewise.
3515         (cos_downward_test_data): Likewise.
3516         (cos_upward_test_data): Likewise.
3517         (cosh_test_data): Likewise.
3518         (cosh_tonearest_test_data): Likewise.
3519         (cosh_towardzero_test_data): Likewise.
3520         (cosh_downward_test_data): Likewise.
3521         (cosh_upward_test_data): Likewise.
3522         * sysdeps/i386/fpu/libm-test-ulps: Update.
3523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3525 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3527         [BZ #6787]
3528         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3529         * math/w_exp10f.c (__exp10f): Likewise.
3530         * math/w_exp10l.c (__exp10l): Likewise.
3531         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3532         errno settings in existing tests.
3534         [BZ #14032]
3535         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3536         precision control set to double precision.
3537         * sysdeps/i386/fpu/w_sqrt.c: New file.
3538         * math/auto-libm-test-in: Add more tests.
3539         * math/auto-libm-test-out: Update.
3541         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3542         (sqrt_test_tonearest): New function.
3543         (sqrt_towardzero_test_data): New variable.
3544         (sqrt_test_towardzero): New function.
3545         (sqrt_downward_test_data): New variable.
3546         (sqrt_test_downward): New function.
3547         (sqrt_upward_test_data): New variable.
3548         (sqrt_test_upward): New function.
3549         (main): Call the new functions.
3551         * math/gen-auto-libm-tests.c: New file.
3552         * math/auto-libm-test-in: Likewise.
3553         * math/auto-libm-test-out: New generated file.
3554         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3555         variables.
3556         (%beautify): Add generated representations of zero.
3557         (top level): Set $auto_input and call parse_auto_input.
3558         (beautify): Remove trailing "f" from hex float constants.
3559         (parse_args): Handle XFAIL_TEST.
3560         (convert_condition): New function.
3561         (or_value): Likewise.
3562         (or_cond_value): Likewise.
3563         (generate_testfile): Handle AUTO_TESTS_* lines.
3564         (parse_auto_input): New function.
3565         * math/libm-test.inc (XFAIL_TEST): New macro.
3566         (ERRNO_UNCHANGED): Update value.
3567         (ERRNO_EDOM): Likewise.
3568         (ERRNO_ERANGE): Likewise.
3569         (IGNORE_RESULT): Likewise.
3570         (TEST_COND_flt_32): New macro.
3571         (TEST_COND_dbl_64): Likewise.
3572         (TEST_COND_ldbl_96_intel): Likewise.
3573         (TEST_COND_ldbl_96_m68k): Likewise.
3574         (TEST_COND_ldbl_128): Likewise.
3575         (TEST_COND_ldbl_128ibm): Likewise.
3576         (TEST_COND_long32): Likewise.
3577         (TEST_COND_long64): Likewise.
3578         (TEST_COND_before_rounding): Likewise.
3579         (TEST_COND_after_rounding): Likewise.
3580         (enable_test): Handle XFAIL_TEST flag.
3581         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3582         with finite results.
3583         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3584         auto-libm-test-out.
3586 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3587             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3589         [BZ #16214]
3590         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3591         __tls_get_addr_internal instead of __tls_get_offset in order to
3592         avoid GOT pointer dependency.  Make rtld export
3593         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3594         __tls_get_addr since we are a __tls_get_offset platform.
3595         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3596         GOT pointer being set up before.
3597         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3599 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3601         * manual/math.texi (Errors in Math Functions): Document accuracy
3602         goals.
3604         [BZ #15004]
3605         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3606         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3607         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3608         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3609         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3610         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3611         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3612         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3613         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3614         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3615         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3618         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3619         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3620         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3622         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3623         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3624         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3625         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3626         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3627         Likewise.
3628         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3629         Likewise.
3630         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3631         Likewise.
3632         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3633         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3634         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3635         atomic-feupdateenv and flt-rounds.
3636         * sysdeps/powerpc/nofpu/Versions (libc): Add
3637         __atomic_feholdexcept, __atomic_feclearexcept,
3638         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3639         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3640         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3641         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3642         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3643         here.
3644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3645         Update.
3647         * manual/arith.texi (FP Exceptions): Document that exceptions may
3648         not be raised when matherr is used.
3649         (Math Error Reporting): Document overflow in directed rounding
3650         modes.  Document that errno may not be set when finite values are
3651         returned on overflow.  Document intent to set errno on underflow
3652         only for underflow to zero.
3654         [BZ #16271]
3655         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3656         round-to-nearest then adjust result for other rounding modes.
3657         * include/fenv.h (fegetround): Use libm_hidden_proto.
3658         * math/fegetround.c (fegetround): Use libm_hidden_def.
3659         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3660         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3661         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3662         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3663         Likewise.
3664         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3666         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3667         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3669 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3671         [BZ #16077]
3672         * nss/Versions (libnss_files): Add
3673         _nss_files_gethostbyname3_r.
3674         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3675         New function.
3676         (HOST_DB_LOOKUP): Remove macro.
3677         (_nss_files_gethostbyname_r): Implement function without the
3678         HOST_DB_LOOKUP macro.
3679         (_nss_files_gethostbyname2_r): Likewise.
3681 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3683         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3685 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3687         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3688         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3689         warning.
3691 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3693         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3694         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3695         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3696         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3697         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3698         __fe_nomask_env_priv and attribute_hidden.
3699         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3700         (libc_feupdateenv_test_ppc): Likewise.
3701         (libc_feresetround_ppc): Likewise.
3702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3703         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3704         compat_symbol macro.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3706         (__fe_nomask_env): Likewise.
3707         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3711         * string/Makefile: Remove ifunc tests.
3712         * string/test-string.h: Define TEST_IFUNC.
3713         * string/test-bcopy-ifunc.c: Remove.
3714         * string/test-bzero-ifunc.c: Likewise.
3715         * string/test-memccpy-ifunc.c: Likewise.
3716         * string/test-memchr-ifunc.c: Likewise.
3717         * string/test-memcmp-ifunc.c: Likewise.
3718         * string/test-memcpy-ifunc.c: Likewise.
3719         * string/test-memmem-ifunc.c: Likewise.
3720         * string/test-memmove-ifunc.c: Likewise.
3721         * string/test-mempcpy-ifunc.c: Likewise.
3722         * string/test-memrchr-ifunc.c: Likewise.
3723         * string/test-memset-ifunc.c: Likewise.
3724         * string/test-rawmemchr-ifunc.c: Likewise.
3725         * string/test-stpcpy-ifunc.c: Likewise.
3726         * string/test-stpncpy-ifunc.c: Likewise.
3727         * string/test-strcasecmp-ifunc.c: Likewise.
3728         * string/test-strcasestr-ifunc.c: Likewise.
3729         * string/test-strcat-ifunc.c: Likewise.
3730         * string/test-strchr-ifunc.c: Likewise.
3731         * string/test-strchrnul-ifunc.c: Likewise.
3732         * string/test-strcmp-ifunc.c: Likewise.
3733         * string/test-strcpy-ifunc.c: Likewise.
3734         * string/test-strcspn-ifunc.c: Likewise.
3735         * string/test-strlen-ifunc.c: Likewise.
3736         * string/test-strncasecmp-ifunc.c: Likewise.
3737         * string/test-strncat-ifunc.c: Likewise.
3738         * string/test-strncmp-ifunc.c: Likewise.
3739         * string/test-strncpy-ifunc.c: Likewise.
3740         * string/test-strnlen-ifunc.c: Likewise.
3741         * string/test-strpbrk-ifunc.c: Likewise.
3742         * string/test-strrchr-ifunc.c: Likewise.
3743         * string/test-strspn-ifunc.c: Likewise.
3744         * string/test-strstr-ifunc.c: Likewise.
3746 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3748         * benchtests/Makefile: Remove ifunc tests.
3749         * benchtests/bench-string.h: Define TEST_IFUNC.
3750         * benchtests/bench-bcopy-ifunc.c: Remove.
3751         * benchtests/bench-bzero-ifunc.c: Likewise.
3752         * benchtests/bench-memccpy-ifunc.c: Likewise.
3753         * benchtests/bench-memchr-ifunc.c: Likewise.
3754         * benchtests/bench-memcmp-ifunc.c: Likewise.
3755         * benchtests/bench-memcpy-ifunc.c: Likewise.
3756         * benchtests/bench-memmem-ifunc.c: Likewise.
3757         * benchtests/bench-memmove-ifunc.c: Likewise.
3758         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3759         * benchtests/bench-memrchr-ifunc.c: Likewise.
3760         * benchtests/bench-memset-ifunc.c: Likewise.
3761         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3762         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3763         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3764         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3765         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3766         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3767         * benchtests/bench-strcat-ifunc.c: Likewise.
3768         * benchtests/bench-strchr-ifunc.c: Likewise.
3769         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3770         * benchtests/bench-strcmp-ifunc.c: Likewise.
3771         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3772         * benchtests/bench-strcpy-ifunc.c: Likewise.
3773         * benchtests/bench-strcspn-ifunc.c: Likewise.
3774         * benchtests/bench-strlen-ifunc.c: Likewise.
3775         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3776         * benchtests/bench-strncat-ifunc.c: Likewise.
3777         * benchtests/bench-strncmp-ifunc.c: Likewise.
3778         * benchtests/bench-strncpy-ifunc.c: Likewise.
3779         * benchtests/bench-strnlen-ifunc.c: Likewise.
3780         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3781         * benchtests/bench-strrchr-ifunc.c: Likewise.
3782         * benchtests/bench-strsep-ifunc.c: Likewise.
3783         * benchtests/bench-strspn-ifunc.c: Likewise.
3784         * benchtests/bench-strstr-ifunc.c: Likewise.
3786 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3788         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3792         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3793         * rt/aio.h: Likewise.
3794         * sysdeps/gnu/bits/utmp.h: Likewise.
3795         * sysdeps/gnu/bits/utmpx.h: Likewise.
3796         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3797         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3798         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3799         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3800         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3801         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3802         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3803         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3804         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3805         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3806         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3807         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3808         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3810         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3811         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3812         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3813         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3814         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3815         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3816         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3817         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3818         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3819         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3820         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3822         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3823         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3824         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3825         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3826         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3827         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3828         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3829         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3830         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3831         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3832         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3833         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3834         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3835         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3836         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3837         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3839 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3841         [BZ #16245]
3842         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3843         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3845 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3847         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3849         Likewise.
3851 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3854         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3855         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3856         (__fesetround): Remove define.
3857         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3858         rounding and exceptions handling.
3859         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3860         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3861         (__fe_nomask_env): Likewise.
3862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3863         __fegetround instead of fegetround.
3864         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3865         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3867 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3869         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3870         it's there.
3872         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3874 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3876         [BZ #11157]
3877         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3878         (encrypt_r): Likewise.
3879         * malloc/obstack.h (obstack_free): Likewise.
3880         * posix/unistd.h (encrypt): Likewise.
3882 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3884         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3885         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3886         DL_CALL_DT_FINI() that call the functions directly.
3887         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3888         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3889         * elf/dl-fini.c: Likewise.
3891 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3893         * malloc/hooks.c (memalign_check): Add alignment rounding.
3894         * malloc/malloc.c (_mid_memalign): New function.
3895         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3896         Implement by calling _mid_memalign.
3897         * manual/probes.texi (Memory Allocation Probes): Remove
3898         memory_valloc_retry and memory_pvalloc_retry.
3900 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3902         * locale/programs/locarchive.c (open_archive): Add const
3903         qualifier to ARCHIVEFNAME and copy default fname to
3904         DEFAULT_FNAME.
3906         [BZ #15601]
3907         * libio/tst-widetext.input: Rename Oriya to Odia.
3908         * locale/iso-639.def: Likewise.
3910         * manual/probes.texi (Mathematical Function Probes): Add
3911         documentation for sin, cos, asin and acos probes.
3912         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3913         (__sin32): Add slowasin probe.
3914         (__cos32): Add slowacos probe.
3915         (__mpsin): Add slowsin probe.
3916         (__mpcos): Add slowcos probe.
3918 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3920         [BZ #15483]
3921         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3922         thread-local __sim_exceptions_thread and global
3923         __sim_exceptions_global.
3924         (__sim_disabled_exceptions): Change to thread-local
3925         __sim_disabled_exceptions_thread and global
3926         __sim_disabled_exceptions_global.
3927         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3928         and global __sim_round_mode_global.
3929         (__simulate_exceptions): Use thread-local floating-point state and
3930         set global state from it as needed.
3931         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3932         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3933         __sim_round_mode_thread.
3934         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3935         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3936         and global __sim_exceptions_global.
3937         (__sim_disabled_exceptions): Change to thread-local
3938         __sim_disabled_exceptions_thread and global
3939         __sim_disabled_exceptions_global.
3940         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3941         and global __sim_round_mode_global.
3942         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3943         (SIM_SET_GLOBAL): Likewise.
3944         * sysdeps/powerpc/soft-fp/sfp-machine.h
3945         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3946         __sim_round_mode_thread.
3947         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3948         __sim_disabled_exceptions_thread.
3949         (__sim_exceptions): Change to __sim_exceptions_thread.
3950         (__sim_disabled_exceptions): Change to
3951         __sim_disabled_exceptions_thread.
3952         (__sim_round_mode): Change to __sim_round_mode_thread.
3953         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3954         thread-local floating-point state and set global state from it as
3955         needed.
3956         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3957         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3958         (__sim_disabled_exceptions): Remove extern declaration.
3959         (feenableexcept): Use thread-local floating-point state and set
3960         global state from it as needed.
3961         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3962         extern declaration.
3963         (__sim_disabled_exceptions): Likewise.
3964         (__sim_round_mode): Likewise.
3965         (__fegetenv): Use thread-local floating-point state.
3966         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3967         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3968         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3969         floating-point state and set global state from it as needed.
3970         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3971         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3972         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3973         Likewise.
3974         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3975         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3976         Likewise.
3977         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3978         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3979         Use __sim_round_mode_thread.
3980         * math/test-fenv-tls.c: New file.
3981         * math/Makefile (tests): Add test-fenv-tls.
3982         ($(objpfx)test-fenv-tls): Depend on
3983         $(common-objpfx)nptl/libpthread.so.
3985 2013-11-19  Andreas Schwab  <schwab@suse.de>
3987         * locale/programs/locale.c (show_info): Decode wordarray elements.
3988         * locale/categories.def (LC_MONETARY): Add element for
3989         _NL_MONETARY_CRNCYSTR.
3990         * locale/C-monetary.c (conversion_rate): New variable.
3991         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3992         element.
3994 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3996         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3997         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3999 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
4001         * elf/Makefile (tst-auxv): New test.
4002         * elf/tst-auxv.c: New
4003         * elf/rtld.c (dl_main): Adjust AT_EXECFN
4005 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
4007         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4008         (hidden_proto): Caller changed.
4009         (hidden_tls_proto): New macro.
4010         (libc_hidden_tls_proto): Likewise.
4011         (rtld_hidden_tls_proto): Likewise.
4012         (libm_hidden_tls_proto): Likewise.
4013         (libresolv_hidden_tls_proto): Likewise.
4014         (librt_hidden_tls_proto): Likewise.
4015         (libdl_hidden_tls_proto): Likewise.
4016         (libnss_files_hidden_tls_proto): Likewise.
4017         (libnsl_hidden_tls_proto): Likewise.
4018         (libnss_nisplus_hidden_tls_proto): Likewise.
4019         (libutil_hidden_tls_proto): Likewise.
4021 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
4023         [BZ #10253]
4024         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
4025         (decompose_rpath): Defer expansion to fillin_rpath.
4026         (_dl_init_paths): Pass linkmap to fillin_rpath.
4028 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4030         * benchtests/Makefile: Add strsep.
4031         * benchtests/bench-strsep.c: New file: strsep benchtest.
4032         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
4034 2013-11-18  Andreas Schwab  <schwab@suse.de>
4036         * locale/programs/locale.c (show_info) [case byte]: Check for
4037         '\377' instead of '\177'.
4038         * locale/C-monetary.c (not_available): Always use "\377".
4039         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
4040         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
4041         detect unavailable sign_posn locale elements.
4042         * locale/localeconv.c (__localeconv): For grouping and
4043         mon_grouping handle "\177" and "\377" like no grouping.
4044         (INT_ELEM): New macro.  Use it to set all numeric members.
4045         * locale/programs/ld-monetary.c (monetary_read)
4046         <tok_mon_grouping>: Normalize single -1 to the empty string.
4047         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
4048         Likewise.
4050 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4052         [BZ #16055]
4053         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
4054         when we match (nil).
4055         * stdio-common/tst-sscanf.c (struct test): Add testcase.
4057 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
4059         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4060         (NO_TEST_INLINE): Update value.
4061         (ERRNO_UNCHANGED): Likewise.
4062         (ERRNO_EDOM): Likewise.
4063         (ERRNO_ERANGE): Likewise.
4064         (IGNORE_RESULT): Likewise.
4065         (check_float_internal): Check signs of NaN results if
4066         TEST_NAN_SIGN used.
4067         (check_complex): Pass TEST_NAN_SIGN flag through to second
4068         check_float_internal call.
4069         (copysign_test_data): Add tests with quiet NaNs as second
4070         argument.  Use TEST_NAN_SIGN.
4071         (fabs_test_data): Add test of negative quiet NaN argument.  Use
4072         TEST_NAN_SIGN.
4073         (signbit_test_data): Add tests of quiet NaN argument.
4074         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
4076         * math/gen-libm-test.pl (show_exceptions): Take extra argument
4077         $ignore_result.
4078         (parse_args): Handle function results specified as IGNORE.
4079         * math/libm-test.inc (IGNORE_RESULT): New macro.
4080         (check_float_internal): Do not check numerical result if flag
4081         IGNORE_RESULT set.
4082         (check_complex): Pass through IGNORE_RESULT to second
4083         check_float_internal call.
4084         (check_int): Do not check numerical result if flag IGNORE_RESULT
4085         set.
4086         (check_long): Likewise.
4087         (check_bool): Likewise.
4088         (check_longlong): Likewise.
4089         (lrint_test_data): Add tests of infinite and NaN arguments.
4090         (lrint_tonearest_test_data): Likewise.
4091         (lrint_towardzero_test_data): Likewise.
4092         (lrint_downward_test_data): Likewise.
4093         (lrint_upward_test_data): Likewise.
4094         (llrint_test_data): Likewise.
4095         (llrint_tonearest_test_data): Likewise.
4096         (llrint_towardzero_test_data): Likewise.
4097         (llrint_downward_test_data): Likewise.
4098         (llrint_upward_test_data): Likewise.
4099         (lround_test_data): Likewise.
4100         (llround_test_data): Likewise.
4102         * math/libm-test.inc (NO_TEST_INLINE): New macro.
4103         (ERRNO_UNCHANGED): Update value.
4104         (ERRNO_EDOM): Likewise.
4105         (ERRNO_ERANGE): Likewise.
4106         (NO_TEST_INLINE_FLOAT): New macro.
4107         (NO_TEST_INLINE_DOUBLE): Likewise.
4108         (enable_test): New function.
4109         (RUN_TEST_f_f): Check enable_test before running test.
4110         (RUN_TEST_2_f): Likewise.
4111         (RUN_TEST_fff_f): Likewise.
4112         (RUN_TEST_c_f): Likewise.
4113         (RUN_TEST_f_f1): Likewise.
4114         (RUN_TEST_fF_f1): Likewise.
4115         (RUN_TEST_fI_f1): Likewise.
4116         (RUN_TEST_ffI_f1): Likewise.
4117         (RUN_TEST_c_c): Likewise.
4118         (RUN_TEST_cc_c): Likewise.
4119         (RUN_TEST_f_i): Likewise.
4120         (RUN_TEST_f_i_tg): Likewise.
4121         (RUN_TEST_ff_i_tg): Likewise.
4122         (RUN_TEST_f_b): Likewise.
4123         (RUN_TEST_f_b_tg): Likewise.
4124         (RUN_TEST_f_l): Likewise.
4125         (RUN_TEST_f_L): Likewise.
4126         (RUN_TEST_fFF_11): Likewise.
4127         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
4128         conditionals.
4129         (cosh_test_data): Likewise.
4130         (exp_test_data): Likewise.
4131         (expm1_test_data): Likewise.
4132         (hypot_test_data): Likewise.
4133         (pow_test_data): Likewise.
4134         (sinh_test_data): Likewise.
4135         (tanh_test_data): Likewise.
4136         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
4137         flags argument.
4139         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
4140         tests with quiet NaN input and output.
4141         (acosh_test_data): Likewise.
4142         (asin_test_data): Likewise.
4143         (asinh_test_data): Likewise.
4144         (atan_test_data): Likewise.
4145         (atanh_test_data): Likewise.
4146         (atan2_test_data): Likewise.
4147         (cbrt_test_data): Likewise.
4148         (cos_test_data): Likewise.
4149         (cosh_test_data): Likewise.
4150         (erf_test_data): Likewise.
4151         (erfc_test_data): Likewise.
4152         (exp_test_data): Likewise.
4153         (exp10_test_data): Likewise.
4154         (exp2_test_data): Likewise.
4155         (expm1_test_data): Likewise.
4156         (hypot_test_data): Likewise.
4157         (j0_test_data): Likewise.
4158         (j1_test_data): Likewise.
4159         (jn_test_data): Likewise.
4160         (lgamma_test_data): Likewise.
4161         (log_test_data): Likewise.
4162         (log10_test_data): Likewise.
4163         (log1p_test_data): Likewise.
4164         (log2_test_data): Likewise.
4165         (pow_test_data): Likewise.
4166         (scalb_test_data): Likewise.
4167         (sin_test_data): Likewise.
4168         (sincos_test_data): Likewise.
4169         (sinh_test_data): Likewise.
4170         (tan_test_data): Likewise.
4171         (tanh_test_data): Likewise.
4172         (tgamma_test_data): Likewise.
4173         (y0_test_data): Likewise.
4174         (y1_test_data): Likewise.
4175         (yn_test_data): Likewise.
4177         [BZ #16167]
4178         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
4179         argument being NaN and avoid computations with second argument in
4180         that case.
4181         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4182         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4183         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4185 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
4187         * locale/iso-639.def: Add Chitwani Tharu (the).
4189 2013-11-14  Andreas Schwab  <schwab@suse.de>
4191         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
4192         word instead of empty string.
4194 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4197         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
4198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4199         (__fe_nomask_env): Likewise.
4201 2013-11-13  Steve Ellcey  <sellcey@mips.com>
4203         * benchtests/bench-timing.h: Include time.h.
4205 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
4207         [BZ #15997]
4208         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
4209         to 3.4.0 for x32.
4210         * sysdeps/unix/sysv/linux/configure: Regenerated.
4212 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
4214         [BZ #16151]
4215         * stdlib/strtod_l.c (round_and_return): Do not consider
4216         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
4217         exponent one less than half the least subnormal exponent.
4218         * stdlib/test-strtod-round-data: Add more tests.
4219         * stdlib/tst-strtod-round.c (tests): Regenerated.
4221 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4223         [BZ #14143]
4224         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
4225         (__fe_mask_env): Likewise.
4226         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
4227         libm_hidden_proto and add function prototype.
4228         (__fe_mask_env): Add function prototype.
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4230         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
4232         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
4234         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
4236 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4238         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
4239         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
4241 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4243         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
4244         of htab_find_slot().
4246 2013-11-11  David S. Miller  <davem@davemloft.net>
4248         [BZ #16150]
4249         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
4250         symbol in the non-vis3 case in static builds.
4251         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
4252         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
4253         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
4254         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
4256 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
4258         [BZ #387]
4259         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
4260         it is empty.
4262 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4264         * benchtests/Makefile: Add bench-strtod.
4265         * benchtests/bench-strtod.c: New file: strtod benchtest
4267 2013-11-11  Andreas Schwab  <schwab@suse.de>
4269         [BZ #16153]
4270         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
4271         terminating NUL in key length.
4273 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4276         Add artificial ODP entry for vDSO symbol for PPC64.
4277         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
4278         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
4280 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
4282         [BZ #15374]
4283         * nss/getent.c (services_keys): Recognize services starting with digit.
4285 2013-11-06  David S. Miller  <davem@davemloft.net>
4287         [BZ #15985]
4288         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
4289         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
4291 2013-11-06  Will Newton  <will.newton@linaro.org>
4293         * manual/memory.texi (Malloc Examples): Remove register
4294         keyword from examples.
4296 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
4298         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
4300 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
4302         [BZ #6981]
4303         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
4304         depending on [__GCC_IEC_559 > 0].
4305         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
4306         depending on [__GCC_IEC_559_COMPLEX > 0].
4308 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
4310         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
4311         to iso-639.def.
4313 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
4315         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
4317 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
4319         [BZ #16112]
4320         * malloc/malloc (malloc_info): Do not handle first bin as
4321         special case.
4323 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
4325         * locale/iso-639.def: Add Central Nahuatl (nhn).
4327 2013-11-01  Bruno Haible  <bruno@clisp.org>
4329         [BZ #7003]
4330         * manual/math.texi (BSD Random): Specify range upper bound as
4331         in POSIX.
4333 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
4335         * locale/iso-639.def: Add Meadow Mari (mhr).
4337 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
4339         [BZ #14752], [BZ #15763]
4340         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
4341         Validate name.
4342         * rt/tst_shm.c: Add test for escaping directory.
4344 2013-10-31  Andreas Schwab  <schwab@suse.de>
4346         [BZ #15917]
4347         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
4348         followed by 'x' as part of digit sequence.
4349         * stdio-common/tst-sscanf.c (double_tests2): New tests.
4351 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
4353         [BZ #16037]
4354         * configure.ac: allow GNU Make 4.0 and greater.
4355         * configure: Regenerated.
4357 2013-10-30  Will Newton  <will.newton@linaro.org>
4359         [BZ #16038]
4360         * malloc/hooks.c (memalign_check): Limit alignment to the
4361         maximum representable power of two.
4362         * malloc/malloc.c (__libc_memalign): Likewise.
4363         * malloc/tst-memalign.c (do_test): Add test for very
4364         large alignment values.
4365         * malloc/tst-posix_memalign.c (do_test): Likewise.
4367 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4369         [BZ #11087]
4370         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
4371         (munmap_chunk): Likewise.
4372         (mremap_chunk): Likewise.
4374 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
4376         [BZ #15799]
4377         * stdlib/div.c (div): Remove obsolete code.
4378         * stdlib/ldiv.c (ldiv): Likewise.
4379         * stdlib/lldiv.c (lldiv): Likewise.
4381 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4383         [BZ #16071]
4384         * nss/nss_files/files-XXX.c (get_contents_ret): New
4385         enumerator.
4386         (get_contents): New function.
4387         (internal_getent): Use it.  Expand size of LINEBUFLEN.
4389 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
4391         * configure.in: Moved to ...
4392         * configure.ac: ... here. Change reference to configure.in
4393         to configure.ac.
4394         * sysdeps/arm/preconfigure.ac: ... here.
4395         configure.in to configure.ac.
4396         * sysdeps/gnu/configure.in: Moved to ...
4397         * sysdeps/gnu/configure.ac: ... here.
4398         * sysdeps/i386/configure.in: Moved to ...
4399         * sysdeps/i386/configure.ac: ... here.
4400         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
4401         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
4402         * sysdeps/mach/configure.in: Moved to ...
4403         * sysdeps/mach/configure.ac: ... here.
4404         * sysdeps/mach/hurd/configure.in: Moved to ...
4405         * sysdeps/mach/hurd/configure.ac: ... here.
4406         * sysdeps/powerpc/configure.in: Moved to ...
4407         * sysdeps/powerpc/configure.ac: ... here.
4408         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
4409         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
4410         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
4411         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
4412         * sysdeps/s390/s390-32/configure.in: Moved to ...
4413         * sysdeps/s390/s390-32/configure.ac: ... here.
4414         * sysdeps/s390/s390-64/configure.in: Moved to ...
4415         * sysdeps/s390/s390-64/configure.ac: ... here.
4416         * sysdeps/sh/configure.in: Moved to ...
4417         * sysdeps/sh/configure.ac: ... here.
4418         * sysdeps/sparc/configure.in: Moved to ...
4419         * sysdeps/sparc/configure.ac: ... here.
4420         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
4421         * sysdeps/unix/sysv/linux/configure.ac: ... here.
4422         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
4423         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
4424         * sysdeps/x86_64/configure.in: Moved to ...
4425         * sysdeps/x86_64/configure.ac: ... here.
4426         * sysdeps/x86_64/preconfigure.in: Moved to ...
4427         * sysdeps/x86_64/preconfigure.ac: ... here.
4428         * aclocal.m4: Change reference to configure.in to configure.ac.
4429         * config.h.in: Likewise.
4430         * manual/install.texi: Likewise.
4431         * manual/maint.texi: Likewise.
4432         * Makefile: Likewise.
4433         * malloc/Makefile: Likewise.
4434         * nscd/Makefile: Likewise.
4435         * Makeconfig: Change reference to configure.in and
4436         preconfigure.in to configure.ac and preconfigure.ac
4437         respectively.
4438         * INSTALL: Regenerated.
4439         * configure: Likewise.
4440         * sysdeps/gnu/configure: Likewise.
4441         * sysdeps/i386/configure: Likewise.
4442         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
4443         * sysdeps/mach/configure: Likewise.
4444         * sysdeps/mach/hurd/configure: Likewise.
4445         * sysdeps/powerpc/configure: Likewise.
4446         * sysdeps/powerpc/powerpc32/configure: Likewise.
4447         * sysdeps/powerpc/powerpc64/configure: Likewise.
4448         * sysdeps/s390/s390-32/configure: Likewise.
4449         * sysdeps/s390/s390-64/configure: Likewise.
4450         * sysdeps/sh/configure: Likewise.
4451         * sysdeps/sparc/configure: Likewise.
4452         * sysdeps/unix/sysv/linux/configure: Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
4454         * sysdeps/x86_64/configure: Likewise.
4455         * sysdeps/x86_64/preconfigure: Likewise.
4457 2013-10-29  Andreas Schwab  <schwab@suse.de>
4459         * stdio-common/Makefile (tst-swscanf-ENV): Define.
4461 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4463         * benchtests/pow-inputs: Add new inputs.
4465         * benchtests/exp-inputs: Add new inputs.
4467         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4468         conditional check for return value.
4469         (__cos32): Likewise.
4471 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4473         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4474         to provide a boost for large inputs with word alignment.
4475         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4476         implementation based on optimized PPC64 strcpy.
4477         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4478         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4479         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4480         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4482 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4484         [BZ #2801]
4485         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4487 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4489         [BZ #14876]
4490         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4491         * time/tst-strptime.c (day_tests): Add testcase.
4493 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4495         [BZ #14029]
4496         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4498 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4500         [BZ #16074]
4501         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4502         MAP_FAILED on error.
4504 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4506         [BZ #16072]
4507         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4508         heap for large requests.
4510 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4512         [BZ #9954]
4513         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4514         result if the result has no associated interface.
4515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4516         interface for all 127.X.Y.Z addresses.
4518 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4520         * locale/iso-639.def: Add Ligurian (lij)
4522 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4524         [BZ #15825]
4525         * sunrpc/rpc_main.c: Document rpcgen -5.
4527 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4529         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4531 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4533         [BZ #10278]
4534         * posix/glob.c: Match only directories when trailing slash is present.
4535         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4536         (main): Add testcase.
4538 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4540         [BZ #15670]
4541         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4543 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4545         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4546         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4547         AUTH_DES and cindex for FIPS 140-2.
4548         (DES Encryption): Add cindex FIPS 46-3.
4550         * locale/locarchive.h (struct locarhandle): Add fname.
4551         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4552         if an optional argument was specified to --list-archive,
4553         otherwise NULL.
4554         * locale/programs/locarchive.c (show_archive_content): Take new
4555         argument fname and pass it via ah.fname to open_archive.
4556         * locale/programs/localedef.h: Update decl.
4557         (open_archive): If AH->fname is non-null, open that file
4558         rather than the default file name, and don't ignore ENOENT.
4559         (create_archive): Set AH.fname to NULL.
4560         (delete_locales_from_archive): Likewise.
4561         (add_locales_to_archive): Likewise.
4562         * locale/programs/locfile.c (write_all_categories): Likewise.
4564 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4565             Aldy Hernandez  <aldyh@redhat.com>
4567         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4568         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4569         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4570         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4571         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4573         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4574         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4575         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4576         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4577         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4578         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4579         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4580         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4581         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4582         Likewise.
4583         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4584         Likewise.
4585         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4586         Likewise.
4587         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4588         Likewise.
4589         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4590         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4591         Likewise.
4592         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4593         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4594         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4595         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4596         Likewise.
4597         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4598         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4599         * sysdeps/powerpc/preconfigure: Likewise.
4600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4601         Likewise.
4602         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4603         Replace contents of file by #include of <fenv_libc.h>.
4604         * sysdeps/powerpc/soft-fp/sfp-machine.h
4605         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4606         and <sys/prctl.h>.
4607         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4611         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4617         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4620         Allow copysignl PLT reference to be missing.
4622 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4623             Joseph Myers  <joseph@codesourcery.com
4625         [BZ #15948]
4626         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4627         single character.
4628         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4630 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4632         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4633         * elf/tst-tls1.c: Likewise.
4634         * elf/tst-tls10.h: Likewise.
4635         * elf/tst-tls14.c: Likewise.
4636         * elf/tst-tls2.c: Likewise.
4637         * elf/tst-tls3.c: Likewise.
4638         * elf/tst-tls4.c: Likewise.
4639         * elf/tst-tls5.c: Likewise.
4640         * elf/tst-tls6.c: Likewise.
4641         * elf/tst-tls7.c: Likewise.
4642         * elf/tst-tls8.c: Likewise.
4643         * elf/tst-tls9.c: Likewise.
4644         * elf/tst-tlsmod1.c: Likewise.
4645         * elf/tst-tlsmod13.c: Likewise.
4646         * elf/tst-tlsmod13a.c: Likewise.
4647         * elf/tst-tlsmod14a.c: Likewise.
4648         * elf/tst-tlsmod16a.c: Likewise.
4649         * elf/tst-tlsmod16b.c: Likewise.
4650         * elf/tst-tlsmod2.c: Likewise.
4651         * elf/tst-tlsmod3.c: Likewise.
4652         * elf/tst-tlsmod4.c: Likewise.
4653         * elf/tst-tlsmod5.c: Likewise.
4654         * elf/tst-tlsmod6.c: Likewise.
4656 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4658         [BZ #12486]
4659         * malloc/malloc.c: remove checks for statistics.
4661 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4663         [BZ #15277]
4664         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4665         * inet/tst-network.c: Add testcase.
4667 2013-10-17  Andreas Schwab  <schwab@suse.de>
4669         [BZ #15218]
4670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4671         to determine canonical name.
4673 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4675         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4676         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4678         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4680         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4681         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4682         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4683         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4684         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4685         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4686         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4687         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4688         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4689         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4690         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4691         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4692         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4693         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4694         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4695         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4697         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4698         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4699         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4700         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4701         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4702         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4703         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4704         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4705         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4706         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4707         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4708         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4712         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4713         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4714         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4716         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4717         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4718         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4719         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4720         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4721         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4722         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4723         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4724         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4725         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4726         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4727         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4728         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4730         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4734 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4736         [BZ #16041]
4737         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4738         make result into a quiet NaN.
4740 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4742         * soft-fp/adddf3.c: Fix horizontal whitespace.
4743         * soft-fp/addsf3.c: Likewise.
4744         * soft-fp/addtf3.c: Likewise.
4745         * soft-fp/divdf3.c: Likewise.
4746         * soft-fp/divsf3.c: Likewise.
4747         * soft-fp/divtf3.c: Likewise.
4748         * soft-fp/double.h: Likewise.
4749         * soft-fp/eqdf2.c: Likewise.
4750         * soft-fp/eqsf2.c: Likewise.
4751         * soft-fp/eqtf2.c: Likewise.
4752         * soft-fp/extenddftf2.c: Likewise.
4753         * soft-fp/extended.h: Likewise.
4754         * soft-fp/extendsfdf2.c: Likewise.
4755         * soft-fp/extendsftf2.c: Likewise.
4756         * soft-fp/extendxftf2.c: Likewise.
4757         * soft-fp/fixdfdi.c: Likewise.
4758         * soft-fp/fixdfsi.c: Likewise.
4759         * soft-fp/fixdfti.c: Likewise.
4760         * soft-fp/fixsfdi.c: Likewise.
4761         * soft-fp/fixsfsi.c: Likewise.
4762         * soft-fp/fixsfti.c: Likewise.
4763         * soft-fp/fixtfdi.c: Likewise.
4764         * soft-fp/fixtfsi.c: Likewise.
4765         * soft-fp/fixtfti.c: Likewise.
4766         * soft-fp/fixunsdfdi.c: Likewise.
4767         * soft-fp/fixunsdfsi.c: Likewise.
4768         * soft-fp/fixunsdfti.c: Likewise.
4769         * soft-fp/fixunssfdi.c: Likewise.
4770         * soft-fp/fixunssfsi.c: Likewise.
4771         * soft-fp/fixunssfti.c: Likewise.
4772         * soft-fp/fixunstfdi.c: Likewise.
4773         * soft-fp/fixunstfsi.c: Likewise.
4774         * soft-fp/fixunstfti.c: Likewise.
4775         * soft-fp/floatdidf.c: Likewise.
4776         * soft-fp/floatdisf.c: Likewise.
4777         * soft-fp/floatditf.c: Likewise.
4778         * soft-fp/floatsidf.c: Likewise.
4779         * soft-fp/floatsisf.c: Likewise.
4780         * soft-fp/floatsitf.c: Likewise.
4781         * soft-fp/floattidf.c: Likewise.
4782         * soft-fp/floattisf.c: Likewise.
4783         * soft-fp/floattitf.c: Likewise.
4784         * soft-fp/floatundidf.c: Likewise.
4785         * soft-fp/floatundisf.c: Likewise.
4786         * soft-fp/floatunditf.c: Likewise.
4787         * soft-fp/floatunsidf.c: Likewise.
4788         * soft-fp/floatunsisf.c: Likewise.
4789         * soft-fp/floatunsitf.c: Likewise.
4790         * soft-fp/floatuntidf.c: Likewise.
4791         * soft-fp/floatuntisf.c: Likewise.
4792         * soft-fp/floatuntitf.c: Likewise.
4793         * soft-fp/fmadf4.c: Likewise.
4794         * soft-fp/fmasf4.c: Likewise.
4795         * soft-fp/fmatf4.c: Likewise.
4796         * soft-fp/gedf2.c: Likewise.
4797         * soft-fp/gesf2.c: Likewise.
4798         * soft-fp/getf2.c: Likewise.
4799         * soft-fp/ledf2.c: Likewise.
4800         * soft-fp/lesf2.c: Likewise.
4801         * soft-fp/letf2.c: Likewise.
4802         * soft-fp/muldf3.c: Likewise.
4803         * soft-fp/mulsf3.c: Likewise.
4804         * soft-fp/multf3.c: Likewise.
4805         * soft-fp/negdf2.c: Likewise.
4806         * soft-fp/negsf2.c: Likewise.
4807         * soft-fp/negtf2.c: Likewise.
4808         * soft-fp/op-1.h: Likewise.
4809         * soft-fp/op-2.h: Likewise.
4810         * soft-fp/op-4.h: Likewise.
4811         * soft-fp/op-8.h: Likewise.
4812         * soft-fp/op-common.h: Likewise.
4813         * soft-fp/quad.h: Likewise.
4814         * soft-fp/single.h: Likewise.
4815         * soft-fp/soft-fp.h: Likewise.
4816         * soft-fp/sqrtdf2.c: Likewise.
4817         * soft-fp/sqrtsf2.c: Likewise.
4818         * soft-fp/sqrttf2.c: Likewise.
4819         * soft-fp/subdf3.c: Likewise.
4820         * soft-fp/subsf3.c: Likewise.
4821         * soft-fp/subtf3.c: Likewise.
4822         * soft-fp/truncdfsf2.c: Likewise.
4823         * soft-fp/trunctfdf2.c: Likewise.
4824         * soft-fp/trunctfsf2.c: Likewise.
4825         * soft-fp/trunctfxf2.c: Likewise.
4826         * soft-fp/unorddf2.c: Likewise.
4827         * soft-fp/unordsf2.c: Likewise.
4828         * soft-fp/unordtf2.c: Likewise.
4830 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4832         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4833         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4835 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4837         * elf/dl-libc.c: Clear initfini list after freeing.
4839 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4841         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4842         * soft-fp/addsf3.c: Likewise.
4843         * soft-fp/addtf3.c: Likewise.
4844         * soft-fp/divdf3.c: Likewise.
4845         * soft-fp/divsf3.c: Likewise.
4846         * soft-fp/divtf3.c: Likewise.
4847         * soft-fp/double.h: Likewise.
4848         * soft-fp/eqdf2.c: Likewise.
4849         * soft-fp/eqsf2.c: Likewise.
4850         * soft-fp/eqtf2.c: Likewise.
4851         * soft-fp/extenddftf2.c: Likewise.
4852         * soft-fp/extended.h: Likewise.
4853         * soft-fp/extendsfdf2.c: Likewise.
4854         * soft-fp/extendsftf2.c: Likewise.
4855         * soft-fp/extendxftf2.c: Likewise.
4856         * soft-fp/fixdfdi.c: Likewise.
4857         * soft-fp/fixdfsi.c: Likewise.
4858         * soft-fp/fixdfti.c: Likewise.
4859         * soft-fp/fixsfdi.c: Likewise.
4860         * soft-fp/fixsfsi.c: Likewise.
4861         * soft-fp/fixsfti.c: Likewise.
4862         * soft-fp/fixtfdi.c: Likewise.
4863         * soft-fp/fixtfsi.c: Likewise.
4864         * soft-fp/fixtfti.c: Likewise.
4865         * soft-fp/fixunsdfdi.c: Likewise.
4866         * soft-fp/fixunsdfsi.c: Likewise.
4867         * soft-fp/fixunsdfti.c: Likewise.
4868         * soft-fp/fixunssfdi.c: Likewise.
4869         * soft-fp/fixunssfsi.c: Likewise.
4870         * soft-fp/fixunssfti.c: Likewise.
4871         * soft-fp/fixunstfdi.c: Likewise.
4872         * soft-fp/fixunstfsi.c: Likewise.
4873         * soft-fp/fixunstfti.c: Likewise.
4874         * soft-fp/floatdidf.c: Likewise.
4875         * soft-fp/floatdisf.c: Likewise.
4876         * soft-fp/floatditf.c: Likewise.
4877         * soft-fp/floatsidf.c: Likewise.
4878         * soft-fp/floatsisf.c: Likewise.
4879         * soft-fp/floatsitf.c: Likewise.
4880         * soft-fp/floattidf.c: Likewise.
4881         * soft-fp/floattisf.c: Likewise.
4882         * soft-fp/floattitf.c: Likewise.
4883         * soft-fp/floatundidf.c: Likewise.
4884         * soft-fp/floatundisf.c: Likewise.
4885         * soft-fp/floatunsidf.c: Likewise.
4886         * soft-fp/floatunsisf.c: Likewise.
4887         * soft-fp/floatuntidf.c: Likewise.
4888         * soft-fp/floatuntisf.c: Likewise.
4889         * soft-fp/floatuntitf.c: Likewise.
4890         * soft-fp/fmadf4.c: Likewise.
4891         * soft-fp/fmasf4.c: Likewise.
4892         * soft-fp/fmatf4.c: Likewise.
4893         * soft-fp/gedf2.c: Likewise.
4894         * soft-fp/gesf2.c: Likewise.
4895         * soft-fp/getf2.c: Likewise.
4896         * soft-fp/ledf2.c: Likewise.
4897         * soft-fp/lesf2.c: Likewise.
4898         * soft-fp/letf2.c: Likewise.
4899         * soft-fp/muldf3.c: Likewise.
4900         * soft-fp/mulsf3.c: Likewise.
4901         * soft-fp/multf3.c: Likewise.
4902         * soft-fp/negdf2.c: Likewise.
4903         * soft-fp/negsf2.c: Likewise.
4904         * soft-fp/negtf2.c: Likewise.
4905         * soft-fp/op-1.h: Likewise.
4906         * soft-fp/op-2.h: Likewise.
4907         * soft-fp/op-4.h: Likewise.
4908         * soft-fp/op-8.h: Likewise.
4909         * soft-fp/op-common.h: Likewise.
4910         * soft-fp/quad.h: Likewise.
4911         * soft-fp/single.h: Likewise.
4912         * soft-fp/soft-fp.h: Likewise.
4913         * soft-fp/sqrtdf2.c: Likewise.
4914         * soft-fp/sqrtsf2.c: Likewise.
4915         * soft-fp/sqrttf2.c: Likewise.
4916         * soft-fp/subdf3.c: Likewise.
4917         * soft-fp/subsf3.c: Likewise.
4918         * soft-fp/subtf3.c: Likewise.
4919         * soft-fp/truncdfsf2.c: Likewise.
4920         * soft-fp/trunctfdf2.c: Likewise.
4921         * soft-fp/trunctfsf2.c: Likewise.
4922         * soft-fp/trunctfxf2.c: Likewise.
4923         * soft-fp/unorddf2.c: Likewise.
4924         * soft-fp/unordsf2.c: Likewise.
4925         * soft-fp/unordtf2.c: Likewise.
4927 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4929         [BZ #15672]
4930         * misc/error.c (error_tail): Fix possible buffer overflow.
4932 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4934         [BZ #13028]
4935         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4936         address.
4938 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4940         [BZ #832]
4941         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4942         testing pipefail option.
4944 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4946         * soft-fp/double.h: Indent preprocessor directives inside #if.
4947         * soft-fp/extended.h: Likewise.
4948         * soft-fp/op-2.h: Likewise.
4949         * soft-fp/op-4.h: Likewise.
4950         * soft-fp/op-common.h: Likewise.
4951         * soft-fp/quad.h: Likewise.
4952         * soft-fp/single.h: Likewise.
4953         * soft-fp/soft-fp.h: Likewise.
4955 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4957         * iconv/iconv_prog.c: Fix typos.
4958         * stdio-common/psiginfo-data.h: Likewise.
4960 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4962         [BZ #15764]
4963         * locale/setlocale.c: Fix typo.
4965 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4967         [BZ #16036]
4968         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4969         signaling NaN arguments.
4970         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4971         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4973         [BZ #14910]
4974         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4975         unordered operands.
4976         * soft-fp/gesf2.c (__gesf2): Likewise.
4977         * soft-fp/getf2.c (__getf2): Likewise.
4978         * soft-fp/ledf2.c (__ledf2): Likewise.
4979         * soft-fp/lesf2.c (__lesf2): Likewise.
4980         * soft-fp/letf2.c (__letf2): Likewise.
4982         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4983         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4984         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4985         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4986         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4987         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4988         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4989         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4990         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4991         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4992         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4993         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4994         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4995         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4996         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4997         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4998         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4999         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
5000         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
5001         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
5002         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
5003         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
5004         * soft-fp/floatdisf.c (__floatdisf): Likewise.
5005         * soft-fp/floatsisf.c (__floatsisf): Likewise.
5006         * soft-fp/floattidf.c (__floattidf): Likewise.
5007         * soft-fp/floattisf.c (__floattisf): Likewise.
5008         * soft-fp/floattitf.c (__floattitf): Likewise.
5009         * soft-fp/floatundidf.c (__floatundidf): Likewise.
5010         * soft-fp/floatundisf.c (__floatundisf): Likewise.
5011         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
5012         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
5013         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
5014         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
5015         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
5016         * soft-fp/gesf2.c (__gesf2): Likewise.
5017         * soft-fp/getf2.c (__getf2): Likewise.
5018         * soft-fp/ledf2.c (__ledf2): Likewise.
5019         * soft-fp/lesf2.c (__lesf2): Likewise.
5020         * soft-fp/letf2.c (__letf2): Likewise.
5022         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
5023         Undefine and redefine.
5024         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
5025         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
5026         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
5027         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
5028         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5029         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
5030         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5031         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
5032         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5033         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
5034         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5035         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
5036         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5037         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
5038         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
5040         [BZ #16032]
5041         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
5042         without decrementing exponent if mantissa >= that for the
5043         denominator, not >.
5044         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
5045         denominator, not >.  Decrement exponent in < case instead of
5046         incrementing in >= case.
5047         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
5048         without decrementing exponent if mantissa >= that for the
5049         denominator, not >.
5051         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
5052         computing saturated result for unsigned overflow.
5054 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5055             Jeff Law  <law@redhat.com>
5057         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
5058         (atan2Mp): Add systemtap probe marker.
5059         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
5060         (__ieee754_log): Add systemtap probe marker.
5061         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
5062         (atanMp): Add systemtap probe marker.
5063         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
5064         (tanMp): Add systemtap probe marker.
5065         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
5066         (__slowexp): Add systemtap probe marker.
5067         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
5068         (__slowpow): Add systemtap probe marker.
5069         * manual/probes.texi: Document probes.
5071 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
5073         [BZ #15362]
5074         * libio/fileops.c (_IO_new_file_write): Return count of bytes
5075         written.
5076         (_IO_new_file_xsputn): Don't return EOF if nothing has been
5077         written.
5078         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
5079         written to buffer but not flushed.
5080         * libio/iofwrite_u.c:  Likewise.
5081         * libio/iopadn.c:  Return bytes returned even if EOF was
5082         encountered.
5083         * libio/iowpadn.c:  Likewise.
5084         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
5085         if _IO_padn does not write the whole buffer.
5086         [!COMPILE_WPRINTF] (PAD): Likewise.
5088 2013-10-10  David S. Miller  <davem@davemloft.net>
5090         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
5091         directory block.
5093 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5095         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
5096         instead of FSF address.
5097         * soft-fp/fixdfti.c: Likewise.
5098         * soft-fp/fixsfti.c: Likewise.
5099         * soft-fp/fixtfti.c: Likewise.
5100         * soft-fp/fixunsdfti.c: Likewise.
5101         * soft-fp/fixunssfti.c: Likewise.
5102         * soft-fp/fixunstfti.c: Likewise.
5103         * soft-fp/floattidf.c: Likewise.
5104         * soft-fp/floattisf.c: Likewise.
5105         * soft-fp/floattitf.c: Likewise.
5106         * soft-fp/floatuntidf.c: Likewise.
5107         * soft-fp/floatuntisf.c: Likewise.
5108         * soft-fp/floatuntitf.c: Likewise.
5109         * soft-fp/trunctfxf2.c: Likewise.
5111         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
5112         * soft-fp/fixdfti.c: Likewise.
5113         * soft-fp/fixsfti.c: Likewise.
5114         * soft-fp/fixtfti.c: Likewise.
5115         * soft-fp/fixunsdfti.c: Likewise.
5116         * soft-fp/fixunssfti.c: Likewise.
5117         * soft-fp/fixunstfti.c: Likewise.
5118         * soft-fp/floattidf.c: Likewise.
5119         * soft-fp/floattisf.c: Likewise.
5120         * soft-fp/floattitf.c: Likewise.
5121         * soft-fp/floatuntidf.c: Likewise.
5122         * soft-fp/floatuntisf.c: Likewise.
5123         * soft-fp/floatuntitf.c: Likewise.
5124         * soft-fp/trunctfxf2.c: Likewise.
5126 2013-10-10  David S. Miller  <davem@davemloft.net>
5128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5130 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
5132         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5133         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
5134         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
5135         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
5136         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
5137         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
5138         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
5140         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
5141         for NaNs before doing comparisons on argument.
5142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
5143         Likewise.
5145 2013-10-10  Will Newton  <will.newton@linaro.org>
5147         * malloc/hooks.c (memalign_check): Ensure the value of bytes
5148         passed to _int_memalign does not overflow.
5150 2013-10-10  Torvald Riegel  <triegel@redhat.com>
5152         * scripts/bench.pl: Add include-sources directive.
5153         * benchtests/README: Update documentation.
5155 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
5157         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
5158         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
5159         instead of FP_INIT_ROUNDMODE.
5160         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
5161         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
5163         [BZ #16034]
5164         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
5165         copy class of input value.
5166         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
5167         not handle exceptions.
5168         * soft-fp/negsf2.c (__negsf2): Likewise.
5169         * soft-fp/negtf2.c (__negtf2): Likewise.
5170         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
5172 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
5174         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
5175         semicolon.  From Linux kernel.
5177 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
5179         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
5181 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
5183         [BZ #156]
5184         * manual/socket.texi: Added statement about buffer
5185         for gethostbyname2_r.
5187 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
5189         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
5190         Use .p2align directive instead, throughout.
5191         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5192         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5193         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5196         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
5197         * sysdeps/x86_64/strchr.S: Likewise.
5198         * sysdeps/x86_64/strrchr.S: Likewise.
5200 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5202         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
5204         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
5206         * sysdeps/generic/math_private.h (__mpsin1): Remove
5207         declaration.
5208         (__mpcos1): Likewise.
5209         (__mpsin): New argument __range_reduce.
5210         (__mpcos): Likewise.
5211         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5212         (slow): Use __mpsin and __mpcos.
5213         (slow1): Likewise.
5214         (slow2): Likewise.
5215         (sloww): Likewise.
5216         (sloww1): Likewise.
5217         (sloww2): Likewise.
5218         (bsloww): Likewise.
5219         (bsloww1): Likewise.
5220         (bsloww2): Likewise.
5221         (cslow2): Likewise.
5222         (csloww): Likewise.
5223         (csloww1): Likewise.
5224         (csloww2): Likewise.
5225         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
5226         range_reduce.  Merge in __mpsin1.
5227         (__mpcos): Likewise.
5228         (__mpsin1): Remove.
5229         (__mpcos1): Likewise.
5231 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
5233         * locale/loadlocale.c (_nl_intern_locale_data): Use
5234         LOCFILE_ALIGNED_P.
5235         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
5236         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
5237         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
5238         obstack data is appropriately aligned.
5239         (obstack_int32_grow_fast): Likewise.
5240         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
5241         * locale/programs/locfile.c (add_locale_uint32): Likewise.
5242         (add_locale_uint32_array): Likewise.
5244 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5246         * benchtests/Makefile: Remove ARGLIST and RET variables.
5247         ($(objpfx)bench-%.c): Pass only function name to the script.
5248         * benchtests/README: Update documentation.
5249         * benchtests/acos-inputs: Add new directives.
5250         * benchtests/acosh-inputs: Likewise.
5251         * benchtests/asin-inputs: Likewise.
5252         * benchtests/asinh-inputs: Likewise.
5253         * benchtests/atan-inputs: Likewise.
5254         * benchtests/atanh-inputs: Likewise.
5255         * benchtests/cos-inputs: Likewise.
5256         * benchtests/cosh-inputs: Likewise.
5257         * benchtests/exp-inputs: Likewise.
5258         * benchtests/log-inputs: Likewise.
5259         * benchtests/pow-inputs: Likewise.
5260         * benchtests/rint-inputs: Likewise.
5261         * benchtests/sin-inputs: Likewise.
5262         * benchtests/sinh-inputs: Likewise.
5263         * benchtests/tan-inputs: Likewise.
5264         * benchtests/tanh-inputs: Likewise.
5265         * scripts/bench.pl: Add support for new directives.
5267 2013-10-07  Alan Modra  <amodra@gmail.com>
5269         * README: Fix careless merge.
5271 2013-10-05  Alan Modra  <amodra@gmail.com>
5273         * NEWS: Mention powerpc64le support and bugs fixed.
5274         * README: Both big-endian and little-endian powerpc64 supported.
5276 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5278         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
5279         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
5280         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
5281         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
5283 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
5285         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
5286         match prototype.
5288 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
5290         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
5291         Move -mhard-float appending from
5292         ports/sysdeps/powerpc/powerpc32/Makefile.
5293         [$(with-fp) = yes] (ASFLAGS): Likewise.
5294         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
5295         * sysdeps/powerpc/nofpu: Move directory from
5296         ports/sysdeps/powerpc/nofpu.
5297         * sysdeps/powerpc/soft-fp: Move directory from
5298         ports/sysdeps/powerpc/soft-fp.
5299         * sysdeps/powerpc/powerpc32/405: Move directory from
5300         ports/sysdeps/powerpc/powerpc32/405.
5301         * sysdeps/powerpc/powerpc32/440: Move directory from
5302         ports/sysdeps/powerpc/powerpc32/440.
5303         * sysdeps/powerpc/powerpc32/464: Move directory from
5304         ports/sysdeps/powerpc/powerpc32/464.
5305         * sysdeps/powerpc/powerpc32/476: Move directory from
5306         ports/sysdeps/powerpc/powerpc32/476.
5307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
5308         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
5309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
5310         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
5311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
5312         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
5313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
5314         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
5316         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
5317         * README: Update for powerpc-*-linux-gnu software floating point
5318         support in libc.
5320         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
5321         case to powerpc/powerpc32*.
5322         * sysdeps/unix/sysv/linux/configure: Regenerated.
5324         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
5325         (_FPU_MASK_OM): Define as 0x04.
5326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
5327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
5328         0x00c10080.
5329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
5330         0x0000003c.
5331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
5334         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5335         getcontext_e500.
5336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
5337         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
5338         setcontext_e500.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
5340         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
5341         and setcontext_e500.
5343 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
5345         * locale/iso-3166.def: Update iso-1366.def and related occurrences
5347 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5349         * manual/threads.texi (Default Thread Attributes): Fix typo.
5351 2013-10-04  Will Newton  <will.newton@linaro.org>
5353         * malloc/Makefile: Add tst-memalign.
5354         * malloc/tst-memalign.c: New file.
5356         * malloc/tst-posix_memalign.c: Add comments.
5357         (do_test): Add comments and call free on all potentially
5358         allocated pointers. Add space after cast.
5360         * malloc/tst-pvalloc.c: Add comments.
5361         (do_test): Add comments and call free on all potentially
5362         allocated pointers. Remove duplicate check for NULL pointer.
5363         Add space after cast.
5365         * malloc/tst-valloc.c: Add comments.
5366         (do_test): Add comments and call free on all potentially
5367         allocated pointers. Remove duplicate check for NULL pointer.
5368         Add space after cast.
5370 2013-10-04  Alan Modra  <amodra@gmail.com>
5372         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5373         Use stdint types in rather than __attribute__((mode())).
5374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5376 2013-10-04  Alan Modra  <amodra@gmail.com>
5378         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5379         Correct handling of unaligned relocs for little-endian.
5380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5382 2013-10-04  Alan Modra  <amodra@gmail.com>
5384         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
5385         * configure: Regenerate.
5386         * nptl/shlib-versions: Powerpc*le starts at 2.18.
5387         * shlib-versions: Likewise.
5389 2013-10-04  Alan Modra  <amodra@gmail.com>
5391         * string/tester.c (test_memrchr): Increment reported test cycle.
5393 2013-10-04  Alan Modra  <amodra@gmail.com>
5395         * string/test-memcpy.c (do_one_test): When reporting errors, print
5396         string address and don't overrun end of string.
5398 2013-10-04  Alan Modra  <amodra@gmail.com>
5400         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
5401         insrdi.  Make better use of reg selection to speed exit slightly.
5402         Schedule entry path a little better.  Remove useless "are we done"
5403         checks on entry to main loop.  Handle wrapping around zero address.
5404         Correct main loop count.  Handle single left-over word from main
5405         loop inline rather than by using loop_small.  Remove extra word
5406         case in loop_small caused by wrong loop count.  Add little-endian
5407         support.
5408         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
5410         cache hint.
5411         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5412         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
5413         support.  Avoid rlwimi.
5414         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
5416 2013-10-04  Alan Modra  <amodra@gmail.com>
5418         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
5419         insrdi.  Formatting.
5420         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5421         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5422         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5423         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5424         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5425         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
5427 2013-10-04  Alan Modra  <amodra@gmail.com>
5429         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
5430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5431         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5432         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
5433         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5434         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5435         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5436         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5437         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
5438         use of regs.  Use power7 mtocrf.  Tidy function tails.
5440 2013-10-04  Alan Modra  <amodra@gmail.com>
5442         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
5443         Formatting.  Consistently use rXXX register defines or rN defines.
5444         Use early exit labels that avoid restoring unused non-volatile regs.
5445         Make cr field use more consistent with rWORDn compares.  Rename
5446         regs used as shift registers for unaligned loop, using rN defines
5447         for short lifetime/multiple use regs.
5448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
5450         addi 1,1,64 to pop stack frame.  Simplify return value code.
5451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5453 2013-10-04  Alan Modra  <amodra@gmail.com>
5455         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
5456         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
5457         rather than rlwimi.
5458         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
5459         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
5460         little-endian support.  Correct typos.
5461         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5462         rather than rlwimi.
5463         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5464         in loop and entry code to keep "and." results.
5465         (strchr): Add little-endian support.  Comment.  Move cntlzd
5466         earlier in tail.
5467         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5469 2013-10-04  Alan Modra  <amodra@gmail.com>
5471         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5472         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5473         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5474         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5476 2013-10-04  Alan Modra  <amodra@gmail.com>
5478         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5479         (rTMP): Define as r11.
5480         (strcmp): Add little-endian support.  Optimise tail.
5481         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5482         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5483         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5484         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5485         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5487         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5489 2013-10-04  Alan Modra  <amodra@gmail.com>
5491         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5492         little-endian support.  Remove unnecessary "are we done" tests.
5493         Handle "s" wrapping around zero and extremely large "size".
5494         Correct main loop count.  Handle single left-over word from main
5495         loop inline rather than by using small_loop.  Correct comments.
5496         Delete "zero" tail, use "end_max" instead.
5497         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5499 2013-10-04  Alan Modra  <amodra@gmail.com>
5501         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5502         support.  Don't branch over align.
5503         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5504         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5505         support.  Rearrange tmp reg use to suit.  Comment.
5506         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5508 2013-10-04  Alan Modra  <amodra@gmail.com>
5510         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5512 2013-10-04  Alan Modra  <amodra@gmail.com>
5514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5515         conditional form of branch and link when obtaining pc.
5516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5518 2013-10-04  Alan Modra  <amodra@gmail.com>
5520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5521         HIWORD/LOWORD.
5522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5525 2013-10-04  Alan Modra  <amodra@gmail.com>
5527         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5528         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5529         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5530         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5531         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5532         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5533         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5535         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5536         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5538 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5539             Alistair Popple <alistair@ozlabs.au.ibm.com>
5540             Alan Modra <amodra@gmail.com>
5542         [BZ #15723]
5543         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5544         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5545         _dl_hwcap access for little-endian.
5546         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5547         destroy vmx regs when saving unaligned.
5548         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5549         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5550         destroy vmx regs when saving unaligned.
5552 2013-10-04  Alan Modra  <amodra@gmail.com>
5554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5555         Don't use a union to pack hi/low value.
5557 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5559         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5560         for little-endian.
5561         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5563         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5564         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5565         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5567 2013-10-04  Alan Modra  <amodra@gmail.com>
5569         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5570         constants to usual value for .cst8 section, and remove redundant
5571         high address load.
5572         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5573         constant for 0x1p52.  Load little-endian words of double from
5574         correct stack offsets.
5576 2013-10-04  Alan Modra  <amodra@gmail.com>
5578         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5579         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5580         words of double from correct stack offsets.
5581         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5582         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5583         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5586         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5587         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5588         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5589         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5592         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5593         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5594         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5595         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5596         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5597         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5599 2013-10-04  Alan Modra  <amodra@gmail.com>
5601         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5602         64-bit int/double union.
5603         (_FPU_SETCW): Likewise.
5604         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5605         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5607 2013-10-04  Alan Modra  <amodra@gmail.com>
5609         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5610         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5612 2013-10-04  Alan Modra  <amodra@gmail.com>
5614         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5615         use vector int constants.
5616         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5618 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5620         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5621         array with long long.
5622         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5623         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5624         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5625         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5626         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5627         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5628         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5629         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5630         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5631         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5632         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5633         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5634         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5636 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5638         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5639         (__signbit): Likewise.  Correct for little-endian.
5640         (__signbitl): Call __signbit.
5641         (lrint): Correct for little-endian.
5642         (lrintf): Call lrint.
5644 2013-10-04  Alan Modra  <amodra@gmail.com>
5646         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5647         union 32-bit int array member with 64-bit int array.
5648         (t515, tm256): Double rather than long double.
5649         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5651 2013-10-04  Alan Modra  <amodra@gmail.com>
5653         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5654         Delete.
5655         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5657         version of math_ldbl.h.
5659 2013-10-04  Alan Modra  <amodra@gmail.com>
5661         [BZ #15734], [BZ #15735]
5662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5663         all uses of ieee875 long double macros and unions.  Simplify test
5664         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5665         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5666         normalize after ldbl_extract_mantissa, and don't add hidden bit
5667         already handled.  Don't treat low word of ieee854 mantissa like
5668         low word of IBM long double and mask off bit when testing for
5669         zero.
5670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5671         all uses of ieee875 long double macros and unions.  Simplify tests
5672         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5673         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5674         two1022, instead use their values.  Recognise that tests for large
5675         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5676         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5677         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5678         test for 0.0L and nan.  Correct negation.
5679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5680         ieee875 long double macros and unions.  Correct output for large
5681         magnitude x.  Correct absolute value calculation.
5682         (__erfcl): Likewise.
5683         * math/libm-test.inc: Add tests for errors discovered in IBM long
5684         double versions of fmodl, remainderl, erfl and erfcl.
5686 2013-10-04  Alan Modra  <amodra@gmail.com>
5688         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5689         all uses of ieee854 long double macros and unions.  Simplify tests
5690         for long doubles that are fully specified by the high double.
5691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5692         Likewise.
5693         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5694         Remove dead code too.
5695         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5696         (__ieee754_ynl): Likewise.
5697         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5700         Remove dead code too.
5701         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5704         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5705         Simplify.
5706         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5707         Simplify.
5708         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5709         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5711         Comment on variable precision.
5712         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5714         Likewise.
5715         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5716         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5717         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5718         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5719         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5721 2013-10-04  Alan Modra  <amodra@gmail.com>
5723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5725         all uses of ieee854 long double macros and unions.
5726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5727         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5729         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5730         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5731         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5732         Likewise.
5733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5734         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5735         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5736         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5737         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5739         Simplify sign and nan test too.
5740         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5741         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5742         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5743         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5744         Likewise.
5745         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5746         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5747         Likewise.
5748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5749         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5750         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5751         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5752         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5755 2013-10-04  Alan Modra  <amodra@gmail.com>
5757         * stdio-common/printf_size.c (__printf_size): Don't use
5758         union ieee854_long_double in fpnum union.
5759         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5760         signbit macro to retrieve sign from long double.
5761         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5762         retrieve sign from long double.
5763         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5764         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5765         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5766         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5767         * math/test-misc.c (main): Don't use union ieee854_long_double.
5769 2013-10-04  Alan Modra  <amodra@gmail.com>
5771         [BZ #15680]
5772         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5773         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5774         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5775         calculation.  Remove unnecessary test for denormal exponent.
5776         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5777         Correct handling of denormals.  Avoid undefined shift behaviour.
5778         Correct normalisation of low mantissa when low double is denormal.
5779         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5780         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5781         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5782         Correct normalisation of low mantissa.  Test for overflow of high
5783         mantissa and normalise.
5784         (ldbl_nearbyint): Use more readable constant for two52.
5785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5786         (__mpn_construct_long_double): Fix test for overflow of high
5787         mantissa and correct normalisation.  Avoid undefined shift.
5789 2013-10-04  Alan Modra  <amodra@gmail.com>
5791         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5792         (union ibm_extended_long_double): Define as an array of ieee754_double.
5793         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5794         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5795         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5796         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5798         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5800         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5801         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5802         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5805 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5807         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5808         page size instead of calling getpagesize.
5810         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5811         (LOCFILE_ALIGN_MASK): Likewise.
5812         (LOCFILE_ALIGN_UP): Likewise.
5813         (LOCFILE_ALIGNED_P): Likewise.
5814         * locale/programs/ld-collate.c (collate_output): Use the new
5815         macros instead of __alignof__ (int32_t).
5816         * locale/weight.h (findidx): Likewise.
5818 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5820         [BZ #431]
5821         * manual/string.texi: Fix strncat and wcsncat.
5823 2013-10-03  Brooks Moses  <bmoses@google.com>
5825         [BZ #15915]
5826         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5827         * Makerules: ...here, and adjust associated comments.
5829 2013-10-02  Will Newton  <will.newton@linaro.org>
5831         * malloc/Makefile: Add tst-pvalloc.
5832         * malloc/tst-pvalloc.c: New file.
5834 2013-10-02  Will Newton  <will.newton@linaro.org>
5836         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5837         improve test coverage.
5839 2013-10-02  Will Newton  <will.newton@linaro.org>
5841         * malloc/Makefile: Add tst-posix_memalign.
5842         * malloc/tst-posix_memalign.c: New file.
5844 2013-10-01  Eric Blake  <eblake@redhat.com>
5846         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5847         Use __THROWNL rather than __THROW on static functions.
5849 2013-09-30  Petr Machata  <pmachata@redhat.com>
5851         * elf/elf.h (R_AARCH64_ABS16): New macro.
5852         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5853         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5854         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5855         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5856         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5857         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5858         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5859         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5860         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5861         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5862         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5863         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5864         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5865         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5866         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5867         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5868         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5869         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5870         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5871         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5872         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5873         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5874         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5875         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5876         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5877         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5878         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5879         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5880         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5881         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5882         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5883         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5884         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5885         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5886         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5887         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5888         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5889         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5890         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5891         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5892         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5893         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5894         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5895         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5896         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5897         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5898         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5899         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5900         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5901         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5902         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5903         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5904         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5905         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5906         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5907         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5908         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5909         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5910         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5911         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5912         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5913         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5914         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5915         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5916         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5917         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5918         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5919         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5920         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5921         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5922         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5923         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5924         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5925         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5926         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5927         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5928         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5929         (R_AARCH64_TLSDESC_LDR): Likewise.
5930         (R_AARCH64_TLSDESC_ADD): Likewise.
5931         (R_AARCH64_TLSDESC_CALL): Likewise.
5933 2013-09-30  Andreas Schwab  <schwab@suse.de>
5935         [BZ #15048]
5936         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5937         the nss database lookup.
5938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5941 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5943         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5945 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5947         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5948         ${Bash-specific parameter/pattern/string} parameter expansion.
5949         * sysdeps/unix/make-syscalls.sh: Likewise.
5951 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5953         * sysdeps/sh/stackguard-macros.h: New file.
5955 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5959         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5960         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5961         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5962         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5964 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5966         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5967         Fix thread ID register.
5969 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5971         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5972         [POSIX || UNIX98]: Require rather than permitting all symbols from
5973         <time.h>.
5974         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5975         element of struct sched_param.
5976         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5977         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5978         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5979         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5980         constant.
5982 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5984         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5985         argument calculation.
5987 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5989         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5990         Expect macro.
5991         [POSIX] (pthread_attr_t): Do not require type.
5992         [POSIX] (pthread_cond_t): Likewise.
5993         [POSIX] (pthread_condattr_t): Likewise.
5994         [POSIX] (pthread_key_t): Likewise.
5995         [POSIX] (pthread_mutex_t): Likewise.
5996         [POSIX] (pthread_mutexattr_t): Likewise.
5997         [POSIX] (pthread_once_t): Likewise.
5998         [POSIX] (pthread_t): Likewise.
5999         [POSIX-based standards] (pthread_atfork): Expect function.
6001 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
6002             Richard Sandiford  <richard@codesourcery.com>
6004         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
6005         (swap_endianness_p): New extern variable.
6006         (set_big_endian): New inline function.
6007         (maybe_swap_uint32): Likewise.
6008         (maybe_swap_uint32_array): Likewise.
6009         (maybe_swap_uint32_obstack): Likewise.
6010         * locale/programs/locfile.c: Include <stdbool.h>.
6011         (swap_endianness_p): New variable.
6012         (add_locale_uint32): Call maybe_swap_uint32.
6013         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
6014         (write_locale_data): Call maybe_swap_uint32_array.
6015         * locale/programs/ld-collate.c (obstack_int32_grow): Call
6016         maybe_swap_uint32.
6017         (obstack_int32_grow_fast): Likewise.
6018         (output_weightwc): Call maybe_swap_uint32_obstack.
6019         (collate_output): Likewise.
6020         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
6021         (OPT_LITTLE_ENDIAN): Likewise.
6022         (options): Add --little-endian and --big-endian options.
6023         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
6024         * locale/programs/locarchive.c: Include "locfile.h".
6025         (GET): New macro.
6026         (SET): Likewise.
6027         (INC): Likewise.
6028         (create_archive): Use the new macros to access fields of
6029         structures directly mapped from or written to locale archives.
6030         (oldlocrecentcmp): Likewise.
6031         (enlarge_archive): Likewise.
6032         (insert_name): Likewise.
6033         (add_alias): Likewise.
6034         (add_locale): Likewise.
6035         (delete_locales_from_archive): Likewise.
6036         (show_archive_content): Likewise.
6037         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
6038         locale data.
6040 2013-09-24  Roland McGrath  <roland@hack.frob.com>
6042         * manual/freemanuals.texi: Updated from (newly) canonical copy at
6043         http://www.gnu.org/doc/freemanuals.texi.
6044         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
6046 2013-09-24  Will Newton  <will.newton@linaro.org>
6048         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
6049         macro.
6051 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
6053         * locale/hashval.h (compute_hashval): Interpret bytes of key as
6054         unsigned char.
6056 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
6058         * manual/threads.texi (POSIX Threads): Fix a typo.
6060 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6062         [BZ #14547]
6063         * string/tst-strcoll-overflow.c: New test case.
6064         * string/Makefile (xtests): Add tst-strcoll-overflow.
6065         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
6066         cache if string sizes may cause integer overflow.
6068         [BZ #14547]
6069         * string/strcoll_l.c (coll_seq): New members rule, idx,
6070         save_idx and back_us.
6071         (get_next_seq_nocache): New function.
6072         (do_compare_nocache): New function.
6073         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
6074         when malloc fails.
6076 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
6078         [BZ #15754]
6079         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
6080         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
6081         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
6083         [BZ #15754]
6084         * elf/Makefile (tests): Add tst-ptrguard1.
6085         (tests-static): Add tst-ptrguard1-static.
6086         (tst-ptrguard1-ARGS): Define.
6087         (tst-ptrguard1-static-ARGS): Define.
6088         * elf/tst-ptrguard1.c: New file.
6089         * elf/tst-ptrguard1-static.c: New file.
6090         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
6091         * sysdeps/i386/stackguard-macros.h: Likewise.
6092         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
6093         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
6094         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
6095         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
6096         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
6097         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
6099 2013-09-23  Hector Marco  <hecmargi@upv.es>
6100             Ismael Ripoll  <iripoll@disca.upv.es>
6101             Carlos O'Donell  <carlos@redhat.com>
6103         [BZ #15754]
6104         * sysdeps/generic/stackguard-macros.h: Define
6105         __pointer_chk_guard_local and POINTER_CHK_GUARD.
6106         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
6107         Define __pointer_chk_guard_local.
6108         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
6109         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
6111 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
6113         [BZ #15859]
6114         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
6116 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
6118         * include/string.h (__ffs): Declare as hidden.
6119         * string/ffs.c (__ffs): Define as hidden.
6120         * sysdeps/i386/ffs.c (__ffs): Likewise.
6121         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6122         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
6123         * sysdeps/s390/ffs.c (__ffs): Likewise.
6124         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
6126 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
6128         * NEWS: Mention malloc probes.
6130         * malloc/arena.c (new_heap): New memory_heap_new probe.
6131         (grow_heap): New memory_heap_more probe.
6132         (shrink_heap): New memory_heap_less probe.
6133         (heap_trim): New memory_heap_free probe.
6134         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
6135         (systrim): New memory_sbrk_less probe.
6136         * manual/probes.texi: Document them.
6138         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
6139         * manual/probes.texi: Document it.
6141         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
6142         (__libc_realloc): Add memory_realloc_retry probe.
6143         (__libc_memalign): Add memory_memalign_retry probe.
6144         (__libc_valloc): Add memory_valloc_retry probe.
6145         (__libc_pvalloc): Add memory_pvalloc_retry probe.
6146         (__libc_calloc): Add memory_calloc_retry probe.
6147         * manual/probes.texi: Document them.
6149         * malloc/arena.c (get_free_list): Add probe
6150         memory_arena_reuse_free_list.
6151         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
6152         and memory_arena_reuse.
6153         (arena_get2) [!PER_THREAD]: Likewise.
6154         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
6155         memory_arena_reuse_realloc.
6156         * manual/probes.texi: Document them.
6158         * malloc/malloc.c (__libc_free): Add
6159         memory_mallopt_free_dyn_thresholds probe.
6160         (__libc_mallopt): Add multiple memory_mallopt probes.
6161         * manual/probes.texi: Document them.
6163         * malloc/malloc.c: Include stap-probe.h.
6164         (__libc_mallopt): Add memory_mallopt probe.
6165         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
6166         * manual/probes.texi: New.
6167         * manual/Makefile (chapters): Add probes.
6168         * manual/threads.texi: Set next node.
6170 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
6172         [BZ #15963, #13985]
6173         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
6174         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
6175         Add `Chinese' to `nan' entry name.
6177 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6179         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
6180         (POLYNOMIAL): Likewise.
6181         (TAYLOR_SINCOS): Likewise.
6182         (TAYLOR_SLOW): Likewise.
6183         (__sin): Use TAYLOR_SINCOS.
6184         (__cos): Likewise.
6185         (slow): Use TAYLOR_SLOW.
6186         (sloww): Likewise.
6187         (bsloww): Likewise.
6188         (csloww): Likewise.
6190 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6192         * stdlib/strtod_l.c: Fix buffer overrun.
6194 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6196         * benchtests/Makefile (bench): Add sincos.
6197         * benchtests/bench-sincos.c: New file.
6199         * math/libm-test.inc (cos_test_data): New test inputs.
6200         (sin_test_data): Likewise.
6202         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
6203         macro.
6204         (__sin): Use it.
6205         (__cos): Likewise.
6206         (slow1): Likewise.
6207         (slow2): Likewise.
6208         (sloww1): Likewise.
6209         (sloww2): Likewise.
6210         (bsloww1): Likewise.
6211         (bsloww2): Likewise.
6212         (cslow2): Likewise.
6213         (csloww1): Likewise.
6214         (csloww2): Likewise.
6216         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
6217         function.
6218         (__sin): Use it.
6219         (__cos): Likewise.
6221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
6222         gotos.
6223         (__cos): Likewise.
6225 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
6227         * config.h.in (HAVE_MIPS_NAN2008): New macro.
6228         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
6229         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
6230         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
6231         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
6232         * elf/cache.c (print_entry): Handle the new cache flags.
6234 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6235             Aldy Hernandez  <aldyh@redhat.com>
6237         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
6238         Change condition to [_SOFT_FLOAT].
6239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
6240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
6241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
6242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
6243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
6244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
6245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
6246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
6247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
6248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
6249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
6250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
6251         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
6252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
6253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
6254         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
6255         declaration.
6257 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
6259         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
6260         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6261         (__longjmp): Use LOAD_GP to load saved GPRs.
6262         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
6263         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
6264         (__sigsetjmp): Use SAVE_GP to save GPRs.
6266         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
6267         Do not append -msoft-float.
6268         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
6270 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6272         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
6274 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
6276         [BZ #15966]
6277         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
6278         (_FPU_GETCW): Use initial "__" on variable and field names but not
6279         on macro parameter name.
6280         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
6281         parentheses around reference to macro parameter.
6283 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
6285         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
6286         prototype.
6287         (ctype_startup): Use uint32_t in cast and sizeof for
6288         ctype->charnames.
6290 2013-09-11  Jia Liu  <proljc@gmail.com>
6292         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
6293         __daddr_t_defined.
6294         [__FreeBSD__]: Likewise.
6296 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
6298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6299         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
6300         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
6301         (strchr): Remove __strchr_sse42 ifunc selection.
6302         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
6303         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
6305 2013-09-11  Will Newton  <will.newton@linaro.org>
6307         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
6308         parameter to RES. Remove hardcoded 1000 value.
6309         * benchtests/bench-skeleton.c (main): Pass RES parameter
6310         to TIMING_INIT and multiply result by 1000.
6312 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6316 2013-09-11  Andreas Schwab  <schwab@suse.de>
6318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
6319         if not defined.
6320         (O_TMPFILE) [__USE_GNU]: Define.
6321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
6322         Define.
6324 2013-09-11  Will Newton  <will.newton@linaro.org>
6326         [BZ #15857]
6327         * malloc/malloc.c (__libc_memalign): Check the value of bytes
6328         does not overflow.
6330 2013-09-11  Will Newton  <will.newton@linaro.org>
6332         [BZ #15856]
6333         * malloc/malloc.c (__libc_valloc): Check the value of bytes
6334         does not overflow.
6336 2013-09-11  Will Newton  <will.newton@linaro.org>
6338         [BZ #15855]
6339         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
6340         does not overflow.
6342 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
6344         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
6345         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6347         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6348         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6350 2013-09-10  Allan McRae  <allan@archlinux.org>
6352         [BZ #15748]
6353         * manual/arith.texi (Parsing of Floats): Clarify
6354         cross-reference.
6356         [BZ #15849]
6357         * manual/install.texi (Running make install): Mention
6358         --enable-pt-chown.
6359         * INSTALL: Regenerated.
6361 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
6363         * csu/init-first.c (_init): Remove the !SHARED condition around
6364         FPU control word initialization.
6365         * elf/dl-support.c (_dl_fpu_control): New variable.
6366         (_dl_aux_init) <AT_FPUCW>: Initialize it.
6367         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
6368         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
6369         * math/test-fpucw-static.c: New file.
6370         * math/test-fpucw-ieee.c: New file.
6371         * math/test-fpucw-ieee-static.c: New file.
6372         * math/Makefile (tests): Add `test-fpucw-ieee' and
6373         `$(tests-static)'.
6374         (tests-static): New variable.
6375         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
6376         dependency to...
6377         [($(build-shared),yes)]
6378         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
6379         ... this.
6380         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
6381         New dependency.
6383 2013-09-09  Allan McRae  <allan@archlinux.org>
6385         [BZ #15939]
6386         * manual/string.texi (Collation Functions): Fix typo in
6387         strcoll example.
6388         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
6390         [BZ #15893]
6391         * stdlib/isomac.c (get_null_defines): Fix memory leak.
6393         [BZ #15892]
6394         * libio/memstream.c (open_memstream): Fix memory leak.
6395         * libio/wmemstream.c (open_wmemstream): Likewise.
6397         [BZ #15895]
6398         * nscd/netgroupcache.c: Fix nesting of ifdefs.
6400 2013-09-09  Will Newton  <will.newton@linaro.org>
6402         * malloc/Makefile: Add tst-realloc to tests.
6403         * malloc/tst-realloc.c: New file.
6405 2013-09-09  Allan McRae  <allan@archlinux.org>
6407         [BZ #15844]
6408         * COPYING: Update from GNU website to fix FSF address.
6409         * COPYING.LIB: Likewise.
6411 2013-09-06  David S. Miller  <davem@davemloft.net>
6413         * po/zh_TW.po: Update Chinese (traditional) translation from
6414         translation project.
6416 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
6417             Joseph Myers  <joseph@codesourcery.com>
6419         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
6420         "localeinfo.h".
6421         (obstack_chunk_alloc): New macro.
6422         (obstack_chunk_free): Likewise.
6423         (record_offset): New function.
6424         (init_locale_data): Likewise.
6425         (align_locale_data): Likewise.
6426         (add_locale_empty): Likewise.
6427         (add_locale_raw_data): Likewise.
6428         (add_locale_raw_obstack): Likewise.
6429         (add_locale_string): Likewise.
6430         (add_locale_wstring): Likewise.
6431         (add_locale_uint32): Likewise.
6432         (add_locale_uint32_array): Likewise.
6433         (add_locale_char): Likewise.
6434         (start_locale_structure): Likewise.
6435         (end_locale_structure): Likewise.
6436         (start_locale_prelude): Likewise.
6437         (end_locale_prelude): Likewise.
6438         (write_locale_data): Take locale_file structure rather than an
6439         iovec.
6440         * locale/programs/locfile.h: Include "obstack.h".
6441         (struct locale_file): Change to store locale file contents instead
6442         of header.
6443         (init_locale_data): New prototype.
6444         (align_locale_data): Likewise.
6445         (add_locale_empty): Likewise.
6446         (add_locale_raw_data): Likewise.
6447         (add_locale_raw_obstack): Likewise.
6448         (add_locale_string): Likewise.
6449         (add_locale_wstring): Likewise.
6450         (add_locale_uint32): Likewise.
6451         (add_locale_uint32_array): Likewise.
6452         (add_locale_char): Likewise.
6453         (start_locale_structure): Likewise.
6454         (end_locale_structure): Likewise.
6455         (start_locale_prelude): Likewise.
6456         (end_locale_prelude): Likewise.
6457         (write_locale_data): Update prototype.
6458         * locale/programs/3level.h (struct TABLE): Remove result field.
6459         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
6460         Use new locale_file interface.
6461         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6462         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6463         * locale/programs/ld-address.c (address_output): Use new
6464         locale_file interface.
6465         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6466         NO_ADD_LOCALE.
6467         (collate_finish): Don't call collseq_table_finalize.
6468         (collate_output): Use new locale_file interface.
6469         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6470         in file.
6471         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6472         (TABLE): Move defines earlier in file.
6473         (ELEMENT): Likewise.
6474         (DEFAULT): Likewise.
6475         (wctrans_table_add): Move macro and inline function earlier in
6476         file.
6477         (struct wctype_table): Move type earlier in file.
6478         (add_locale_wctype_table): New static prototype.
6479         (struct locale_ctype_t): Use logical types instead of struct iovec
6480         pointers for members.
6481         (ctype_output): Use new locale_file interface.
6482         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6483         new locale_file interface.
6484         (allocate_arrays): Update for use of new locale_file interface.
6485         * locale/programs/ld-identification.c (identification_output): Use
6486         new locale_file interface.
6487         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6488         * locale/programs/ld-messages.c (messages_output): Likewise.
6489         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6490         * locale/programs/ld-name.c (name_output): Likewise.
6491         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6492         * locale/programs/ld-paper.c (paper_output): Likewise.
6493         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6494         * locale/programs/ld-time.c (time_output): Likewise.
6496 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6498         * benchtests/Makefile: Add memrchr benchmark.
6499         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6500         benchmark as memrchr.
6501         * benchtests/bench-memrchr-ifunc.c: New file.
6502         * benchtests/bench-memrchr.c: New file.
6504 2013-09-06   Will Newton  <will.newton@linaro.org>
6506         * benchtests/Makefile (string-bench): Add memcpy.
6508 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6509             Cong Wang  <amwang@redhat.com>
6511         [BZ #15850]
6512         * sysdeps/unix/sysv/linux/bits/in.h
6513         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6514         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6515         before __USE_KERNEL_IPV6_DEFS uses.
6516         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6517         IPPROTO_BEETPH.
6518         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6519         sockaddr_in6, or ipv6_mreq.
6521 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6523         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6524         memory access for final bytes in some large inputs.
6525         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6527 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6529         * string/test-memrchr.c: New file.
6530         * string/test-memrchr-ifunc.c: New file.
6531         * string/Makefile: Add new memrchr testcase.
6533 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6535         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6536         fanotify_init returns EPERM.
6538 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6540         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6541         errors.
6542         (top level): Treat second token from macro or constant entries for
6543         allowed headers as allowed.
6544         * include/complex.h: Condition internal declarations on
6545         [!_ISOMAC].
6546         * include/fenv.h: Condition include of <stdbool.h> and internal
6547         declarations on [!_ISOMAC].
6549 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6551         [BZ #15923]
6552         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6554 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6556         * configure.in (--enable-versioning): Remove configure option.
6557         (libc_cv_asm_symver_directive): Remove configure test.
6558         (libc_cv_ld_version_script_option): Likewise.
6559         (VERSIONING): Remove variable and AC_SUBST.
6560         (DO_VERSIONING): Remove AC_DEFINE.
6561         * configure: Regenerated.
6562         * config.h.in (DO_VERSIONING): Remove macro.
6563         * Makerules [$(versioning) = yes]: Change conditionals to
6564         [$(build-shared) = yes].
6565         * config.make.in (versioning): Remove variable.
6566         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6567         [$(build-shared) = yes].
6568         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6569         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6570         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6571         [$(build-shared) = yes].
6572         * extra-lib.mk [$(versioning) = yes]: Likewise.
6573         * hurd/Makefile [$(versioning) = yes]: Likewise.
6574         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6575         [SHARED].
6576         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6577         [SHARED].
6578         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6579         [SHARED && !NO_HIDDEN].
6580         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6581         [SHARED].
6582         [SHARED && DO_VERSIONING]: Likewise..
6583         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6584         [$(build-shared) = yes].
6585         * manual/install.texi (--disable-versioning): Remove
6586         documentation.
6587         * INSTALL: Regenerated.
6588         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6589         to [SHARED].
6590         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6591         [$(build-shared) = yes].
6592         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6593         * sysdeps/i386/i686/multiarch/strstr-c.c
6594         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6595         [SHARED && !NO_HIDDEN].
6596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6597         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6598         * sysdeps/powerpc/powerpc32/dl-machine.c
6599         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6600         * sysdeps/powerpc/powerpc32/sysdep.h
6601         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6602         to [SHARED && PIC && !NO_HIDDEN].
6603         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6604         conditional to [SHARED].
6606 2013-09-04   Will Newton  <will.newton@linaro.org>
6608         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6609         * benchtests/bench-string.h: Include bench-timing.h instead
6610         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6611         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6612         call to HP_TIMING_DIFF_INIT.
6613         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6614         instead of hp-timing.h macros.
6615         * benchtests/bench-memchr.c: Likewise.
6616         * benchtests/bench-memcmp.c: Likewise.
6617         * benchtests/bench-memcpy.c: Likewise.
6618         * benchtests/bench-memmem.c: Likewise.
6619         * benchtests/bench-memmove.c: Likewise.
6620         * benchtests/bench-memset.c: Likewise.
6621         * benchtests/bench-rawmemchr.c: Likewise.
6622         * benchtests/bench-strcasecmp.c: Likewise.
6623         * benchtests/bench-strcasestr.c: Likewise.
6624         * benchtests/bench-strcat.c: Likewise.
6625         * benchtests/bench-strchr.c: Likewise.
6626         * benchtests/bench-strcmp.c: Likewise.
6627         * benchtests/bench-strcpy.c: Likewise.
6628         * benchtests/bench-strcpy_chk.c: Likewise.
6629         * benchtests/bench-strlen.c: Likewise.
6630         * benchtests/bench-strncasecmp.c: Likewise.
6631         * benchtests/bench-strncat.c: Likewise.
6632         * benchtests/bench-strncmp.c: Likewise.
6633         * benchtests/bench-strncpy.c: Likewise.
6634         * benchtests/bench-strnlen.c: Likewise.
6635         * benchtests/bench-strpbrk.c: Likewise.
6636         * benchtests/bench-strrchr.c: Likewise.
6637         * benchtests/bench-strspn.c: Likewise.
6638         * benchtests/bench-strstr.c: Likewise.
6640 2013-09-04  Will Newton  <will.newton@linaro.org>
6642         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6644 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6646         [BZ #15427]
6647         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6648         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6649         * math/libm-test.inc (lgamma_test_data): Add more tests.
6650         * sysdeps/i386/fpu/libm-test-ulps: Update.
6651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6655         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6657         Add ifunc.
6658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6659         Add strcmp-sse2-unaligned
6660         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6662 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6664         * Versions.def (libc): Add GLIBC_2.19.
6666 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6668         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6669         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6671 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #14155]
6674         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6675         intermediate calculations in recurrence.
6676         (__ieee754_ynf): Likewise.
6677         * math/libm-test.inc (jn_test_data): Do not allow spurious
6678         underflow exception.  Add more tests.
6679         (yn_test_data): Add more tests.
6680         * sysdeps/i386/fpu/libm-test-ulps: Update.
6681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6683 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6685         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6687 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6689         * csu/init-first.c: Fix then/than typos.
6690         * locale/programs/ld-collate.c: Likewise.
6691         * locale/programs/linereader.h: Likewise.
6692         * manual/charset.texi: Likewise.
6693         * manual/filesys.texi: Likewise.
6694         * manual/stdio.texi: Likewise.
6695         * manual/string.texi: Likewise.
6696         * stdlib/fmtmsg.c: Likewise.
6697         * sysdeps/i386/stpncpy.S: Likewise.
6698         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6699         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6701         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6703 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6705         * elf/dl-open.c: Fix typos.
6706         * iconvdata/gbbig5.c: Likewise.
6707         * iconvdata/iso-2022-jp.c: Likewise.
6708         * iconv/gconv_int.h: Likewise.
6709         * iconv/loop.c: Likewise.
6710         * nis/rpcsvc/nis.h: Likewise.
6711         * resolv/ns_name.c: Likewise.
6712         * stdio-common/vfscanf.c: Likewise.
6713         * streams/stropts.h: Likewise.
6714         * sunrpc/rpc_thread.c: Likewise.
6715         * sysdeps/i386/strpbrk.S: Likewise.
6716         * sysdeps/ieee754/k_standard.c: Likewise.
6717         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6719         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6720         * sysdeps/mach/hurd/profil.c: Likewise.
6721         * sysdeps/s390/dl-procinfo.h: Likewise.
6722         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6723         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6724         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6725         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6726         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6728 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6730         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6733 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6735         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6736         aix specific files.
6737         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6738         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6739         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6740         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6741         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6742         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6743         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6744         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6746 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6747             Roland McGrath  <roland@hack.frob.com>
6749         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6750         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6752 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6754         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6755         __executable_start symbol instead of _start.
6757 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6759         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6760         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6761         Move macros to...
6762         * sysdeps/gnu/ldsodefs.h: ... this new file.
6764         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6765         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6766         instead of ELFOSABI_LINUX.
6768         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6769         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6770         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6771         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6772         Likewise.
6773         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6774         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6775         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6776         Likewise.
6777         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6778         (ibm_extended_long_double): Add ieee_nan member.
6779         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6780         (do_test): New function.
6782         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6783         TEST_TRUNC.
6784         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6785         functions, renamed from truncdfsf_test, trunctfsf_test,
6786         trunctfdf_test.
6787         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6788         functions.
6789         (do_test): Run all these.
6791 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6793         * argp/argp-help.c: Fix typos.
6794         * argp/argp-parse.c: Likewise.
6795         * debug/backtracesyms.c: Likewise.
6796         * elf/elf.h: Likewise.
6797         * malloc/malloc.c: Likewise.
6798         * nis/nis_print.c: Likewise.
6799         * resolv/res_comp.c: Likewise.
6800         * stdlib/stdlib.h: Likewise.
6801         * sunrpc/clnt_tcp.c: Likewise.
6802         * sunrpc/clnt_udp.c: Likewise.
6803         * sunrpc/clnt_unix.c: Likewise.
6804         * sysdeps/unix/bsd/ptsname.c: Likewise.
6805         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6806         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6808         Likewise.
6809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6812         Likewise.
6813         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6815 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6820 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6822         [BZ #15897]
6823         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6824         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6825         ($(objpfx)bug-dl-leaf): New rule.
6826         ($(objpfx)bug-dl-leaf.so): Likewise.
6827         ($(objpfx)bug-dl-leaf.out): Likewise.
6828         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6829         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6830         * dlfcn/bug-dl-leaf.c: New test.
6831         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6832         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6833         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6834         (dlclose): Likewise.
6835         (dlmopen): Likewise.
6837 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6839         * include/netdb.h [!_ISOMAC]:
6840         Don't include <tls.h>.
6841         (h_errno, __libc_h_errno): Move declaration and macros out of
6842         [_LIBC_REENTRANT].
6844         * include/resolv.h [_RESOLV_H_]:
6845         Don't include <tls.h>.
6846         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6847         * resolv/res_libc.c: Don't include <tls.h>.
6848         (_res): Use __attribute__ ((nocommon)) in place of
6849         __attribute__ ((section (".bss"))).
6851         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6852         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6854         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6856         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6857         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6859         * resolv/res_mkquery.c: Include <sys/time.h>.
6861         * inet/ifreq.c: Moved to ...
6862         * sysdeps/unix/ifreq.c: ... here.
6863         * inet/ifreq.c: New file, true stub version.
6865         * socket/sa_len.c: New file.
6866         * socket/Makefile (aux): Add it.
6867         * sysdeps/unix/sysv/linux/Makefile
6868         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6869         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6870         and #include <socket/sa_len.c>.
6871         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6872         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6874         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6875         * bits/socket.h: ... here.
6877         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6878         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6879         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6881 2013-08-27  Andreas Schwab  <schwab@suse.de>
6883         [BZ #15736]
6884         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6885         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6886         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6887         * string/test-strcasecmp.c (test_main): Run tests in several
6888         locales.
6889         * string/test-strncasecmp.c (test_main): Likewise.
6891         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6892         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6893         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6895         (__strncasecmp_ssse3) [PIC]: Likewise.
6897 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6899         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6901         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6902         instead of explicitly declaring xdecrypt.
6903         * nis/nss_nis/nis-publickey.c: Likewise.
6905 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6907         [BZ #15890]
6908         * nscd/aicache.c: Include res_hconf.h.
6909         (addhstaiX): Initialize res_hconf.
6911 2013-08-26  Andreas Schwab  <schwab@suse.de>
6913         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6914         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6916 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6918         * nscd/aicache.c (addhstaiX): Fix indentation.
6920 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6922         * configure.ac: Quote $build_pt_chown test.
6923         * configure: Regenerated.
6925 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6927         [BZ #15532]
6928         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6929         * math/s_cexpf.c (__cexpf): Likewise.
6930         * math/s_cexpl.c (__cexpl): Likewise.
6931         * math/libm-test.inc (cexp_test_data): Correct expected return
6932         value for NaN + i0.  Add another test.
6934 2013-08-22  David S. Miller  <davem@davemloft.net>
6936         * po/ca.po: Update Catalan translation from translation project.
6937         * po/uk.po: Add Ukrainian translations from translation project.
6939 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6941         [BZ #15797]
6942         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6943         is infinite, not alongside NaN test.
6944         * math/s_fdimf.c (__fdimf): Likewise.
6945         * math/s_fdiml.c (__fdiml): Likewise.
6946         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6947         errno is unchanged.
6949 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6951         * argp/argp-help.c: Fix typos.
6952         * crypt/speeds.c: Likewise.
6953         * csu/check_fds.c: Likewise.
6954         * elf/dl-load.c: Likewise.
6955         * elf/dl-open.c: Likewise.
6956         * elf/reldep3.c: Likewise.
6957         * elf/reldep.c: Likewise.
6958         * elf/sprof.c: Likewise.
6959         * iconv/iconv_charmap.c: Likewise.
6960         * iconv/skeleton.c: Likewise.
6961         * iconv/strtab.c: Likewise.
6962         * io/lockf64.c: Likewise.
6963         * libio/libioP.h: Likewise.
6964         * resolv/gai_notify.c: Likewise.
6965         * resolv/ns_name.c: Likewise.
6966         * resolv/ns_samedomain.c: Likewise.
6967         * resolv/res_send.c: Likewise.
6968         * stdlib/random.c: Likewise.
6969         * sunrpc/rpc/xdr.h: Likewise.
6970         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6972         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6973         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6977         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6978         * sysdeps/mach/hurd/check_fds.c: Likewise.
6979         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6980         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6982         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6983         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6984         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6985         * sysdeps/pthread/aio_notify.c: Likewise.
6986         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6987         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6988         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6990         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6992 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6994         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6995         version if bit_Slow_SSE4_2 is set.
6996         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6997         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6999 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7001         [BZ #15867]
7002         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
7003         trampoline stack frame information.
7004         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
7006         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
7007         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
7008         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
7009         * sysdeps/unix/sysv/linux/powerpc/init-first.c
7010         (_libc_vdso_platform_setup): Initialize the signal trampolines.
7011         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
7012         sa_flags value.
7013         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
7014         interrupting a syscall and set with option SA_SIGINFO.
7016 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7018         [BZ #15531]
7019         * math/s_cproj.c (__cproj): Only return an infinity if one part of
7020         argument is infinite.
7021         * math/s_cprojf.c (__cprojf): Likewise.
7022         * math/s_cprojl.c (__cprojl): Likewise.
7023         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
7024         * math/libm-test.inc (cproj_test_data): Add more tests.
7026         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
7028         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
7029         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
7030         size.  Use __ffs to determine corresponding shift.
7032 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
7033             Roland McGrath  <roland@hack.frob.com>
7035         * Makefile (INSTALL): Remove trailing blank lines from output of
7036         makeinfo.
7038 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7040         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
7041         Align 32 bit compat elf_greg to 8 bytes.
7043 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7045         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
7047 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7049         * string/strcoll_l.c (coll_seq): New structure.
7050         (get_next_seq_cached): New function.
7051         (get_next_seq): New function.
7052         (do_compare): New function.
7053         (STRCOLL): Use GNU style definition.  Simplify implementation
7054         by using get_next_seq, get_next_seq_cached and do_compare.
7056 2013-08-16  Florian Weimer  <fweimer@redhat.com>
7058         [BZ #14699]
7059         CVE-2013-4237
7060         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
7061         member.
7062         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
7063         member.
7064         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
7065         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
7066         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
7067         conditional.
7068         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
7069         GETDENTS_64BIT_ALIGNED.
7070         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
7071         * manual/filesys.texi (Reading/Closing Directory): Document
7072         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
7073         strongly.
7074         * manual/conf.texi (Limits for Files): Add portability note to
7075         NAME_MAX, PATH_MAX.
7076         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
7078 2013-08-13  Andreas Schwab  <schwab@suse.de>
7080         [BZ #15749]
7081         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
7082         of fabs.
7083         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
7084         LDBL_MAX_EXP >= 16384]: Add tests for it.
7086 2013-08-12  David S. Miller  <davem@davemloft.net>
7088         * version.h (RELEASE): Set to "development".
7089         (VERSION): Set to "2.18.90".
7090         * NEWS: Add 2.19 section.
7092 2013-08-03  David S. Miller  <davem@davemloft.net>
7094         * po/ko.po: Update Korean translation from translation project.
7096 2013-08-01  David S. Miller  <davem@davemloft.net>
7098         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
7099         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
7100         Bilka.
7102 2013-07-30  David S. Miller  <davem@davemloft.net>
7104         * po/fr.po: Update French translation from translation project.
7106 2013-07-28  David S. Miller  <davem@davemloft.net>
7108         * po/cs.po: Update Czech translation from translation project.
7110         * po/sv.po: Update Swedish translation from translation project.
7112 2013-07-27  David S. Miller  <davem@davemloft.net>
7114         * po/eo.po: Update Esperanto translation from translation project.
7116         * po/vi.po: Update Vietnamese translation from translation project.
7118         * po/de.po: Update German translation from translation project.
7120 2013-07-26  David S. Miller  <davem@davemloft.net>
7122         * po/bg.po: Update Bulgarian translation from translation project.
7124         * po/nl.po: Update Dutch translation from translation project.
7125         * po/pl.po: Update Polish translation from translation project.
7126         * po/ru.po: Update Russian translation from translation project.
7128 2013-07-24  David S. Miller  <davem@davemloft.net>
7130         * po/libc.pot: Update.
7132 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7134         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
7135         variable page size.
7136         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
7137         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
7138         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
7140 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7142         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
7144 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7145             Andreas Schwab  <schwab@suse.de>
7146             Roland McGrath  <roland@hack.frob.com>
7147             Joseph Myers  <joseph@codesourcery.com>
7148             Carlos O'Donell  <carlos@redhat.com>
7150         [BZ #15755]
7151         * config.h.in: Define HAVE_PT_CHOWN.
7152         * config.make.in (build-pt-chown): New variable.
7153         * configure.in (--enable-pt_chown): New configure option.
7154         * configure: Regenerate.
7155         * login/Makefile: Include Makeconfig.  Build pt_chown only if
7156         build-pt-chown is enabled.
7157         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
7158         pt_chown to fix pty ownership.
7159         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
7160         CLOSE_ALL_FDS.
7161         * manual/install.texi (Configuring and compiling): Mention
7162         --enable-pt_chown. Add @findex for grantpt.
7163         * INSTALL: Regenerate.
7165 2013-07-20  David S. Miller  <davem@davemloft.net>
7167         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
7168         difference between 32-bit and 64-bit.
7170 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
7172         [BZ #15711]
7173         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
7174         Avoid system header dependency with -ffreestanding.
7175         ($(objpfx)bits/syscall%d): Likewise.
7177 2013-07-13  David S. Miller  <davem@davemloft.net>
7179         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
7180         underflows from atanl/atan2l due to bug 15319.
7181         (casinh_test_data): Likewise.
7183 2013-07-07  David S. Miller  <davem@davemloft.net>
7185         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7187 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
7189         * sysdeps/i386/fpu/libm-test-ulps: Update.
7190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7192 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7194         * configure.in (--enable-lock-elision): Fix message text.
7195         * INSTALL: Regenerate.
7196         * configure: Regenerate.
7198 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7202 2013-07-03  Andreas Jaeger  <aj@suse.de>
7204         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
7205         define.
7206         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
7207         (ptrace_peeksiginfo_args): Add.
7208         (__ptrace_peeksiginfo_flags): Add.
7209         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7210         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7211         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7213 2013-07-03  Allan McRae  <allan@archlinux.org>
7215         * sysdeps/i386/fpu/libm-test-ulps: Update.
7217 2013-07-02  David S. Miller  <davem@davemloft.net>
7219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7221 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
7223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7225 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7227         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7230 2013-07-02  Andi Kleen <ak@linux.intel.com>
7232         * config.h.in (ENABLE_LOCK_ELISION): Add.
7233         * configure.in (--enable-lock-elision): Add option.
7234         * manual/install.texi: Document --enable lock elision.
7235         * configure: Regenerate
7236         * INSTALL: Regenerate.
7238 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
7240         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
7241         SSE4.2 strcasecmp for libc.a.
7242         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7244 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
7246         [BZ #13304]
7247         * soft-fp/op-common.h (_FP_FMA): New macro.
7248         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
7249         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
7250         (_FP_MUL_MEAT_1_imm): ... here.
7251         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
7252         (_FP_MUL_MEAT_1_wide): ... here.
7253         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
7254         (_FP_MUL_MEAT_1_hard): ... here.
7255         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
7256         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
7257         (_FP_MUL_MEAT_2_wide): ... here.
7258         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
7259         (_FP_MUL_MEAT_2_wide_3mul): ... here.
7260         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
7261         (_FP_MUL_MEAT_2_gmp): ... here.
7262         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
7263         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
7264         (_FP_MUL_MEAT_4_wide): ... here.
7265         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
7266         (_FP_MUL_MEAT_4_gmp): ... here.
7267         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
7268         (_FP_WFRACBITS_DW_S): Likewise.
7269         (_FP_WFRACXBITS_DW_S): Likewise.
7270         (_FP_HIGHBIT_DW_S): Likewise.
7271         (FP_FMA_S): Likewise.
7272         (_FP_FRAC_HIGH_DW_S): Likewise.
7273         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
7274         (_FP_WFRACBITS_DW_D): Likewise.
7275         (_FP_WFRACXBITS_DW_D): Likewise.
7276         (_FP_HIGHBIT_DW_D): Likewise.
7277         (FP_FMA_D): Likewise.
7278         (_FP_FRAC_HIGH_DW_D): Likewise.
7279         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
7280         (_FP_WFRACBITS_DW_E): Likewise.
7281         (_FP_WFRACXBITS_DW_E): Likewise.
7282         (_FP_HIGHBIT_DW_E): Likewise.
7283         (FP_FMA_E): Likewise.
7284         (_FP_FRAC_HIGH_DW_E): Likewise.
7285         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
7286         (_FP_WFRACBITS_DW_Q): Likewise.
7287         (_FP_WFRACXBITS_DW_Q): Likewise.
7288         (_FP_HIGHBIT_DW_Q): Likewise.
7289         (FP_FMA_Q): Likewise.
7290         (_FP_FRAC_HIGH_DW_Q): Likewise.
7291         * soft-fp/fmasf4.c: New file.
7292         * soft-fp/fmadf4.c: Likewise.
7293         * soft-fp/fmatf4.c: Likewise.
7295 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7298         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
7299         Silvermont.
7300         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
7301         macro.
7302         (index_Slow_SSE4_2): Likewise.
7303         (index_Prefer_PMINUB_for_stringop): Likewise.
7304         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
7305         bit_Slow_SSE4_2 is set.
7306         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7309 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7311         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
7312         rtld_global._dl_hwcap2.
7313         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
7314         POWER8.
7315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
7316         POWER8 feature descriptions defined in _dl_hwcap2.
7317         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
7318         string handling for POWER8 feature bits.
7319         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
7320         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
7321         _dl_powerpc_cap_flags.
7322         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
7323         * sysdeps/powerpc/rtld-global-offsets.sym
7324         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
7325         _dl_hwcap2 in the rtld_global_ro structure.
7327 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7329         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
7330         hardware capabilities in support of AT_HWCAP2.
7331         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
7332         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7333         GLRO(dl_hwcap2).
7334         (_dl_show_auxv): Add support for calling _dl_procinfo to display
7335         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
7336         explicitly the unknown a_type display mechanism is used.
7337         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
7338         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
7339         struct member.
7340         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
7341         to macro prototype for AT_HWCAP2 support.
7342         * sysdeps/i386/dl-procinfo.h: Likewise.
7343         * sysdeps/s390/dl-procinfo.h: Likewise.
7344         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
7345         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
7346         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
7347         return -1 for unknown a_type display fallback.
7348         * sysdeps/sparc/dl-procinfo.h: Likewise.
7349         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
7350         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
7352 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
7354         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
7355         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
7357 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
7359         [BZ #12492]
7360         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
7361         mprotect making __stack_prot writable.
7363 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
7364             Joseph Myers  <joseph@codesourcery.com>
7366         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
7367         as being properly aligned.
7369 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
7371         * dlfcn/modstatic5.c: New file.
7372         * dlfcn/tststatic5.c: New file.
7373         * dlfcn/Makefile (tests): Add tststatic5.
7374         (tests-static): Likewise.
7375         (modules-names): Add modstatic5.
7376         (tststatic5-ENV): New variable.
7377         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
7379         [BZ #15022]
7380         * elf/dl-support.c (_dl_main_map): New variable.
7381         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
7382         (_dl_nns, _dl_load_adds): Set to 1.
7383         (_dl_initial_searchlist): Refer to _dl_main_map.
7384         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
7385         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
7386         call to _dl_get_origin.
7387         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
7388         around call_map.
7389         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
7390         * dlfcn/modstatic3.c: New file.
7391         * dlfcn/tststatic3.c: New file.
7392         * dlfcn/tststatic4.c: New file.
7393         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
7394         (tests-static): Likewise.
7395         (modules-names): Add modstatic3.
7396         (tststatic3-ENV, tststatic4-ENV): New variables.
7397         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
7398         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
7400 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
7402         * configure.in (CC): Require GCC version 4.4 or later.
7403         * configure: Regenerated.
7404         * manual/install.texi (Tools for Compilation): Update GCC version
7405         requirement.
7406         * INSTALL: Regenerated.
7408 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7410         [BZ #15674]
7411         * string/test-memcmp.c (check2): New.
7412         (main): Call check2.
7414         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
7416 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
7418         [BZ #15022]
7419         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
7420         over to...
7421         (dl_open_worker) [!SHARED]: ... here.
7423 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7425         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
7427 2013-06-25  Richard Henderson  <rth@redhat.com>
7429         * locale/programs/locarchive.c: Include <libc-internal.h>
7431 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
7433         * manual/texinfo.tex: Update to version 2013-06-21.17, with
7434         trailing whitespace removed.
7436 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7438         [BZ #10283]
7439         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
7440         * locale/programs/locarchive.c: Include libc-mmap.h.
7441         (prepare_address_space): Take two new outputs (the mmap base and len).
7442         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
7443         values.
7444         (create_archive): Declare new mmap base and len values for
7445         prepare_address_space, and store the result in ah.
7446         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
7447         (enlarge_archive): If ah->mmap_base is not NULL, use that and
7448         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7449         Declare new mmap base and len values for
7450         prepare_address_space, and store the result in new_ah.
7451         (open_archive): Declare new mmap base and len values for
7452         prepare_address_space, and store the result in ah.
7453         (close_archive): If ah->mmap_base is not NULL, use that and
7454         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
7455         * sysdeps/generic/libc-mmap.h: New file.
7457 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
7459         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
7460         (ALIGN_UP): Likewise.
7461         (PTR_ALIGN_DOWN): Likewise.
7462         (PTR_ALIGN_UP): Likewise.
7464 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7466         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7467         entry mapped to PPC_PLATFORM_POWER8.
7468         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7469         POWER8.
7470         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7471         (_dl_string_platform): Add case for exporting platform position for
7472         POWER8.
7473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7474         search path to sysdeps/powerpc/powerpc32/power8 directory.
7475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7476         search path to sysdeps/powerpc/powerpc64/power8 directory.
7477         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7478         power7 directories.
7479         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7480         power7 directories.
7482 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7484         * INSTALL: Regenerate.
7486         * nscd/connections.c (nscd_init): Fix comment.
7488 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7490         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7492         [BZ #15667]
7493         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7494         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7496 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7498         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7499         DL_DST_REQ_STATIC.
7500         (DL_DST_REQ_STATIC): Remove macro.
7502 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7504         [BZ #7006]
7505         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7506         with a shift of 0 bits.
7508 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7510         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7511         $(tststatic-ENV).
7513 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7515         [BZ #15655]
7516         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7518 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7520         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7521         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7522         accepts -fno-tree-loop-distribute-patterns.
7523         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7524         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7525         recursive call.
7526         * string/memset.c (memset): Likewise.
7527         * string/test-memmove.c (simple_memmove): Disable loop transformation
7528         to library calls.
7529         * string/test-memset.c (simple_memset): Likewise.
7530         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7531         * benchtests/bench-memset.c (simple_memset): Likewise.
7532         * configure: Regenerated.
7534 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7536         * math/test-misc.c (main): Ignore fesetround failure when failures
7537         of subsequent rounding tests would be ignored.
7539         [BZ #15654]
7540         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7541         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7542         * math/fegetenv.c (__fegetenv): Return 0.
7543         * math/fegetexcept.c (fegetexcept): Return 0.
7544         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7545         FE_TONEAREST.
7546         * math/feholdexcpt.c (feholdexcept): Return 0.
7547         * math/fesetenv.c (__fesetenv): Return 0.
7548         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7549         argument FE_TONEAREST.
7550         * math/feupdateenv.c (__feupdateenv): Return 0.
7551         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7553 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7555         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7556         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7557         ($(objpfx)rtld-%.os rules): Use them.
7559 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7561         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7562         fields.
7564 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7566         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7567         length of target pattern, then descending length of dependency pattern.
7568         * configure.in (AWK): Require gawk 3.1.2 or newer.
7569         * manual/install.texi (Tools for Compilation): Say that we do.
7570         * configure: Regenerated.
7572         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7573         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7574         * scripts/sysd-rules.awk: ... this new script.
7575         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7576         than a glob-style pattern.
7578 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7580         * math/test-misc.c (main): Do not treat incorrectly rounded
7581         conversions as failure unless ROUNDING_TESTS passes.
7583 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7585         [BZ #15631]
7586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7587         restore exception state around main square root computation, then
7588         check for inexactness explicitly.
7590         * math/libm-test.inc (fma_test_data): Add another test.
7592 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7594         * manual/threads.texi (Non-POSIX Extensions): New document
7595         node.  Document pthread_getattr_default_np and
7596         pthread_setattr_default_np.
7598         * Versions.def (libpthread): Add GLIBC_2.18.
7599         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7601         Likewise.
7602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7603         Likewise.
7604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7605         Likewise.
7606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7607         Likewise.
7608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7609         Likewise.
7610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7611         Likewise.
7612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7613         Likewise.
7614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7615         Likewise.
7616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7617         Likewise.
7619 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7622         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7624 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7625             H.J. Lu  <hjl.tools@gmail.com>
7627         [BZ #15627]
7628         * sysdeps/x86_64/rtld-memset.c: Remove file.
7629         * sysdeps/x86_64/rtld-memset.S: New file.
7631 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7633         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7634         (test_in_one_mode): Take arguments for whether the rounding mode
7635         is supported for each floating-point type.
7636         (do_test): Pass new arguments to test_in_one_mode using
7637         ROUNDING_TESTS.
7639 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7641         * posix/tst-waitid.c (do_test): Distinguish different instances of
7642         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7643         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7644         before entering the kernel for waitpid.
7646 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7648         * NEWS: Fix note on clock function precision.  Text by Roland
7649         McGrath.
7651 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7653         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7654         it into place only when and if the sanity check passes.
7656 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7658         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7659         output for whether conversion result is exact.  Take argument
7660         indicating whether type is IBM long double.
7661         (round_for_all): Change need_exact field to ibm_ld.
7662         * stdlib/tst-strtod-round.c (struct exactness): New type.
7663         (struct test): Change bool ld_ok field to struct exactness exact.
7664         (TEST): Update all definitions for change to field.
7665         (tests): Regenerate array contents.
7666         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7667         field value.  Check for IBM long double here.
7668         (do_test): Update calls to test_in_one_mode.
7670 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7672         [BZ #12515]
7673         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7674         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7676 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7678         [BZ #15605]
7679         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7680         generated by the compiler on loop optimizations.
7681         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7682         general definitions.
7684 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7686         * math/bug-nextafter.c: Include <math-tests.h>.
7687         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7688         the relevant type.
7689         * math/bug-nexttoward.c: Include <math-tests.h>.
7690         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7691         the relevant type.
7692         * math/test-misc.c: Include <math-tests.h>.
7693         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7694         the relevant type.
7696 2013-06-12  Andreas Jaeger  <aj@suse.de>
7698         * po/ia.po: Update Interlingua translation from translation
7699         project.
7701 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7703         * include/fenv.h: Include stdbool.h.
7704         (struct rm_ctx): New structure.
7705         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7706         Define macro.
7707         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7708         (SET_RESTORE_ROUNDF): Likewise.
7709         (SET_RESTORE_ROUNDL): Likewise.
7710         (SET_RESTORE_ROUND_NOEX): Likewise.
7711         (SET_RESTORE_ROUND_NOEXF): Likewise.
7712         (SET_RESTORE_ROUND_NOEXL): Likewise.
7713         (SET_RESTORE_ROUND_53BIT): Likewise.
7714         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7715         (libc_feresetround_noexf_ctx): Likewise.
7716         (libc_feresetround_noexl_ctx): Likewise.
7717         (libc_feholdsetround_53bit_ctx): Likewise.
7718         (libc_feresetround_53bit_ctx): Likewise.
7719         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7720         (libc_feholdexcept_setround_sse_ctx): New function.
7721         (libc_fesetenv_sse_ctx): Likewise.
7722         (libc_feupdateenv_sse_ctx): Likewise.
7723         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7724         (libc_feholdexcept_setround_387_ctx): Likewise.
7725         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7726         (libc_feholdsetround_387_prec_ctx): Likewise.
7727         (libc_feholdsetround_387_ctx): Likewise.
7728         (libc_feholdsetround_387_53bit_ctx): Likewise.
7729         (libc_feholdsetround_sse_ctx): Likewise.
7730         (libc_feresetround_sse_ctx): Likewise.
7731         (libc_feresetround_387_ctx): Likewise.
7732         (libc_feupdateenv_387_ctx): Likewise.
7733         (libc_feholdexcept_setroundf_ctx): Define macro.
7734         (libc_fesetenvf_ctx): Likewise.
7735         (libc_feupdateenvf_ctx): Likewise.
7736         (libc_feholdsetroundf_ctx): Likewise.
7737         (libc_feresetroundf_ctx): Likewise.
7738         (libc_feholdexcept_setround_ctx): Likewise.
7739         (libc_fesetenv_ctx): Likewise.
7740         (libc_feupdateenv_ctx): Likewise.
7741         (libc_feholdsetround_ctx): Likewise.
7742         (libc_feresetround_ctx): Likewise.
7743         (libc_feholdexcept_setroundl_ctx): Likewise.
7744         (libc_feupdateenvl_ctx): Likewise.
7745         (libc_feholdsetroundl_ctx): Likewise.
7746         (libc_feresetroundl_ctx): Likewise.
7747         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7748         (libc_feresetround_53bit_ctx): Likewise.
7750 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7752         * locale/iso-639.def: Convert to UTF-8.
7754 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7756         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7757         (EXCEPTION_TESTS_double): Likewise.
7758         (EXCEPTION_TESTS_long_double): Likewise.
7759         (EXCEPTION_TESTS): Likewise.
7760         * math/libm-test.inc (test_exceptions): Only test exceptions if
7761         EXCEPTION_TESTS (FLOAT).
7763 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7765         * benchtests/Makefile (string-bench): Add strcpy_chk and
7766         stpcpy_chk.
7767         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7768         * benchtests/bench-stpcpy_chk.c: New file.
7769         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7770         * benchtests/bench-strcpy_chk.c: New file.
7771         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7772         code.
7773         (do_test): Likewise.
7775 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7777         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7778         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7779         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7780         with tabs where appropriate.
7781         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7782         dl-procinfo.h.
7783         [PPC_PLATFORM_PPC440]: Likewise.
7784         [PPC_PLATFORM_PPC464]: Likewise.
7785         [PPC_PLATFORM_PPC476]: Likewise.
7786         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7787         ppc464, and ppc476 platform strings merging from ports/
7788         dl-procinfo.h.
7790 2013-06-11  Andreas Schwab  <schwab@suse.de>
7792         [BZ #14991]
7793         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7794         (from_ucs4_idx): Regenerate.
7795         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7796         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7797         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7798         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7799         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7800         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7801         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7802         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7803         from FROM_LOOP and TO_LOOP specific macros.
7804         (BODY): Handle combining characters.
7805         * iconvdata/BIG5HKSCS.irreversible: Update.
7806         * iconvdata/BIG5HKSCS.precomposed: New file.
7807         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7808         characters.
7809         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7811 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7813         * include/sys/time.h: Fix indentation and add copyright header.
7815         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7816         (do_test): Likewise.
7817         * string/test-memchr.c (do_one_test): Likewise.
7818         (do_test): Likewise.
7819         * string/test-memcmp.c (do_one_test): Likewise.
7820         (do_test): Likewise.
7821         * string/test-memcpy.c (do_one_test): Likewise.
7822         (do_test): Likewise.
7823         * string/test-memmem.c (do_one_test): Likewise.
7824         (do_test): Likewise.
7825         (do_random_tests): Likewise.
7826         * string/test-memmove.c (do_one_test): Likewise.
7827         (do_test): Likewise.
7828         * string/test-memset.c (do_one_test): Likewise.
7829         (do_test): Likewise.
7830         * string/test-rawmemchr.c (do_one_test): Likewise.
7831         (do_test): Likewise.
7832         * string/test-strcasecmp.c (do_one_test): Likewise.
7833         (do_test): Likewise.
7834         * string/test-strcasestr.c (do_one_test): Likewise.
7835         (do_test): Likewise.
7836         * string/test-strcat.c (do_one_test): Likewise.
7837         (do_test): Likewise.
7838         * string/test-strchr.c (do_one_test): Likewise.
7839         (do_test): Likewise.
7840         * string/test-strcmp.c (do_one_test): Likewise.
7841         (do_test): Likewise.
7842         * string/test-strcpy.c (do_one_test): Likewise.
7843         (do_test): Likewise.
7844         * string/test-string.h: Likewise.
7845         (test_init): Likewise.
7846         * string/test-strlen.c (do_one_test): Likewise.
7847         (do_test): Likewise.
7848         * string/test-strncasecmp.c (do_one_test): Likewise.
7849         (do_test): Likewise.
7850         * string/test-strncat.c (do_one_test): Likewise.
7851         (do_test): Likewise.
7852         * string/test-strncmp.c (do_one_test): Likewise.
7853         (do_test_limit): Likewise.
7854         (do_test): Likewise.
7855         * string/test-strncpy.c (do_one_test): Likewise.
7856         (do_test): Likewise.
7857         * string/test-strnlen.c (do_one_test): Likewise.
7858         (do_test): Likewise.
7859         * string/test-strpbrk.c (do_one_test): Likewise.
7860         (do_test): Likewise.
7861         * string/test-strrchr.c (do_one_test): Likewise.
7862         (do_test): Likewise.
7863         * string/test-strspn.c (do_one_test): Likewise.
7864         (do_test): Likewise.
7865         * string/test-strstr.c (do_one_test): Likewise.
7866         (do_test): Likewise.
7868         * benchtests/Makefile (string-bench): Add string benchmarks.
7869         * benchtests/bench-bcopy-ifunc.c: New file.
7870         * benchtests/bench-bcopy.c: New file.
7871         * benchtests/bench-bzero-ifunc.c: New file.
7872         * benchtests/bench-bzero.c: New file.
7873         * benchtests/bench-memccpy-ifunc.c: New file.
7874         * benchtests/bench-memccpy.c: New file.
7875         * benchtests/bench-memchr-ifunc.c: New file.
7876         * benchtests/bench-memchr.c: New file.
7877         * benchtests/bench-memcmp-ifunc.c: New file.
7878         * benchtests/bench-memcmp.c: New file.
7879         * benchtests/bench-memmem-ifunc.c: New file.
7880         * benchtests/bench-memmem.c: New file.
7881         * benchtests/bench-memmove-ifunc.c: New file.
7882         * benchtests/bench-memmove.c: New file.
7883         * benchtests/bench-mempcpy-ifunc.c: New file.
7884         * benchtests/bench-mempcpy.c: New file.
7885         * benchtests/bench-memset-ifunc.c: New file.
7886         * benchtests/bench-memset.c: New file.
7887         * benchtests/bench-rawmemchr-ifunc.c: New file.
7888         * benchtests/bench-rawmemchr.c: New file.
7889         * benchtests/bench-stpcpy-ifunc.c: New file.
7890         * benchtests/bench-stpcpy.c: New file.
7891         * benchtests/bench-stpncpy-ifunc.c: New file.
7892         * benchtests/bench-stpncpy.c: New file.
7893         * benchtests/bench-strcasecmp-ifunc.c: New file.
7894         * benchtests/bench-strcasecmp.c: New file.
7895         * benchtests/bench-strcasestr-ifunc.c: New file.
7896         * benchtests/bench-strcasestr.c: New file.
7897         * benchtests/bench-strcat-ifunc.c: New file.
7898         * benchtests/bench-strcat.c: New file.
7899         * benchtests/bench-strchr-ifunc.c: New file.
7900         * benchtests/bench-strchr.c: New file.
7901         * benchtests/bench-strchrnul-ifunc.c: New file.
7902         * benchtests/bench-strchrnul.c: New file.
7903         * benchtests/bench-strcmp-ifunc.c: New file.
7904         * benchtests/bench-strcmp.c: New file.
7905         * benchtests/bench-strcpy-ifunc.c: New file.
7906         * benchtests/bench-strcpy.c: New file.
7907         * benchtests/bench-strcspn-ifunc.c: New file.
7908         * benchtests/bench-strcspn.c: New file.
7909         * benchtests/bench-strlen-ifunc.c: New file.
7910         * benchtests/bench-strlen.c: New file.
7911         * benchtests/bench-strncasecmp-ifunc.c: New file.
7912         * benchtests/bench-strncasecmp.c: New file.
7913         * benchtests/bench-strncat-ifunc.c: New file.
7914         * benchtests/bench-strncat.c: New file.
7915         * benchtests/bench-strncmp-ifunc.c: New file.
7916         * benchtests/bench-strncmp.c: New file.
7917         * benchtests/bench-strncpy-ifunc.c: New file.
7918         * benchtests/bench-strncpy.c: New file.
7919         * benchtests/bench-strnlen-ifunc.c: New file.
7920         * benchtests/bench-strnlen.c: New file.
7921         * benchtests/bench-strpbrk-ifunc.c: New file.
7922         * benchtests/bench-strpbrk.c: New file.
7923         * benchtests/bench-strrchr-ifunc.c: New file.
7924         * benchtests/bench-strrchr.c: New file.
7925         * benchtests/bench-strspn-ifunc.c: New file.
7926         * benchtests/bench-strspn.c: New file.
7927         * benchtests/bench-strstr-ifunc.c: New file.
7928         * benchtests/bench-strstr.c: New file.
7930         * benchtests/Makefile: Disable parallel execution of targets.
7931         (string-bench): Add memcpy.
7932         (benchset): New variable to store a list of benchmark sets.
7933         (bench-func): Renamed from bench.
7934         (bench-set): New target.
7935         (bench): Depend on bench-func and bench-set.
7936         * benchtests/README: Add section on benchmark sets.
7937         * benchtests/bench-memcpy-ifunc.c: New file.
7938         * benchtests/bench-memcpy.c: New file.
7939         * benchtests/bench-string.h: New file.
7941 2013-06-11  Andreas Schwab  <schwab@suse.de>
7943         [BZ #15577]
7944         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7945         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7946         values in the triple.
7947         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7948         terminator in the group key.
7950 2013-06-11  Andreas Jaeger  <aj@suse.de>
7952         * po/zh_TW.po: Update Chinese (traditional) translation from
7953         translation project.
7955 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7958         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7959         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7960         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7961         (clock_getcpuclockid): Likewise.
7962         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7963         Add weak_alias and libc_hidden_def.
7964         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7965         * rt/clock_gettime.c (clock_gettime): Rename to
7966         __clock_gettime.  Add weak_alias and libc_hidden_def.
7967         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7968         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7969         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7970         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7971         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7972         Likewise.
7973         * rt/clock_settime.c (clock_settime): Rename to
7974         __clock_settime.  Add weak_alias and libc_hidden_def.
7975         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7977 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7979         * mach/err_boot.sub: Remove trailing whitespace.
7980         * mach/err_ipc.sub: Likewise.
7981         * mach/err_mach.sub: Likewise.
7983         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7984         (ROUNDING_TESTS_double): Likewise.
7985         (ROUNDING_TESTS_long_double): Likewise.
7986         (ROUNDING_TESTS): Likewise.
7987         * math/libm-test.inc: Include <math-tests.h>.
7988         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7989         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7990         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7991         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7993 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7995         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7996         of assigning.
7998 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
8000         * sysdeps/gnu/errlist.awk: Do not generate space at end of
8001         otherwise empty TRANS lines.
8002         * sysdeps/gnu/errlist.c: Regenerated.
8004         * catgets/gencat.c (error_print): Use (void) in function
8005         definition.
8006         * crypt/crypt_util.c (__init_des): Likewise.
8007         * crypt/speeds.c (Stop): Likewise.
8008         (main): Likewise.
8009         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
8010         * inet/ruserpass.c (token): Likewise.
8011         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
8012         * intl/localealias.c (extend_alias_table): Likewise.
8013         * intl/plural-exp.c (init_germanic_plural): Likewise.
8014         * libio/fcloseall.c (__fcloseall): Likewise.
8015         * libio/genops.c (_IO_flush_all): Likewise.
8016         (_IO_flush_all_linebuffered): Likewise.
8017         (_IO_cleanup): Likewise.
8018         (_IO_iter_begin): Likewise.
8019         (_IO_iter_end): Likewise.
8020         (_IO_list_lock): Likewise.
8021         (_IO_list_unlock): Likewise.
8022         (_IO_list_resetlock): Likewise.
8023         * libio/getchar.c (getchar): Likewise.
8024         * libio/getchar_u.c (getchar_unlocked): Likewise.
8025         * libio/getwchar.c (getwchar): Likewise.
8026         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
8027         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
8028         * login/getpt.c (__getpt): Likewise.
8029         * login/tst-utmp.c (main): Likewise.
8030         * malloc/hooks.c (__malloc_check_init): Likewise.
8031         * malloc/malloc.c (__malloc_stats): Likewise.
8032         * malloc/mtrace.c (tr_break): Likewise.
8033         (mtrace): Likewise.
8034         (muntrace): Likewise.
8035         * misc/fstab.c (endfsent): Likewise.
8036         * misc/getclktck.c (__getclktck): Likewise.
8037         * misc/getdtsz.c (__getdtablesize): Likewise.
8038         * misc/gethostid.c (gethostid): Likewise.
8039         * misc/getpagesize.c (__getpagesize): Likewise.
8040         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
8041         (__get_nprocs): Likewise.
8042         (__get_phys_pages): Likewise.
8043         (__get_avphys_pages): Likewise.
8044         * misc/getttyent.c (getttyent): Likewise.
8045         (setttyent): Likewise.
8046         (endttyent): Likewise.
8047         * misc/getusershell.c (getusershell): Likewise.
8048         (endusershell): Likewise.
8049         (setusershell): Likewise.
8050         (initshells): Likewise.
8051         * misc/hsearch.c (__hdestroy): Likewise.
8052         * misc/sync.c (sync): Likewise.
8053         * misc/syslog.c (closelog_internal): Likewise.
8054         (closelog): Likewise.
8055         * misc/ttyslot.c (ttyslot): Likewise.
8056         * misc/vhangup.c (vhangup): Likewise.
8057         * posix/fork.c (__fork): Likewise.
8058         * posix/getegid.c (__getegid): Likewise.
8059         * posix/geteuid.c (__geteuid): Likewise.
8060         * posix/getgid.c (__getgid): Likewise.
8061         * posix/getpid.c (__getpid): Likewise.
8062         * posix/getppid.c (__getppid): Likewise.
8063         * posix/getuid.c (__getuid): Likewise.
8064         * posix/pause.c (pause): Likewise.
8065         * posix/setpgrp.c (setpgrp): Likewise.
8066         * posix/setsid.c (__setsid): Likewise.
8067         * posix/test-vfork.c (noop): Likewise.
8068         * resolv/gethnamaddr.c (_endhtent): Likewise.
8069         (_gethtent): Likewise.
8070         (ht_endhostent): Likewise.
8071         (gethostent): Likewise.
8072         (dns_service): Likewise.
8073         * stdlib/drand48.c (drand48): Likewise.
8074         * stdlib/lrand48.c (lrand48): Likewise.
8075         * stdlib/mrand48.c (mrand48): Likewise.
8076         * stdlib/rand.c (rand): Likewise.
8077         * stdlib/random.c (__random): Likewise.
8078         * stdlib/setenv.c (clearenv): Likewise.
8079         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
8080         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
8081         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
8082         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
8083         (__get_nprocs): Likewise.
8084         (__get_phys_pages): Likewise.
8085         (__get_avphys_pages): Likewise.
8086         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
8087         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
8088         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
8089         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
8090         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
8091         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
8092         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
8093         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
8094         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
8095         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
8096         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
8097         * sysdeps/mach/hurd/sync.c (sync): Likewise.
8098         * sysdeps/posix/clock.c (clock): Likewise.
8099         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
8100         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
8101         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
8102         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
8103         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
8104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
8105         (__get_nprocs_conf): Likewise.
8106         (__get_phys_pages): Likewise.
8107         (__get_avphys_pages): Likewise.
8108         * time/clock.c (clock): Likewise.
8109         * time/tzset.c (__tzname_max): Likewise.
8111 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
8113         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
8114         (__bswap_32): Do not use "register".
8115         * crypt/crypt.c (_ufc_doit_r): Likewise.
8116         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8117         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8118         * gmon/gmon.c (__monstartup): Likewise.
8119         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
8120         * hurd/hurdmalloc.c (more_memory): Likewise.
8121         (malloc): Likewise.
8122         (free): Likewise.
8123         (realloc): Likewise.
8124         (malloc_fork_prepare): Likewise.
8125         (malloc_fork_parent): Likewise.
8126         (malloc_fork_child): Likewise.
8127         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
8128         (_svcauth_des): Likewise.
8129         * inet/inet_lnaof.c (inet_lnaof): Likewise.
8130         * inet/inet_net.c (inet_network): Likewise.
8131         * inet/inet_netof.c (inet_netof): Likewise.
8132         * inet/rcmd.c (__validuser2_sa): Likewise.
8133         * io/fts.c (fts_open): Likewise.
8134         (fts_load): Likewise.
8135         (fts_close): Likewise.
8136         (fts_read): Likewise.
8137         (fts_children): Likewise.
8138         (fts_build): Likewise.
8139         (fts_stat): Likewise.
8140         (fts_sort): Likewise.
8141         (fts_alloc): Likewise.
8142         (fts_lfree): Likewise.
8143         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
8144         (_IO_file_xsgetn): Likewise.
8145         (_IO_file_xsgetn_mmap): Likewise.
8146         * libio/iofopncook.c (_IO_cookie_read): Likewise.
8147         (_IO_cookie_write): Likewise.
8148         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
8149         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
8150         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
8151         * malloc/obstack.c (_obstack_begin): Likewise.
8152         (_obstack_begin_1): Likewise.
8153         (_obstack_newchunk): Likewise.
8154         (_obstack_allocated_p): Likewise.
8155         (obstack_free): Likewise.
8156         (_obstack_memory_used): Likewise.
8157         * misc/getttyent.c (getttynam): Likewise.
8158         (getttyent): Likewise.
8159         (skip): Likewise.
8160         (value): Likewise.
8161         * misc/getusershell.c (initshells): Likewise.
8162         * misc/syslog.c (__vsyslog_chk): Likewise.
8163         * misc/ttyslot.c (ttyslot): Likewise.
8164         * nis/nis_hash.c (__nis_hash): Likewise.
8165         * posix/fnmatch_loop.c (FCT): Likewise.
8166         * posix/getconf.c (print_all): Likewise.
8167         (main): Likewise.
8168         * posix/getopt.c (exchange): Likewise.
8169         * posix/glob.c (globfree): Likewise.
8170         (prefix_array): Likewise.
8171         (__glob_pattern_type): Likewise.
8172         * resolv/arpa/nameser.h (NS_GET16): Likewise.
8173         (NS_GET32): Likewise.
8174         (NS_PUT16): Likewise.
8175         (NS_PUT32): Likewise.
8176         * resolv/gethnamaddr.c (getanswer): Likewise.
8177         (gethostbyname2): Likewise.
8178         (gethostbyaddr): Likewise.
8179         (_gethtent): Likewise.
8180         (_gethtbyname2): Likewise.
8181         (_gethtbyaddr): Likewise.
8182         * resolv/ns_print.c (dst_s_get_int16): Likewise.
8183         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8184         * resolv/res_init.c (__res_vinit): Likewise.
8185         (net_mask): Likewise.
8186         * resolv/res_mkquery.c (outchar): Likewise.
8187         (PRINT): Likewise.
8188         * stdio-common/printf_fp.c (outchar): Likewise.
8189         (PRINT): Likewise.
8190         * stdio-common/printf_fphex.c (outchar): Likewise.
8191         (PRINT): Likewise.
8192         * stdio-common/printf_size.c (outchar): Likewise.
8193         (PRINT): Likewise.
8194         * stdio-common/test_rdwr.c (main): Likewise.
8195         * stdio-common/tfformat.c (matches): Likewise.
8196         * stdio-common/vfprintf.c (outchar): Likewise.
8197         (printf_unknown): Likewise.
8198         (buffered_vfprintf): Likewise.
8199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8200         * stdio-common/xbug.c (AppendToBuffer): Likewise.
8201         (ReadFile): Likewise.
8202         * stdlib/qsort.c (SWAP): Likewise.
8203         (_quicksort): Likewise.
8204         * stdlib/setenv.c (__add_to_environ): Likewise.
8205         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8206         * stdlib/strtol_l.c (__strtol_l): Likewise.
8207         * stdlib/tst-strtod.c (main): Likewise.
8208         * stdlib/tst-strtol.c (main): Likewise.
8209         * stdlib/tst-strtoll.c (main): Likewise.
8210         * string/bits/string2.h (__strcmp_cc): Likewise.
8211         (__strcmp_cg): Likewise.
8212         (__strcspn_c1): Likewise.
8213         (__strcspn_c2): Likewise.
8214         (__strcspn_c3): Likewise.
8215         (__strspn_c1): Likewise.
8216         (__strspn_c2): Likewise.
8217         (__strspn_c3): Likewise.
8218         (__strsep_1c): Likewise.
8219         (__strsep_2c): Likewise.
8220         (__strsep_3c): Likewise.
8221         * string/memccpy.c (__memccpy): Likewise.
8222         * string/stpcpy.c (__stpcpy): Likewise.
8223         * string/strcmp.c (strcmp): Likewise.
8224         * string/strrchr.c (strrchr): Likewise.
8225         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
8226         Likewise.
8227         * sysdeps/mach/hurd/getcwd.c
8228         (_hurd_canonicalize_directory_name_internal): Likewise.
8229         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
8230         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
8231         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
8232         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
8233         Likewise, in both definitions.
8234         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
8235         definitions.
8236         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
8237         64] (__bswap_64): Likewise.
8238         * time/test_time.c (main): Likewise.
8239         * time/tzfile.c (__tzfile_read): Likewise.
8240         (__tzfile_compute): Likewise.
8241         * time/tzset.c (__tzset_parse_tz): Likewise.
8242         (tzset_internal): Likewise.
8243         (compute_change): Likewise.
8244         * wcsmbs/wcscat.c (__wcscat): Likewise.
8245         * wcsmbs/wcschr.c (wcschr): Likewise.
8246         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8247         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8248         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8249         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
8250         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8251         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8252         * wcsmbs/wmemchr.c (wmemchr): Likewise.
8253         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8254         * wcsmbs/wmemset.c (wmemset): Likewise.
8256 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
8258         * scripts/config.guess: Update to version 2013-05-16.
8259         * scripts/config.sub: Update to version 2013-04-24.
8260         * scripts/install-sh: Update to version 2011-11-20.07.
8261         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
8262         * scripts/move-if-change: Update to version 2012-01-06 07:23.
8264 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
8266         * debug/fgetws_u_chk.c: Fix leading whitespaces.
8267         * elf/sln.c: Likewise.
8268         * hurd/hurd/ioctl.h: Likewise.
8269         * hurd/hurdmalloc.c: Likewise.
8270         * hurd/xattr.c: Likewise.
8271         * include/shlib-compat.h: Likewise.
8272         * inet/ruserpass.c: Likewise.
8273         * libio/iofgets_u.c: Likewise.
8274         * libio/iofgetws_u.c: Likewise.
8275         * locale/programs/ld-identification.c: Likewise.
8276         * locale/programs/ld-time.c: Likewise.
8277         * mach/msg-destroy.c: Likewise.
8278         * nss/nss_files/files-netgrp.c: Likewise.
8279         * resolv/res_data.c: Likewise.
8280         * soft-fp/op-1.h: Likewise.
8281         * soft-fp/op-2.h: Likewise.
8282         * soft-fp/op-4.h: Likewise.
8283         * soft-fp/op-common.h: Likewise.
8284         * stdio-common/printf_fphex.c: Likewise.
8285         * stdlib/strtod_l.c: Likewise.
8286         * sunrpc/rpc/clnt.h: Likewise.
8287         * sysdeps/generic/framestate.c: Likewise.
8288         * sysdeps/i386/bsd-_setjmp.S: Likewise.
8289         * sysdeps/i386/bsd-setjmp.S: Likewise.
8290         * sysdeps/i386/__longjmp.S: Likewise.
8291         * sysdeps/i386/setjmp.S: Likewise.
8292         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8293         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8295         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8297         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8301         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8302         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8303         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8304         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8305         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8307         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8308         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8309         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
8310         * sysdeps/ieee754/support.c: Likewise.
8311         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8312         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
8313         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
8314         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
8315         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
8316         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
8317         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
8318         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
8319         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
8320         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
8321         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
8322         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
8323         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
8324         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
8325         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
8326         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
8327         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8330 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
8332         * posix/transbug.c: Remove executable mode.
8334 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
8336         * crypt/speeds.c: Remove trailing whitespace.
8337         * dlfcn/default.c: Likewise.
8338         * elf/ifuncdep2.c: Likewise.
8339         * elf/ifuncmain1.c: Likewise.
8340         * elf/ifuncmain1vis.c: Likewise.
8341         * elf/testobj.h: Likewise.
8342         * elf/tst-stackguard1.c: Likewise.
8343         * gmon/sys/gmon.h: Likewise.
8344         * hurd/hurdmsg.c: Likewise.
8345         * hurd/new-fd.c: Likewise.
8346         * hurd/ports-get.c: Likewise.
8347         * iconvdata/ibm1008_420.c: Likewise.
8348         * inet/tst-getni1.c: Likewise.
8349         * inet/tst-getni2.c: Likewise.
8350         * libio/ioungetc.c: Likewise.
8351         * libio/wfiledoalloc.c: Likewise.
8352         * manual/libm-err-tab.pl: Likewise.
8353         * math/w_dremf.c: Likewise.
8354         * misc/ftruncate.c: Likewise.
8355         * posix/bug-glob2.c: Likewise.
8356         * posix/tst-pcre.c: Likewise.
8357         * posix/wait4.c: Likewise.
8358         * resolv/README: Likewise.
8359         * resolv/res_debug.h: Likewise.
8360         * resolv/tst-inet_ntop.c: Likewise.
8361         * setjmp/bug269-setjmp.c: Likewise.
8362         * soft-fp/extended.h: Likewise.
8363         * soft-fp/op-1.h: Likewise.
8364         * soft-fp/op-2.h: Likewise.
8365         * soft-fp/op-4.h: Likewise.
8366         * soft-fp/op-8.h: Likewise.
8367         * soft-fp/testit.c: Likewise.
8368         * stdio-common/bug16.c: Likewise.
8369         * stdlib/random.c: Likewise.
8370         * sunrpc/rpcsvc/rquota.x: Likewise.
8371         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
8372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8376         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8377         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8378         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8379         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8380         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8381         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8382         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8384         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8386         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8387         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8388         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8389         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8392         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8393         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
8394         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8395         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8396         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8398         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8399         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8400         * sysdeps/ieee754/s_lib_version.c: Likewise.
8401         * sysdeps/mach/hurd/check_fds.c: Likewise.
8402         * sysdeps/mach/hurd/getsockname.c: Likewise.
8403         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
8404         * sysdeps/mach/hurd/recvfrom.c: Likewise.
8405         * sysdeps/powerpc/bits/link.h: Likewise.
8406         * sysdeps/powerpc/dl-procinfo.c: Likewise.
8407         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
8408         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
8409         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
8410         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8411         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8412         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
8413         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8414         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
8415         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
8416         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8417         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8418         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
8419         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
8420         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
8421         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
8422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8424         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
8425         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8427         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
8428         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8429         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8430         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
8431         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8432         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8433         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8434         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8435         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8436         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8437         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8440         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
8441         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8442         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
8443         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8444         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8445         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
8446         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
8447         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
8448         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
8449         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
8450         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8451         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
8452         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
8453         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8454         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
8455         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
8456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8457         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8458         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8459         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8460         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8461         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8462         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8463         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8464         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8465         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8466         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8467         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8468         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8469         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8470         * sysdeps/powerpc/sysdep.h: Likewise.
8471         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8472         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8473         * sysdeps/sh/dl-trampoline.S: Likewise.
8474         * sysdeps/sh/memset.S: Likewise.
8475         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8476         * sysdeps/sh/strlen.S: Likewise.
8477         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8478         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8479         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8480         * sysdeps/sparc/sparc32/rem.S: Likewise.
8481         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8482         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8483         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8484         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8485         * sysdeps/sparc/sparc32/urem.S: Likewise.
8486         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8487         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8488         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8489         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8491         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8492         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8493         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8494         * sysdeps/unix/bsd/times.c: Likewise.
8495         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8496         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8500         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8501         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8502         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8503         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8504         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8505         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8506         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8507         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8508         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8509         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8510         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8511         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8512         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8513         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8514         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8515         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8516         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8517         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8518         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8519         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8520         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8521         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8522         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8523         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8524         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8525         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8526         * sysdeps/x86_64/strcspn.S: Likewise.
8528 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8530         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8531         generated file.  Regenerate properly from gen-translit.pl.
8532         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8533         locale/C-translit.h.
8535 2013-06-05  Andreas Schwab  <schwab@suse.de>
8537         [BZ #15100]
8538         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8539         week as 6 instead of -1.
8540         * time/tst-strptime.c (day_tests): Add test case.
8542 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         * sysdeps/generic/math_private.h
8545         (libc_feholdexcept_setround_53bit): Replace with
8546         libc_feholdsetround_53bit.
8547         (libc_feupdateenv_53bit): Replace with
8548         libc_feresetround_53bit.
8549         (SET_RESTORE_ROUND_53BIT): Adjust.
8551 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8553         * string/test-strchrnul.c: Add copyright header.
8555         * posix/tst-getaddrinfo4.c: Increase test timeout.
8557 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8559         [BZ #15536]
8560         * math/libm-test.inc (MAX_EXP): Remove
8561         (MIN_EXP): Define.
8562         (ulp): Use MIN_EXP - MANT_DIG.
8563         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8565 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8567         * po/be.po: Revert last change.
8568         * po/zh_CN.po: Likewise.
8569         * po/header.pot: Likewise.
8571 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8573         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8574         link-libc-deps to empty as target-specific variable.
8575         * Makerules (link-libc-args): New variable.
8576         (libc-for-link): Likewise.
8577         (link-libc-deps): Likewise.
8578         (lib%.so): Depend on $(link-libc-deps).  Link with
8579         $(link-libc-args).
8580         (build-module): Link with $(link-libc-args).
8581         (build-module-asneeded): Likewise.
8582         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8583         list of objects.
8584         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8585         target-specific variable.
8586         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8587         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8588         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8589         libc.
8590         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8591         libc and ld.so.
8592         ($(objpfx)libpcprofile.so): Likewise.
8593         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8594         libc_nonshared.a.
8595         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8596         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8597         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8598         $(link-libc-deps).
8599         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8600         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8601         * login/Makefile ($(objpfx)libutil.so): Likewise.
8602         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8603         * math/Makefile ($(objpfx)libm.so): Likewise.
8604         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8605         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8606         variable instead of depending directly on libc.
8607         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8608         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8609         $(link-libc-deps).
8610         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8611         libc.
8612         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8613         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8614         ($(objpfx)libanl.so): Likewise.
8615         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8616         ld.so.
8617         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8618         $(link-libc-deps).
8619         * sysdeps/i386/fpu/Makefile: Remove file.
8620         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8621         ($(objpfx)libm.so): Remove dependency on ld.so.
8623 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8625         [BZ # 15553]
8626         * nis/yp_xdr.c (XDRMAXNAME): Define.
8627         (XDRMAXRECORD): Define.
8628         (xdr_domainname): Use XDRMAXNAME.
8629         (xdr_mapname): Likewise.
8630         (xdr_peername): Likewise.
8631         (xdr_keydat): Use XDRMAXRECORD.
8632         (xdr_valdat): Likewise.
8634 2013-05-30  Jeff Law  <law@redhat.com>
8636         [BZ #14256]
8637         * manual/errno.texi (ESTALE): Update to account for more than
8638         just NFS file systems.
8639         * sysdeps/gnu/errlist.c: Regenerated.
8641 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8643         [BZ #15465]
8644         * elf/Makefile (tests): Add tst-null-argv.
8645         (modules-names):  Add tst-null-argv-lib.
8646         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8647         (tst-null-argv-ENV): Set environment for tst-null-argv.
8648         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8649         (RTLD_PROGNAME): New macro.
8650         * elf/tst-null-argv.c: New test case.
8651         * elf/tst-null-argv-lib.c: Library for test case.
8652         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8653         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8654         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8655         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8656         * elf/dl-init.c (call_init): Likewise.
8657         (_dl_init): Likewise.
8658         * elf/dl-load.c (print_search_path): Likewise.
8659         (_dl_map_object): Likewise.
8660         * elf/dl-lookup.c (do_lookup_x): Likewise.
8661         (add_dependency): Likewise.
8662         (_dl_lookup_symbol_x): Likewise.
8663         (_dl_debug_bindings): Likewise.
8664         * elf/dl-open.c (_dl_show_scope): Likewise.
8665         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8666         * elf/dl-version.c (match_symbol): Likewise.
8667         (_dl_check_map_versions): Likewise.
8668         * elf/rtld.c (dl_main): Likewise.
8669         (print_unresolved): Use RTLD_PROGNAME.
8670         (print_missing_version): Likewise.
8671         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8672         (elf_machine_rela): Likewise.
8673         * sysdeps/powerpc/powerpc32/dl-machine.c
8674         (__process_machine_rela): Likewise.
8675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8676         Likewise.
8677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8678         Likewise.
8679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8680         Likewise.
8681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8682         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8683         Likewise.
8684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8685         Likewise.
8686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8688 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8690         * po/be.po: Add descriptive title.
8691         * po/zh_CN.po: Likewise.
8692         * po/header.pot: Likewise.
8694 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8696         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8697         error message.
8698         (enlarge_archive): Likewise.
8700 2013-05-28  Ben North  <ben@redfrontdoor.org>
8702         * manual/arith.texi (frexp): It is the magnitude of the return
8703         value which lies in [0.5, 1), not the return value itself.
8705 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8709 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8711         * stdio-common/bug26.c (main): Correct fscanf template.
8713         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8714         declare _dl_skip_args.
8716         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8717         Don't declare.
8719         * manual/platform.texi: Add missing @end deftypefun.
8721 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8723         [BZ #15529]
8724         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8725         bit of mantissa of 2^16382.
8726         * math/libm-test.inc (hypot_test_data): Add more tests.
8728         * math/libm-test.inc: Add drem and pow10 to list of tested
8729         functions.
8730         (pow10_test): New function.
8731         (drem_test): Likewise.
8732         (drem_test_tonearest): Likewise.
8733         (drem_test_towardzero): Likewise.
8734         (drem_test_downward): Likewise.
8735         (drem_test_upward): Likewise.
8736         (main): Call the new functions.
8738         * math/libm-test.inc (finite_test_data): Remove.
8739         (finite_test): Run tests from isfinite_test_data.
8740         (gamma_test_data): Remove.
8741         (gamma_test): Run tests from lgamma_test_data.
8742         * sysdeps/i386/fpu/libm-test-ulps: Update.
8743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8745 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8747         * manual/platform.texi: Add PowerPC PPR function set documentation.
8748         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8749         implementation.
8751 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8753         * math/libm-test.inc (MAX_EXP): Define.
8754         (ULPDIFF): Define.
8755         (ulp): New function.
8756         (check_float_internal): Use ULPDIFF.
8757         (cpow_test): Disable failing test.
8758         (check_ulp): Test ulp() implemetnation.
8759         (main): Call check_ulp before starting tests.
8761 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8763         * math/gen-libm-test.pl (generate_testfile): Do not handle
8764         START_DATA and END_DATA.
8765         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8766         END_DATA.
8767         (acos_tonearest_test_data): Likewise.
8768         (acos_towardzero_test_data): Likewise.
8769         (acos_downward_test_data): Likewise.
8770         (acos_upward_test_data): Likewise.
8771         (acosh_test_data): Likewise.
8772         (asin_test_data): Likewise.
8773         (asin_tonearest_test_data): Likewise.
8774         (asin_towardzero_test_data): Likewise.
8775         (asin_downward_test_data): Likewise.
8776         (asin_upward_test_data): Likewise.
8777         (asinh_test_data): Likewise.
8778         (atan_test_data): Likewise.
8779         (atanh_test_data): Likewise.
8780         (atan2_test_data): Likewise.
8781         (cabs_test_data): Likewise.
8782         (cacos_test_data): Likewise.
8783         (cacosh_test_data): Likewise.
8784         (carg_test_data): Likewise.
8785         (casin_test_data): Likewise.
8786         (casinh_test_data): Likewise.
8787         (catan_test_data): Likewise.
8788         (catanh_test_data): Likewise.
8789         (cbrt_test_data): Likewise.
8790         (ccos_test_data): Likewise.
8791         (ccosh_test_data): Likewise.
8792         (ceil_test_data): Likewise.
8793         (cexp_test_data): Likewise.
8794         (cimag_test_data): Likewise.
8795         (clog_test_data): Likewise.
8796         (clog10_test_data): Likewise.
8797         (conj_test_data): Likewise.
8798         (copysign_test_data): Likewise.
8799         (cos_test_data): Likewise.
8800         (cos_tonearest_test_data): Likewise.
8801         (cos_towardzero_test_data): Likewise.
8802         (cos_downward_test_data): Likewise.
8803         (cos_upward_test_data): Likewise.
8804         (cosh_test_data): Likewise.
8805         (cosh_tonearest_test_data): Likewise.
8806         (cosh_towardzero_test_data): Likewise.
8807         (cosh_downward_test_data): Likewise.
8808         (cosh_upward_test_data): Likewise.
8809         (cpow_test_data): Likewise.
8810         (cproj_test_data): Likewise.
8811         (creal_test_data): Likewise.
8812         (csin_test_data): Likewise.
8813         (csinh_test_data): Likewise.
8814         (csqrt_test_data): Likewise.
8815         (ctan_test_data): Likewise.
8816         (ctan_tonearest_test_data): Likewise.
8817         (ctan_towardzero_test_data): Likewise.
8818         (ctan_downward_test_data): Likewise.
8819         (ctan_upward_test_data): Likewise.
8820         (ctanh_test_data): Likewise.
8821         (ctanh_tonearest_test_data): Likewise.
8822         (ctanh_towardzero_test_data): Likewise.
8823         (ctanh_downward_test_data): Likewise.
8824         (ctanh_upward_test_data): Likewise.
8825         (erf_test_data): Likewise.
8826         (erfc_test_data): Likewise.
8827         (exp_test_data): Likewise.
8828         (exp_tonearest_test_data): Likewise.
8829         (exp_towardzero_test_data): Likewise.
8830         (exp_downward_test_data): Likewise.
8831         (exp_upward_test_data): Likewise.
8832         (exp10_test_data): Likewise.
8833         (exp2_test_data): Likewise.
8834         (expm1_test_data): Likewise.
8835         (fabs_test_data): Likewise.
8836         (fdim_test_data): Likewise.
8837         (finite_test_data): Likewise.
8838         (floor_test_data): Likewise.
8839         (fma_test_data): Likewise.
8840         (fma_towardzero_test_data): Likewise.
8841         (fma_downward_test_data): Likewise.
8842         (fma_upward_test_data): Likewise.
8843         (fmax_test_data): Likewise.
8844         (fmin_test_data): Likewise.
8845         (fmod_test_data): Likewise.
8846         (fpclassify_test_data): Likewise.
8847         (frexp_test_data): Likewise.
8848         (gamma_test_data): Likewise.
8849         (hypot_test_data): Likewise.
8850         (ilogb_test_data): Likewise.
8851         (isfinite_test_data): Likewise.
8852         (isgreater_test_data): Likewise.
8853         (isgreaterequal_test_data): Likewise.
8854         (isinf_test_data): Likewise.
8855         (isless_test_data): Likewise.
8856         (islessequal_test_data): Likewise.
8857         (islessgreater_test_data): Likewise.
8858         (isnan_test_data): Likewise.
8859         (isnormal_test_data): Likewise.
8860         (issignaling_test_data): Likewise.
8861         (isunordered_test_data): Likewise.
8862         (j0_test_data): Likewise.
8863         (j1_test_data): Likewise.
8864         (jn_test_data): Likewise.
8865         (ldexp_test_data): Likewise.
8866         (lgamma_test_data): Likewise.
8867         (lrint_test_data): Likewise.
8868         (lrint_tonearest_test_data): Likewise.
8869         (lrint_towardzero_test_data): Likewise.
8870         (lrint_downward_test_data): Likewise.
8871         (lrint_upward_test_data): Likewise.
8872         (llrint_test_data): Likewise.
8873         (llrint_tonearest_test_data): Likewise.
8874         (llrint_towardzero_test_data): Likewise.
8875         (llrint_downward_test_data): Likewise.
8876         (llrint_upward_test_data): Likewise.
8877         (log_test_data): Likewise.
8878         (log10_test_data): Likewise.
8879         (log1p_test_data): Likewise.
8880         (log2_test_data): Likewise.
8881         (logb_test_data): Likewise.
8882         (logb_downward_test_data): Likewise.
8883         (lround_test_data): Likewise.
8884         (llround_test_data): Likewise.
8885         (modf_test_data): Likewise.
8886         (nearbyint_test_data): Likewise.
8887         (nextafter_test_data): Likewise.
8888         (nexttoward_test_data): Likewise.
8889         (pow_test_data): Likewise.
8890         (pow_tonearest_test_data): Likewise.
8891         (pow_towardzero_test_data): Likewise.
8892         (pow_downward_test_data): Likewise.
8893         (pow_upward_test_data): Likewise.
8894         (remainder_test_data): Likewise.
8895         (remainder_tonearest_test_data): Likewise.
8896         (remainder_towardzero_test_data): Likewise.
8897         (remainder_downward_test_data): Likewise.
8898         (remainder_upward_test_data): Likewise.
8899         (remquo_test_data): Likewise.
8900         (rint_test_data): Likewise.
8901         (rint_tonearest_test_data): Likewise.
8902         (rint_towardzero_test_data): Likewise.
8903         (rint_downward_test_data): Likewise.
8904         (rint_upward_test_data): Likewise.
8905         (round_test_data): Likewise.
8906         (scalb_test_data): Likewise.
8907         (scalbn_test_data): Likewise.
8908         (scalbln_test_data): Likewise.
8909         (signbit_test_data): Likewise.
8910         (sin_test_data): Likewise.
8911         (sin_tonearest_test_data): Likewise.
8912         (sin_towardzero_test_data): Likewise.
8913         (sin_downward_test_data): Likewise.
8914         (sin_upward_test_data): Likewise.
8915         (sincos_test_data): Likewise.
8916         (sinh_test_data): Likewise.
8917         (sinh_tonearest_test_data): Likewise.
8918         (sinh_towardzero_test_data): Likewise.
8919         (sinh_downward_test_data): Likewise.
8920         (sinh_upward_test_data): Likewise.
8921         (sqrt_test_data): Likewise.
8922         (tan_test_data): Likewise.
8923         (tan_tonearest_test_data): Likewise.
8924         (tan_towardzero_test_data): Likewise.
8925         (tan_downward_test_data): Likewise.
8926         (tan_upward_test_data): Likewise.
8927         (tanh_test_data): Likewise.
8928         (tgamma_test_data): Likewise.
8929         (trunc_test_data): Likewise.
8930         (y0_test_data): Likewise.
8931         (y1_test_data): Likewise.
8932         (yn_test_data): Likewise.
8933         (significand_test_data): Likewise.
8935         * math/gen-libm-test.pl (@functions): Remove variable.
8936         (generate_testfile): Don't handle START and END lines.
8937         * math/libm-test.inc (START): New macro.
8938         (END): Likewise.
8939         (END_COMPLEX): Likewise.
8940         (acos_test): Use END macro without arguments.
8941         (acos_test_tonearest): Likewise.
8942         (acos_test_towardzero): Likewise.
8943         (acos_test_downward): Likewise.
8944         (acos_test_upward): Likewise.
8945         (acosh_test): Likewise.
8946         (asin_test): Likewise.
8947         (asin_test_tonearest): Likewise.
8948         (asin_test_towardzero): Likewise.
8949         (asin_test_downward): Likewise.
8950         (asin_test_upward): Likewise.
8951         (asinh_test): Likewise.
8952         (atan_test): Likewise.
8953         (atanh_test): Likewise.
8954         (atan2_test): Likewise.
8955         (cabs_test): Likewise.
8956         (cacos_test): Use END_COMPLEX macro without arguments.
8957         (cacosh_test): Likewise.
8958         (carg_test): Use END macro without arguments.
8959         (casin_test): Use END_COMPLEX macro without arguments.
8960         (casinh_test): Likewise.
8961         (catan_test): Likewise.
8962         (catanh_test): Likewise.
8963         (cbrt_test): Use END macro without arguments.
8964         (ccos_test): Use END_COMPLEX macro without arguments.
8965         (ccosh_test): Likewise.
8966         (ceil_test): Use END macro without arguments.
8967         (cexp_test): Use END_COMPLEX macro without arguments.
8968         (cimag_test): Use END macro without arguments.
8969         (clog_test): Use END_COMPLEX macro without arguments.
8970         (clog10_test): Likewise.
8971         (conj_test): Likewise.
8972         (copysign_test): Use END macro without arguments.
8973         (cos_test): Likewise.
8974         (cos_test_tonearest): Likewise.
8975         (cos_test_towardzero): Likewise.
8976         (cos_test_downward): Likewise.
8977         (cos_test_upward): Likewise.
8978         (cosh_test): Likewise.
8979         (cosh_test_tonearest): Likewise.
8980         (cosh_test_towardzero): Likewise.
8981         (cosh_test_downward): Likewise.
8982         (cosh_test_upward): Likewise.
8983         (cpow_test): Use END_COMPLEX macro without arguments.
8984         (cproj_test): Likewise.
8985         (creal_test): Use END macro without arguments.
8986         (csin_test): Use END_COMPLEX macro without arguments.
8987         (csinh_test): Likewise.
8988         (csqrt_test): Likewise.
8989         (ctan_test): Likewise.
8990         (ctan_test_tonearest): Likewise.
8991         (ctan_test_towardzero): Likewise.
8992         (ctan_test_downward): Likewise.
8993         (ctan_test_upward): Likewise.
8994         (ctanh_test): Likewise.
8995         (ctanh_test_tonearest): Likewise.
8996         (ctanh_test_towardzero): Likewise.
8997         (ctanh_test_downward): Likewise.
8998         (ctanh_test_upward): Likewise.
8999         (erf_test): Use END macro without arguments.
9000         (erfc_test): Likewise.
9001         (exp_test): Likewise.
9002         (exp_test_tonearest): Likewise.
9003         (exp_test_towardzero): Likewise.
9004         (exp_test_downward): Likewise.
9005         (exp_test_upward): Likewise.
9006         (exp10_test): Likewise.
9007         (exp2_test): Likewise.
9008         (expm1_test): Likewise.
9009         (fabs_test): Likewise.
9010         (fdim_test): Likewise.
9011         (finite_test): Likewise.
9012         (floor_test): Likewise.
9013         (fma_test): Likewise.
9014         (fma_test_towardzero): Likewise.
9015         (fma_test_downward): Likewise.
9016         (fma_test_upward): Likewise.
9017         (fmax_test): Likewise.
9018         (fmin_test): Likewise.
9019         (fmod_test): Likewise.
9020         (fpclassify_test): Likewise.
9021         (frexp_test): Likewise.
9022         (gamma_test): Likewise.
9023         (hypot_test): Likewise.
9024         (ilogb_test): Likewise.
9025         (isfinite_test): Likewise.
9026         (isgreater_test): Likewise.
9027         (isgreaterequal_test): Likewise.
9028         (isinf_test): Likewise.
9029         (isless_test): Likewise.
9030         (islessequal_test): Likewise.
9031         (islessgreater_test): Likewise.
9032         (isnan_test): Likewise.
9033         (isnormal_test): Likewise.
9034         (issignaling_test): Likewise.
9035         (isunordered_test): Likewise.
9036         (j0_test): Likewise.
9037         (j1_test): Likewise.
9038         (jn_test): Likewise.
9039         (ldexp_test): Likewise.
9040         (lgamma_test): Likewise.
9041         (lrint_test): Likewise.
9042         (lrint_test_tonearest): Likewise.
9043         (lrint_test_towardzero): Likewise.
9044         (lrint_test_downward): Likewise.
9045         (lrint_test_upward): Likewise.
9046         (llrint_test): Likewise.
9047         (llrint_test_tonearest): Likewise.
9048         (llrint_test_towardzero): Likewise.
9049         (llrint_test_downward): Likewise.
9050         (llrint_test_upward): Likewise.
9051         (log_test): Likewise.
9052         (log10_test): Likewise.
9053         (log1p_test): Likewise.
9054         (log2_test): Likewise.
9055         (logb_test): Likewise.
9056         (logb_test_downward): Likewise.
9057         (lround_test): Likewise.
9058         (llround_test): Likewise.
9059         (modf_test): Likewise.
9060         (nearbyint_test): Likewise.
9061         (nextafter_test): Likewise.
9062         (nexttoward_test): Likewise.
9063         (pow_test): Likewise.
9064         (pow_test_tonearest): Likewise.
9065         (pow_test_towardzero): Likewise.
9066         (pow_test_downward): Likewise.
9067         (pow_test_upward): Likewise.
9068         (remainder_test): Likewise.
9069         (remainder_test_tonearest): Likewise.
9070         (remainder_test_towardzero): Likewise.
9071         (remainder_test_downward): Likewise.
9072         (remainder_test_upward): Likewise.
9073         (remquo_test): Likewise.
9074         (rint_test): Likewise.
9075         (rint_test_tonearest): Likewise.
9076         (rint_test_towardzero): Likewise.
9077         (rint_test_downward): Likewise.
9078         (rint_test_upward): Likewise.
9079         (round_test): Likewise.
9080         (scalb_test): Likewise.
9081         (scalbn_test): Likewise.
9082         (scalbln_test): Likewise.
9083         (signbit_test): Likewise.
9084         (sin_test): Likewise.
9085         (sin_test_tonearest): Likewise.
9086         (sin_test_towardzero): Likewise.
9087         (sin_test_downward): Likewise.
9088         (sin_test_upward): Likewise.
9089         (sincos_test): Likewise.
9090         (sinh_test): Likewise.
9091         (sinh_test_tonearest): Likewise.
9092         (sinh_test_towardzero): Likewise.
9093         (sinh_test_downward): Likewise.
9094         (sinh_test_upward): Likewise.
9095         (sqrt_test): Likewise.
9096         (tan_test): Likewise.
9097         (tan_test_tonearest): Likewise.
9098         (tan_test_towardzero): Likewise.
9099         (tan_test_downward): Likewise.
9100         (tan_test_upward): Likewise.
9101         (tanh_test): Likewise.
9102         (tgamma_test): Likewise.
9103         (trunc_test): Likewise.
9104         (y0_test): Likewise.
9105         (y1_test): Likewise.
9106         (yn_test): Likewise.
9107         (significand_test): Likewise.
9109 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
9111         [BZ #15381]
9112         * libio/genops.c (_IO_no_init): Initialize wide struct info.
9114 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9116         [BZ #14894]
9117         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
9118         __ppc_mdoio and __ppc_mdoom.
9119         * manual/platform.texi: Document new functions __ppc_yield,
9120         __ppc_mdoio and __ppc_mdoom.
9122 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
9124         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
9125         (main): Mention "tls" pseudo-hwcap is legacy.
9126         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
9128 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9130         * math/gen-libm-test.pl (parse_args): Output only string of
9131         arguments as text for test name, not full call or descriptions of
9132         tests for extra outputs.
9133         (generate_testfile): Do not pass function name to parse_args.
9134         Generate this_func variable from START.
9135         * math/libm-test.inc (struct test_f_f_data): Rename test_name
9136         field to arg_str.
9137         (struct test_ff_f_data): Likewise.
9138         (test_ff_f_data_nexttoward): Likewise.
9139         (struct test_fi_f_data): Likewise.
9140         (struct test_fl_f_data): Likewise.
9141         (struct test_if_f_data): Likewise.
9142         (struct test_fff_f_data): Likewise.
9143         (struct test_c_f_data): Likewise.
9144         (struct test_f_f1_data): Likewise.  Remove field extra_name.
9145         (struct test_fF_f1_data): Likewise.
9146         (struct test_ffI_f1_data): Likewise.
9147         (struct test_c_c_data): Rename test_name field to arg_str.
9148         (struct test_cc_c_data): Likewise.
9149         (struct test_f_i_data): Likewise.
9150         (struct test_ff_i_data): Likewise.
9151         (struct test_f_l_data): Likewise.
9152         (struct test_f_L_data): Likewise.
9153         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
9154         and extra2_name.
9155         (COMMON_TEST_SETUP): New macro.
9156         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9157         (COMMON_TEST_CLEANUP): Likewise.
9158         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9159         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
9160         macros.
9161         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
9162         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
9163         macros.
9164         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
9165         (RUN_TEST_fff_f): Take argument string.  Call new setup and
9166         cleanup macros.
9167         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
9168         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
9169         macros.
9170         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
9171         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
9172         macros.
9173         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9174         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
9175         cleanup macros.
9176         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9177         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
9178         cleanup macros.
9179         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9180         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
9181         cleanup macros.
9182         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9183         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
9184         macros.
9185         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
9186         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
9187         macros.
9188         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
9189         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
9190         macros.
9191         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
9192         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
9193         cleanup macros.
9194         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
9195         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
9196         cleanup macros.
9197         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
9198         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
9199         macros.
9200         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
9201         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
9202         cleanup macros.
9203         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
9204         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
9205         macros.
9206         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
9207         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
9208         macros.
9209         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
9210         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
9211         cleanup macros.
9212         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
9214 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
9216         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
9217         to _sifields.sigfault.
9218         (si_addr_lsb): Define new macro.
9219         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9221         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
9223 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
9225         [BZ #15441]
9226         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
9227         returns -1.
9228         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
9229         null return -1.
9230         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
9231         loading the domain.
9233 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
9235         * math/gen-libm-test.pl (parse_args): Do not include expected
9236         result in test name.
9237         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
9238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9239         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9240         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9241         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9244 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9246         * benchtests/Makefile: Sort function entries.
9248         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
9249         tanh, asinh, acosh, atanh.
9250         * benchtests/acos-inputs: New file.
9251         * benchtests/acosh-inputs: New file.
9252         * benchtests/asin-inputs: New file.
9253         * benchtests/asinh-inputs: New file.
9254         * benchtests/atanh-inputs: New file.
9255         * benchtests/cosh-inputs: New file.
9256         * benchtests/log-inputs: New file.
9257         * benchtests/sinh-inputs: New file.
9258         * benchtests/tanh-inputs: New file.
9260 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
9262         [BZ #15339]
9263         * posix/tst-getaddrinfo4.c: New test.
9264         * posix/Makefile (tests): Add it.
9266 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9268         [BZ #15339]
9269         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
9270         when no services were used.
9271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
9272         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
9274 2013-05-21  Andreas Schwab  <schwab@suse.de>
9276         [BZ #15014]
9277         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
9278         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
9279         successful.
9280         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
9281         redundant variable declarations and reallocation of buffer when
9282         parsing as IPv6 address.  Always set NSS status when called from
9283         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
9284         buffer too small.  Correct computation of needed size.
9285         * nss/Makefile (tests): Add test-digits-dots.
9286         * nss/test-digits-dots.c: New test.
9288 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9290         * benchtests/Makefile: Remove instructions for adding
9291         benchmark tests.
9292         * benchtests/README: New file to explain how to execute and
9293         enhance the benchmark tests.
9295 2013-05-21  Andreas Schwab  <schwab@suse.de>
9297         [BZ #15493]
9298         * setjmp/Makefile (tests): Add tst-sigsetjmp.
9299         * setjmp/tst-sigsetjmp.c: New test.
9301 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9303         * sysdeps/x86_64/memset.S (memset): New implementation.
9304         (__bzero): Likewise.
9305         (__memset_tail): New function.
9307 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
9309         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
9310         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
9311         __memcpy_sse2_unaligned ifunc selection.
9312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9313         Add memcpy-sse2-unaligned.S.
9314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9315         Add: __memcpy_sse2_unaligned.
9317 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
9319         [BZ #15490]
9320         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9321         math_force_eval before restoring floating-point envrionment.
9322         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
9323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
9324         Likewise.
9325         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
9326         <math_private.h>.
9327         (__nearbyintl): Use math_force_eval before restoring
9328         floating-point environment.
9329         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
9331         * math/gen-libm-test.pl (special_functions): Remove.
9332         (parse_args): Don't handle TEST_extra.  Handle functions with no
9333         return value.
9334         * math/libm-test.inc (struct test_sincos_data): Replace with
9335         struct test_fFF_11_data.
9336         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
9337         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
9338         (sincos_test_data): Change element type to struct
9339         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
9340         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
9341         RUN_TEST_LOOP_sincos.
9342         * math/README.libm-test: Don't mention special handling of
9343         individual functions.
9344         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
9345         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9346         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9347         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9348         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9351         * math/gen-libm-test.pl (get_variable): Remove function.
9352         (parse_args): Don't show pointer parameters to call in test
9353         names.  Use "extra output N" in test names for extra outputs
9354         rather than naming variables.
9356 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
9358         [BZ #15488]
9359         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
9360         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
9361         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
9362         double tests.
9363         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
9364         disable.
9365         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
9366         check_long_double.
9368         * math/gen-libm-test.pl (@tests): Remove variable.
9369         ($count): Likewise.
9370         (new_test): Remove function.
9371         (show_exceptions): New function.
9372         (special_functions): Use show_exceptions instead of new_test.
9373         (parse_args): Likewise.
9374         (generate_testfile): Pass only function name in generated call to
9375         print_max_error or print_complex_max_error.
9376         (get_ulps): Do not handle complex tests specially.
9377         (output_test): Rename to ...
9378         (get_all_ulps_for_test): ... this.  Return a string rather than
9379         printing to a file.  Require ulps to be present.
9380         (output_ulps): Generate arrays rather than #defines.
9381         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
9382         (struct ulp_data): New type.
9383         (BUILD_COMPLEX_ULP): Remove macro.
9384         (compare_ulp_data): New function.
9385         (find_ulps): Likewise.
9386         (find_test_ulps): Likewise.
9387         (find_function_ulps): Likewise.
9388         (find_complex_function_ulps): Likewise.
9389         (print_max_error): Determine allowed ulps using
9390         find_function_ulps.
9391         (print_complex_max_error): Determine allowed ulps using
9392         find_complex_function_ulps.
9393         (check_float_internal): Determine max ulps using find_test_ulps.
9394         (check_float): Do not take max_ulp parameter.  Update call to
9395         check_float_internal.
9396         (check_complex): Likewise.
9397         (check_int): Do not take max_ulp parameter.
9398         (check_long): Likewise.
9399         (check_bool): Likewise.
9400         (check_longlong): Likewise.
9401         (struct test_f_f_data): Remove max_ulp field.
9402         (struct test_ff_f_data): Likewise.
9403         (struct test_ff_f_data_nexttoward): Likewise.
9404         (struct test_fi_f_data): Likewise.
9405         (struct test_fl_f_data): Likewise.
9406         (struct test_if_f_data): Likewise.
9407         (struct test_fff_f_data): Likewise.
9408         (struct test_c_f_data): Likewise.
9409         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
9410         (struct test_fF_f1_data): Likewise.
9411         (struct test_ffI_f1_data): Likewise.
9412         (struct test_c_c_data): Remove max_ulp field.
9413         (struct test_cc_c_data): Likewise.
9414         (struct test_f_i_data): Likewise.
9415         (struct test_ff_i_data): Likewise.
9416         (struct test_f_l_data): Likewise.
9417         (struct test_f_L_data): Likewise.
9418         (struct test_sincos_data): Likewise.
9419         (RUN_TEST_f_f): Do not handle ulps.
9420         (RUN_TEST_LOOP_f_f): Likewise.
9421         (RUN_TEST_2_f): Likewise.
9422         (RUN_TEST_LOOP_2_f): Likewise.
9423         (RUN_TEST_fff_f): Likewise.
9424         (RUN_TEST_LOOP_fff_f): Likewise.
9425         (RUN_TEST_c_f): Likewise.
9426         (RUN_TEST_LOOP_c_f): Likewise.
9427         (RUN_TEST_f_f1): Likewise.
9428         (RUN_TEST_LOOP_f_f1): Likewise.
9429         (RUN_TEST_fF_f1): Likewise.
9430         (RUN_TEST_LOOP_fF_f1): Likewise.
9431         (RUN_TEST_fI_f1): Likewise.
9432         (RUN_TEST_LOOP_fI_f1): Likewise.
9433         (RUN_TEST_ffI_f1): Likewise.
9434         (RUN_TEST_LOOP_ffI_f1): Likewise.
9435         (RUN_TEST_c_c): Likewise.
9436         (RUN_TEST_LOOP_c_c): Likewise.
9437         (RUN_TEST_cc_c): Likewise.
9438         (RUN_TEST_LOOP_cc_c): Likewise.
9439         (RUN_TEST_f_i): Likewise.
9440         (RUN_TEST_LOOP_f_i): Likewise.
9441         (RUN_TEST_f_i_tg): Likewise.
9442         (RUN_TEST_LOOP_f_i_tg): Likewise.
9443         (RUN_TEST_ff_i_tg): Likewise.
9444         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9445         (RUN_TEST_f_b): Likewise.
9446         (RUN_TEST_LOOP_f_b): Likewise.
9447         (RUN_TEST_f_b_tg): Likewise.
9448         (RUN_TEST_LOOP_f_b_tg): Likewise.
9449         (RUN_TEST_f_l): Likewise.
9450         (RUN_TEST_LOOP_f_l): Likewise.
9451         (RUN_TEST_f_L): Likewise.
9452         (RUN_TEST_LOOP_f_L): Likewise.
9453         (RUN_TEST_sincos): Likewise.
9454         (RUN_TEST_LOOP_sincos): Likewise.
9456 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
9458         [BZ #15480]
9459         [BZ #15485]
9460         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9461         main case of finite arguments, set rounding mode to FE_TONEAREST
9462         and discard exceptions.
9463         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9464         exceptions.
9465         (remainder_tonearest_test_data): New variable.
9466         (remainder_test_tonearest): New function.
9467         (remainder_towardzero_test_data): New variable.
9468         (remainder_test_towardzero): New function.
9469         (remainder_downward_test_data): New variable.
9470         (remainder_test_downward): New function.
9471         (remainder_upward_test_data): New variable.
9472         (remainder_test_upward): New function.
9473         (main): Call the new test functions.
9475         * math/libm-test.inc (struct test_f_f1_data): Remove field
9476         extra_init.
9477         (struct test_fF_f1_data): Likewise.
9478         (struct test_ffI_f1_data): Likewise.
9479         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9480         based on value of EXTRA_EXPECTED.
9481         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9482         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9483         EXTRA_VAR based on value of EXTRA_EXPECTED.
9484         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9485         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9486         EXTRA_VAR based on value of EXTRA_EXPECTED.
9487         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9488         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9489         EXTRA_VAR based on value of EXTRA_EXPECTED.
9490         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9491         * math/gen-libm-test.pl (parse_args): Don't output initializers
9492         for extra output values.
9494         * math/libm-test.inc (check_int): Expect result to be exactly
9495         equal to expected value and do not handle ulps.
9496         (check_long): Likewise.
9497         (check_longlong): Likewise.
9499         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9500         exceptions.
9501         (cimag_test_data): Likewise.
9502         (conj_test_data): Likewise.
9503         (copysign_test_data): Likewise.
9504         (cproj_test_data): Likewise.
9505         (creal_test_data): Likewise.
9506         (fabs_test_data): Likewise.
9507         (fdim_test_data): Likewise.
9508         (finite_test_data): Likewise.
9509         (floor_test_data): Likewise.
9510         (fmax_test_data): Likewise.
9511         (fmin_test_data): Likewise.
9512         (fmod_test_data): Likewise.
9513         (fpclassify_test_data): Likewise.
9514         (frexp_test_data): Likewise.
9515         (ilogb_test_data): Likewise.
9516         (isfinite_test_data): Likewise.
9517         (isgreater_test_data): Likewise.
9518         (isgreaterequal_test_data): Likewise.
9519         (isinf_test_data): Likewise.
9520         (isless_test_data): Likewise.
9521         (islessequal_test_data): Likewise.
9522         (islessgreater_test_data): Likewise.
9523         (isnan_test_data): Likewise.
9524         (isnormal_test_data): Likewise.
9525         (issignaling_test_data): Likewise.
9526         (isunordered_test_data): Likewise.
9527         (ldexp_test_data): Likewise.
9528         (lrint_test_data): Likewise.
9529         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9530         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9531         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9532         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9533         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9534         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9535         test input.
9536         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9537         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9538         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9539         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9540         that test input.
9541         (lrint_downward_test_data): Test for "inexact" exceptions.
9542         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9543         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9544         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9545         test input.
9546         (lrint_upward_test_data): Test for "inexact" exceptions.
9547         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9548         test input.
9549         (llrint_test_data): Test for "inexact" exceptions.
9550         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9551         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9552         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9553         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9554         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9555         (llrint_downward_test_data): Test for "inexact" exceptions.
9556         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9557         (llrint_upward_test_data): Test for "inexact" exceptions.
9558         (logb_test_data): Likewise.
9559         (logb_downward_test_data): Likewise.
9560         (nextafter_test_data): Likewise.
9561         (nexttoward_test_data): Likewise.
9562         (remainder_test_data): Likewise.
9563         (remquo_test_data): Likewise.
9564         (scalbn_test_data): Likewise.
9565         (scalbln_test_data): Likewise.
9566         (signbit_test_data): Likewise.
9567         (sqrt_test_data): Likewise.
9568         (significand_test_data): Likewise.
9570 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9572         [BZ #15424]
9573         * benchtests/bench-modf.c (struct args): Mark arg0 as
9574         volatile.
9575         * scripts/bench.pl: Mark members of struct args as volatile.
9577 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9579         [BZ # 15497]
9580         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9581         negative infinity on POWER6 or lower.
9582         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9584 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9586         [BZ #15442]
9587         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9588         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9589         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9590         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9591         (_FP_SETQNAN): New macro.
9592         (_FP_SETQNAN_SEMIRAW): Likewise.
9593         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9594         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9595         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9596         (FP_EXTEND): Use _FP_FRAC_SNANP.
9597         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9598         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9599         into account.
9600         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9601         New macro.
9602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9603         Likewise.
9605 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9607         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9608         with DIVIDE_BY_ZERO_EXCEPTION.
9609         (gamma_test_data): Likewise.
9610         (lgamma_test_data): Likewise.
9611         (log_test_data): Likewise.
9612         (log10_test_data): Likewise.
9613         (log2_test_data): Likewise.
9614         (tgamma_test_data): Likewise.
9616         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9617         (acos_test_tonearest): Likewise.
9618         (acos_test_towardzero): Likewise.
9619         (acos_test_downward): Likewise.
9620         (acos_test_upward): Likewise.
9621         (acosh_test): Likewise.
9622         (asin_test): Likewise.
9623         (asin_test_tonearest): Likewise.
9624         (asin_test_towardzero): Likewise.
9625         (asin_test_downward): Likewise.
9626         (asin_test_upward): Likewise.
9627         (asinh_test): Likewise.
9628         (atan_test): Likewise.
9629         (atanh_test): Likewise.
9630         (atan2_test): Likewise.
9631         (cabs_test): Likewise.
9632         (cacos_test): Likewise.
9633         (cacosh_test): Likewise.
9634         (casin_test): Likewise.
9635         (casinh_test): Likewise.
9636         (catan_test): Likewise.
9637         (catanh_test): Likewise.
9638         (cbrt_test): Likewise.
9639         (ccos_test): Likewise.
9640         (ccosh_test): Likewise.
9641         (cexp_test): Likewise.
9642         (clog_test): Likewise.
9643         (clog10_test): Likewise.
9644         (cos_test): Likewise.
9645         (cos_test_tonearest): Likewise.
9646         (cos_test_towardzero): Likewise.
9647         (cos_test_downward): Likewise.
9648         (cos_test_upward): Likewise.
9649         (cosh_test): Likewise.
9650         (cosh_test_tonearest): Likewise.
9651         (cosh_test_towardzero): Likewise.
9652         (cosh_test_downward): Likewise.
9653         (cosh_test_upward): Likewise.
9654         (cpow_test): Likewise.
9655         (csin_test): Likewise.
9656         (csinh_test): Likewise.
9657         (csqrt_test): Likewise.
9658         (ctan_test): Likewise.
9659         (ctan_test_tonearest): Likewise.
9660         (ctan_test_towardzero): Likewise.
9661         (ctan_test_downward): Likewise.
9662         (ctan_test_upward): Likewise.
9663         (ctanh_test): Likewise.
9664         (ctanh_test_tonearest): Likewise.
9665         (ctanh_test_towardzero): Likewise.
9666         (ctanh_test_downward): Likewise.
9667         (ctanh_test_upward): Likewise.
9668         (erf_test): Likewise.
9669         (erfc_test): Likewise.
9670         (exp_test): Likewise.
9671         (exp_test_tonearest): Likewise.
9672         (exp_test_towardzero): Likewise.
9673         (exp_test_downward): Likewise.
9674         (exp_test_upward): Likewise.
9675         (exp10_test): Likewise.
9676         (exp2_test): Likewise.
9677         (expm1_test): Likewise.
9678         (fmod_test): Likewise.
9679         (gamma_test): Likewise.
9680         (hypot_test): Likewise.
9681         (j0_test): Likewise.
9682         (j1_test): Likewise.
9683         (jn_test): Likewise.
9684         (lgamma_test): Likewise.
9685         (log_test): Likewise.
9686         (log10_test): Likewise.
9687         (log1p_test): Likewise.
9688         (log2_test): Likewise.
9689         (logb_test_downward): Likewise.
9690         (pow_test): Likewise.
9691         (pow_test_tonearest): Likewise.
9692         (pow_test_towardzero): Likewise.
9693         (pow_test_downward): Likewise.
9694         (pow_test_upward): Likewise.
9695         (remainder_test): Likewise.
9696         (remquo_test): Likewise.
9697         (sin_test): Likewise.
9698         (sin_test_tonearest): Likewise.
9699         (sin_test_towardzero): Likewise.
9700         (sin_test_downward): Likewise.
9701         (sin_test_upward): Likewise.
9702         (sincos_test): Likewise.
9703         (sinh_test): Likewise.
9704         (sinh_test_tonearest): Likewise.
9705         (sinh_test_towardzero): Likewise.
9706         (sinh_test_downward): Likewise.
9707         (sinh_test_upward): Likewise.
9708         (sqrt_test): Likewise.
9709         (tan_test): Likewise.
9710         (tan_test_tonearest): Likewise.
9711         (tan_test_towardzero): Likewise.
9712         (tan_test_downward): Likewise.
9713         (tan_test_upward): Likewise.
9714         (tanh_test): Likewise.
9715         (tgamma_test): Likewise.
9716         (y0_test): Likewise.
9717         (y1_test): Likewise.
9718         (yn_test): Likewise.
9720         * math/gen-libm-test.pl (adjust_arg): Remove function.
9721         (special_function): Remove argument $in_func.  Only handle
9722         generating output for tables of tests, not inside functions.
9723         (parse_args): Likewise.
9724         (generate_testfile): Remove variable $in_func.  Update call to
9725         parse_args.
9726         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9727         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9728         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9729         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9730         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9731         (MAX_VALUE_INIT): Rename macro to max_value.
9732         (MIN_VALUE_INIT): Rename macro to min_value.
9733         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9734         (plus_zero): Remove variable.
9735         (minus_zero): Likewise.
9736         (plus_infty): Likewise.
9737         (minus_infty): Likewise.
9738         (qnan_value): Likewise.
9739         (max_value): Likewise.
9740         (min_value): Likewise.
9741         (min_subnorm_value): Likewise.
9743 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9745         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9746         uint64_t or uint32_t usage.
9747         * crypt/sha256-block.c: Likewise.
9748         * crypt/sha256-crypt.c: Likewise.
9749         * crypt/sha256.c: Likewise.
9750         * crypt/sha512-block.c: Likewise.
9751         * crypt/sha512-crypt.c: Likewise.
9752         * crypt/sha512.c: Likewise.
9753         * debug/backtrace-tst.c: Likewise.
9754         * debug/pcprofiledump.c: Likewise.
9755         * elf/cache.c: Likewise.
9756         * elf/dl-cache.c: Likewise.
9757         * elf/dl-misc.c: Likewise.
9758         * elf/dl-profile.c: Likewise.
9759         * elf/dl-support.c: Likewise.
9760         * elf/ldconfig.c: Likewise.
9761         * elf/sprof.c: Likewise.
9762         * iconv/dummy-repertoire.c: Likewise.
9763         * iconv/iconv_charmap.c: Likewise.
9764         * iconv/skeleton.c: Likewise.
9765         * iconvdata/8bit-generic.c: Likewise.
9766         * iconvdata/cp737.h: Likewise.
9767         * iconvdata/cp775.h: Likewise.
9768         * iconvdata/ibm1008.h: Likewise.
9769         * iconvdata/ibm1025.h: Likewise.
9770         * iconvdata/ibm1046.h: Likewise.
9771         * iconvdata/ibm1097.h: Likewise.
9772         * iconvdata/ibm1112.h: Likewise.
9773         * iconvdata/ibm1122.h: Likewise.
9774         * iconvdata/ibm1123.h: Likewise.
9775         * iconvdata/ibm1124.h: Likewise.
9776         * iconvdata/ibm1129.h: Likewise.
9777         * iconvdata/ibm1130.h: Likewise.
9778         * iconvdata/ibm1132.h: Likewise.
9779         * iconvdata/ibm1133.h: Likewise.
9780         * iconvdata/ibm1137.h: Likewise.
9781         * iconvdata/ibm1140.h: Likewise.
9782         * iconvdata/ibm1141.h: Likewise.
9783         * iconvdata/ibm1142.h: Likewise.
9784         * iconvdata/ibm1143.h: Likewise.
9785         * iconvdata/ibm1144.h: Likewise.
9786         * iconvdata/ibm1145.h: Likewise.
9787         * iconvdata/ibm1146.h: Likewise.
9788         * iconvdata/ibm1147.h: Likewise.
9789         * iconvdata/ibm1148.h: Likewise.
9790         * iconvdata/ibm1149.h: Likewise.
9791         * iconvdata/ibm1153.h: Likewise.
9792         * iconvdata/ibm1154.h: Likewise.
9793         * iconvdata/ibm1155.h: Likewise.
9794         * iconvdata/ibm1156.h: Likewise.
9795         * iconvdata/ibm1157.h: Likewise.
9796         * iconvdata/ibm1158.h: Likewise.
9797         * iconvdata/ibm1160.h: Likewise.
9798         * iconvdata/ibm1161.h: Likewise.
9799         * iconvdata/ibm1162.h: Likewise.
9800         * iconvdata/ibm1163.h: Likewise.
9801         * iconvdata/ibm1164.h: Likewise.
9802         * iconvdata/ibm1166.h: Likewise.
9803         * iconvdata/ibm1167.h: Likewise.
9804         * iconvdata/ibm12712.h: Likewise.
9805         * iconvdata/ibm1390.h: Likewise.
9806         * iconvdata/ibm1399.h: Likewise.
9807         * iconvdata/ibm16804.h: Likewise.
9808         * iconvdata/ibm4517.h: Likewise.
9809         * iconvdata/ibm4899.h: Likewise.
9810         * iconvdata/ibm4909.h: Likewise.
9811         * iconvdata/ibm4971.h: Likewise.
9812         * iconvdata/ibm5347.h: Likewise.
9813         * iconvdata/ibm803.h: Likewise.
9814         * iconvdata/ibm856.h: Likewise.
9815         * iconvdata/ibm901.h: Likewise.
9816         * iconvdata/ibm902.h: Likewise.
9817         * iconvdata/ibm9030.h: Likewise.
9818         * iconvdata/ibm9066.h: Likewise.
9819         * iconvdata/ibm921.h: Likewise.
9820         * iconvdata/ibm922.h: Likewise.
9821         * iconvdata/ibm9448.h: Likewise.
9822         * iconvdata/isiri-3342.h: Likewise.
9823         * iconvdata/jis0201.h: Likewise.
9824         * include/link.h: Likewise.
9825         * include/netdb.h: Likewise.
9826         * inet/check_native.c: Likewise.
9827         * inet/check_pf.c: Likewise.
9828         * inet/getipv4sourcefilter.c: Likewise.
9829         * inet/getnameinfo.c: Likewise.
9830         * inet/getsourcefilter.c: Likewise.
9831         * inet/htonl.c: Likewise.
9832         * inet/setipv4sourcefilter.c: Likewise.
9833         * inet/setsourcefilter.c: Likewise.
9834         * inet/test-inet6_opt.c: Likewise.
9835         * inet/tst-network.c: Likewise.
9836         * locale/C-collate.c: Likewise.
9837         * locale/C-ctype.c: Likewise.
9838         * locale/C-time.c: Likewise.
9839         * locale/C-translit.h: Likewise.
9840         * locale/loadarchive.c: Likewise.
9841         * locale/programs/3level.h: Likewise.
9842         * locale/programs/charmap.c: Likewise.
9843         * locale/programs/charmap.h: Likewise.
9844         * locale/programs/ld-address.c: Likewise.
9845         * locale/programs/ld-collate.c: Likewise.
9846         * locale/programs/ld-ctype.c: Likewise.
9847         * locale/programs/ld-identification.c: Likewise.
9848         * locale/programs/ld-measurement.c: Likewise.
9849         * locale/programs/ld-messages.c: Likewise.
9850         * locale/programs/ld-monetary.c: Likewise.
9851         * locale/programs/ld-name.c: Likewise.
9852         * locale/programs/ld-numeric.c: Likewise.
9853         * locale/programs/ld-paper.c: Likewise.
9854         * locale/programs/ld-telephone.c: Likewise.
9855         * locale/programs/ld-time.c: Likewise.
9856         * locale/programs/linereader.c: Likewise.
9857         * locale/programs/locale.c: Likewise.
9858         * locale/programs/locarchive.c: Likewise.
9859         * locale/programs/locfile.h: Likewise.
9860         * locale/programs/repertoire.c: Likewise.
9861         * locale/programs/simple-hash.c: Likewise.
9862         * locale/programs/simple-hash.h: Likewise.
9863         * malloc/memusage.c: Likewise.
9864         * malloc/memusagestat.c: Likewise.
9865         * nis/nis_defaults.c: Likewise.
9866         * nis/nis_hash.c: Likewise.
9867         * nis/nis_print.c: Likewise.
9868         * nis/nis_xdr.c: Likewise.
9869         * nscd/connections.c: Likewise.
9870         * nscd/hstcache.c: Likewise.
9871         * nscd/nscd_gethst_r.c: Likewise.
9872         * nscd/nscd_getserv_r.c: Likewise.
9873         * nscd/nscd_helper.c: Likewise.
9874         * nscd/servicescache.c: Likewise.
9875         * nss/makedb.c: Likewise.
9876         * nss/nss_db/db-XXX.c: Likewise.
9877         * nss/nss_db/db-initgroups.c: Likewise.
9878         * nss/nss_db/db-netgrp.c: Likewise.
9879         * nss/nss_files/files-network.c: Likewise.
9880         * nss/nss_files/files-parse.c: Likewise.
9881         * posix/bug-regex5.c: Likewise.
9882         * posix/fnmatch_loop.c: Likewise.
9883         * posix/regcomp.c: Likewise.
9884         * posix/regexec.c: Likewise.
9885         * posix/tst-rfc3484-2.c: Likewise.
9886         * posix/tst-rfc3484-3.c: Likewise.
9887         * posix/tst-rfc3484.c: Likewise.
9888         * resolv/nss_dns/dns-canon.c: Likewise.
9889         * resolv/nss_dns/dns-network.c: Likewise.
9890         * resolv/res_init.c: Likewise.
9891         * resolv/res_mkquery.c: Likewise.
9892         * resolv/tst-aton.c: Likewise.
9893         * stdlib/cxa_atexit.c: Likewise.
9894         * stdlib/cxa_finalize.c: Likewise.
9895         * stdlib/gen-fpioconst.c: Likewise.
9896         * stdlib/strtol_l.c: Likewise.
9897         * string/tst-endian.c: Likewise.
9898         * sunrpc/auth_des.c: Likewise.
9899         * sunrpc/clnt_udp.c: Likewise.
9900         * sunrpc/rtime.c: Likewise.
9901         * sunrpc/svcauth_des.c: Likewise.
9902         * sunrpc/xdr.c: Likewise.
9903         * sunrpc/xdr_intXX_t.c: Likewise.
9904         * sunrpc/xdr_rec.c: Likewise.
9905         * sysdeps/generic/ldconfig.h: Likewise.
9906         * sysdeps/generic/ldsodefs.h: Likewise.
9907         * sysdeps/generic/memusage.h: Likewise.
9908         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9909         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9910         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9911         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9914         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9915         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9916         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9917         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9918         * sysdeps/posix/getaddrinfo.c: Likewise.
9919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9921         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9923         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9924         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9925         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9926         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9927         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9928         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9929         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9930         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9931         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9932         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9933         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9934         * sysdeps/x86_64/dl-tls.h: Likewise.
9935         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9936         * time/alt_digit.c: Likewise.
9937         * time/era.c: Likewise.
9938         * wcsmbs/tst-c16c32-1.c: Likewise.
9940 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9942         * math/libm-test.inc (struct test_sincos_data): New type.
9943         (RUN_TEST_LOOP_sincos): New macro.
9944         (sincos_test_data): New variable.
9945         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9947 2013-05-16  Richard Henderson  <rth@redhat.com>
9949         * math/atest-exp2.c (LIMB64): New macro.
9950         (CONSTSZ): New macro.
9951         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9952         (hexdig): Move ...
9953         (print_mpn_fp): ... to function scope.
9954         (read_mpn_hex): Remove.
9955         (get_log2): Remove.
9956         (exp2_mpn): Use mp_log2.
9957         (main): Use mp_exp1.
9959 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9961         * math/libm-test.inc: Remove comment about not testing "inexact"
9962         exceptions.
9963         (INEXACT_EXCEPTION): New macro.
9964         (NO_INEXACT_EXCEPTION): Likewise.
9965         (INVALID_EXCEPTION_OK): Update value.
9966         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9967         (OVERFLOW_EXCEPTION_OK): Likewise.
9968         (UNDERFLOW_EXCEPTION_OK): Likewise.
9969         (IGNORE_ZERO_INF_SIGN): Likewise.
9970         (ERRNO_UNCHANGED): Likewise.
9971         (ERRNO_EDOM): Likewise.
9972         (ERRNO_ERANGE): Likewise.
9973         (test_exceptions): Handle testing "inexact" exceptions.
9974         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9975         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9976         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9977         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9978         INEXACT_EXCEPTION.
9979         (rint_towardzero_test_data): Likewise.
9980         (rint_downward_test_data): Likewise.
9981         (rint_upward_test_data): Likewise.
9983         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9984         with OVERFLOW_EXCEPTION.
9985         (exp10_test_data): Likewise.
9986         (exp2_test_data): Likewise.
9987         (expm1_test_data): Likewise.
9988         (lgamma_test_data): Likewise.
9989         (pow_test_data): Likewise.
9990         (tgamma_test_data): Likewise.
9991         (yn_test_data): Remove duplicate test of overflow.
9993         * math/libm-test.inc (struct test_cc_c_data): New type.
9994         (RUN_TEST_LOOP_cc_c): New macro.
9995         (cpow_test_data): New variable.
9996         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9998         * math/libm-test.inc (struct test_f_L_data): New type.
9999         (RUN_TEST_LOOP_f_L): New macro.
10000         (llrint_test_data): New variable.
10001         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
10002         (llrint_tonearest_test_data): New variable.
10003         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
10004         (llrint_towardzero_test_data): New variable.
10005         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
10006         (llrint_downward_test_data): New variable.
10007         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
10008         (llrint_upward_test_data): New variable.
10009         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
10010         (llround_test_data): New variable.
10011         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
10013 2013-05-13  Peter Collingbourne  <pcc@google.com>
10015         * math/atest-exp2.c (get_log2): Remove const attribute.
10017 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10019         * math/libm-test.inc (struct test_f_l_data): New type.
10020         (RUN_TEST_LOOP_f_l): New macro.
10021         (lrint_test_data): New variable.
10022         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
10023         (lrint_tonearest_test_data): New variable.
10024         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
10025         (lrint_towardzero_test_data): New variable.
10026         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
10027         (lrint_downward_test_data): New variable.
10028         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
10029         (lrint_upward_test_data): New variable.
10030         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
10031         (lround_test_data): New variable.
10032         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
10034 2013-05-15  Peter Collingbourne  <pcc@google.com>
10036         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
10037         (EXTRACT_WORDS64) Use where appropriate.
10038         (INSERT_WORDS64) Likewise.
10040         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
10041         constraints with x constraints.
10042         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
10044         * malloc/obstack.c (_obstack_compat): Add initializer.
10046 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
10048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
10049         si_trapno and add si_addr_lsb to _sifields.sigfault.
10050         (si_trapno): Remove macro.
10051         (si_addr_lsb): Define new macro.
10052         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10054 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
10056         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
10057         instead of TEST_f_l.
10058         (llrint_test_tonearest): Likewise.
10059         (llrint_test_towardzero): Likewise.
10060         (llrint_test_downward): Likewise.
10061         (llrint_test_upward): Likewise.
10062         (llround_test): Likewise.
10064         * math/libm-test.inc (struct test_f_i_data): Add comment.
10065         (RUN_TEST_LOOP_f_b): New macro.
10066         (RUN_TEST_LOOP_f_b_tg): Likewise.
10067         (finite_test_data): New variable.
10068         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
10069         (isfinite_test_data): New variable.
10070         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10071         (isinf_test_data): New variable.
10072         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10073         (isnan_test_data): New variable.
10074         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10075         (isnormal_test_data): New variable.
10076         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10077         (issignaling_test_data): New variable.
10078         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10079         (signbit_test_data): New variable.
10080         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10082         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
10083         with INVALID_EXCEPTION.
10084         (acosh_test_data): Likewise.
10085         (asin_test_data): Likewise.
10086         (atanh_test_data): Likewise.
10087         (fmod_test_data): Likewise.
10088         (log_test_data): Likewise.
10089         (log10_test_data): Likewise.
10090         (log2_test_data): Likewise.
10091         (pow_test_data): Likewise.
10092         (sqrt_test_data): Likewise.
10093         (y0_test_data): Likewise.
10094         (y1_test_data): Likewise.
10095         (yn_test_data): Likewise.
10097         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
10098         function contents.
10100         * math/libm-test.inc (struct test_ff_i_data): New type.
10101         (RUN_TEST_LOOP_ff_i_tg): New macro.
10102         (isgreater_test_data): New variable.
10103         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10104         (isgreaterequal_test_data): New variable.
10105         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10106         (isless_test_data): New variable.
10107         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10108         (islessequal_test_data): New variable.
10109         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10110         (islessgreater_test_data): New variable.
10111         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10112         (isunordered_test_data): New variable.
10113         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
10115 2013-05-14  David S. Miller  <davem@davemloft.net>
10117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10119 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
10121         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
10123         * math/libm-test.inc (struct test_fF_f1_data): Change type of
10124         extra_test to int.
10125         (struct test_f_i_data): Change type of max_ulp to int.
10127         * math/libm-test.inc (test_ffI_f1_data): New type.
10128         (RUN_TEST_LOOP_ffI_f1): New macro.
10129         (remquo_test_data): New variable.
10130         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
10132         * setjmp/tst-setjmp-fp.c: New file.
10133         * setjmp/Makefile (tests): Add tst-setjmp-fp.
10134         (link-libm): New variable.
10135         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
10137         * math/libm-test.inc (struct test_f_i_data): New type.
10138         (RUN_TEST_LOOP_f_i): New macro.
10139         (RUN_TEST_LOOP_f_i_tg): Likewise.
10140         (fpclassify_test_data): New variable.
10141         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
10142         (ilogb_test_data): New variable.
10143         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
10145         * math/libm-test.inc (scalbln_test): Correct function name in END
10146         call.
10148         * math/libm-test.inc (struct test_f_f1_data): Add comment.
10149         (RUN_TEST_LOOP_fI_f1): New macro.
10150         (frexp_test_data): New variable.
10151         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
10153         * math/libm-test.inc (struct test_fF_f1_data): New type.
10154         (RUN_TEST_LOOP_fF_f1): New macro.
10155         (modf_test_data): New variable.
10156         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
10158         * math/libm-test.inc (struct test_f_f1_data): New type.
10159         (RUN_TEST_LOOP_f_f1): New macro.
10160         (gamma_test_data): New variable.
10161         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10162         (lgamma_test_data): New variable.
10163         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10165 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
10167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
10168         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
10169         (main): Comment "tls" pseudo-hwcap.
10171 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
10173         * math/libm-test.inc (struct test_fl_f_data): New type.
10174         (RUN_TEST_LOOP_fl_f): New variable.
10175         (scalbln_test_data): New variable.
10176         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
10178         * math/libm-test.inc (struct test_fi_f_data): New type.
10179         (RUN_TEST_LOOP_fi_f): New macro.
10180         (ldexp_test_data): New variable.
10181         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
10182         (scalbn_test_data): New variable.
10183         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10185         * math/libm-test.inc (struct test_c_f_data): New type.
10186         (RUN_TEST_LOOP_c_f): New macro.
10187         (cabs_test_data): New variable.
10188         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
10189         (carg_test_data): New variable.
10190         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
10191         (cimag_test_data): New variable.
10192         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
10193         (creal_test_data): New variable.
10194         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
10196         * math/libm-test.inc (struct test_if_f_data): New type.
10197         (RUN_TEST_LOOP_if_f): New macro.
10198         (jn_test_data): New variable.
10199         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
10200         (yn_test_data): New variable.
10201         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
10203         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
10205 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10207         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
10208         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
10210 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10212         * benchtests/Makefile (CPPFLAGS-nonlib): Add
10213         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
10214         (bench-deps): Add bench-timing.h.
10215         * benchtests-bench-skeleton.c: Include bench-timing.h.
10216         (main): Use TIMING_* macros instead of clock_gettime.
10217         * benchtests/bench-timing.h: New file.
10219         [BZ #14582]
10220         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
10221         Renamed from _LIB_VERSION.
10222         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
10224 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
10226         * math/libm-test.inc (struct test_fff_f_data): New type.
10227         (RUN_TEST_LOOP_fff_f): New macro.
10228         (fma_test_data): New variable.
10229         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
10230         (fma_towardzero_test_data): New variable.
10231         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
10232         (fma_downward_test_data): New variable.
10233         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
10234         (fma_upward_test_data): New variable.
10235         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
10237         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
10238         (struct test_c_c_data): New type.
10239         (RUN_TEST_LOOP_c_c): New macro.
10240         (cacos_test_data): New variable.
10241         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
10242         (cacosh_test_data): New variable.
10243         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
10244         (casin_test_data): New variable.
10245         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
10246         (casinh_test_data): New variable.
10247         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
10248         (catan_test_data): New variable.
10249         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
10250         (catanh_test_data): New variable.
10251         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
10252         (ccos_test_data): New variable.
10253         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
10254         (ccosh_test_data): New variable.
10255         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
10256         (cexp_test_data): New variable.
10257         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
10258         (clog_test_data): New variable.
10259         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
10260         (clog10_test_data): New variable.
10261         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
10262         (conj_test_data): New variable.
10263         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
10264         (cproj_test_data): New variable.
10265         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
10266         (csin_test_data): New variable.
10267         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
10268         (csinh_test_data): New variable.
10269         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
10270         (csqrt_test_data): New variable.
10271         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
10272         (ctan_test_data): New variable.
10273         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
10274         (ctan_tonearest_test_data): New variable.
10275         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10276         (ctan_towardzero_test_data): New variable.
10277         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10278         (ctan_downward_test_data): New variable.
10279         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10280         (ctan_upward_test_data): New variable.
10281         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10282         (ctanh_test_data): New variable.
10283         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
10284         (ctanh_tonearest_test_data): New variable.
10285         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
10286         (ctanh_towardzero_test_data): New variable.
10287         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
10288         (ctanh_downward_test_data): New variable.
10289         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
10290         (ctanh_upward_test_data): New variable.
10291         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
10292         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
10293         of BUILD_COMPLEX.
10295         * math/libm-test.inc (struct test_ff_f_data): New type.
10296         (struct test_ff_f_data_nexttoward): Likewise.
10297         (RUN_TEST_LOOP_2_f): New macro.
10298         (RUN_TEST_LOOP_ff_f): Likewise.
10299         (atan2_test_data): New variable.
10300         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
10301         (copysign_test_data): New variable.
10302         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
10303         (fdim_test_data): New variable.
10304         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
10305         (fmax_test_data): New variable.
10306         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
10307         (fmin_test_data): New variable.
10308         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
10309         (fmod_test_data): New variable.
10310         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
10311         (hypot_test_data): New variable.
10312         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
10313         (nextafter_test_data): New variable.
10314         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
10315         (nexttoward_test_data): New variable.
10316         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
10317         (pow_test_data): New variable.
10318         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
10319         (pow_tonearest_test_data): New variable.
10320         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
10321         (pow_towardzero_test_data): New variable.
10322         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
10323         (pow_downward_test_data): New variable.
10324         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
10325         (pow_upward_test_data): New variable.
10326         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
10327         (remainder_test_data): New variable.
10328         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
10329         (scalb_test_data): New variable.
10330         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
10331         * sysdeps/i386/fpu/libm-test-ulps: Update.
10333 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
10335         * math/libm-test.inc (fma_test): Use max_value instead of local
10336         variable fltmax.
10337         (nextafter_test): Likewise.
10339         * math/libm-test.inc (acos_towardzero_test_data): New variable.
10340         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10341         (acos_downward_test_data): New variable.
10342         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10343         (acos_upward_test_data): New variable.
10344         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10345         (acosh_test_data): New variable.
10346         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
10347         (asin_test_data): New variable.
10348         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
10349         (asin_tonearest_test_data): New variable.
10350         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10351         (asin_towardzero_test_data): New variable.
10352         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10353         (asin_downward_test_data): New variable.
10354         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10355         (asin_upward_test_data): New variable.
10356         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10357         (asinh_test_data): New variable.
10358         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
10359         (atan_test_data): New variable.
10360         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
10361         (atanh_test_data): New variable.
10362         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
10363         (cbrt_test_data): New variable.
10364         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
10365         (ceil_test_data): New variable.
10366         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
10367         (cos_test_data): New variable.
10368         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
10369         (cos_tonearest_test_data): New variable.
10370         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10371         (cos_towardzero_test_data): New variable.
10372         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10373         (cos_downward_test_data): New variable.
10374         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10375         (cos_upward_test_data): New variable.
10376         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10377         (cosh_test_data): New variable.
10378         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
10379         (cosh_tonearest_test_data): New variable.
10380         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10381         (cosh_towardzero_test_data): New variable.
10382         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10383         (cosh_downward_test_data): New variable.
10384         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10385         (cosh_upward_test_data): New variable.
10386         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10387         (erf_test_data): New variable.
10388         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
10389         (erfc_test_data): New variable.
10390         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
10391         (exp_test_data): New variable.
10392         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
10393         (exp_tonearest_test_data): New variable.
10394         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10395         (exp_towardzero_test_data): New variable.
10396         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10397         (exp_downward_test_data): New variable.
10398         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10399         (exp_upward_test_data): New variable.
10400         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10401         (exp10_test_data): New variable.
10402         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
10403         (exp2_test_data): New variable.
10404         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
10405         (expm1_test_data): New variable.
10406         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
10407         (fabs_test_data): New variable.
10408         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
10409         (floor_test_data): New variable.
10410         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
10411         (j0_test_data): New variable.
10412         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
10413         (j1_test_data): New variable.
10414         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
10415         (log_test_data): New variable.
10416         (log_test): Run tests with RUN_TEST_LOOP_f_f.
10417         (log10_test_data): New variable.
10418         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
10419         (log1p_test_data): New variable.
10420         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
10421         (log2_test_data): New variable.
10422         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
10423         (logb_test_data): New variable.
10424         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
10425         (logb_downward_test_data): New variable.
10426         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10427         (nearbyint_test_data): New variable.
10428         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
10429         (rint_test_data): New variable.
10430         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
10431         (rint_tonearest_test_data): New variable.
10432         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10433         (rint_towardzero_test_data): New variable.
10434         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10435         (rint_downward_test_data): New variable.
10436         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10437         (rint_upward_test_data): New variable.
10438         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10439         (round_test_data): New variable.
10440         (round_test): Run tests with RUN_TEST_LOOP_f_f.
10441         (sin_test_data): New variable.
10442         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
10443         (sin_tonearest_test_data): New variable.
10444         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10445         (sin_towardzero_test_data): New variable.
10446         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10447         (sin_downward_test_data): New variable.
10448         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10449         (sin_upward_test_data): New variable.
10450         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10451         (sinh_test_data): New variable.
10452         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
10453         (sinh_tonearest_test_data): New variable.
10454         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10455         (sinh_towardzero_test_data): New variable.
10456         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10457         (sinh_downward_test_data): New variable.
10458         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10459         (sinh_upward_test_data): New variable.
10460         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10461         (sqrt_test_data): New variable.
10462         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10463         (tan_test_data): New variable.
10464         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10465         (tan_tonearest_test_data): New variable.
10466         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10467         (tan_towardzero_test_data): New variable.
10468         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10469         (tan_downward_test_data): New variable.
10470         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10471         (tan_upward_test_data): New variable.
10472         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10473         (tanh_test_data): New variable.
10474         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10475         (tgamma_test_data): New variable.
10476         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10477         (trunc_test_data): New variable.
10478         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10479         (y0_test_data): New variable.
10480         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10481         (y1_test_data): New variable.
10482         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10483         (significand_test_data): New variable.
10484         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10486 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10488         [BZ #12387]
10489         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10491 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10493         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10495 2013-05-10  Andreas Jaeger  <aj@suse.de>
10497         [BZ #15448]
10498         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10499         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10501 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10503         * math/gen-libm-test.pl (adjust_arg): New function.
10504         (special_functions): Handle generating output in both functions
10505         and arrays.
10506         (parse_args): Likewise.
10507         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10508         $in_func argument to parse_args.
10509         * math/libm-test.inc (struct test_f_f_data): New type.
10510         (IF_ROUND_INIT_): New macro.
10511         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10512         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10513         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10514         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10515         (ROUND_RESTORE_): Likewise.
10516         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10517         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10518         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10519         (ROUND_RESTORE_FE_UPWARD): Likewise.
10520         (RUN_TEST_LOOP_f_f): New macro.
10521         (acos_test_data): New variable.
10522         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10523         (acos_tonearest_test_data): New variable.
10524         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10526 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10528         * benchtests/bench-skeleton.c (startup): Fix coding style.
10530 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10532         [BZ #6809]
10533         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10534         negative infinity argument.
10535         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10536         negative infinity argument.
10537         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10538         negative infinity argument.
10539         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10540         domain errors.
10542 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10544         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10545         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10546         * iconv/iconv_prog.c (main): Likewise.
10547         * locale/programs/charmap-dir.c (charmap_readdir)
10548         (fopen_uncompressed): Likewise.
10549         * locale/programs/locfile.c (siblings_uncached)
10550         (write_locale_data): Use lstat64 instead of lstat.
10551         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10552         stat.
10554 2013-05-10  Andreas Jaeger  <aj@suse.de>
10556         [BZ #15395]
10557         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10558         localization.
10559         Include <locale.h>.
10561 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10563         * elf/dl-close.c (_dl_close_worker): Add comments.
10565 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10567         [BZ #15359]
10568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10569         high part of pi/2.
10570         (__ieee754_rem_pio2l): Update comments.
10572         [BZ #15429]
10573         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10574         high part of pi/2.
10575         (__ieee754_rem_pio2l): Update comments.
10577         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10578         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10580         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10581         M_PI_4l.
10583         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10584         (M_PI_34_LOG10El): Likewise.
10585         (M_PI2_LOG10El): Likewise.
10586         (M_PI4_LOG10El): Likewise.
10587         (M_PI_LOG10El): Likewise.
10589 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10593 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10595         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10596         (MINUS_ZERO_INIT): Likewise.
10597         (PLUS_INFTY_INIT): Likewise.
10598         (MINUS_INFTY_INIT): Likewise.
10599         (QNAN_VALUE_INIT): Likewise.
10600         (MAX_VALUE_INIT): Likewise.
10601         (MIN_VALUE_INIT): Likewise.
10602         (MIN_SUBNORM_VALUE_INIT): Likewise.
10603         (plus_zero): Initialize with PLUS_ZERO_INIT.
10604         (minus_zero): Initialize with MINUS_ZERO_INIT.
10605         (plus_infty): Initialize with PLUS_INFTY_INIT.
10606         (minus_infty): Initialize with MINUS_INFTY_INIT.
10607         (qnan_value): Initialize with QNAN_VALUE_INIT.
10608         (max_value): Initialize with MAX_VALUE_INIT.
10609         (min_value): Initialize with MIN_VALUE_INIT.
10610         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10612         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10613         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10614         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10615         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10617         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10618         (RUN_TEST_2_f): Likewise.
10619         (RUN_TEST_ff_f): Likewise.
10620         (RUN_TEST_fi_f): Likewise.
10621         (RUN_TEST_fl_f): Likewise.
10622         (RUN_TEST_fff_f): Likewise.
10623         (RUN_TEST_c_f): Likewise.
10624         (RUN_TEST_f_f1): Likewise.
10625         (RUN_TEST_fF_f1): Likewise.
10626         (RUN_TEST_fI_f1): Likewise.
10627         (RUN_TEST_ffI_f1): Likewise.
10628         (RUN_TEST_c_c): Likewise.
10629         (RUN_TEST_cc_c): Likewise.
10630         (RUN_TEST_f_i): Likewise.
10631         (RUN_TEST_f_i_tg): Likewise.
10632         (RUN_TEST_ff_i_tg): Likewise.
10633         (RUN_TEST_f_b): Likewise.
10634         (RUN_TEST_f_b_tg): Likewise.
10635         (RUN_TEST_f_l): Likewise.
10636         (RUN_TEST_f_L): Likewise.
10637         (RUN_TEST_sincos): Likewise.
10638         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10639         whether to show exceptions.  Do not include ");\n" in return
10640         value.
10641         (special_functions): Output call to RUN_TEST_sincos instead of
10642         check_float calls.  Update calls to new_test.
10643         (parse_args): Output call to single RUN_TEST_* macro instead of
10644         check_* calls and other assignments.  Update calls to new_test.
10646         [BZ #2546]
10647         [BZ #2560]
10648         [BZ #5159]
10649         [BZ #15426]
10650         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10651         input to result for tgamma overflow.
10652         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10653         (gamma_coeff): New variable.
10654         (NCOEFF): New macro.
10655         (gamma_positive): New function.
10656         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10657         underflow here.  Use gamma_positive instead of exp (lgamma) for
10658         other arguments.
10659         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10660         (gamma_coeff): New variable.
10661         (NCOEFF): New macro.
10662         (gammaf_positive): New function.
10663         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10664         underflow here.  Use gamma_positive instead of exp (lgamma) for
10665         other arguments.
10666         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10667         (gamma_coeff): New variable.
10668         (NCOEFF): New macro.
10669         (gammal_positive): New function.
10670         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10671         underflow here.  Use gamma_positive instead of exp (lgamma) for
10672         other arguments.
10673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10674         (gamma_coeff): New variable.
10675         (NCOEFF): New macro.
10676         (gammal_positive): New function.
10677         (__ieee754_gammal_r): Handle positive infinity, overflow and
10678         underflow here.  Handle NaN the same as positive infinity.  Remove
10679         check x < 0xffffffff for negative integers.  Use gamma_positive
10680         instead of exp (lgamma) for other arguments.
10681         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10682         (gamma_coeff): New variable.
10683         (NCOEFF): New macro.
10684         (gammal_positive): New function.
10685         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10686         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10687         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10690         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10691         * sysdeps/generic/math_private.h (__gamma_productf): New
10692         prototype.
10693         (__gamma_product): Likewise.
10694         (__gamma_productl): Likewise.
10695         * math/Makefile (libm-calls): Add gamma_product.
10696         * math/libm-test.inc (tgamma_test): Add more tests.
10697         * sysdeps/i386/fpu/libm-test-ulps: Update.
10698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10700 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10702         * benchtests/bench-skeleton.c (main): Preheat CPU.
10704 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10706         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10708 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10710         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10711         and _dl_skip_args_internal.
10713 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10715         * manual/message.texi (Message Translation): Talk about users.
10716         Message to key mapping impacts design.
10718 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10720         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10722         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10724         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10725         * sysdeps/wordsize-64/glob64.c: ... here.
10727         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10728         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10729         New macros.
10731         * debug/getlogin_r_chk.c: Moved to ...
10732         * login/getlogin_r_chk.c: ... here.
10733         * debug/Makefile (routines): Move getlogin_r_chk to ...
10734         * login/Makefile (routines): ... here.
10735         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10736         * login/Versions (libc: GLIBC_2.4): ... here.
10738         * io/poll.c (__poll): Renamed from poll.
10739         Add libc_hidden_def.
10740         (poll): Define as weak alias.
10742         * debug/ptsname_r_chk.c: Moved to ...
10743         * login/ptsname_r_chk.c: ... here.
10744         * debug/Makefile (routines): Move ptsname_r_chk to ...
10745         * login/Makefile (routines): ... here.
10746         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10747         * login/Versions (libc: GLIBC_2.4): ... here.
10749         * posix/getlogin.c: Moved to ...
10750         * login/getlogin.c: ... here.
10751         * posix/getlogin_r.c: Moved to ...
10752         * login/getlogin_r.c: ... here.
10753         * posix/getlogin_r.c: Moved to ...
10754         * login/getlogin_r.c: ... here.
10755         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10756         * login/Makefile (routines): ... here.
10757         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10758         * login/Versions (libc: GLIBC_2.0): ... here.
10760         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10761         (setrlimit): Define as weak alias.
10763         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10764         Call __ names for open, ftruncate, and close.
10765         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10766         (truncate): Define as weak alias.
10768 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10770         * math/gen-libm-test.pl (parse_args): Initialize x before each
10771         test of frexp, modf and remquo.
10773         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10774         test signgam value.
10776 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10778         [BZ #15418]
10779         [BZ #15419]
10780         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10781         internal tests.
10782         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10784 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10786         * elf/dl-writev.h: New file.
10787         * elf/dl-misc.c: Include it.
10788         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10789         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10791 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10793         * math/libm-test.inc (noXFails): Remove variable.
10794         (noXPasses): Likewise.
10795         (BUILD_COMPLEX_INT): Remove macro.
10796         (print_screen): Remove xfail argument.
10797         (print_screen_max_error): Likewise.
10798         (update_stats): Likewise.
10799         (print_max_error): Likewise.  Update calls to other affected
10800         functions.
10801         (print_complex_max_error): Likewise.
10802         (test_single_exception): Update calls to print_screen.
10803         (test_single_errno): Likewise.
10804         (check_float_internal): Remove xfail argument.  Update calls to
10805         other affected functions.
10806         (check_float): Likewise.
10807         (check_complex): Likewise.
10808         (check_int): Likewise.
10809         (check_long): Likewise.
10810         (check_bool): Likewise.
10811         (check_longlong): Likewise.
10812         (main): Don't print noXFails and noXPasses.
10813         * math/gen-libm-test.pl (top level): Don't mention expected
10814         failure handling in comment.
10815         (new_test): Don't handle expected failures.
10816         (parse_args): Don't mention expected failure handling in comment.
10817         (generate_testfile): Don't handle expected failures.
10818         (parse_ulps): Likewise.
10819         (print_ulps_file): Likewise.
10820         (get_failure): Remove function.
10821         (output_test): Don't handle expected failures.
10822         * make/README.libm-test: Don't mention expected failure handling.
10824         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10825         (minus_zero): Likewise.
10826         (plus_infty): Likewise.
10827         (minus_infty): Likewise.
10828         (qnan_value): Likewise.
10829         (max_value): Likewise.
10830         (min_value): Likewise.
10831         (min_subnorm_value): Likewise.
10832         (initialize): Do not initialize those variables dynamically.
10834 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10836         * io/open.c (__open_2): Moved to ...
10837         * io/open_2.c: ... this new file.
10838         * io/open64.c (__open64_2): Moved to ...
10839         * io/open64_2.c: ... this new file.
10840         * io/openat.c (__openat_2): Moved to ...
10841         * io/openat_2.c: ... this new file.
10842         * io/openat64.c (__openat64_2): Moved to ...
10843         * io/openat64_2.c: ... this new file.
10844         * io/Makefile (routines): Add them.
10845         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10846         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10847         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10848         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10849         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10850         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10851         (__openat64): Add hidden_ver.
10852         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10853         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10855         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10856         Separately conditionalize setting of GLRO(dl_sysinfo) so
10857         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10858         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10860 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10862         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10863         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10864         definition.
10865         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10866         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10867         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10868         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10869         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10871 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10873         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10874         test signgam value.
10876         * math/libm-test.inc (hypot_test): Do not use
10877         IGNORE_ZERO_INF_SIGN.
10879 2013-05-03  Andreas Jaeger  <aj@suse.de>
10881         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10882         Linux 3.9.
10883         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10884         (PF_MAX): Adjust for VSOCK change.
10886 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10890 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10892         [BZ #15264]
10893         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10894         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10895         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10897 2013-05-02  David S. Miller  <davem@davemloft.net>
10899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10901 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10903         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10905 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10907         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10909 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10911         [BZ #14952]
10912         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10913         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10914         Use __attribute__ ((__gnu_inline__)).
10915         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10916         Don't use __attribute__ ((__gnu_inline__)).
10918 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10920         [BZ #15423]
10921         * math/s_catan.c (__catan): Handle small real or imaginary part of
10922         input specially to avoid spurious underflow.
10923         * math/s_catanf.c (__catanf): Likewise.
10924         * math/s_catanh.c (__catanh): Likewise.
10925         * math/s_catanhf.c (__catanhf): Likewise.
10926         * math/s_catanhl.c (__catanhl): Likewise.
10927         * math/s_catanl.c (__catanl): Likewise.
10928         * math/libm-test.inc (catan_test): Add more tests.
10929         (catanh_test): Likewise.
10930         * sysdeps/i386/fpu/libm-test-ulps: Update.
10931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10933 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10937 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10939         [BZ #15416]
10940         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10941         accurately for denominator in atan2.
10942         * math/s_catanf.c (__catanf): Likewise.
10943         * math/s_catanh.c (__catanh): Likewise.
10944         * math/s_catanhf.c (__catanhf): Likewise.
10945         * math/s_catanhl.c (__catanhl): Likewise.
10946         * math/s_catanl.c (__catanl): Likewise.
10947         * math/libm-test.inc (catan_test): Add more tests.
10948         (catanh_test): Likewise.
10949         * sysdeps/i386/fpu/libm-test-ulps: Update.
10950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10952 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10954         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10956         * benchtests/Makefile (bench): Remove slow benchmarks.
10957         * benchtests/atan-inputs: Add slow benchmark inputs.
10958         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10959         (BENCH_FUNC): Accept variant offset.
10960         (VARIANT): Define.
10961         * benchtests/bench-skeleton.c (main): Run benchmark for each
10962         variant.
10963         * benchtests/cos-inputs: Add slow benchmark inputs.
10964         * benchtests/exp-inputs: Likewise.
10965         * benchtests/pow-inputs: Likewise.
10966         * benchtests/sin-inputs: Likewise.
10967         * benchtests/slowatan-inputs: Remove.
10968         * benchtests/slowatan.c: Remove.
10969         * benchtests/slowcos-inputs: Remove.
10970         * benchtests/slowcos.c: Remove.
10971         * benchtests/slowexp-inputs: Remove.
10972         * benchtests/slowexp.c: Remove.
10973         * benchtests/slowpow-inputs: Remove.
10974         * benchtests/slowpow.c: Remove.
10975         * benchtests/slowsin-inputs: Remove.
10976         * benchtests/slowsin.c: Remove.
10977         * benchtests/slowtan-inputs: Remove.
10978         * benchtests/slowtan.c: Remove.
10979         * benchtests/tan-inputs: Add slow benchmark inputs.
10980         * scripts/bench.pl: Parse comments and directives.
10982         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10983         in CPPFLAGS.
10984         ($(objpfx)bench-%.c): Remove *-ITER.
10985         * benchtests/bench-modf.c: Remove definition of ITER.
10986         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10987         (main): Loop for DURATION seconds instead of fixed number of
10988         iterations.
10989         * scripts/bench.pl: Don't expect iterations in parameters.
10991 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10993         * io/fchdir.c (__fchdir): Renamed from fchdir.
10994         (fchdir): Define as weak alias.
10996 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10998         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10999         (ERRNO_EDOM): Likewise.
11000         (ERRNO_ERANGE): Likewise.
11001         (noErrnoTests): New variable.
11002         (init_max_error): Set errno to 0.
11003         (test_single_errno): New function.
11004         (test_errno): Likewise.
11005         (check_float_internal): Call test_errno.  Set errno to 0.
11006         (check_complex): Refer to errno tests in comment.
11007         (check_int): Call test_errno.  Set errno to 0.
11008         (check_long): Likewise.
11009         (check_bool): Likewise.
11010         (check_longlong): Likewise.
11011         (cos_test): Use ERRNO_* flags for errno tests instead of
11012         check_int.
11013         (expm1_test): Likewise.
11014         (fmod_test): Likewise.
11015         (ilogb_test): Likewise.
11016         (lgamma_test): Likewise.
11017         (pow_test): Likewise.
11018         (remainder_test): Likewise.
11019         (sin_test): Likewise.
11020         (tan_test): Likewise.
11021         (yn_test): Likewise.
11022         (initialize): Set errno to 0.
11023         (main): Print number of errno tests.
11024         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
11026 2013-04-29  Andreas Jaeger  <aj@suse.de>
11028         [BZ #15084]
11029         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
11030         and RES_USEVC.
11032         [BZ #15085]
11033         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
11034         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
11035         unimplemented.
11037         [BZ #15380]
11038         * stdlib/random.c (__initstate): Return NULL if
11039         __initstate fails.
11041         [BZ #15086]
11042         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
11043         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
11044         RES_SNGLKUPREOP.
11046 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11050 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
11052         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
11053         of individual tests.
11054         (casin_test): Likewise.
11055         (casinh_test): Likewise.
11057 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
11059         [BZ #15409]
11060         * math/s_catan.c (__catan): Handle arguments with large real or
11061         imaginary part separately without squaring.
11062         * math/s_catanf.c (__catanf): Likewise.
11063         * math/s_catanh.c (__catanh): Likewise.
11064         * math/s_catanhf.c (__catanhf): Likewise.
11065         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11066         and redefine.
11067         (__catanhl): Handle arguments with large real or imaginary part
11068         separately without squaring.
11069         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
11070         and redefine.
11071         (__catanl): Handle arguments with large real or imaginary part
11072         separately without squaring.
11073         * math/libm-test.inc (catan_test): Add more tests.
11074         (catanh_test): Likewise.
11075         * sysdeps/i386/fpu/libm-test-ulps: Update.
11076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11078 2013-04-27  Andreas Jaeger  <aj@suse.de>
11080         [BZ #15007]
11081         * stdlib/stdlib.h: Update guards for qecvt.
11082         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
11083         <stdlib.h>.
11085 2013-04-27  Allan McRae  <allan@archlinux.org>
11087         * sysdeps/i386/fpu/libm-test-ulps: Update.
11089 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
11091         [BZ #15406]
11092         * math/s_catan.c: Include <float.h>.
11093         (__catan): Ensure underflow exception occurs for underflowed
11094         result.
11095         * math/s_catanf.c: Include <float.h>.
11096         (__catanf): Ensure underflow exception occurs for underflowed
11097         result.
11098         * math/s_catanh.c: Include <float.h>.
11099         (__catanh): Ensure underflow exception occurs for underflowed
11100         result.
11101         * math/s_catanhf.c: Include <float.h>.
11102         (__catanhf): Ensure underflow exception occurs for underflowed
11103         result.
11104         * math/s_catanhl.c: Include <float.h>.
11105         (__catanhl): Ensure underflow exception occurs for underflowed
11106         result.
11107         * math/s_catanl.c: Include <float.h>.
11108         (__catanl): Ensure underflow exception occurs for underflowed
11109         result.
11110         * math/libm-test.inc (catan_test): Add more tests.
11111         (catanh_test): Likewise.
11113         [BZ #15405]
11114         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
11115         underflowed result.
11116         * math/s_ccoshf.c (__ccoshf): Likewise.
11117         * math/s_ccoshl.c (__ccoshl): Likewise.
11118         * math/s_csin.c (__csin): Likewise.
11119         * math/s_csinf.c (__csinf): Likewise.
11120         * math/s_csinh.c (__csinh): Likewise.
11121         * math/s_csinhf.c (__csinhf): Likewise.
11122         * math/s_csinhl.c (__csinhl): Likewise.
11123         * math/s_csinl.c (__csinl): Likewise.
11124         * math/libm-test.inc (ccos_test): Add more tests.
11125         (ccosh_test): Likewise.
11126         (csin_test): Likewise.
11127         (csinh_test): Likewise.
11129 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11131         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
11132         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
11133         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
11134         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
11135         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
11136         powerpc/power5+/fpu folders.
11137         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
11140 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
11142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11144 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
11146         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
11147         additions to variable.
11148         [$(config-machine) = x86_64] (modules-names): Likewise.
11149         ($(objpfx)tst-audit3): Remove dependency.
11150         ($(objpfx)tst-audit3.out): Likewise.
11151         ($(objpfx)tst-audit4): Likewise.
11152         ($(objpfx)tst-audit4.out): Likewise.
11153         ($(objpfx)tst-audit5): Likewise.
11154         ($(objpfx)tst-audit5.out): Likewise.
11155         ($(objpfx)tst-audit6): Likewise.
11156         ($(objpfx)tst-audit6.out): Likewise.
11157         ($(objpfx)tst-audit7): Likewise.
11158         ($(objpfx)tst-audit7.out): Likewise.
11159         (tst-audit3-ENV): Remove variable.
11160         (tst-audit4-ENV): Likewise.
11161         (tst-audit5-ENV): Likewise.
11162         (tst-audit6-ENV): Likewise.
11163         (tst-audit7-ENV): Likewise.
11164         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
11165         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
11166         addition to variable.
11167         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
11168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
11169         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
11170         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
11171         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
11172         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
11173         tst-audit3, tst-audit4 and tst-audit5.
11174         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
11175         tst-audit6 and tst-audit7.
11176         [$(subdir) = elf] (modules-names): Add audit modules for those
11177         tests.
11178         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
11179         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
11180         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
11181         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
11182         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
11183         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
11184         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
11185         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
11186         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
11187         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
11188         [$(subdir) = elf] (tst-audit3-ENV): New variable.
11189         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
11190         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
11191         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
11192         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
11193         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
11194         Likewise.
11195         [$(subdir) = elf && $(config-cflags-avx) = yes]
11196         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
11197         [$(subdir) = elf && $(config-cflags-avx) = yes]
11198         (CFLAGS-tst-auditmod4a.c): Likewise.
11199         [$(subdir) = elf && $(config-cflags-avx) = yes]
11200         (CFLAGS-tst-auditmod4b.c): Likewise.
11201         [$(subdir) = elf && $(config-cflags-avx) = yes]
11202         (CFLAGS-tst-auditmod6b.c): Likewise.
11203         [$(subdir) = elf && $(config-cflags-avx) = yes]
11204         (CFLAGS-tst-auditmod6c.c): Likewise.
11205         [$(subdir) = elf && $(config-cflags-avx) = yes]
11206         (CFLAGS-tst-auditmod7b.c): Likewise.
11207         * elf/tst-audit3.c: Move to ...
11208         * sysdeps/x86_64/tst-audit3.c: ... here.
11209         * elf/tst-audit4.c: Move to ...
11210         * sysdeps/x86_64/tst-audit4.c: ... here.
11211         * elf/tst-audit5.c: Move to ...
11212         * sysdeps/x86_64/tst-audit5.c: ... here.
11213         * elf/tst-audit6.c: Move to ...
11214         * sysdeps/x86_64/tst-audit6.c: ... here.
11215         * elf/tst-audit7.c: Move to ...
11216         * sysdeps/x86_64/tst-audit7.c: ... here.
11217         * elf/tst-auditmod3a.c: Move to ...
11218         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
11219         * elf/tst-auditmod3b.c: Move to ...
11220         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
11221         * elf/tst-auditmod4a.c: Move to ...
11222         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
11223         * elf/tst-auditmod4b.c: Move to ...
11224         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
11225         * elf/tst-auditmod5a.c: Move to ...
11226         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
11227         * elf/tst-auditmod5b.c: Move to ...
11228         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
11229         * elf/tst-auditmod6a.c: Move to ...
11230         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
11231         * elf/tst-auditmod6b.c: Move to ...
11232         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
11233         * elf/tst-auditmod6c.c: Move to ...
11234         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
11235         * elf/tst-auditmod7a.c: Move to ...
11236         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
11237         * elf/tst-auditmod7b.c: Move to ...
11238         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
11240 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
11242         [BZ #15366]
11243         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
11244         define unconditionally.
11245         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
11246         define unconditionally.
11247         (INT8_C, INT16_C, etc.): Likewise.
11249 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
11251         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
11252         __ehdr_start with hidden visibility.
11254         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
11256 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
11258         * math/libm-test.inc (cos_test): Use accurate hex constants.
11259         (sincost_test): Likewise.
11261 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
11263         * math/libm-test.inc (catan_test): Add more tests.
11264         (catanh_test): Likewise.
11266         * math/s_catanf.c (__catanf): Use suffixed floating-point
11267         constants.
11268         * math/s_catanhf.c (__catanhf): Likewise.
11269         * math/s_catanhl.c (__catanhl): Likewise.
11270         * math/s_catanl.c (__catanl): Likewise.
11272         [BZ #15394]
11273         * math/s_catan.c (__catan): Calculate imaginary part of result
11274         with log1p not log unless computing log of number close to 0.
11275         * math/s_catanf.c (__catanf): Likewise.
11276         * math/s_catanl.c (__catanl): Likewise.
11277         * math/s_catanh.c (__catanh): Calculate real part of result with
11278         log1p not log unless computing log of number close to 0.
11279         * math/s_catanhf.c (__catanhf): Likewise.
11280         * math/s_catanhl.c (__catanhl): Likewise.
11281         * math/libm-test.inc (catan_test): Add more tests.
11282         (catanh_test): Likewise.
11283         * sysdeps/i386/fpu/libm-test-ulps: Update.
11284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11286 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11288         * benchtests/Makefile: Mention files in which fast and slow
11289         paths of math functions are implemented.
11291 2013-04-23  Roland McGrath  <roland@hack.frob.com>
11293         * sysdeps/posix/timespec_get.c: New file.
11295 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11297         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
11298         POWER.
11299         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
11300         for POWER.
11301         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
11302         powerpc/power5/fpu folders.
11303         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
11304         * benchtests/Makefile: Add modf testcase.
11305         * benchtests/bench-modf.c: New file: Benchmark test for mo
11307 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11309         [BZ #14888]
11310         * time/Makefile (tests): Add tst-strptime-whitespace.
11311         * time/strptime_l.c (get_number): Use ISSPACE.
11312         (__strptime_internal): Likewise.
11313         * time/tst-strptime-whitespace.c: New test case.
11315 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
11317         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
11318         member.
11319         (_nss_files_init): Set it here.
11321 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
11323         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
11324         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
11325         unsigned.
11327 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
11329         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
11331 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
11334         size just once.
11336 2013-04-21  David S. Miller  <davem@davemloft.net>
11338         * po/ru.po: Update Russion translation from translation project.
11340 2013-04-17  Adam Conrad  <adconrad@0c3.net>
11342         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
11343         and setfsgid.
11345 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
11347         * configure.in: Remove i386 configure warning. Remove i386 case.
11348         * configure: Regenerate.
11349         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
11350         Add example to error message.
11351         * sysdeps/i386/configure: Regenerate.
11353 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11355         * benchtests/Makefile (bench): Add cos, tan, slowcos and
11356         slowtan.
11357         * benchtests/cos-inputs: New file.
11358         * benchtests/slowcos-inputs: New file.
11359         * benchtests/slowcos.c: New file.
11360         * benchtests/slowtan-inputs: New file.
11361         * benchtests/slowtan.c: New file.
11362         * benchtests/tan-inputs: New file.
11364 2013-04-16  Roland McGrath  <roland@hack.frob.com>
11366         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
11367         considered kosher.
11369 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11371         * benchtests/Makefile: Include cppflags-iterator.mk to add
11372         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
11374         * Makefile.in (bench-clean): New target.
11375         * benchtests/Makefile (bench-clean): Likewise.
11377 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
11379         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
11381 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
11383         * stdio-common/tstdiomisc.c: Fix coding-style violation.
11385 2013-04-15  Andreas Schwab  <schwab@suse.de>
11387         * nscd/grpcache.c (cache_addgr): Properly check for short write.
11388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11389         * nscd/pwdcache.c (cache_addpw): Likewise.
11390         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
11391         more than recsize.
11393 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11395         * benchtests/Makefile (bench): Write all output to
11396         bench-out.tmp together.
11398 2013-04-15  Andreas Schwab  <schwab@suse.de>
11400         * nscd/nscd.c (main): Don't fork again after closing files.
11402 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11404         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
11406         * benchtests/Rules (bench-deps): Collect dependencies into a
11407         single variable.  Add Makefile to dependencies.
11408         ($(objpfx)bench-%.c): Depend on bench-deps.
11410 2013-04-12  Roland McGrath  <roland@hack.frob.com>
11411             Xavier Roche  <roche+kml2@exalead.com>
11413         [BZ #15361]
11414         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
11415         just that it's a file descriptor.
11416         * manual/llio.texi (Synchronizing AIO Operations): Update description
11417         for EBADF error from aio_fsync.
11419 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11421         * Rules (bench): Move target definition...
11422         * benchtests/Makefile: ... here.
11424 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
11426         * math/libm-test.inc (cos_test): Fix PI/2 test.
11427         (sincos_test): Likewise.
11428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11429         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11431 2013-04-11  Andreas Schwab  <schwab@suse.de>
11433         [BZ #13988]
11434         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
11435         accept exponent character only when digits were seen.
11436         * stdio-common/Makefile (tests): Add bug26.
11437         * stdio-common/bug26.c: New file.
11439         [BZ #14293]
11440         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
11441         non-freeable.
11443 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11445         * Makeconfig (rtld-prefix): Define built linker prefix.
11446         * Rules (run-bench): Use it.
11447         * math/Makefile (run-regen-ulps): Likewise.
11449         * Rules (bench): Remove eval.
11451 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11452             Roland McGrath  <roland@hack.frob.com>
11453             Ondrej Bilka  <neleai@seznam.cz>
11455         [BZ #15346]
11456         * time/getdate.c: Include ctype.h and alloca.h.
11457         (__getdate_r): Trim leading and trailing spaces of input.
11458         * time/tst-getdate.c (tests): Add tests with leading and
11459         trailing spaces.
11461 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11463         [BZ #14280]
11464         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11465         when computing value.
11467 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11469         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11470         Use testrun.sh to run libm tests.
11472         [BZ #15309]
11473         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11475 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11477         [BZ #15264]
11478         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11480 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11482         * Makefile.in (regen-ulps): New target.
11483         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11484         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11485         [ifneq (no,$(PERL)] (regen-ulps): New target.
11486         [ifeq (no,$(PERL)] (regen-ulps): New target.
11487         * math/libm-test.inc (ulps_file_name): Define.
11488         (output_dir): New variable.
11489         (options): Add "output-dir" option.
11490         (parse_opt): Handle 'o' case.
11491         (main): If output_dir is non-NULL use it as a prefix
11492         otherwise use "".
11493         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11495 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11497         [BZ #10060, #10062]
11498         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11499         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11500         fail configure if __sync_val_compare_and_swap is not inlined.
11501         * sysdeps/i386/configure: Regenerate.
11502         * configure.in: Build for i686 when configured for i386.
11503         * configure: Regenerate.
11504         * README: Remove i386 reference.
11506 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11508         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11511 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11513         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11514         (lmsnanval): New variables.
11515         (F): Add conversion tests.
11516         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11517         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11519         * stdio-common/tstdiomisc.c (F): Properly collect individual
11520         tests' results.
11522         [BZ #14686, #15336]
11523         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11524         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11525         Instead, use input NaN values or generate a qNaN by arithmetic
11526         operation.  Also fix bugs to comply with the standard.
11527         * math/libm-test.inc (remainder_test): Add more tests.
11529         [BZ #15335, #15342]
11530         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11532         input NaN values or generate a qNaN by arithmetic operation.
11534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11535         unreachable code.
11537         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11538         definitions.
11540 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11542         [BZ #14478]
11543         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11544         underflowed result.
11545         * math/s_cexpf.c (__cexpf): Likewise.
11546         * math/s_cexpl.c (__cexpl): Likewise.
11547         * math/libm-test.inc (cexp_test): Add more tests.
11549 2013-04-03  Andreas Schwab  <schwab@suse.de>
11551         [BZ #15330]
11552         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11553         order arrays from heap if bigger than alloca cutoff.
11555 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11557         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11558         (SNAN_TESTS_double): Refer to GCC PR56831.
11559         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11560         GCC PR56828.
11562 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11564         * Rules (bench): Move bench.out after the run is complete.
11566         * Rules (bench): Echo currently running benchmark.
11568         * benchtests/Makefile (bench): Add atan and slowatan.
11569         * benchtests/atan-inputs: New file.
11570         * benchtests/slowatan-inputs: New file.
11571         * benchtests/slowatan.c: New file.
11573         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11575         its value.
11577         [BZ #15305]
11578         * sysdeps/unix/sysv/linux/kernel-features.h
11579         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11580         __ASSUME_XFS_RESTRICTED_CHOWN.
11581         * sysdeps/unix/sysv/linux/pathconf.c
11582         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11583         Save and restore errno.
11585 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11587         [BZ #15327]
11588         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11589         arguments using __kernel_casinh.
11590         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11591         arguments using __kernel_casinhf.
11592         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11593         arguments using __kernel_casinhl.
11594         * math/libm-test.inc (cacosh_test): Add more tests.
11595         * sysdeps/i386/fpu/libm-test-ulps: Update.
11596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11598 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11600         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11603         * bench/Makefile (bench): Add sin and slowsin.
11604         * benchtests/sin-inputs: New file.
11605         * benchtests/slowsin-inputs: New file.
11606         * benchtests/slowsin.c: New file.
11608         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11609         (bench): Add slowexp and slowpow.
11610         (exp-ITER): Increase iterations.
11611         (pow-ITER): Likewise.
11612         * benchtests/exp-inputs: Change input.
11613         * benchtests/pow-inputs: Likewise.
11614         * benchtests/slowexp-inputs: New file.
11615         * benchtests/slowexp.c: New file.
11616         * benchtests/slowpow-inputs: New file.
11617         * benchtests/slowpow.c: New file.
11619 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11621         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11622         instructions.
11623         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11624         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11625         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11626         * benchtests/Makefile: Add rint benchtest.
11627         * benchtests/rint-inputs: Input for rint benchtest.
11629 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11631         * Versions.def (libm): Add GLIBC_2.18.
11632         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11633         hidden libm prototypes.
11634         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11635         * math/Makefile (libm-calls): Add s_issignaling.
11636         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11637         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11638         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11639         declaration.
11640         * math/math.h [__USE_GNU] (issignaling): New macro.
11641         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11642         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11643         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11644         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11645         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11646         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11647         * manual/arith.texi (issignaling): New section.
11648         * manual/libm-err-tab.pl (@all_functions): Update comment.
11649         * math/gen-libm-test.pl (parse_args): Apply special handling for
11650         issignaling.
11651         * math/libm-test.inc (print_float, issignaling_test): New
11652         functions.
11653         (check_float_internal): Add issignaling checks.
11654         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11655         default definition.
11656         * sysdeps/powerpc/math-tests.h: New file.
11657         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11658         tests.
11659         * math/test-snan.c (TEST_FUNC): Likewise.
11661 2013-03-30  David S. Miller  <davem@davemloft.net>
11663         * po/de.po: Update from translation team.
11665 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11667         [BZ #10357]
11668         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11669         imaginary part less than 1.0 and real part less than 0.5
11670         specially.
11671         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11672         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11673         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11674         (cacos_test): Add more tests.
11675         (casin_test): Likewise.
11676         (casinh_test): Likewise.
11677         * sysdeps/i386/fpu/libm-test-ulps: Update.
11678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11680 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11682         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11683         ONE with its value.
11685         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11686         (__pow_mp): Replace ONE and MONE with their values.
11687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11690         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11691         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11694         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11696         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11697         (__pow_mp): Replace ZERO and MZERO with their values.
11698         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11699         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11700         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11701         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11702         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11703         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11704         (__sqr): Likewise.
11706         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11708         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11710 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11712         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11713         Declare with __attribute__ ((weak)).
11714         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11715         Call __call_tls_dtors only if it's not NULL.
11717 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11719         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11720         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11721         magic __ehdr_start linker symbol if it's defined.
11722         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11723         them up here if it was already done.
11725         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11726         (_dl_aux_init): Use const in cast when setting it.
11727         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11728         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11729         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11731         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11732         Declare them here.
11733         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11734         * csu/libc-tls.c: Nor here.
11735         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11737         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11738         (__libc_message): Never call vsyslog.
11740 2013-03-28  Alan Modra  <amodra@gmail.com>
11742         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11743         Define as empty.
11744         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11745         Likewise.
11747 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11749         [BZ #15214]
11750         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11751         underflow.
11752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11754 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11756         [BZ #15304]
11757         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11758         Don't add gid passed as argument.
11760         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11762 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11764         [BZ #15307]
11765         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11766         imaginary part between 1.0 and 1.5 and real part less than 0.5
11767         specially.
11768         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11769         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11770         * math/libm-test.inc (cacos_test): Add more tests.
11771         (casin_test): Likewise.
11772         (casinh_test): Likewise.
11773         * sysdeps/i386/fpu/libm-test-ulps: Update.
11774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11776 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11778         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11779         constants.
11780         (norm): Likewise.
11781         (denorm): Likewise.
11782         (__dbl_mp): Likewise.
11783         (add_magnitudes): Likewise.
11784         (sub_magnitudes): Likewise.
11785         (__add): Likewise.
11786         (__sub): Likewise.
11787         (__mul): Likewise.
11788         (__sqr): Likewise.
11789         (__inv): Likewise.
11790         (__dvd): Likewise.
11792         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11793         commented code.
11794         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11795         (__dubcos): Likewise.
11796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11797         (__ieee754_acos): Likewise.
11798         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11799         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11800         (__exp1): Likewise.
11801         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11803         (log1): Likewise.
11804         (my_log2): Likewise.
11805         (checkint): Likewise.
11806         * sysdeps/ieee754/dbl-64/e_remainder.c
11807         (__ieee754_remainder): Likewise.
11808         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11810         (bsloww): Likewise.
11811         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11813         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11814         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11815         MANTISSA_STORE_T to store computations on mantissa.  Use
11816         macros for rounding and division.
11817         (denorm): Likewise.
11818         (__dbl_mp): Likewise.
11819         (add_magnitudes): Likewise.
11820         (sub_magnitudes): Likewise.
11821         (__mul): Likewise.
11822         (__sqr): Likewise.
11823         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11824         powers of two in terms of TWOPOW macro.
11825         (mp_no): Make type of mantissa as MANTISSA_T.
11826         [!RADIXI]: Define RADIXI.
11827         [!TWO52]: Define TWO52.
11828         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11830 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11832         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11833         llroundl symbol when building for PPC32.
11835 2013-03-24  Mark H Weaver  <mhw@netris.org>
11837         * manual/arith.texi (Normalization Functions): Fix prototypes for
11838         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11840 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11842         [BZ #13889]
11843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11844         high value to check if expl overflow.
11845         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11846         to check for underflow and overflow.
11847         * math/libm-test.inc: Add exp test.
11849 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11851         [BZ #11120]
11852         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11853         with NOT_IN_libc.
11855 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11857         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11858         symbol.
11860 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11862         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11863         wrap blocks consisting of several statements.
11865         * sysdeps/generic/math-tests.h: New file.
11866         * sysdeps/i386/fpu/math-tests.h: Likewise.
11867         * math/test-snan.c: Include it.
11868         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11870 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11872         [BZ #15285]
11873         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11874         (__ieee754_j0l): Do not improve calculations using cos of twice
11875         input for inputs above LDBL_MAX / 2.0L.
11876         (__ieee754_y0l): Likewise.
11877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11878         (__ieee754_j1l): Do not improve calculations using cos of twice
11879         input for inputs above LDBL_MAX / 2.0L.
11880         (__ieee754_y1l): Likewise.
11881         * math/libm-test.inc (j0_test): Add another test.
11882         (j1_test): Likewise.
11883         (y0_test): Likewise.
11884         (y1_test): Likewise.
11885         * sysdeps/i386/fpu/libm-test-ulps: Update.
11887 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11889         * Rules ($(objpfx)bench-%.c): Include code from a C source
11890         file.
11892 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11894         [BZ #15287]
11895         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11896         imaginary part 1.0 and real part less than 0.5 specially.
11897         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11898         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11899         * math/libm-test.inc (cacos_test): Add more tests.
11900         (casin_test): Likewise.
11901         (casinh_test): Likewise.
11902         * sysdeps/i386/fpu/libm-test-ulps: Update.
11903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11905 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11907         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11908         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11910 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11912         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11913         * config.make.in (config-cflags-sse4): Remove variable.
11914         (config-cflags-avx): Likewise.
11915         (config-cflags-sse2avx): Likewise.
11916         (config-cflags-novzeroupper): Likewise.
11917         (config-asflags-i686): Likewise.
11918         (have-mfma4): Likewise.
11919         (have-as-vis3): Likewise.
11920         (MIG): Likewise.
11921         * configure.in (MIG): Do not AC_SUBST.
11922         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11923         (libc_cv_cc_sse4): Do not AC_SUBST.
11924         (libc_cv_cc_avx): Likewise.
11925         (libc_cv_cc_sse2avx): Likewise.
11926         (libc_cv_cc_novzeroupper): Likewise.
11927         (libc_cv_cc_fma4): Likewise.
11928         (libc_cv_as_i686): Likewise.
11929         (libc_cv_sparc_as_vis3): Likewise.
11930         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11931         LIBC_CONFIG_VAR.
11932         (config-asflags-i686): Likewise.
11933         (config-cflags-avx): Likewise.
11934         (config-cflags-sse2avx): Likewise.
11935         (have-mfma4): Likewise.
11936         (config-cflags-novzeroupper): Likewise.
11937         * sysdeps/mach/configure.in (MIG): Likewise.
11938         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11939         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11940         LIBC_CONFIG_VAR.
11941         (config-cflags-avx): Likewise.
11942         (config-cflags-sse2avx): Likewise.
11943         (have-mfma4): Likewise.
11944         (config-cflags-novzeroupper): Likewise.
11945         * configure: Regenerated.
11946         * sysdeps/i386/configure: Likewise.
11947         * sysdeps/mach/configure: Likewise.
11948         * sysdeps/sparc/configure: Likewise.
11949         * sysdeps/x86_64/configure: Likewise.
11951 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11953         [BZ #14812]
11954         * locale/programs/localedef.c (options): Put N_ translation marker
11955         on argument names, not just descriptions.
11957 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11959         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11961 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11963         [BZ #14176]
11964         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11966 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11968         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11969         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11970         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11971         [!BEFORE_ABORT] (before_abort): New function.
11972         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11973         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11974         (writev_for_fatal): New function.
11975         (WRITEV_FOR_FATAL): New macro; call that.
11976         (backtrace_and_maps): New function.
11977         (BEFORE_ABORT): New macro; call that.
11978         (struct str_list): Type removed.
11979         (__libc_message, __libc_fatal): Functions removed.
11980         Include <sysdeps/posix/libc_fatal.c> instead.
11982 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11984         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11985         constants.
11986         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11987         double constants.
11989 2013-03-19  Andreas Schwab  <schwab@suse.de>
11991         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11992         * sysdeps/gnu/configure: Regenerate.
11994         * configure.in: Substitute libc_cv_rtlddir.
11995         * configure: Regenerate.
11996         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11997         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11998         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11999         * elf/Makefile (install-others, CFLAGS-interp.c)
12000         (ldso_install, common-ldd-rewrite): Likewise.
12001         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
12002         $(inst_slibdir)/$(rtld-installed-name).
12003         * scripts/rellns-sh: Add -p option.
12004         * Makerules (make-shlib-link): Use rellns-sh to get relative name
12005         for source.
12007 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12009         * manual/nptl.texi: Renamed to ...
12010         * manual/threads.texi: ... this.
12011         * manual/Makefile (chapters): Update.
12013 2013-03-18  Roland McGrath  <roland@hack.frob.com>
12015         [BZ #14812]
12016         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
12017         on argument names, not just descriptions.
12018         * malloc/memusagestat.c (options): Likewise.
12019         * nss/getent.c (options): Likewise.
12021 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
12023         [BZ #14812]
12024         * iconv/iconv_prog.c (options): Put N_ translation marker
12025         on argument names, not just descriptions.
12026         * iconv/iconvconfig.c (options): Likewise.
12028 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
12030         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
12031         implementation which is faster on all x86_64 architectures.
12032         Tested on AMD, Intel Nehalem, SNB, IVB.
12033         * sysdeps/x86_64/strnlen.S: Likewise.
12035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12036         Remove all multiarch strlen and strnlen versions.
12037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12038         Remove strlen and strnlen related parts.
12040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
12041         Inline strlen part.
12042         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12044         * sysdeps/x86_64/multiarch/strlen.S: Remove.
12045         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
12046         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
12047         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
12048         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12049         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
12051 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
12053         * manual/memory.texi (Malloc Tunable Parameters):
12054         Sort parameters alphabetically. Add comments for missing entries.
12056 2013-03-17  David S. Miller  <davem@davemloft.net>
12058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12060 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
12062         [BZ #15283]
12063         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
12064         for arguments at most half maximum finite value.
12065         * math/libm-test.inc (j0_test): Add more tests.
12066         (j1_test): Likewise.
12067         (y0_test): Likewise.
12068         (y1_test): Likewise.
12069         * sysdeps/i386/fpu/libm-test-ulps: Update.
12070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12072         [BZ #14155]
12073         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
12074         1 / x and functions P and Q for arguments above 0x1p256L.
12075         (__ieee754_y0l): Likewise.
12076         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
12077         (__ieee754_y1l): Likewise.
12078         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
12079         (j1_test): Likewise.
12080         (y0_test): Likewise.
12081         (y1_test): Likewise.
12083 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
12085         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
12086         variable.
12088 2013-03-15  Roland McGrath  <roland@hack.frob.com>
12090         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
12091         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
12092         zero since it's initialized to EXEC_PAGESIZE.
12094         * sysdeps/unix/sysv/linux/ldsodefs.h
12095         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
12096         * sysdeps/generic/ldsodefs.h: ... here.
12098 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
12100         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
12102         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
12103         math/test-snan.c.
12104         * math/test-snan.c: Renamed from
12105         sysdeps/powerpc/fpu/test-powerpc-snan.c.
12106         * math/Makefile (tests): Add test-snan.
12107         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
12108         test-powerpc-snan.
12110         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
12111         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
12112         functions.
12113         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
12114         __builtin_nan family of functions.
12115         * math/libm-test.inc (initialize): Initialize qnan_value with
12116         __builtin_nan family of functions.
12117         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
12118         Remove variables.
12119         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
12120         Remove functions.
12121         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
12122         storage class.  Initialize qNaN_var and sNaN_var with
12123         __builtin_nan and __builtin_nans families of functions,
12124         respectively.
12126         * math/libm-test.inc (acosh_test): Also test with qNaN input.
12127         (sqrt_test): Remove duplicate test with qNaN input.
12128         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
12129         (round_test, signbit_test, significand_test): Note missing +/-Inf
12130         as well as qNaN tests.
12132         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
12133         qNaN_var.  Fix a few strings, too.
12134         * math/libm-test.inc (nan_value): Rename to qnan_value.
12135         * math/gen-libm-test.pl (%beautify): Adjust to that.
12136         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
12137         * math/test-misc.c (main): Likewise.
12138         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
12139         to __qnan_bytes, and __qnan_union, respectively.
12140         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
12141         Likewise.
12142         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
12143         and lqnanval, respectively.
12144         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
12145         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
12146         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
12147         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
12149         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
12150         * math/test-misc.c (main) [__x86_64__]: Enable test for long
12151         doubles.
12153         * math/test-misc.c (main): Fix copy'n'pastos.
12154         * misc/tst-efgcvt.c (special): Likewise.
12156         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
12157         Remove declarations.
12159 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12161         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
12162         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
12163         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
12164         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
12166 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12168         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
12169         macro to return vdso values correctly in IFUNC implementations.
12170         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12171         Optimization by using IFUNC.
12173 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12174             Richard Henderson  <rth@redhat.com>
12175             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12177         * Makefile.in (bench): New target.
12178         * NEWS: Mention the benchmark framework.
12179         * Rules (bench): Likewise.
12180         (binaries-bench): Generate binaries for functions to
12181         benchmark.
12182         * benchtests/Makefile: New makefile for benchmark tests.
12183         * benchtests/bench-skeleton.c: New skeleton file for benchmark
12184         programs.
12185         * benchtests/exp-inputs: New input file for EXP function.
12186         * benchtests/pow-inputs: New input file for POW function.
12187         * scripts/bench.pl: New script to generate source files for
12188         benchmark programs.
12190 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12192         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
12193         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
12194         computations on mantissa.  Use macros for rounding and
12195         division.
12196         (denorm): Likewise.
12197         (__dbl_mp): Likewise.
12198         (add_magnitudes): Likewise.
12199         (sub_magnitudes): Likewise.
12200         (__mul): Likewise.
12201         (__sqr): Likewise.
12202         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
12203         powers of two in terms of TWOPOW macro.
12204         (mp_no): Make type of mantissa as MANTISSA_T.
12205         [!RADIXI]: Define RADIXI.
12206         [!TWO52]: Define TWO52.
12207         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
12209         * manual/nptl.texi (cindex): Modify threads to pthreads.
12211 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
12213         * sysdeps/x86_64/preconfigure: Regenerated.
12215 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
12217         [BZ #14155]
12218         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
12219         0x1p28 and above.
12220         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
12221         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
12222         0x1p28 and above.
12223         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
12224         * math/libm-test.inc (j0_test): Do not allow one spurious
12225         underflow exception.
12226         (y1_test): Likewise.
12228 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12230         * manual/Makefile (chapters): Add nptl.
12231         * manual/debug.texi (Debugging Support): Add link to Threads
12232         chapter.
12233         * manual/nptl.texi: New file.
12235         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
12237 2013-03-14  Petr Baudis  <pasky@ucw.cz>
12239         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
12240         for non-NULL pointer before the memory validity test. Pointed
12241         out by Holger Brunck <holger.brunck@keymile.com>.
12243 2013-03-13  Andreas Schwab  <schwab@suse.de>
12245         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
12246         instead of .os.
12248 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
12250         * timezone/zic.c: Update from tzcode 2013b.
12252 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
12254         * manual/install.texi (Configuring and compiling):
12255         Mention i686 and i586.
12256         * INSTALL: Regenerate.
12258 2013-03-12  Roland McGrath  <roland@hack.frob.com>
12260         * sysdeps/init_array/elf-init.c: New file.
12261         * csu/elf-init.c
12262         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
12263         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
12265         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
12266         __gmon_start__ as global, but as static with a .preinit_array pointer.
12267         * sysdeps/init_array/gmon-start.c: New file.  Use that.
12268         * sysdeps/init_array/crti.S: New file, empty except for comments.
12269         * sysdeps/init_array/crtn.S: Likewise.
12271 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
12273         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
12274         definining bcopy.
12275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12276         Remove Prefer_SSE_for_memop.
12277         * sysdeps/x86_64/multiarch/init-arch.h: Remove
12278         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
12279         HAS_PREFER_SSE_FOR_MEMOP.
12280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12281         memset-x86-64.
12282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12283         Remove bzero, memset ifunc support.
12284         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
12285         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
12286         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12287         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12289 2013-03-11  Andreas Schwab  <schwab@suse.de>
12291         [BZ #15234]
12292         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
12293         by SHLIB_COMPAT.
12294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
12295         (GLIBC_2.16): Remove pthread_atfork.
12297 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12299         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
12300         (ptestcases.h): Likewise.
12302 2013-03-08  Roland McGrath  <roland@hack.frob.com>
12304         * Makeconfig ($(common-objpfx)config.status): Depend on
12305         sysdeps/*/preconfigure{,.in} too.
12307 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
12309         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
12310         (__free_hook): Use void * instead of __malloc_ptr_t.
12311         (__malloc_hook): Likewise.
12312         (__realloc_hook): Likewise.
12313         (__memalign_hook): Likewise.
12314         (__after_morecore_hook): Likewise.
12315         * malloc/arena.c (save_malloc_hook): Likewise.
12316         (save_free_hook): Likewise.
12317         * malloc/hooks.c (malloc_hook_ini): Likewise.
12318         (realloc_hook_ini): Likewise.
12319         (memalign_hook_ini): Likewise.
12320         * malloc/malloc.c (malloc_hook_ini): Likewise.
12321         (realloc_hook_ini): Likewise.
12322         (memalign_hook_ini): Likewise.
12323         (__free_hook): Likewise.
12324         (__malloc_hook): Likewise.
12325         (__realloc_hook): Likewise.
12326         (__memalign_hook): Likewise.
12327         (__libc_malloc): Likewise.
12328         (__libc_free): Likewise.
12329         (__libc_realloc): Likewise.
12330         (__libc_memalign): Likewise.
12331         (__libc_valloc): Likewise.
12332         (__libc_pvalloc): Likewise.
12333         (__libc_calloc): Likewise.
12334         (__posix_memalign): Likewise.
12335         * malloc/morecore.c (__sbrk): Likewise.
12336         (__default_morecore): Likewise.
12338         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
12340         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
12341         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
12342         __malloc_ptrdiff_t.
12344         * malloc/malloc.h (__malloc_size_t): Remove macro.
12345         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
12346         __malloc_size_t.
12347         (old_memalign_hook): Likewise.
12348         (old_realloc_hook): Likewise.
12349         (struct hdr): Likewise.
12350         (flood): Likewise.
12351         (mallochook): Likewise.
12352         (memalignhook): Likewise.
12353         (reallochook): Likewise.
12354         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
12355         (tr_old_realloc_hook): Likewise.
12356         (tr_old_memalign_hook): Likewise.
12357         (tr_mallochook): Likewise.
12358         (tr_reallochook): Likewise.
12359         (tr_memalignhook): Likewise.
12361 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
12364         default_ldbl_pack and using as default implementation.
12365         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
12366         implementation.
12367         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
12368         redundant definition.
12369         (ldbl_insert_mantissa): Likewise.
12370         (ldbl_canonicalize): Likewise.
12371         (ldbl_nearbyint): Likewise.
12372         (ldbl_pack): Rename to ldbl_pack_ppc.
12373         (ldbl_unpack): Rename to ldbl_unpack_ppc.
12374         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
12375         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
12377 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
12380         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
12381         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
12382         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
12383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
12384         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
12385         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
12386         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
12388 2013-03-07  Andreas Jaeger  <aj@suse.de>
12390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12391         bits/mman-linux.h.
12393 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12395         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
12396         Include mpa.h and declare __MPEXP.
12397         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
12398         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12399         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12400         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
12401         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12402         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
12403         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
12405         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
12406         (__slowpow): Use long double EXPL and LOGL functions to
12407         compute POW.
12408         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
12409         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12410         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
12411         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
12412         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
12413         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
12415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
12416         intermediate variable to calculate exponent.
12417         (__sqr): Likewise.
12418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12419         Likewise.
12420         (__sqr): Likewise.
12422         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
12423         [!NO__SQR]: Define __sqr.
12424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
12425         and NO__SQR.  Remove all code except __mul and __sqr.  Include
12426         sysdeps/ieee754/dbl-64/mpa.c.
12427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12429         [BZ #12723]
12430         * posix/Makefile (tests): Add tst-pathconf.
12431         * posix/tst-pathconf.c: New test case.
12432         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
12433         _PC_PIPE_BUF.
12434         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
12436 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
12438         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
12440 2013-03-06  Andreas Jaeger  <aj@suse.de>
12442         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
12443         definition via __MAP_ANONYMOUS.
12445         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
12446         it's not part of Linux headers.
12448         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
12449         (MAP_HUGE_MASK): Define.
12451         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12452         Define.
12453         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12454         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12455         Define.
12456         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12457         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
12458         Define.
12459         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12460         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12461         Define.
12462         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12464         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12465         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12466         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12467         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12468         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12469         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12472         Handle f2fs.
12474         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12475         Handle f2fs and efivarfs.
12477         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12478         f2fs.
12480         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12481         (EFIVARFS_MAGIC): Add.
12482         (F2FS_LINK_MAX): Add.
12484 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12486         * stdio-common/vfprintf.c: Replace __builtin_expect with
12487         __glibc_unlikely.
12489 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12491         [BZ #13550]
12492         * sysdeps/generic/bp-sym.h: Remove file.
12493         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12494         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12495         <bp-sym.h> and <bp-asm.h>.
12496         (__longjmp): Don't use BP_SYM.
12497         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12498         and <bp-asm.h>.
12499         (memcpy): Don't use BP_SYM.
12500         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12501         <bp-sym.h> and <bp-asm.h>.
12502         (memcpy): Don't use BP_SYM.
12503         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12504         <bp-asm.h>.
12505         (memcpy): Don't use BP_SYM.
12506         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12507         <bp-asm.h>.
12508         (memset): Don't use BP_SYM.
12509         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12510         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12511         (__bzero): Don't use BP_SYM.
12512         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12513         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12514         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12515         <bp-sym.h> and <bp-asm.h>.
12516         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12517         pointers.
12518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12519         <bp-sym.h> and <bp-asm.h>.
12520         (memcpy): Don't use BP_SYM.
12521         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12522         <bp-sym.h> and <bp-asm.h>.
12523         (memset): Don't use BP_SYM.
12524         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12525         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12526         (__bzero): Don't use BP_SYM.
12527         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12528         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12529         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12530         <bp-sym.h> and <bp-asm.h>.
12531         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12532         pointers.
12533         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12534         <bp-sym.h> and <bp-asm.h>.
12535         (memcpy): Don't use BP_SYM.
12536         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12537         <bp-sym.h> and <bp-asm.h>.
12538         (memset): Don't use BP_SYM.
12539         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12540         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12541         (__bzero): Don't use BP_SYM.
12542         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12543         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12544         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12545         <bp-sym.h> and <bp-asm.h>.
12546         (__memchr): Don't use BP_SYM.
12547         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12548         <bp-sym.h> and <bp-asm.h>.
12549         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12550         pointers.
12551         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12552         <bp-sym.h> and <bp-asm.h>.
12553         (memcpy): Don't use BP_SYM.
12554         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12555         <bp-sym.h> and <bp-asm.h>.
12556         (__mempcpy): Don't use BP_SYM.
12557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12558         <bp-sym.h> and <bp-asm.h>.
12559         (__memrchr): Don't use BP_SYM.
12560         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12561         <bp-sym.h> and <bp-asm.h>.
12562         (memset): Don't use BP_SYM.
12563         (__bzero): Likewise.
12564         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12565         <bp-sym.h> and <bp-asm.h>.
12566         (__rawmemchr): Don't use BP_SYM.
12567         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12568         <bp-sym.h> and <bp-asm.h>.
12569         (__STRCMP): Don't use BP_SYM.
12570         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12571         <bp-sym.h> and <bp-asm.h>.
12572         (strchr): Don't use BP_SYM.
12573         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12574         <bp-sym.h> and <bp-asm.h>.
12575         (__strchrnul): Don't use BP_SYM.
12576         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12577         <bp-sym.h> and <bp-asm.h>.
12578         (strlen): Don't use BP_SYM.
12579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12580         <bp-sym.h> and <bp-asm.h>.
12581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12582         pointers.
12583         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12584         <bp-sym.h> and <bp-asm.h>.
12585         (__strnlen): Don't use BP_SYM.
12586         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12587         <bp-sym.h> and <bp-asm.h>.
12588         (__GI__setjmp): Don't use BP_SYM.
12589         (_setjmp): Likewise.
12590         (__sigsetjmp): Likewise.
12591         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12592         (L(start_addresses)): Don't use BP_SYM.
12593         (_start): Likewise.
12594         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12595         <bp-asm.h>.
12596         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12597         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12598         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12599         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12600         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12601         <bp-asm.h>.
12602         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12603         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12604         about bounded pointers.
12605         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12606         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12607         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12608         <bp-asm.h>.
12609         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12610         about bounded pointers.  Remove GKM FIXME comments.
12611         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12612         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12613         <bp-asm.h>.
12614         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12615         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12616         Remove GKM FIXME comments.
12617         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12618         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12619         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12620         <bp-asm.h>.
12621         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12622         about bounded pointers.  Remove GKM FIXME comment.
12623         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12624         and <bp-asm.h>.
12625         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12626         pointers.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12628         <bp-sym.h> and <bp-asm.h>.
12629         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12631         <bp-sym.h> and <bp-asm.h>.
12632         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12633         comment.
12635 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12637         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12638         call free(NULL).
12640 2013-03-05  David S. Miller  <davem@davemloft.net>
12642         * po/es.po: Update from translation team.
12644 2013-03-05  Andreas Jaeger  <aj@suse.de>
12646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12647         <bits/mman-linux.h>.
12648         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12649         is fine.
12650         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12651         <bits/mman-linux.h> to end of file.
12652         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12653         is fine.
12654         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12655         <bits/mman-linux.h> to end of file.
12656         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12657         is fine.
12658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12659         <bits/mman-linux.h> to end of file.
12661         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12662         (MCL_CURRENT, MCL_FUTURE): Define here.
12664 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12666         [BZ #15232]
12667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12668         attribute_hidden.
12669         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12671 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12673         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12674         fourth parameter needed for rt_sigprocmask syscall.
12675         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12676         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12677         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12678         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12680         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12682 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12684         [BZ #13550]
12685         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12686         comment about bounded pointers.
12687         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12688         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12690 2013-03-04  Andreas Jaeger  <aj@suse.de>
12692         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12693         common definitions.
12695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12696         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12697         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12698         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12699         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12700         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12702 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12704         [BZ #15055]
12705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12706         __ieee754_sqrl instead of __sqrl.
12708 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12710         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12711         * sysdeps/powerpc/fpu_control.h: ... here.
12712         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12713         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12714         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12715         * sysdeps/powerpc/bits/mathinline.h: ... here.
12717 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12719         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12720         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12721         to just [NEED_DL_SYSINFO_DSO].
12722         * elf/dl-support.c: Likewise.
12723         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12724         * elf/rtld.c (dl_main): Likewise.
12725         * elf/setup-vdso.h (setup_vdso): Likewise.
12726         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12727         * sysdeps/unix/sysv/linux/dl-sysdep.c
12728         (_dl_discover_osversion): Likewise.
12730 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12732         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12733         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12735 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12737         * NEWS: Mention libm performance improvements and non-x86 PI
12738         futex support.
12740         * csu/libc-start.c (__pthread_initialize_minimal): Change
12741         function arguments.
12742         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12744 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12746         [BZ #13550]
12747         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12748         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12749         <bp-sym.h> and <bp-asm.h>.
12750         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12751         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12752         and <bp-asm.h>.
12753         (memcpy): Don't use BP_SYM.
12754         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12755         <bp-asm.h>.
12756         (__mpn_add_n): Don't use BP_SYM.
12757         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12758         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12759         and <bp-asm.h>.
12760         (__mpn_addmul_1): Don't use BP_SYM.
12761         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12762         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12763         <bp-sym.h>.
12764         (_setjmp): Don't use BP_SYM.
12765         (__novmx_setjmp): Likewise.
12766         (__GI__setjmp): Likewise.
12767         (__vmx_setjmp): Likewise.
12768         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12769         <bp-sym.h>.
12770         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12771         (__bzero): Don't use BP_SYM.
12772         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12773         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12774         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12775         <bp-sym.h> and <bp-asm.h>.
12776         (memcpy): Don't use BP_SYM.
12777         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12778         <bp-sym.h> and <bp-asm.h>.
12779         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12780         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12781         <bp-sym.h> and <bp-asm.h>.
12782         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12783         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12784         <bp-asm.h>.
12785         (__mpn_lshift): Don't use BP_SYM.
12786         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12787         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12788         <bp-asm.h>.
12789         (memset): Don't use BP_SYM.
12790         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12791         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12792         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12793         <bp-asm.h>.
12794         (__mpn_mul_1): Don't use BP_SYM.
12795         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12797         <bp-sym.h> and <bp-asm.h>.
12798         (memcmp): Don't use BP_SYM.
12799         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12800         <bp-sym.h> and <bp-asm.h>.
12801         (memcpy): Don't use BP_SYM.
12802         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12803         <bp-sym.h> and <bp-asm.h>.
12804         (memset): Don't use BP_SYM.
12805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12806         <bp-sym.h> and <bp-asm.h>.
12807         (strncmp): Don't use BP_SYM.
12808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12809         <bp-sym.h> and <bp-asm.h>.
12810         (memcpy): Don't use BP_SYM.
12811         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12812         <bp-sym.h> and <bp-asm.h>.
12813         (memset): Don't use BP_SYM.
12814         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12815         <bp-sym.h> and <bp-asm.h>.
12816         (__memchr): Don't use BP_SYM.
12817         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12818         <bp-sym.h> and <bp-asm.h>.
12819         (memcmp): Don't use BP_SYM.
12820         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12821         <bp-sym.h> and <bp-asm.h>.
12822         (memcpy): Don't use BP_SYM.
12823         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12824         <bp-sym.h> and <bp-asm.h>.
12825         (__mempcpy): Don't use BP_SYM.
12826         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12827         <bp-sym.h> and <bp-asm.h>.
12828         (__memrchr): Don't use BP_SYM.
12829         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12830         <bp-sym.h> and <bp-asm.h>.
12831         (memset): Don't use BP_SYM.
12832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12833         <bp-sym.h> and <bp-asm.h>.
12834         (__rawmemchr): Don't use BP_SYM.
12835         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12836         <bp-sym.h> and <bp-asm.h>.
12837         (__STRCMP): Don't use BP_SYM.
12838         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12839         <bp-sym.h> and <bp-asm.h>.
12840         (strchr): Don't use BP_SYM.
12841         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12842         <bp-sym.h> and <bp-asm.h>.
12843         (__strchrnul): Don't use BP_SYM.
12844         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12845         <bp-sym.h> and <bp-asm.h>.
12846         (strlen): Don't use BP_SYM.
12847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12848         <bp-sym.h> and <bp-asm.h>.
12849         (strncmp): Don't use BP_SYM.
12850         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12851         <bp-sym.h> and <bp-asm.h>.
12852         (__strnlen): Don't use BP_SYM.
12853         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12854         <bp-asm.h>.
12855         (__mpn_rshift): Don't use BP_SYM.
12856         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12857         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12858         <bp-sym.h> and <bp-asm.h>.
12859         (__sigsetjmp): Don't use BP_SYM.
12860         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12861         (L(start_addresses)): Don't use BP_SYM.
12862         (_start): Likewise.
12863         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12864         <bp-asm.h>.
12865         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12866         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12867         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12868         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12869         <bp-asm.h>.
12870         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12871         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12872         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12873         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12874         <bp-asm.h>.
12875         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12876         comments.
12877         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12878         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12879         <bp-asm.h>.
12880         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12881         FIXME comments.
12882         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12883         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12884         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12885         <bp-asm.h>.
12886         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12887         comment.
12888         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12889         and <bp-asm.h>.
12890         (strncmp): Don't use BP_SYM,
12891         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12892         <bp-asm.h>.
12893         (__mpn_sub_n): Don't use BP_SYM.
12894         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12895         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12896         and <bp-asm.h>.
12897         (__mpn_submul_1): Don't use BP_SYM.
12898         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12900         <bp-sym.h> and <bp-asm.h>.
12901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12903         <bp-sym.h> and <bp-asm.h>.
12904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12905         comment.
12907 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12910         Use ZK to minimize writes to Z.
12911         (sub_magnitudes): Simplify code a bit.
12912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12913         Use ZK to minimize writes to Z.
12914         (sub_magnitudes): Simplify code a bit.
12916 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12918         * csu/gmon-start.c: Add special exception to license text.
12920 2013-02-27  Richard Henderson  <rth@redhat.com>
12922         * scripts/config.guess: Update from config.git.
12923         * scripts/config.sub: Likewise.
12925 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12927         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12929         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12931         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12933         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12935         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12937 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12939         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12940         [$(build-shared = yes].
12942 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12944         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12945         (__mul): Reduce iterations for calculating mantissa.
12947         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12948         MPTWO.
12949         (__mpranred): Likewise.
12951         [BZ #15160]
12952         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12953         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12955 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12957         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12958         Define __attribute__.
12960 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12962         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12963         unused.
12964         * posix/regex_internal.h (__attribute): Remove.
12965         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12966         (re_string_context_at): Likewise.
12967         (bitset_not): Use __attribute__ and mark function as possibly
12968         unused.
12969         (bitset_merge): Likewise.
12970         (bitset_mask): Likewise.
12971         (re_string_char_size_at): Likewise.
12972         (re_string_wchar_at): Likewise.
12973         (re_string_elem_size_at): Likewise.
12975 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12977         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12978         code.
12979         (cc32): Likewise.
12981         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12982         (__acr): Likewise.
12983         (__cpy): Likewise.
12984         (norm): Likewise.
12985         (denorm): Likewise.
12986         (__dbl_mp): Likewise.
12987         (add_magnitudes): Likewise.
12988         (sub_magnitudes): Likewise.
12989         (__mul): Likewise.
12990         (__inv): Likewise.
12992         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12993         style.
12995         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12996         style.
12998         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12999         code.
13001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
13002         up changes with default code.
13003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
13004         Likewise.
13006 2013-02-24  Allan McRae  <allan@archlinux.org>
13008         * manual/socket.texi (The Internet Namespace): Order menu items
13009         to match that in the file.
13011         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
13012         node listing of the info page menu.
13014 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
13016         [BZ #13550]
13017         * sysdeps/i386/bp-asm.h: Remove file.
13018         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13019         (PARMS): Do not use macros from bp-asm.h.
13020         (S1): Likewise.
13021         (S2): Likewise.
13022         (SIZE): Likewise.
13023         (__mpn_add_n): Do not use BP_SYM
13024         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
13025         "bp-asm.h".
13026         (PARMS): Do not use macros from bp-asm.h.
13027         (S1): Likewise.
13028         (SIZE): Likewise.
13029         (__mpn_addmul_1): Do not use BP_SYM
13030         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
13031         "bp-asm.h".
13032         (PARMS): Do not use macros from bp-asm.h.
13033         (SIGMSK): Likewise.
13034         (_setjmp): Likewise.  Do not use BP_SYM.
13035         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
13036         "bp-asm.h".
13037         (PARMS): Do not use macros from bp-asm.h.
13038         (SIGMSK): Likewise.
13039         (setjmp): Likewise.  Do not use BP_SYM.
13040         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
13041         "bp-asm.h".
13042         (PARMS): Do not use macros from bp-asm.h.
13043         (__frexp): Do not use BP_SYM.
13044         (frexp): Likewise.
13045         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
13046         "bp-asm.h".
13047         (PARMS): Do not use macros from bp-asm.h.
13048         (__frexpf): Do not use BP_SYM.
13049         (frexpf): Likewise.
13050         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
13051         "bp-asm.h".
13052         (PARMS): Do not use macros from bp-asm.h.
13053         (__frexpl): Do not use BP_SYM.
13054         (frexpl): Likewise.
13055         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
13056         "bp-asm.h".
13057         (PARMS): Do not use macros from bp-asm.h.
13058         (__remquo): Do not use BP_SYM.
13059         (remquo): Likewise.
13060         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
13061         "bp-asm.h".
13062         (PARMS): Do not use macros from bp-asm.h.
13063         (__remquof): Do not use BP_SYM.
13064         (remquof): Likewise.
13065         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
13066         "bp-asm.h".
13067         (PARMS): Do not use macros from bp-asm.h.
13068         (__remquol): Do not use BP_SYM.
13069         (remquol): Likewise.
13070         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
13071         "bp-asm.h".
13072         (PARMS): Do not use macros from bp-asm.h.
13073         (DEST): Likewise.
13074         (SRC): Likewise.
13075         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
13076         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
13077         "bp-asm.h".
13078         (PARMS): Do not use macros from bp-asm.h.
13079         (strlen): Do not use BP_SYM.
13080         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
13081         "bp-asm.h".
13082         (PARMS): Do not use macros from bp-asm.h.
13083         (S1): Likewise.
13084         (S2): Likewise.
13085         (SIZE): Likewise.
13086         (__mpn_add_n): Do not use BP_SYM.
13087         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
13088         "bp-asm.h".
13089         (PARMS): Do not use macros from bp-asm.h.
13090         (S1): Likewise.
13091         (SIZE): Likewise.
13092         (__mpn_addmul_1): Do not use BP_SYM.
13093         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
13094         weak_alias.
13095         (bzero): Likewise.
13096         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
13097         "bp-asm.h".
13098         (PARMS): Do not use macros from bp-asm.h.
13099         (S): Likewise.
13100         (SIZE): Likewise.
13101         (__mpn_lshift): Do not use BP_SYM.
13102         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
13103         "bp-asm.h".
13104         (PARMS): Do not use macros from bp-asm.h.
13105         (DEST): Likewise.
13106         (SRC): Likewise.
13107         (LEN): Likewise.
13108         (memcpy): Likewise.  Do not use BP_SYM.
13109         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
13110         libc_hidden_def and weak_alias.
13111         (mempcpy): Do not use BP_SYM in weak_alias.
13112         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
13113         "bp-asm.h".
13114         (PARMS): Do not use macros from bp-asm.h.
13115         (DEST): Likewise.
13116         (LEN): Likewise.
13117         [!BZERO_P] (CHR): Likewise.
13118         (memset): Likewise.  Do not use BP_SYM.
13119         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
13120         "bp-asm.h".
13121         (PARMS): Do not use macros from bp-asm.h.
13122         (S1): Likewise.
13123         (SIZE): Likewise.
13124         (__mpn_mul_1): Do not use BP_SYM.
13125         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
13126         "bp-asm.h".
13127         (PARMS): Do not use macros from bp-asm.h.
13128         (S): Likewise.
13129         (SIZE): Likewise.
13130         (__mpn_rshift): Do not use BP_SYM.
13131         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
13132         "bp-asm.h".
13133         (PARMS): Do not use macros from bp-asm.h.
13134         (STR): Likewise.
13135         (CHR): Likewise.
13136         (strchr): Likewise.  Do not use BP_SYM.
13137         (index): Do not use BP_SYM in weak_alias.
13138         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
13139         "bp-asm.h".
13140         (PARMS): Do not use macros from bp-asm.h.
13141         (DEST): Likewise.
13142         (SRC): Likewise.
13143         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
13144         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
13145         "bp-asm.h".
13146         (PARMS): Do not use macros from bp-asm.h.
13147         (strlen): Do not use BP_SYM.
13148         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
13149         "bp-asm.h".
13150         (PARMS): Do not use macros from bp-asm.h.
13151         (S1): Likewise.
13152         (S2): Likewise.
13153         (SIZE): Likewise.
13154         (__mpn_sub_n): Do not use BP_SYM.
13155         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
13156         "bp-asm.h".
13157         (PARMS): Do not use macros from bp-asm.h.
13158         (S1): Likewise.
13159         (SIZE): Likewise.
13160         (__mpn_submul_1): Do not use BP_SYM.
13161         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
13162         "bp-asm.h".
13163         (PARMS): Do not use macros from bp-asm.h.
13164         (S1): Likewise.
13165         (S2): Likewise.
13166         (SIZE): Likewise.
13167         (__mpn_add_n): Do not use BP_SYM.
13168         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
13169         weak_alias.
13170         (bzero): Likewise.
13171         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
13172         "bp-asm.h".
13173         (PARMS): Do not use macros from bp-asm.h.
13174         (BLK2): Likewise.
13175         (LEN): Likewise.
13176         (memcmp): Do not use BP_SYM.
13177         (bcmp): Do not use BP_SYM in weak_alias.
13178         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
13179         "bp-asm.h".
13180         (PARMS): Do not use macros from bp-asm.h.
13181         (DEST): Likewise.
13182         (SRC): Likewise.
13183         (LEN): Likewise.
13184         (memcpy): Likewise.  Do not use BP_SYM.
13185         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
13186         "bp-asm.h".
13187         (PARMS): Do not use macros from bp-asm.h.
13188         (DEST): Likewise.
13189         (SRC): Likewise.
13190         (LEN): Likewise.
13191         (memmove): Likewise.  Do not use BP_SYM.
13192         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
13193         "bp-asm.h".
13194         (PARMS): Do not use macros from bp-asm.h.
13195         (DEST): Likewise.
13196         (SRC): Likewise.
13197         (LEN): Likewise.
13198         (__mempcpy): Likewise.  Do not use BP_SYM.
13199         (mempcpy): Do not use BP_SYM in weak_alias.
13200         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
13201         "bp-asm.h".
13202         (PARMS): Do not use macros from bp-asm.h.
13203         (DEST): Likewise.
13204         (LEN): Likewise.
13205         [!BZERO_P] (CHR): Likewise.
13206         (memset): Likewise.  Do not use BP_SYM.
13207         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
13208         "bp-asm.h".
13209         (PARMS): Do not use macros from bp-asm.h.
13210         (STR2): Likewise.
13211         (strcmp): Do not use BP_SYM.
13212         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
13213         "bp-asm.h".
13214         (PARMS): Do not use macros from bp-asm.h.
13215         (STR): Likewise.
13216         (DELIM): Likewise.
13217         [USE_AS_STRTOK_R] (SAVE): Likewise.
13218         (FUNCTION): Likewise.  Do not use BP_SYM.
13219         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
13220         aliases.
13221         (strtok_r): Likewise.
13222         (__GI___strtok_r): Likewise.
13223         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13224         (PARMS): Do not use macros from bp-asm.h.
13225         (S): Likewise.
13226         (SIZE): Likewise.
13227         (__mpn_lshift): Do not use BP_SYM.
13228         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13229         (PARMS): Do not use macros from bp-asm.h.
13230         (STR): Likewise.
13231         (CHR): Likewise.
13232         (__memchr): Do not use BP_SYM.
13233         (memchr): Do not use BP_SYM in weak_alias.
13234         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13235         (PARMS): Do not use macros from bp-asm.h.
13236         (BLK2): Likewise.
13237         (LEN): Likewise.
13238         (memcmp): Do not use BP_SYM.
13239         (bcmp): Do not use BP_SYM in weak_alias.
13240         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
13241         (PARMS): Do not use macros from bp-asm.h.
13242         (S1): Likewise.
13243         (SIZE): Likewise.
13244         (__mpn_mul_1): Do not use BP_SYM.
13245         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
13246         "bp-asm.h".
13247         (PARMS): Do not use macros from bp-asm.h.
13248         (STR): Likewise.
13249         (CHR): Likewise.
13250         (__rawmemchr): Do not use BP_SYM.
13251         (rawmemchr): Do not use BP_SYM in weak_alias.
13252         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
13253         (PARMS): Do not use macros from bp-asm.h.
13254         (S): Likewise.
13255         (SIZE): Likewise.
13256         (__mpn_rshift): Do not use BP_SYM.
13257         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
13258         (PARMS): Do not use macros from bp-asm.h.
13259         (SIGMSK): Likewise.
13260         (__sigsetjmp): Likewise.  Do not use BP_SYM.
13261         * sysdeps/i386/start.S: Do not include "bp-sym.h".
13262         (_start): Do not use BP_SYM.
13263         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
13264         (PARMS): Do not use macros from bp-asm.h.
13265         (DEST): Likewise.
13266         (SRC): Likewise.
13267         (__stpcpy): Likewise.  Do not use BP_SYM.
13268         (stpcpy): Do not use BP_SYM in weak_alias.
13269         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
13270         "bp-asm.h".
13271         (PARMS): Do not use macros from bp-asm.h.
13272         (DEST): Likewise.
13273         (SRC): Likewise.
13274         (LEN): Likewise.
13275         (__stpncpy): Likewise.  Do not use BP_SYM.
13276         (stpncpy): Do not use BP_SYM in weak_alias.
13277         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
13278         (PARMS): Do not use macros from bp-asm.h.
13279         (STR): Likewise.
13280         (CHR): Likewise.
13281         (strchr): Likewise.  Do not use BP_SYM.
13282         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
13283         "bp-asm.h".
13284         (PARMS): Do not use macros from bp-asm.h.
13285         (STR): Likewise.
13286         (CHR): Likewise.
13287         (__strchrnul): Likewise.  Do not use BP_SYM.
13288         (strchrnul): Do not use BP_SYM in weak_alias.
13289         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
13290         "bp-asm.h".
13291         (PARMS): Do not use macros from bp-asm.h.
13292         (STOP): Likewise.
13293         (strcspn): Do not use BP_SYM.
13294         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
13295         "bp-asm.h".
13296         (PARMS): Do not use macros from bp-asm.h.
13297         (STR): Likewise.
13298         (STOP): Likewise.
13299         (strpbrk): Likewise.  Do not use BP_SYM.
13300         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
13301         "bp-asm.h".
13302         (PARMS): Do not use macros from bp-asm.h.
13303         (STR): Likewise.
13304         (CHR): Likewise.
13305         (strrchr): Likewise.  Do not use BP_SYM.
13306         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
13307         (PARMS): Do not use macros from bp-asm.h.
13308         (SKIP): Likewise.
13309         (strspn): Do not use BP_SYM.
13310         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
13311         (PARMS): Do not use macros from bp-asm.h.
13312         (STR): Likewise.
13313         (DELIM): Likewise.
13314         (SAVE): Likewise.
13315         (FUNCTION): Likewise.  Do not use BP_SYM.
13316         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
13317         aliases.
13318         (strtok_r): Likewise.
13319         (__GI___strtok_r): Likewise.
13320         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
13321         (PARMS): Do not use macros from bp-asm.h.
13322         (S1): Likewise.
13323         (S2): Likewise.
13324         (SIZE): Likewise.
13325         (__mpn_sub_n): Do not use BP_SYM.
13326         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
13327         "bp-asm.h".
13328         (PARMS): Do not use macros from bp-asm.h.
13329         (S1): Likewise.
13330         (SIZE): Likewise.
13331         (__mpn_submul_1): Do not use BP_SYM.
13332         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
13333         <bp-sym.h>.
13334         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
13335         and <bp-asm.h>.
13336         (PARMS): Do not use macros from bp-asm.h.
13337         (FLAGS): Likewise.
13338         (PTID): Likewise.
13339         (TLS): Likewise.
13340         (CTID): Likewise.
13341         (__clone): Do not use BP_SYM.
13342         (clone): Do not use BP_SYM in weak_alias.
13343         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
13344         and <bp-asm.h>.
13345         (PARMS): Do not use macros from bp-asm.h.
13346         (LEN): Likewise.
13347         (__mmap64): Do not use BP_SYM.
13348         (mmap64): Do not use BP_SYM in weak_alias.
13349         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13350         <bp-sym.h> and <bp-asm.h>.
13351         (PARMS): Do not use macros from bp-asm.h.
13352         (__posix_fadvise64_l64): Do not use BP_SYM.
13353         * sysdeps/unix/sysv/linux/i386/semtimedop.S
13354         (PARMS): Do not use macros from bp-asm.h.
13355         (NSOPS): Likewise.
13356         (semtimedop): Do not use BP_SYM.
13357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
13358         and <bp-asm.h>.
13360 2013-02-21  Allan McRae  <allan@archlinux.org>
13362         * manual/message.texi (Charset conversion in gettext):
13363         Move @end statement to beginning of line.
13365 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
13368         static.
13369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13370         Likewise.
13372         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
13373         (denorm): Likewise.
13374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
13375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
13377 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13379         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
13380         tail-call to the resolved function if pltexit isn't needed.
13382 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
13385         or Y being zero as being unlikely.
13386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13387         Likewise.
13389 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
13391         * manual/nss.texi (System Databases and Name Service Switch):
13392         Remove frobnicate @pxref.
13394 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13396         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13397         __attribute__ ((unused)) to __attribute__ ((__unused__)).
13399 2013-02-20  Petr Machata  <pmachata@redhat.com>
13401         * elf/elf.h (R_ARM_TARGET1): New macro.
13402         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
13403         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
13404         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
13405         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
13406         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
13407         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
13408         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
13409         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
13410         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
13411         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
13412         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
13413         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
13414         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
13415         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
13416         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
13417         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
13418         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
13419         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
13420         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
13421         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
13422         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
13423         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
13424         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
13425         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
13426         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
13427         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
13428         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
13429         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
13430         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
13431         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
13432         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
13433         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
13434         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
13435         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
13436         (R_ARM_THM_GOT_BREL12): Likewise.
13437         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
13438         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
13439         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
13440         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
13441         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
13442         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
13443         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
13444         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
13445         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
13447 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
13449         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
13450         __attribute_used__ to __attribute__ ((unused)).
13452 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13454         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
13455         powerpc mpa.c.
13456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
13457         comment formatting.
13458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
13460 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13462         [BZ #13550]
13463         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13464         Remove macro.
13465         (ENTER): Remove both macro definitions.
13466         (LEAVE): Likewise.
13467         (CHECK_BOUNDS_LOW): Likewise.
13468         (CHECK_BOUNDS_HIGH): Likewise.
13469         (CHECK_BOUNDS_BOTH): Likewise.
13470         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13471         (RETURN_BOUNDED_POINTER): Likewise.
13472         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13473         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13474         (POP_ERRNO_LOCATION_RETURN): Likewise.
13475         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13476         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13477         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13478         macros.
13479         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13480         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13481         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13482         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13483         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13484         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13485         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13486         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13487         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13488         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13489         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13490         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13491         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13492         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13493         removed macros.
13494         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13495         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13496         macros.
13497         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13498         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13499         * sysdeps/i386/i586/memset.S (memset): Likewise.
13500         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13501         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13502         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13503         macros.
13504         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13505         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13506         Change uses of L(2) to L(out).
13507         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13508         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13509         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13510         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13511         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13512         removed macros.
13513         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13514         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13515         macros.
13516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13517         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13518         (RETURN): Do not use macro LEAVE.
13519         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13520         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13521         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13522         * sysdeps/i386/i686/memset.S (memset): Likewise.
13523         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13524         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13525         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13526         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13527         Likewise.
13528         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13529         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13530         L(1_2) and L(1_3) into L(1).
13531         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13532         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13533         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13534         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13535         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13536         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13537         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13538         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13539         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13540         macros.
13541         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13542         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13543         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13544         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13545         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13546         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13547         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13548         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13549         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13550         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13551         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13552         * sysdeps/i386/strspn.S (strspn): Likewise.
13553         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13554         conditional code.
13555         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13556         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13557         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13558         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13559         L(1_3) into L(1_1).
13560         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13561         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13562         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13563         macros.
13564         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13566 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13568         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13569         macro.
13571 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13573         * math/atest-exp.c (exp_mpn): Remove ROUND.
13574         * math/atest-exp2.c (exp_mpn): Likewise.
13575         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13577         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13578         * stdlib/tst-tls-atexit-lib.c: Likewise.
13579         * stdlib/tst-tls-atexit.c: Likewise.
13581 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13583         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13584         and __attribute_alloc_size__.
13586 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13588         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13589         __attribute_alloc_size__.
13590         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13591         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13593 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13595         * include/programs/xmalloc.h: New file.
13596         * catgets/gencat.c: Include it.
13597         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13598         * elf/pldd.c: Likewise.
13599         * iconv/iconv_charmap.c: Likewise.
13600         * iconv/iconvconfig.c: Likewise.
13601         * iconv/strtab.c: Likewise.
13602         * locale/programs/locale.c: Likewise.
13603         * locale/programs/localedef.h: Likewise.
13604         * locale/programs/simple-hash.c: Likewise.
13605         * nscd/nscd.h: Likewise.
13606         * nss/makedb.c: Likewise.
13607         * sysdeps/generic/ldconfig.h: Likewise.
13609 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13611         * Versions.def: Add GLIBC_2.18.
13612         * include/link.h (struct link_map): New member l_tls_dtor_count.
13613         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13614         (__call_tls_dtors): Likewise.
13615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13616         __cxa_thread_atexit_impl.
13617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13618         Likewise.
13619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13620         Likewise.
13621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13622         Likewise.
13623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13624         Likewise.
13625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13627         Likewise.
13628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13629         Likewise.
13630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13632         Likewise.
13633         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13634         (tests): Add test case tst-tls-atexit.
13635         (modules-names): Add shared library for tst-tls-atexit.
13636         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13637         (GLIBC_PRIVATE): Add __call_tls_dtors.
13638         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13639         for libstdc++.
13640         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13641         * stdlib/tst-tls-atexit.c: New test case.
13642         * stdlib/tst-tls-atexit-lib.c: New test case.
13644         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13646         * elf/Versions (ld): Add _dl_find_dso_for_object.
13647         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13648         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13649         (dl_open_worker): Use _dl_find_dso_for_object.
13650         * elf/dl-sym.c (do_sym): Likewise.
13651         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13653 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13655         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13656         Syntactic changes only.
13657         (_dl_runtime_profile): Do a tail-call to the resolved function.
13659 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13661         [BZ #13550]
13662         * sysdeps/x86_64/bp-asm.h: Remove file.
13663         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13664         <bp-sym.h> and <bp-asm.h>.
13665         (__clone): Do not use BP_SYM.
13666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13667         <bp-sym.h> and <bp-asm.h>.
13668         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13669         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13670         "bp-asm.h".
13671         (_setjmp): Do not use BP_SYM.
13672         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13673         "bp-asm.h".
13674         (setjmp): Do not use BP_SYM.
13675         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13676         libc_hidden_def.
13677         (mempcpy): Do not use BP_SYM in weak_alias.
13678         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13679         "bp-asm.h".
13680         (strchr): Do not use BP_SYM.
13681         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13682         "bp-asm.h".
13683         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13684         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13685         (_start): Do not use BP_SYM.
13686         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13687         "bp-asm.h".
13688         (strcat): Do not use BP_SYM.
13689         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13690         "bp-asm.h".
13691         (STRCMP): Do not use BP_SYM.
13692         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13693         "bp-asm.h".
13694         (STRCPY): Do not use BP_SYM.
13695         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13696         "bp-asm.h".
13697         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13698         "bp-asm.h".
13699         (FUNCTION): Do not use BP_SYM.
13700         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13701         weak_alias.
13702         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13704 2013-02-17  Andreas Jaeger  <aj@suse.de>
13706         * time/Versions: Sort entries.
13707         * string/Versions: Likewise.
13708         * resolv/Versions: Likewise.
13709         * posix/Versions: Likewise.
13710         * iconv/Versions: Likewise.
13711         * elf/Versions: Likewise.
13712         * wcsmbs/Versions: Likewise.
13714 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13716         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13717         loop termination condition.
13719         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13720         variable to calculate EZ.
13721         (__sqr): Likewise.
13723         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13724         the lower precision input.
13726 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13728         [BZ #13550]
13729         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13730         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13731         (run-via-rtld-prefix): Do not handle %-bp tests.
13732         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13733         (all-object-suffixes): Remove .ob.
13734         (bppfx): Remove variable.
13735         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13736         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13737         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13738         [$(build-bounded) = yes] (libtype.ob): Likewise.
13739         * Makerules (elide-routines.ob): Remove variable.
13740         (do-tests-clean): Do not handle *-bp.out.
13741         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13742         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13743         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13744         (tests): Do not include $(tests-bp.out).
13745         (xtests): Do not include $(xtests-bp.out).
13746         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13747         [$(build-bounded) = yes] ($(addprefix
13748         $(objpfx),$(binaries-bounded))): Remove rule.
13749         ($(objpfx)%-bp.out): Remove rule.
13750         * config.make.in (build-bounded): Remove variable.
13751         * crypt/Makefile [$(build-bounded) = yes]
13752         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13753         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13754         append to variable.
13755         [$(build-bounded) = yes] (install-lib): Likewise.
13756         [$(build-bounded) = yes] (generated): Likewise.
13757         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13758         Remove rule.
13759         * intl/Makefile [$(build-bounded) = yes]
13760         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13761         * math/Makefile [$(build-bounded) = yes]
13762         ($(tests:%=$(objpfx)%-bp): Likewise.
13763         * misc/Makefile [$(build-bounded) = yes]
13764         ($(objpfx)tst-tsearch-bp): Likewise.
13765         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13766         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13767         Remove dependency.
13768         * string/Makefile (o-objects.ob): Remove variable.
13769         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13770         (CFLAGS-.ob): Remove variable.
13771         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13772         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13773         both definitions of variable.
13774         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13775         (ASFLAGS-.ob): Remove variable.
13777 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13779         [BZ #13550]
13780         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13781         Remove __BOUNDED_POINTERS__ from condition.
13782         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13783         * string/bits/string2.h [!__NO_STRING_INLINES &&
13784         !__BOUNDED_POINTERS__]: Likewise.
13785         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13786         Likewise.
13787         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13788         Remove conditional code.
13789         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13790         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13791         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13792         condition.
13794         [BZ #13550]
13795         * csu/libc-start.c: Do not include <bp-sym.h>.
13796         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13797         * elf/dl-open.c: Do not include <bp-sym.h>.
13798         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13799         * math/fegetenv.c: Do not include <bp-sym.h>.
13800         (fegetenv): Do not use BP_SYM in versioned symbols.
13801         * nptl/sysdeps/pthread/bits/libc-lockP.h
13802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13803         <bp-sym.h>.
13804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13805         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13807         (__pthread_mutex_destroy): Likewise.
13808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13809         (__pthread_mutex_lock): Likewise.
13810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13811         (__pthread_mutex_trylock): Likewise.
13812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13813         (__pthread_mutex_unlock): Likewise.
13814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13815         (__pthread_mutexattr_init): Likewise.
13816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13817         (__pthread_mutexattr_destroy): Likewise.
13818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13819         (__pthread_mutexattr_settype): Likewise.
13820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13821         (__pthread_rwlock_init): Likewise.
13822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13823         (__pthread_rwlock_destroy): Likewise.
13824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13825         (__pthread_rwlock_rdlock): Likewise.
13826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13827         (__pthread_rwlock_tryrdlock): Likewise.
13828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13829         (__pthread_rwlock_wrlock): Likewise.
13830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13831         (__pthread_rwlock_trywrlock): Likewise.
13832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13833         (__pthread_rwlock_unlock): Likewise.
13834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13835         (__pthread_key_create): Likewise.
13836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13837         (__pthread_setspecific): Likewise.
13838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13839         (__pthread_getspecific): Likewise.
13840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13841         Likewise.
13842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13843         (_pthread_cleanup_push_defer): Likewise.
13844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13845         (_pthread_cleanup_pop_restore): Likewise.
13846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13847         (pthread_setcancelstate): Likewise.
13848         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13849         <bp-sym.h>.
13850         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13851         (memchr): Do not use BP_SYM in weak_alias.
13852         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13853         (fegetenv): Do not use BP_SYM in versioned symbols.
13854         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13855         (fesetenv): Do not use BP_SYM in versioned symbols.
13856         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13857         (feupdateenv): Do not use BP_SYM in versioned symbols.
13858         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13859         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13860         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13861         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13862         (open64): Do not use BP_SYM in weak_alias.
13863         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13864         (fegetenv): Do not use BP_SYM in versioned symbols.
13865         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13866         (fesetenv): Do not use BP_SYM in versioned symbols.
13867         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13868         (feupdateenv): Do not use BP_SYM in versioned symbols.
13869         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13870         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13871         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13872         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13873         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13874         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13875         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13876         <bp-sym.h>.
13877         (__libc_start_main): Do not use BP_SYM.
13879 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13882         redundant return line.
13883         (norm): Likewise.
13884         (denorm): Likewise.
13885         (dbl_mp): Likewise.
13886         (sub_magnitudes): Likewise.
13887         (__add): Likewise.
13888         (__sub): Likewise.
13889         (__mul): Likewise.
13890         (__inv): Likewise.
13891         (__dvd): Likewise.
13892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13893         (norm): Likewise.
13894         (denorm): Likewise.
13895         (dbl_mp): Likewise.
13896         (sub_magnitudes): Likewise.
13897         (__add): Likewise.
13898         (__sub): Likewise.
13899         (__mul): Likewise.
13900         (__inv): Likewise.
13901         (__dvd): Likewise.
13903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13904         instead of __mul.
13905         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13906         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13907         (cc32): Likewise.
13909         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13910         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13912         of __mul for squares.
13913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13914         function
13915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13916         Likewise.
13917         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13920 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13922         [BZ #13550]
13923         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13924         code.
13925         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13926         prototype or function definition.  Rename ubp_* variables and
13927         parameters.  Remove argv definitions conditional on
13928         [__BOUNDED_POINTERS__].
13929         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13930         * elf/dl-runtime.c (_dl_fixup): Likewise.
13931         * include/set-hooks.h (RUN_HOOK): Likewise.
13932         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13933         definition.
13934         * string/strcpy.c (strcpy): Do not use __unbounded.
13935         * sysdeps/generic/frame.h (struct layout): Likewise.
13936         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13937         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13938         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13939         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13940         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13941         (__backtrace): Likewise.
13942         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13943         use __ptrvalue.
13944         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13945         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13946         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13947         Likewise.
13948         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13949         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13950         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13951         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13952         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13953         Do not use __unbounded.
13954         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13955         Rename __unboundedrlimits parameter to rlimits in prototype.
13956         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13957         Do not use __unbounded.
13958         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13959         not use __ptrvalue.
13960         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13961         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13962         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13963         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13964         __ptrvalue or __unbounded.
13965         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13966         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13967         use __unbounded.
13968         (__new_msgctl): Do not use __ptrvalue.
13969         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13970         __unbounded.
13971         (__libc_msgrcv): Do not use __ptrvalue.
13972         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13973         startup_info): Do not use __unbounded.
13974         (__libc_start_main): Likewise.  Rename ubp_* variables and
13975         parameters.  Remove argv definitions conditional on
13976         [__BOUNDED_POINTERS__].
13977         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13978         __ptrvalue.
13979         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13980         use __unbounded.
13981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13982         or __ptrvalue.
13983         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13984         use __unbounded.
13985         (__new_shmctl): Do not use __ptrvalue.
13986         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13987         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13988         Likewise.
13989         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13991         (__libc_sigaction): Likewise.
13992         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13993         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13994         Likewise.
13995         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13997 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13999         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
14001         * string/mempcpy.c: Implement by calling memcpy.
14003 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
14007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
14008         evaluation.
14010         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
14011         values in the mantissa.
14013         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
14014         minimize writes to Z.
14015         (sub_magnitudes): Simplify code a bit.
14017 2013-02-12  Roland McGrath  <roland@hack.frob.com>
14019         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
14020         from the message.  The linker prefixes all warnings with that already.
14022 2013-02-12  Andreas Schwab  <schwab@suse.de>
14024         [BZ #15078]
14025         * posix/regexec.c (extend_buffers): Add parameter min_len.
14026         (check_matching): Pass minimum needed length.
14027         (clean_state_log_if_needed): Likewise.
14028         (get_subexp): Likewise.
14029         * posix/Makefile (tests): Add bug-regex34.
14030         (bug-regex34-ENV): Define.
14031         * posix/bug-regex34.c: New file.
14033         [BZ #11561]
14034         * posix/regcomp.c (parse_bracket_exp): When looking up collating
14035         elements compare against the byte sequence of it, not its name.
14036         * posix/Makefile (tests): Add bug-regex35.
14037         (bug-regex35-ENV): Define.
14038         * posix/bug-regex35.c: New file.
14040 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14042         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
14043         comment.
14044         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
14045         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
14046         (CHECK_EOL): Add undef.
14048 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
14050         * bits/stdlib-bsearch.h: New file.
14051         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
14052         * stdlib/stdlib.h: Likewise.
14054 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14056         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
14057         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
14058         declaration.
14059         * manual/search.texi (Array Search Function): Add missing const in
14060         lfind prototype.
14061         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
14062         declaration to use rlim_t.
14063         (Basic Scheduling Functions): Remove erroneous const from
14064         sched_getparam prototype.  Remove erroneous * from
14065         sched_get_priority_max and sched_get_priority_min prototypes.
14066         (Resource Usage): Fix summary @comment on vtimes to refer to
14067         sys/vtimes.h rather than vtimes.h.
14068         Add missing *s in vtimes prototype.
14069         (Limits on Resources): Fix ulimit prototype to return long int.
14070         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
14071         prototypes to use long int rather than double.
14072         (BSD Random): Fix initstate and setstate to use char *, not void *.
14073         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
14074         prototype to make second argument 'struct aiocb64 *const[]'.
14075         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
14076         (Status of AIO Operations): Remove erroneous const in aio_return and
14077         aio_return64 prototypes.
14078         (Synchronizing I/O): Fix sync prototype to return void.
14079         * manual/startup.texi (Suboptions): Remove an erroneous const in
14080         getsubopt prototype.
14081         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
14082         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
14083         use size_t rather than int.
14084         (Scanning All Users): Likewise for getpwent_r.
14085         (Setting Groups): Add missing const to setgroups prototype.
14086         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
14087         * manual/socket.texi (Host Names): Fix gethostbyaddr and
14088         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
14089         'const void *' rather than 'const char *'.
14090         (Host Address Functions): Likewise for inet_ntop.
14091         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
14092         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
14093         ssize_t for return value.
14094         (Sending Data): Likewise for send, sendto, sendmsg.
14095         (Socket Option Functions): Add a missing const in setsockopt prototype.
14096         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
14097         use wchar_t for the argument.
14098         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
14099         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
14100         take no arguments.
14101         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
14102         double/float/long double for second argument.
14103         Fix return types of significand, significandf, significandl.
14104         * manual/filesys.texi (Setting Permissions): Use mode_t for second
14105         argument in fchmod prototype.
14106         (File Owner): Use uid_t and gid_t in fchown prototype.
14107         (File Times): Add const to utimes, futimes, and lutimes prototypes.
14108         (Making Special Files): Use mode_t and dev_t in mknod prototype.
14109         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
14110         use 'const struct dirent **' as argument types to CMP function pointer
14111         argument.
14112         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
14113         (File Times): Fix summary magic @comment for struct utimbuf and utime
14114         to refer to utime.h, not time.h.
14115         * manual/string.texi (Argz Functions): Add missing const in
14116         argz_extract and argz_next prototypes.
14117         (Finding Tokens in a String): Likewise for basename.
14118         (String/Array Comparison): Fix typo in wcscasecmp prototype.
14119         (Copying and Concatenation): Fix typo in wmemmove prototype.
14120         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
14121         (Signal Stack): Remove erroneous const in sigstack prototype.
14122         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
14123         prototype.
14124         (Simple Calendar Time): Likewise for stime.
14125         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
14126         prototype.
14127         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
14128         say sys/sysctl.h instead.
14129         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
14130         and vsyslog prototypes.
14132 2013-02-11  Tom de Vries  <tom@codesourcery.com>
14134         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
14135         Remove.
14137 2013-02-11  Roland McGrath  <roland@hack.frob.com>
14139         * misc/sys/mman.h: Fix typo in mremap comment.
14141 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14143         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
14144         the '\0' terminator.
14146 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14148         [BZ #13550]
14149         * debug/segfault.c: Don't include <bp-checks.h>.
14150         * sysdeps/generic/bp-checks.h: Remove file.
14151         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
14152         (__GETDENTS): Don't use CHECK_N.
14153         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
14154         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14155         (__getgroups): Don't use CHECK_N.
14156         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
14157         (setgroups): Don't use CHECK_N.
14158         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
14159         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
14160         (__libc_msgrcv): Don't use CHECK_N.
14161         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
14162         (__libc_msgsnd): Don't use CHECK_N.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
14164         <bp-checks.h>.
14165         (__libc_pread): Don't use CHECK_N.
14166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
14167         include <bp-checks.h>.
14168         (__libc_pread64): Don't use CHECK_N.
14169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
14170         include <bp-checks.h>.
14171         (__libc_pwrite): Don't use CHECK_N.
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
14173         include <bp-checks.h>.
14174         (__libc_pwrite64): Don't use CHECK_N.
14175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
14176         <bp-checks.h>.
14177         (__libc_pread): Don't use CHECK_N.
14178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
14179         include <bp-checks.h>.
14180         (__libc_pread64): Don't use CHECK_N.
14181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
14182         include <bp-checks.h>.
14183         (__libc_pwrite): Don't use CHECK_N.
14184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
14185         include <bp-checks.h>.
14186         (__libc_pwrite64): Don't use CHECK_N.
14187         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
14188         (do_pread): Don't use CHECK_N.
14189         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
14190         (do_pread64): Don't use CHECK_N.
14191         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
14192         (do_pwrite): Don't use CHECK_N.
14193         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
14194         (do_pwrite64): Don't use CHECK_N.
14195         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
14196         (__libc_readv): Don't use CHECK_N.
14197         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
14198         (semop): Don't use CHECK_N.
14199         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
14200         <bp-checks.h>.
14201         (semtimedop): Don't use CHECK_N.
14202         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
14203         (__libc_pread): Don't use CHECK_N.
14204         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
14205         <bp-checks.h>.
14206         (__libc_pread64): Don't use CHECK_N.
14207         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
14208         <bp-checks.h>.
14209         (__libc_pwrite): Don't use CHECK_N.
14210         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
14211         <bp-checks.h>.
14212         (__libc_pwrite64): Don't use CHECK_N.
14213         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
14214         <bp-checks.h>.
14215         (__libc_msgrcv): Don't use CHECK_N.
14216         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
14217         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
14218         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
14219         (__libc_writev): Don't use CHECK_N.
14221 2013-02-08  Roland McGrath  <roland@hack.frob.com>
14223         * string/strcpy.c: Removed unused variable.
14225         * Makeconfig (+sysdep-includes): Define with := rather than =.
14226         Use an existing include/ subdir of each sysdeps dir before it.
14228 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14230         * nscd/connection.c (register_traced_file): Comment function.
14231         [HAVE_INOTIFY] (union __inev): Define.
14232         [HAVE_INOTIFY] (inotify_check_files): New function.
14233         [HAVE_INOTIFY] (clear_db_cache): Likewise.
14234         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
14235         clear_db_cache.
14236         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
14238 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14240         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
14241         loaded if not already and that a failure is permanent.
14243 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
14245         [BZ #15006]
14246         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
14247         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
14249 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
14251         [BZ #13550]
14252         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
14253         (CHECK_1_NULL_OK): Likewise.
14254         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
14255         (__fxstat): Do not use CHECK_1.
14256         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
14257         <bp-checks.h>.
14258         (___fxstat64): Do not use CHECK_1.
14259         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14260         <bp-checks.h>.
14261         (__fxstatat): Do not use CHECK_1.
14262         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14263         <bp-checks.h>.
14264         (__fxstatat64): Do not use CHECK_1.
14265         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
14266         <bp-checks.h>.
14267         (__fxstat): Do not use CHECK_1.
14268         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14269         <bp-checks.h>.
14270         (__fxstatat): Do not use CHECK_1.
14271         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
14272         <bp-checks.h>.
14273         (__getresgid): Do not use CHECK_1.
14274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
14275         <bp-checks.h>.
14276         (__getresuid): Do not use CHECK_1.
14277         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
14278         <bp-checks.h>.
14279         (__lxstat): Do not use CHECK_1.
14280         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
14281         <bp-checks.h>.
14282         (__old_msgctl): Do not use CHECK_1.
14283         (__new_msgctl): Likewise.
14284         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
14285         <bp-checks.h>.
14286         (__new_setrlimit): Do not use CHECK_1.
14287         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
14288         <bp-checks.h>.
14289         (__old_shmctl): Do not use CHECK_1.
14290         (__new_shmctl): Likewise.
14291         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
14292         <bp-checks.h>.
14293         (__xstat): Do not use CHECK_1.
14294         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
14295         (__lxstat): Do not use CHECK_1.
14296         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
14297         <bp-checks.h>.
14298         (___lxstat64): Do not use CHECK_1.
14299         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
14300         (__old_msgctl): Do not use CHECK_1.
14301         (__new_msgctl): Likewise.
14302         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
14303         <bp-checks.h>.
14304         (__gettimeofday): Do not use CHECK_1.
14305         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
14306         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
14307         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
14308         <bp-checks.h>.
14309         (__gettimeofday): Do not use CHECK_1.
14310         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
14311         (__old_shmctl): Do not use CHECK_1_NULL_OK.
14312         (__new_shmctl): Do not use CHECK_1.
14313         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
14314         <bp-checks.h>.
14315         (do_sigtimedwait): Do not use CHECK_1.
14316         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
14317         <bp-checks.h>.
14318         (do_sigwaitinfo): Do not use CHECK_1.
14319         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
14320         <bp-checks.h>.
14321         (msgctl): Do not use CHECK_1.
14322         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
14323         <bp-checks.h>.
14324         (shmctl): Do not use CHECK_1.
14325         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
14326         (ustat): Do not use CHECK_1.
14327         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
14328         <bp-checks.h>.
14329         (__fxstat): Do not use CHECK_1.
14330         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14331         <bp-checks.h>.
14332         (__fxstatat): Do not use CHECK_1.
14333         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
14334         <bp-checks.h>.
14335         (__lxstat): Do not use CHECK_1.
14336         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
14337         <bp-checks.h>.
14338         (__xstat): Do not use CHECK_1.
14339         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
14340         (__xstat): Do not use CHECK_1.
14341         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
14342         (___xstat64): Do not use CHECK_1.
14344         [BZ #13550]
14345         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
14346         definitions.
14347         (CHECK_BOUNDS_HIGH): Likewise.
14348         * string/strcpy.c: Do not include <bp-checks.h>.
14349         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
14351 2013-02-07  Roland McGrath  <roland@hack.frob.com>
14353         * nscd/nscd-client.h (__nscd_drop_map_ref):
14354         Add __attribute__ ((unused)).
14355         * nis/nss-nisplus.h (niserr2nss): Likewise.
14357         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
14358         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
14360         * csu/libc-tls.c (init_static_tls, init_slotinfo):
14361         Remove inline keyword.
14362         * include/rounding-mode.h (round_away): Likewise.
14363         * libio/wfileops.c (adjust_wide_data): Likewise.
14364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
14365         (__m128i_strloadu_tolower): Likewise.
14366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
14367         (__m128i_strloadu_tolower): Likewise.
14368         * time/mktime.c (ydhms_diff): Likewise.
14369         * locale/elem-hash.h (elem_hash): Likewise.
14370         * locale/setlocale.c (setdata): Likewise.
14371         * posix/regex_internal.h (re_string_char_size_at): Likewise.
14372         (re_string_wchar_at): Likewise.
14373         (bitset_not, bitset_merge, bitset_mask): Likewise.
14374         [!(__GNUC__ > 3)] (inline): Remove macro.
14375         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
14376         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
14377         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14378         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
14379         * string/memcmp.c (memcmp_bytes): Likewise.
14380         * locale/programs/locarchive.c (compute_hashval): Likewise.
14381         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
14382         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
14383         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
14384         * nss/getent.c (print_rpc, print_protocols): Likewise.
14385         (print_passwd, print_group, print_aliases): Likewise.
14386         * nis/nss-nisplus.h (niserr2nss): Likewise.
14387         * nscd/connections.c (restart_p): Likewise.
14388         Change return type to bool.
14390 2013-02-05  Roland McGrath  <roland@hack.frob.com>
14392         * Makeconfig (all-Depend-files): Add existing
14393         $(sorted-subdirs:=/Depend) files.
14394         (all-subdirs): Remove nss.
14395         * sysdeps/unix/inet/Subdirs: Add it here instead.
14396         * hesiod/Depend: New file.
14398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
14399         instead of calling alloca.
14401         * io/lseek.c (__lseek): Rename to __libc_lseek.
14402         Define __lseek as an alias.
14404         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
14406 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
14408         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
14409         else clause and remove check for non-standard endianness.
14411 2013-02-04  David S. Miller  <davem@davemloft.net>
14413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14415 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
14417         [BZ #13550]
14418         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
14419         (__ubp_memchr): Remove prototype.
14420         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
14421         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14422         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
14423         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
14424         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
14425         Remove alias.
14426         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
14427         (__ubp_memchr): Likewise.
14428         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
14429         (__ubp_memchr): Likewise.
14430         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
14431         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
14432         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
14433         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
14434         CHECK_STRING.
14435         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14436         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
14437         (__getcwd): Do not use CHECK_STRING.
14438         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
14439         <bp-checks.h>.
14440         (__real_chown): Do not use CHECK_STRING.
14441         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
14442         <bp-checks.h>.
14443         (fchownat): Do not use CHECK_STRING.
14444         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
14445         CHECK_STRING.
14446         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
14447         <bp-checks.h>.
14448         (__lchown): Do not use CHECK_STRING.
14449         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14450         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14451         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14452         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
14454         include <bp-checks.h>.
14455         (truncate64): Do not use CHECK_STRING.
14456         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
14457         <bp-checks.h>.
14458         (__real_chown): Do not use CHECK_STRING.
14459         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
14460         <bp-checks.h>.
14461         (__lchown): Do not use CHECK_STRING.
14462         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14463         <bp-checks.h>.
14464         (__chown): Do not use CHECK_STRING.
14465         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14466         <bp-checks.h>.
14467         (truncate64): Do not use CHECK_STRING.
14468         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14469         Likewise.
14470         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14471         (__xmknod): Do not use CHECK_STRING.
14472         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14473         <bp-checks.h>.
14474         (__xmknodat): Do not use CHECK_STRING.
14475         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14476         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14478 2013-02-04  Andreas Schwab  <schwab@suse.de>
14480         [BZ #14142]
14481         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14482         * include/netdb.h: Likewise for h_errno.
14483         * elf/tst-stackguard1.c: Include <tls.h>.
14485 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14487         * elf/link.h (struct link_map): Extend the l_addr comment.
14488         * include/link.h (struct link_map): Likewise.
14490 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14492         [BZ #13550]
14493         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14494         (BOUNDED_1): Remove macro.
14495         * debug/backtrace.c: Don't include <bp-checks.h>.
14496         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14497         (__backtrace): Likewise.
14498         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14499         <bp-checks.h>.
14500         (__backtrace): Don't use BOUNDED_1.
14501         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14502         <bp-checks.h>.
14503         (__backtrace): Don't use BOUNDED_1.
14504         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14505         (__backtrace): Don't use BOUNDED_1.
14506         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14507         (shmat): Don't use BOUNDED_N.
14509 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14511         [BZ #13550]
14512         * sysdeps/generic/bp-start.h: Remove file.
14513         * csu/libc-start.c: Don't include <bp-start.h>.
14514         (LIBC_START_MAIN): Set up __environ directly instead of using
14515         INIT_ARGV_and_ENVIRON.
14516         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14517         <bp-start.h>.
14519         [BZ #13550]
14520         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14521         definitions.
14522         (CHECK_FCNTL): Likewise.
14523         (CHECK_N_PAGES): Likewise.
14525         [BZ #13550]
14526         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14527         definitions.
14528         (CHECK_SIGSET_NULL_OK): Likewise.
14529         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14530         <bp-checks.h>.
14531         (sigpending): Don't use CHECK_SIGSET.
14532         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14533         <bp-checks.h>.
14534         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14535         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14536         <bp-checks.h>.
14537         (do_sigsuspend): Don't use CHECK_SIGSET.
14538         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14539         use CHECK_SIGSET.
14540         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14541         (do_sigwait): Don't use CHECK_SIGSET.
14542         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14543         use CHECK_SIGSET.
14544         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14545         include <bp-checks.h>.
14546         (sigpending): Don't use CHECK_SIGSET.
14547         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14548         include <bp-checks.h>.
14549         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14550         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14551         <bp-checks.h>.
14552         (sigpending): Don't use CHECK_SIGSET.
14553         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14554         <bp-checks.h>.
14555         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14557         [BZ #13550]
14558         * sysdeps/generic/bp-semctl.h: Remove file.
14559         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14560         <bp-checks.h> and <bp-semctl.h>.
14561         (__old_semctl): Don't use CHECK_SEMCTL.
14562         (__new_semctl): Likewise.
14563         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14564         and <bp-semctl.h>.
14565         (__old_semctl): Don't use CHECK_SEMCTL.
14566         (__new_semctl): Likewise.
14567         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14568         <bp-checks.h> and <bp-semctl.h>.
14569         (__old_semctl): Don't use CHECK_SEMCTL.
14570         (__new_semctl): Likewise.
14571         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14572         <bp-checks.h> and <bp-semctl.h>.
14573         (semctl): Don't use CHECK_SEMCTL.
14575         [BZ #13550]
14576         * Makerules (elide-bp-thunks): Remove variable.
14577         (elide-routines.oS): Don't use $(elide-bp-thunks).
14578         (elide-routines.os): Likewise.
14579         (elide-routines.o): Likewise.
14580         (elide-routines.op): Likewise.
14581         (elide-routines.og): Likewise.
14582         (objects): Don't use $(bp-thunks).
14583         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14584         include.
14585         (common-generated): Do not add s-proto-bp.d.
14586         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14587         (int): Likewise.
14588         (typ): Likewise.
14589         Do not generate makefile rules for bounded-pointer thunks.
14590         * sysdeps/generic/bp-thunks.h: Remove file.
14591         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14592         * sysdeps/unix/s-proto-bp.S: Likewise.
14594         [BZ #15062]
14595         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14596         parts of result separately when argument is not close to line from
14597         -i to i and one part of argument is small.
14598         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14599         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14600         * math/libm-test.inc (cacos_test): Add more tests.
14601         (casin_test): Likewise.
14602         (casinh_test): Likewise.
14603         * sysdeps/i386/fpu/libm-test-ulps: Update.
14604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14606 2013-01-31  David S. Miller  <davem@davemloft.net>
14608         * po/de.po: Update from translation team.
14610 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14612         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14614 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14616         * configure.in (_AC_PROG_CC_C89): New definition.
14617         * configure: Regenerate.
14619         * configure.in (AC_PROG_CPP): New definition.
14620         * configure: Regenerate.
14622 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14624         * debug/tst-backtrace.h: New file.
14625         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14626         (ret): Remove variable.
14627         (x): Likewise.
14628         (FAIL): Remove macro.
14629         (NO_INLINE): Likewise.
14630         (fn1): Use match function instead of strstr.
14631         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14632         (ret): Remove variable.
14633         (x): Likewise.
14634         (FAIL): Remove macro.
14635         (NO_INLINE): Likewise.
14636         (fn): Use match function instead of strstr.
14637         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14638         (ret): Remove variable.
14639         (x): Likewise.
14640         (FAIL): Remove macro.
14641         (NO_INLINE): Likewise.
14642         (handle_signal): Use match function instead of strstr.
14643         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14644         (ret): Remove variable.
14645         (x): Likewise.
14646         (FAIL): Remove macro.
14647         (NO_INLINE): Likewise.
14648         (handle_signal): Use match function instead of strstr.
14650 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14652         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14654 2013-01-23  David S. Miller  <davem@davemloft.net>
14656         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14657         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14658         argument of CAS if possible.
14659         * sysdeps/sparc/sparc64/bits/atomic.h
14660         (__arch_compare_and_exchange_val_32_acq): Likewise.
14661         (__arch_compare_and_exchange_val_64_acq): Likewise.
14663 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14665         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14666         * sysdeps/posix/ulimit.c: ... this.
14667         Include <limits.h>.
14668         * sysdeps/unix/bsd/ulimit.c: Remove file.
14670 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14672         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14673         (LDFLAGS-tst-array5): Likewise.
14675 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14677         [BZ #15036]
14678         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14679         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14680         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14681         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14683 2013-01-21  David S. Miller  <davem@davemloft.net>
14685         * sysdeps/sparc/backtrace.c: New file.
14686         * sysdeps/sparc/sparc32/backtrace.h: New file.
14687         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14688         * sysdeps/sparc/sparc64/backtrace.h: New file.
14689         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14690         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14691         -funwind-tables.
14693 2013-01-21  Andreas Schwab  <schwab@suse.de>
14695         [BZ #15020]
14696         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14697         closed its stdout.
14699 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14702         "mpa2.h".
14703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14705 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14706             Mark Mitchell  <mark@codesourcery.com>
14707             Tom de Vries  <tom@codesourcery.com>
14708             Paul Pluzhnikov  <ppluzhnikov@google.com>
14710         * debug/tst-backtrace2.c: New file.
14711         * debug/tst-backtrace3.c: Likewise.
14712         * debug/tst-backtrace4.c: Likewise.
14713         * debug/tst-backtrace5.c: Likewise.
14714         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14715         (CFLAGS-tst-backtrace3.c): Likewise.
14716         (CFLAGS-tst-backtrace4.c): Likewise.
14717         (CFLAGS-tst-backtrace5.c): Likewise.
14718         (LDFLAGS-tst-backtrace2): Likewise.
14719         (LDFLAGS-tst-backtrace3): Likewise.
14720         (LDFLAGS-tst-backtrace4): Likewise.
14721         (LDFLAGS-tst-backtrace5): Likewise.
14722         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14723         tst-backtrace4 and tst-backtrace5.
14725 2013-01-18  Anton Blanchard  <anton@samba.org>
14726             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14728         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14729         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14730         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14731         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14733         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14734         "+r" and remove output regs list as redundant.  Add explicit inline
14735         asm to specify register of return val to work around compiler codegen
14736         bug.  Remove (int) cast on return value.  Add return type parameter to
14737         use in macro so that this macro does not truncate return value for
14738         64-bit values.
14739         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14740         pass to INTERNAL_VSYSCALL_NCS.
14741         (INLINE_VSYSCALL): Add 'long int' as return type to
14742         INTERNAL_VSYSCALL_NCS macro invocation.
14743         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14744         INTERNAL_VSYSCALL_NCS macro invocation.
14745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14747 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14749         [BZ #14496]
14750         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14751         Fix application of SIMD FP exception mask.
14753         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14754         mp_no from a power of two.
14755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14756         __mpexp_twomm1.  Use __pow_mp.
14758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14759         multiplication.
14761 2013-01-17  David S. Miller  <davem@davemloft.net>
14763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14765 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14767         [BZ #15023]
14768         * include/complex.h: Condition contents on [!_COMPLEX_H].
14769         (__kernel_casinhf): New prototype.
14770         (__kernel_casinh): Likewise.
14771         (__kernel_casinhl): Likewise.
14772         * math/Makefile (libm_calls): Add k_casinh.
14773         * math/k_casinh.c: New file.
14774         * math/k_casinhf.c: Likewise.
14775         * math/k_casinhl.c: Likewise.
14776         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14777         finite nonzero arguments.
14778         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14779         finite nonzero arguments.
14780         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14781         finite nonzero arguments.
14782         * math/s_casinh.c: Do not include <float.h>.
14783         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14784         * math/s_casinhf.c: Do not include <float.h>.
14785         (__casinhf): Move code for finite nonzero arguments to
14786         k_casinhf.c.
14787         * math/s_casinhl.c: Do not include <float.h>.
14788         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14789         redefine.
14790         (__casinhl): Move code for finite nonzero arguments to
14791         k_casinhl.c.
14792         * math/libm-test.inc (cacos_test): Add more tests.
14793         * sysdeps/i386/fpu/libm-test-ulps: Update.
14794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14796 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14798         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14799         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14800         [!HAVE_MREMAP]: Remove [defined linux] case.
14801         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14803 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14805         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14807 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14809         * elf/elf.h (R_386_SIZE32): New relocation.
14810         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14811         R_386_SIZE32.
14812         (elf_machine_rela): Likewise.
14813         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14814         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14816 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14818         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14819         (FP_FAST_FMA): Do not define.
14820         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14821         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14822         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14823         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14824         !_SOFT_FLOAT]: Likewise.
14825         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14826         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14827         value.
14828         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14829         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14830         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14831         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14832         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14833         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14834         file.
14836 2013-01-16  Andreas Schwab  <schwab@suse.de>
14838         [BZ #14327]
14839         * include/stdlib.h (__mktemp): Add declaration.
14840         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14841         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14843 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14845         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14846         definitions.
14847         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14848         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14849         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14850         definitions here.
14851         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14852         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14853         definitions.
14854         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14855         and ONE.
14856         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14857         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14858         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14859         definitions.
14860         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14861         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14862         definitions.
14863         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14865         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14867 2013-01-15  David S. Miller  <davem@davemloft.net>
14869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14870         trunc{,f} to libm-sysdep_routes.
14871         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14873         file.
14874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14876         file.
14877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14878         file.
14879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14881         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14882         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14883         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14884         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14885         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14886         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14889         nearbyint{,f} to libm-sysdep_routes.
14890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14892         New file.
14893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14894         file.
14895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14896         New file.
14897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14898         file.
14899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14902         file.
14903         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14905         file.
14906         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14907         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14908         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14910         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14911         libc_feholdexcept and libc_fesetenv.
14913 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14915         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14917 2013-01-14  David S. Miller  <davem@davemloft.net>
14919         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14920         (SPARC_ASM_VIS2_IFUNC): Likewise.
14921         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14923         use of 'siam' instruction.
14924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14925         Likewise.
14926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14927         Likewise.
14928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14929         Likewise.
14930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14935         file.
14936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14937         file.
14938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14939         file.
14940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14941         file.
14942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14947         new VIS2 routines.
14948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14951         Likewise.
14952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14957         routines to libm-sysdep_routines.
14958         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14961         fdim/fdimf to libm-sysdep_routines.
14962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14963         file.
14964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14966         file.
14967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14970         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14971         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14972         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14973         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14975 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14977         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14978         to optimize copies.
14980         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14985         local variable MPTWO.
14986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14987         Likewise.
14989 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14991         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14992         GLOB_NOESCAPE.
14994 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14996         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14998 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
15000         * manual/pattern.texi (glob_t): Document gl_flags.
15001         (glob64_t): Likewise.
15003 2013-01-11  David S. Miller  <davem@davemloft.net>
15005         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
15006         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
15007         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
15008         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
15009         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
15010         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
15011         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
15012         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
15013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
15014         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
15015         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
15016         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
15017         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
15019         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15020         sparc V9 rather than using V8 code.
15021         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15022         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15024         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
15025         Move to...
15026         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
15027         Here.
15029 2013-01-11  Roland McGrath  <roland@hack.frob.com>
15031         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
15032         not in the main loop.
15033         * configure: Regenerated.
15035 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
15037         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
15038         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
15039         to just #else.
15040         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
15041         [!__GLIBC_HAVE_LONG_LONG] case.
15042         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
15043         condition to just #else.
15044         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
15045         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
15046         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
15047         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
15048         unconditional.
15049         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
15050         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15051         #elif condition to just #else.
15052         * sysdeps/unix/sysv/linux/sys/sysmacros.h
15053         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
15054         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
15055         #elif condition to just #else.
15057 2013-01-11  Steve Ellcey  <sellcey@mips.com>
15059         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
15060         (EF_MIPS_ARCH_64): Fix value.
15061         (EF_MIPS_ARCH_32R2): New.
15062         (EF_MIPS_ARCH_64R2): New.
15064 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
15066         * Makeconfig (+link-pie-before-libc): New.
15067         (+link-pie-after-libc): Likewise.
15068         (+link-pie-tests): Likewise.
15069         (+link-pie): Rewritten.
15070         (link-before-libc): Remove $(config-LDFLAGS).
15071         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
15072         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
15073         (config-LDFLAGS): Renamed to ...
15074         (rtld-LDFLAGS): This.
15075         (rtld-tests-LDFLAGS): New macro.
15076         (link-libc-rpath-link): Likewise.
15077         (link-libc-tests-rpath-link): Likewise.
15078         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
15079         (link-libc): Prepand $(link-libc-rpath-link).
15080         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
15081         (test-program-prefix): New macro.
15082         (test-via-rtld-prefix): Likewise.
15083         (test-program-cmd): Likewise.
15084         (host-test-program-cmd): Likewise.
15085         * Makefile ($(common-objpfx)testrun.sh): Replace
15086         $(run-program-prefix) with $(test-program-prefix).
15087         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
15088         $(rtld-LDFLAGS).
15089         ($(common-objpfx)shlib.lds): Likewise.
15090         (build-module-helper): Likewise.
15091         ($(common-objpfx)format.lds): Likewise.
15092         * Rules (binaries-pie-tests): New.
15093         (binaries-pie-notests): Likewise.
15094         (binaries-pie): Rewritten.
15095         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
15096         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
15097         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
15098         (make-test-out): Replace $(host-built-program-cmd) with
15099         $(host-test-program-cmd).
15100         * config.make.in (build-hardcoded-path-in-tests): New variable.
15101         * configure.in (--enable-hardcoded-path-in-tests): New configure
15102         option.
15103         (hardcoded_path_in_tests): New AC_SUBST.
15104         * configure: Regenerated.
15105         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
15106         $(built-program-cmd) with $(test-program-cmd).
15107         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
15108         (test_program_cmd): This.
15109         * elf/Makefile ($(objpfx)order.out): Run test with
15110         $(test-program-prefix).
15111         ($(objpfx)order2.out): Likewise.
15112         ($(objpfx)tst-initorder.out): Likewise.
15113         ($(objpfx)tst-initorder2.out): Likewise.
15114         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
15115         $(test-program-cmd).
15116         ($(objpfx)tst-array1-static.out): Likewise.
15117         ($(objpfx)tst-array2.out): Likewise.
15118         ($(objpfx)tst-array3.out): Likewise.
15119         ($(objpfx)tst-array4.out): Likewise.
15120         ($(objpfx)tst-array5.out): Likewise.
15121         ($(objpfx)tst-array5-static.out): Likewise.
15122         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
15123         $(test-program-cmd).
15124         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
15125         $(run-program-prefix) with $(test-program-prefix).
15126         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
15127         (test_program_prefix): This.
15128         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
15129         $(run-program-prefix) with $(test-program-prefix).
15130         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
15131         (test_program_prefix): This.
15132         * iconvdata/tst-tables.sh: Likewise.
15133         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
15134         $(run-program-prefix) with $(test-program-prefix).
15135         ($(objpfx)tst-translit.out): Likewise.
15136         ($(objpfx)tst-gettext2.out): Likewise.
15137         ($(objpfx)tst-gettext4.out): Likewise.
15138         ($(objpfx)tst-gettext6.out): Likewise.
15139         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
15140         (test_program_prefix): This.
15141         * intl/tst-gettext2.sh: Likewise.
15142         * intl/tst-gettext4.sh  Likewise.
15143         * intl/tst-gettext6.sh: Likewise.
15144         * intl/tst-translit.sh: Likewise.
15145         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
15146         with $(test-program-cmd).
15147         * libio/Makefile ($(objpfx)test-freopen.out): Replace
15148         $(run-program-prefix) with $(test-program-prefix).
15149         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
15150         (test_program_prefix): This.
15151         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
15152         $(run-program-prefix) with $(test-program-prefix).
15153         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
15154         (test_program_prefix): This.
15155         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
15156         * posix/Makefile ($(objpfx)globtest.out): Replace
15157         $(run-via-rtld-prefix) and $(test-wrapper) with
15158         $(test-program-prefix) and $(test-via-rtld-prefix).
15159         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
15160         $(test-program-prefix).
15161         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
15162         $(host-test-program-cmd).
15163         (tst-spawn-ARGS): Likewise.
15164         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
15165         $(test-program-prefix).
15166         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
15167         (test_via_rtld_prefix): This.
15168         (test_wrapper): Renamed to ...
15169         (test_program_prefix): This.
15170         (run_program_prefix): Replaced by test_program_prefix.
15171         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
15172         (test_program_prefix): This.
15173         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
15174         with $(host-test-program-cmd).
15175         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
15176         $(run-program-prefix) with $(test-program-prefix).
15177         ($(objpfx)tst-printf.out): Likewise.
15178         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
15179         $(test-program-cmd).
15180         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
15181         (test_program_prefix): This.
15182         * stdio-common/tst-unbputc.sh: Likewise.
15183         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
15184         $(run-program-prefix) with $(test-program-prefix).
15185         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
15186         (test_program_prefix): This.
15187         * string/Makefile ($(objpfx)tst-svc.out):  Replace
15188         $(built-program-cmd) with $(test-program-cmd).
15190 2013-01-11  Andreas Jaeger  <aj@suse.de>
15192         [BZ #15003]
15193         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
15194         value. Sync with Linux 3.7.
15196 2013-01-10  David S. Miller  <davem@davemloft.net>
15198         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
15199         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15200         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15202 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15204         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
15205         never set.
15206         * configure: Regenerated.
15208 2013-01-10  David S. Miller  <davem@davemloft.net>
15210         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
15211         sparc V9 rather than using V8 code.
15212         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
15213         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
15215 2013-01-10  Roland McGrath  <roland@hack.frob.com>
15217         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
15218         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
15219         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
15220         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
15221         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
15222         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
15223         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
15224         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
15225         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
15226         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
15227         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
15228         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15229         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
15230         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
15231         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
15232         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
15233         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
15234         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
15235         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
15236         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
15237         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
15238         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
15239         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
15240         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
15241         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
15242         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
15243         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
15245 2013-01-10  David S. Miller  <davem@davemloft.net>
15247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15249 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15251         * posix/Makefile (tests-static): New variable.
15252         (tests): Add $(tests-static).
15253         (tst-exec-static-ARGS): New variable.
15254         (tst-spawn-static-ARGS): Likewise.
15255         * posix/tst-exec-static.c: New file.
15256         * posix/tst-spawn-static.c: Likewise.
15257         * posix/tst-exec.c: Support run directly.
15258         * posix/tst-spawn.c: Likewise.
15260 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
15262         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
15263         long.
15264         * math/bits/mathcalls.h (llrint): Likewise.
15265         (llround): Likewise.
15266         * stdlib/stdlib.h (struct drand48_data): Likewise.
15267         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
15268         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
15269         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
15270         Likewise.
15271         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
15272         Likewise.
15273         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
15274         (elf_greg_t): Likewise.
15275         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
15276         (__jmp_buf): Likewise.
15277         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
15278         definitions.
15279         (llrint): Likewise, for all definitions.
15280         (llrintl): Likewise.
15282         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
15283         Remove [__GNUC__] condition.
15284         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
15285         condition to just [__USE_ISOC99].
15286         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
15288 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
15290         [BZ #14200]
15291         * sysdeps/unix/sysv/linux/x86/bits/environments.h
15292         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
15293         defined.
15294         (_POSIX_V6_ILP32_OFF32): Likewise.
15295         (_XBS5_ILP32_OFF32): Likewise.
15296         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
15297         (__ILP32_OFFBIG_LDFLAGS): Likewise.
15299 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15301         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
15303         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
15304         doubles __mpexp_twomm1.  Adjust usage.
15305         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
15306         Remove.
15308 2013-01-10  Andreas Schwab  <schwab@suse.de>
15310         [BZ #14964]
15311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
15312         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
15314 2013-01-09  David S. Miller  <davem@davemloft.net>
15316         [BZ #15003]
15317         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
15318         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
15319         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
15320         TCP_FASTOPEN): Define.
15321         (tcp_repair_opt): New structure.
15322         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
15323         enum values.
15324         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
15325         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
15326         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
15327         (tcp_cookie_transactions): New structure.
15329 2013-01-09  Anton Blanchard  <anton@samba.org>
15331         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
15332         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
15333         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
15334         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15336 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
15338         * include/features.h (__USE_ANSI): Remove.
15340 2013-01-09  Roland McGrath  <roland@hack.frob.com>
15342         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
15344         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
15346 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15348         * sysdeps/s390/fpu/libm-test-ulps: Update.
15350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15352         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
15353         (__acr): Likewise.
15354         (__cpy): Likewise.
15355         (norm): Likewise.
15356         (denorm): Likewise.
15357         (__mp_dbl): Likewise.
15358         (__dbl_mp): Likewise.
15359         (add_magnitudes): Likewise.
15360         (sub_magnitudes): Likewise.
15361         (__add): Likewise.
15362         (__sub): Likewise.
15363         (__mul): Likewise.
15364         (__inv): Likewise.
15365         (__dvd): Likewise.
15366         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
15367         (__acr): Likewise.
15368         (__cpy): Likewise.
15369         (norm): Likewise.
15370         (denorm): Likewise.
15371         (__mp_dbl): Likewise.
15372         (__dbl_mp): Likewise.
15373         (add_magnitudes): Likewise.
15374         (sub_magnitudes): Likewise.
15375         (__add): Likewise.
15376         (__sub): Likewise.
15377         (__mul): Likewise.
15378         (__inv): Likewise.
15379         (__dvd): Likewise.
15380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
15381         (__acr): Likewise.
15382         (__cpy): Likewise.
15383         (norm): Likewise.
15384         (denorm): Likewise.
15385         (__mp_dbl): Likewise.
15386         (__dbl_mp): Likewise.
15387         (add_magnitudes): Likewise.
15388         (sub_magnitudes): Likewise.
15389         (__add): Likewise.
15390         (__sub): Likewise.
15391         (__mul): Likewise.
15392         (__inv): Likewise.
15393         (__dvd): Likewise.
15395 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
15397         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
15398         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
15399         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
15400         2 && __USE_EXTERN_INLINES]: Likewise.
15402 2013-01-08  Andreas Jaeger  <aj@suse.de>
15404         [BZ# 14985]
15405         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
15406         Remove.
15407         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15408         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
15410 2013-01-07  Anton Blanchard  <anton@samba.org>
15412         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
15413         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15414         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
15415         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15416         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15417         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15418         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
15419         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15421         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15422         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15424         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15425         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15426         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
15427         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15428         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15429         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15430         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15431         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15432         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15433         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
15434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15435         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
15436         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
15437         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15438         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
15439         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
15441         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15442         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
15443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15445         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15446         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15447         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15448         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15450         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
15451         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15452         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
15453         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15454         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15456 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
15458         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
15459         (__MALLOC_PMT): Likewise.
15460         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15461         [__GNUC__], only on [_LIBC].
15462         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15463         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15464         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15465         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15466         forward declaration.
15467         (realloc_hook_ini): Likewise.
15468         (memalign_hook_ini): Likewise.
15469         (__libc_memalign): Do not use __MALLOC_PMT in variable
15470         declaration.
15471         (__libc_valloc): Likewise.
15472         (__libc_pvalloc): Likewise.
15473         (__libc_calloc): Likewise.
15474         (__posix_memalign): Likewise.
15476         [BZ #14996]
15477         * math/s_casinh.c: Include <float.h>.
15478         (__casinh): Do not do computation with squaring and square root
15479         for large arguments.
15480         * math/s_casinhf.c: Include <float.h>.
15481         (__casinhf): Do not do computation with squaring and square root
15482         for large arguments.
15483         * math/s_casinhl.c: Include <float.h>.
15484         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15485         (__casinhl): Do not do computation with squaring and square root
15486         for large arguments.
15487         * math/libm-test.inc (casin_test): Add more tests.
15488         (casinh_test): Likewise.
15489         * sysdeps/i386/fpu/libm-test-ulps: Update.
15490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15492 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15494         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15495         (__x86_64_raw_data_cache_size): Likewise.
15496         (__x86_64_data_cache_size_half): Likewise.
15497         (__x86_64_raw_data_cache_size_half): Likewise.
15498         (__x86_64_shared_cache_size): Likewise.
15499         (__x86_64_raw_shared_cache_size): Likewise.
15500         (__x86_64_shared_cache_size_half): Likewise.
15501         (__x86_64_raw_shared_cache_size_half): Likewise.
15502         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15503         to ...
15504         (__x86_data_cache_size): This.
15505         (__x86_64_raw_data_cache_size): Renamed to ...
15506         (__x86_raw_data_cache_size): This.
15507         (__x86_64_data_cache_size_half): Renamed to ...
15508         (__x86_data_cache_size_half): This.
15509         (__x86_64_raw_data_cache_size_half): Renamed to ...
15510         (__x86_raw_data_cache_size_half): This.
15511         (__x86_64_shared_cache_size): Renamed to ...
15512         (__x86_shared_cache_size): This.
15513         (__x86_64_raw_shared_cache_size): Renamed to ...
15514         (__x86_raw_shared_cache_size): This.
15515         (__x86_64_shared_cache_size_half): Renamed to ...
15516         (__x86_shared_cache_size_half): This.
15517         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15518         (__x86_raw_shared_cache_size_half): This.
15519         * sysdeps/x86_64/memcpy.S: Updated.
15520         * sysdeps/x86_64/memset.S: Likewise.
15521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15522         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15523         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15525 2013-01-04  David S. Miller  <davem@davemloft.net>
15527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15529 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15531         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15532         1 to avoid redefinition warning.
15533         (__USE_GNU): Don't define.
15534         (init_signaling_nan): Protoize.
15536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15538 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15540         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15541         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15542         (__cpymn): Likewise.
15543         (norm): Remove commented code.
15544         (denorm): Likewise.
15545         (__mp_dbl): Likewise.
15546         (__inv): Likewise.
15547         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15548         (__cpymn): Likewise.
15549         (norm): Remove commented code.
15550         (denorm): Likewise.
15551         (__mp_dbl): Likewise.
15552         (__inv): Likewise.
15554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15555         mp_no value for 1.0 and 2.0.
15556         (norm): Use RADIXI instead of radixi.d.
15557         (denorm): Likewise.
15558         (__mul): Use 0.0 instead of zero.d.
15559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15560         mp_no value for 1.0 and 2.0.
15561         (norm): Use RADIXI instead of radixi.d.
15562         (denorm): Likewise.
15563         (__mul): Use 0.0 instead of zero.d.
15565 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15567         [BZ #14994]
15568         * math/s_casinh.c (__casinh): Reduce finite argument to first
15569         quadrant then set signs of results at the end.
15570         * math/s_casinhf.c (__casinhf): Likewise.
15571         * math/s_casinhl.c (__casinhl): Likewise.
15572         * math/libm-test.inc (casin_test): Add more tests.
15573         (casinh_test): Likewise.
15574         * sysdeps/i386/fpu/libm-test-ulps: Update.
15575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15577 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15579         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15581         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15583         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15584         declarations.
15585         (denorm): Likewise.
15586         (__mp_dbl): Likewise.
15587         (__inv): Likewise.
15589         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15590         and adjust the header comment.
15592         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15593         variable name from declaration.
15595 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15597         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15598         Initialize COMMON_CPUID_INDEX_7 element.
15599         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15600         (CPUID_RTM): Likewise.
15601         (HAS_RTM): Likewise.
15602         (COMMON_CPUID_INDEX_7): New enum.
15604 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15606         [BZ #14981]
15607         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15608         size is zero, record memory as freed.
15610 2013-01-03  Andreas Jaeger  <aj@suse.de>
15612         * po/ia.po: Add new Interlingua translation.
15614 2012-01-03  Allan McRae  <allan@archlinux.org>
15616         * locale/programs/localedef.c: Fix description of '--posix' flag.
15618 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15620         * NEWS: Update dates in second copyright notice.
15621         * README: Update copyright dates in example.
15622         * manual/libc.texinfo: Update copyright dates.
15623         * scripts/test-installation.pl: Update copyright date in --version
15624         output.
15626         * hurd/ctty-input.c: Fix copyright notice formatting.
15627         * hurd/ctty-output.c: Likewise.
15628         * hurd/dtable.c: Likewise.
15629         * hurd/hurd-raise.c: Likewise.
15630         * hurd/hurdprio.c: Likewise.
15631         * hurd/msgportdemux.c: Likewise.
15632         * misc/sys/file.h: Likewise.
15633         * misc/sys/ioctl.h: Likewise.
15634         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15635         * sysdeps/mach/hurd/chdir.c: Likewise.
15636         * sysdeps/mach/hurd/fchdir.c: Likewise.
15637         * sysdeps/mach/hurd/rename.c: Likewise.
15638         * sysdeps/mach/hurd/rmdir.c: Likewise.
15639         * sysdeps/mach/hurd/seekdir.c: Likewise.
15640         * sysdeps/mach/hurd/setsid.c: Likewise.
15641         * sysdeps/posix/wait3.c: Likewise.
15643         * All files with FSF copyright notices: Update copyright dates
15644         using scripts/update-copyrights.
15645         * intl/plural.c: Regenerated.
15646         * locale/programs/charmap-kw.h: Likewise.
15647         * locale/programs/locfile-kw.h: Likewise.
15649 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15651         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15652         four values.
15654         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15655         calculation loop and add branch prediction.
15657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15658         check access beyond bounds of m1np.
15660         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15661         MPTWO.
15662         (__inv): Remove local variable MPTWO to use the global
15663         constant.
15664         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15665         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15666         variable MPTWO.
15667         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15668         MP3HALFS static const.
15670 2013-01-01  David S. Miller  <davem@davemloft.net>
15672         * po/ca.po: Update from translation team.
15674 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15676         * scripts/update-copyrights: New file.
15677         * Makeconfig: Reformat copyright notice.
15678         * ctype/ctype.h: Likewise.
15679         * debug/swprintf_chk.c: Likewise.
15680         * elf/dl-cache.c: Likewise.
15681         * elf/dl-debug.c: Likewise.
15682         * elf/dl-object.c: Likewise.
15683         * grp/initgroups.c: Likewise.
15684         * hurd/Makefile: Likewise.
15685         * hurd/hurd/signal.h: Likewise.
15686         * hurd/hurdfault.c: Likewise.
15687         * hurd/hurdioctl.c: Likewise.
15688         * hurd/hurdlookup.c: Likewise.
15689         * hurd/intr-msg.c: Likewise.
15690         * iconv/gconv_open.c: Likewise.
15691         * libio/swprintf.c: Likewise.
15692         * locale/lc-ctype.c: Likewise.
15693         * locale/nl_langinfo.c: Likewise.
15694         * mach/Machrules: Likewise.
15695         * mach/Makefile: Likewise.
15696         * malloc/obstack.h: Likewise.
15697         * manual/Makefile: Likewise.
15698         * manual/tsort.awk: Likewise.
15699         * misc/bits/stab.def: Likewise.
15700         * nis/nis_print_group_entry.c: Likewise.
15701         * nis/nis_table.c: Likewise.
15702         * nis/nss_compat/compat-pwd.c: Likewise.
15703         * nis/nss_compat/compat-spwd.c: Likewise.
15704         * po/Makefile: Likewise.
15705         * posix/fnmatch.c: Likewise.
15706         * posix/regex.h: Likewise.
15707         * resolv/Makefile: Likewise.
15708         * resolv/nss_dns/dns-network.c: Likewise.
15709         * resolv/res_hconf.c: Likewise.
15710         * scripts/gen-sorted.awk: Likewise.
15711         * soft-fp/soft-fp.h: Likewise.
15712         * stdio-common/printf.h: Likewise.
15713         * stdlib/monetary.h: Likewise.
15714         * stdlib/random.c: Likewise.
15715         * stdlib/random_r.c: Likewise.
15716         * sysdeps/generic/Makefile: Likewise.
15717         * sysdeps/gnu/Makefile: Likewise.
15718         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15720         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15722         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15725         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15726         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15727         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15728         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15729         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15730         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15731         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15732         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15733         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15734         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15735         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15736         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15737         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15738         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15739         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15740         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15741         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15742         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15743         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15744         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15745         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15746         * sysdeps/mach/hurd/errnos.awk: Likewise.
15747         * sysdeps/mach/hurd/fork.c: Likewise.
15748         * sysdeps/mach/hurd/getcwd.c: Likewise.
15749         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15750         * sysdeps/mach/hurd/mmap.c: Likewise.
15751         * sysdeps/mach/hurd/utimes.c: Likewise.
15752         * sysdeps/mach/hurd/xmknod.c: Likewise.
15753         * sysdeps/posix/profil.c: Likewise.
15754         * sysdeps/posix/readdir_r.c: Likewise.
15755         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15756         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15757         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15758         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15760         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15761         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15762         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15763         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15764         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15765         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15766         * sysdeps/pthread/lio_listio.c: Likewise.
15767         * sysdeps/sparc/dl-procinfo.h: Likewise.
15768         * sysdeps/unix/i386/sysdep.S: Likewise.
15769         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15770         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15771         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15772         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15774         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15775         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15776         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15777         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15778         * sysdeps/wordsize-32/divdi3.c: Likewise.
15779         * time/sys/time.h: Likewise.
15780         * wcsmbs/Makefile: Likewise.
15782 2013-01-01  David S. Miller  <davem@davemloft.net>
15784         * po/fr.po: Update from translation team.
15786         * catgets/gencat.c: Update copyright year.
15787         * csu/version.c: Likewise.
15788         * debug/catchsegv.sh: Likewise.
15789         * debug/pcprofiledump.c: Likewise.
15790         * debug/xtrace.sh: Likewise.
15791         * elf/ldconfig.c: Likewise.
15792         * elf/ldd.bash.in: Likewise.
15793         * elf/pldd.c: Likewise.
15794         * elf/sotruss.ksh: Likewise.
15795         * elf/sprof.c: Likewise.
15796         * iconv/iconv_prog.c: Likewise.
15797         * iconv/iconvconfig.c: Likewise.
15798         * locale/programs/locale.c: Likewise.
15799         * locale/programs/localedef.c: Likewise.
15800         * login/programs/pt_chown.c: Likewise.
15801         * malloc/memusage.sh: Likewise.
15802         * malloc/memusagestat.c: Likewise.
15803         * malloc/mtrace.pl: Likewise.
15804         * nscd/nscd.c: Likewise.
15805         * nss/getent.c: Likewise.
15806         * nss/makedb.c: Likewise.
15807         * posix/getconf.c: Likewise.
15809 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15811         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15812         numbers.
15814 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15816         * math/bits/mathcalls.h (modf): Use __nonnull.
15818 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15820         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15821         (split): Use macro CN instead of the bare value.
15822         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15823         could be used.
15824         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15825         instead of the bare value.
15826         (power1): Likewise.
15828 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15830         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15831         __ATAN_TWOM.
15832         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15834         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15835         their values.
15836         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15837         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15838         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15839         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15841 2012-12-28  Andreas Jaeger  <aj@suse.de>
15843         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15844         values are from Linux 3.7.
15846         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15847         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15849 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15851         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15852         TRUE case.
15854         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15855         (norm): Likewise.
15856         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15857         variables with preprocessor constants.
15858         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15859         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15860         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15862 2012-12-27  Bruno Haible  <bruno@clisp.org>
15864         [BZ #14317]
15865         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15866         only if needed.
15868 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15871         and use variable directly.
15872         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15874         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15875         MPONE.
15876         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15877         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15878         variable MPONE.
15879         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15881         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15882         include directive.  Remove local variable MPONE.
15883         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15884         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15885         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15887 2012-12-25  David S. Miller  <davem@davemloft.net>
15889         * version.h (RELEASE): Set to "development".
15890         (VERSION): Set to "2.17.90".
15891         * NEWS: Add 2.18 section.
15893 2012-12-21  David S. Miller  <davem@davemloft.net>
15895         * po/hr.po: Update from translation team.
15897 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15899         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15901 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15903         * NEWS:  Mention new memcpy for MIPS.
15905 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15907         * manual/contrib.texi (Contributors): Spelling correction.
15909 2012-12-15  David S. Miller  <davem@davemloft.net>
15911         * po/ru.po: Update from translation team.
15913 2012-12-13  David S. Miller  <davem@davemloft.net>
15915         * NEWS: Mention IFUNC testsuite enhancements.
15917         * po/pl.po: Update from translation team.
15918         * po/bg.po: Likewise.
15920         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15921         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15923 2012-12-11  David S. Miller  <davem@davemloft.net>
15925         * po/sv.po: Update from translation team.
15927         * po/vi.po: Update from translation team.
15929         * po/cs.po: Update from translation team.
15931         * po/de.po: Update from translation team.
15932         * po/eo.po: Likewise.
15933         * po/nl.po: Likewise.
15935 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15937         [BZ #14246]
15938         * manual/argp.texi (Argp Helper Functions): Move node to follow
15939         Argp Parsing State.
15941         [BZ #14872]
15942         * manual/conf.texi (Limits on File System Capacity): Mention if
15943         terminating null is included in the max size.
15945 2012-12-10  Andreas Jaeger  <aj@suse.de>
15947         * po/cs.po: Update from translation team.
15949 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15951         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15952         void pointer and cast to uintptr_t.
15953         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15954         path.
15955         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15956         * sysdeps/s390/s390-64/memset.S: Likewise.
15958 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15960         [BZ #14833]
15961         * menual/message.texi (Message Translation): Fix typos.
15962         (Helper programs for gettext): Likewise.
15964 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15966         [BZ #14898]
15967         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15968         Change to -1.
15970 2012-12-07  David S. Miller  <davem@davemloft.net>
15972         * po/libc.pot: Update.
15974 2012-12-07  Richard Henderson  <rth@redhat.com>
15976         [BZ #10114]
15977         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15978         normal/normal case to before the switch.
15979         (_FP_DIV): Likewise.
15981 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15982             Mike Frysinger  <vapier@gentoo.org>
15984         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15985         check for __NR_fadvise64_64.
15987 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15989         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15990         0, not just to plain "0" as a statement.
15991         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15992         with cw.
15994 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15996         * NEWS: Use sourceware.org in Bugzilla URL.
15998 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16001         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16003         * stdio-common/tst-put-error.c (do_test): Add newline to the
16004         padded test to ensure flush.
16006 2012-12-05  Jeff Law  <law@redhat.com>
16008         * sunrpc/etc.rpc (fedfs_admin): Add entry.
16010 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
16012         * README: Don't refer to ports add-on as distributed separately.
16013         Mention AArch64 in list of systems supported in the ports add-on.
16015         * LICENSES: Add more non-FSF copyright and license notices.
16017         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
16018         ((unused)).
16020         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
16022         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
16023         10000 as width of padded output.
16025 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16027         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
16029         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
16030         variable LX with __attribute__ ((unused)).
16031         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16032         Likewise.
16033         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16034         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16035         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
16036         with __attribute__ ((unused)).
16038 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
16040         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
16042 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
16044         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
16045         (CFLAGS-nldbl-acos.c): New variable.
16046         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
16047         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
16048         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
16049         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
16050         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
16051         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
16052         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
16053         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
16054         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
16055         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
16056         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
16057         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
16058         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
16059         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
16060         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
16061         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
16062         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
16063         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
16064         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
16065         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
16066         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
16067         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
16068         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
16069         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
16070         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
16071         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
16072         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
16073         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
16074         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
16075         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
16076         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
16077         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
16078         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
16079         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
16080         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
16081         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
16082         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
16083         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
16084         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
16085         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
16086         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
16087         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
16088         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
16089         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
16090         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
16091         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
16092         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
16093         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
16094         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
16095         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
16096         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
16097         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
16098         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
16099         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
16100         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
16101         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
16102         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
16103         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
16104         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
16105         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
16106         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
16107         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
16108         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
16109         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
16110         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
16111         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
16112         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
16113         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
16114         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
16115         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
16116         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
16117         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
16118         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
16119         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
16120         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
16121         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
16122         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
16123         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
16124         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
16125         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
16126         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
16127         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
16128         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
16129         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
16130         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
16131         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
16132         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
16133         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
16134         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
16135         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
16136         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
16137         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
16138         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
16139         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
16140         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
16141         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
16142         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16145         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
16147         [BZ #14914]
16148         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
16149         whole low double instead of just low 47 bits when splitting values
16150         into two parts.
16152 2012-12-03  Allan McRae  <allan@archlinux.org>
16154         * manual/stdio.texi (Predefined Printf Handlers): Remove
16155         @hsep and @vsep usage.
16157 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
16159         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
16160         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
16162 2012-12-03  Jeff Law  <law@redhat.com>
16164         * time/sys/time.h (settimeofday): Do not mark TV argument
16165         as __nonnull.
16167 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
16169         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
16170         when currently writing and seek to current position when not.
16171         * libio/Makefile (tests): Remove bug-fclose1.
16172         * libio/bug-fclose1.c: Delete.
16174 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
16176         * manual/arith.texi (feenableexcept): Fix typo.
16177         (fedisableexcept): Likewise.
16179 2012-11-30  Roland McGrath  <roland@hack.frob.com>
16181         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
16182         second, differently-typed declaration, rather than a cast.
16184 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16186         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
16187         * include/rpc/svc.h: ... here.
16189 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
16191         [BZ #13013]
16192         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
16193         depending n and resplen2 to catch cases where answer
16194         equals answerp2.
16196 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
16198         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
16199         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
16201 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
16203         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
16205 2012-11-29  Roland McGrath  <roland@hack.frob.com>
16207         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
16209 2012-11-28  Jeff Law  <law@redhat.com>
16211         [BZ #13761]
16212         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
16213         dataset_temporary.  Track alloca usage into alloca_used.
16214         If dataset is large allocate and release it via malloc/free.
16216 2012-06-04  Florian Weimer  <fweimer@redhat.com>
16218         [BZ #14197]
16219         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
16221 2012-11-28  David S. Miller  <davem@davemloft.net>
16223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16225 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16227         [BZ #14803]
16228         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
16229         of pi/2 rounded to nearest to 64 bits.
16230         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
16231         nearest to 64 bits.
16232         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
16233         bits.
16235 2012-11-28  Jeff Law <law@redhat.com>
16236             Martin Osvald <mosvald@redhat.com>
16238         [BZ #14889]
16239         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
16240         * sunrpc/svc.c: Include time.h.
16241         (__svc_accept_failed): New function.
16242         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
16243         any reason other than EINTR, call __svc_accept_failed.
16244         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
16245         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
16247 2012-11-28  Andreas Schwab  <schwab@suse.de>
16249         * scripts/abilist.awk: Also handle indirect functions in .opd
16250         section.
16252 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
16254         [BZ #13881]
16255         * sysdeps/x86/fpu/powl_helper.c: New file.
16256         * sysdeps/x86/fpu/Makefile: Likewise.
16257         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
16258         (p3): New object.
16259         (__ieee754_powl): Use __powl_helper for finite arguments except
16260         integer exponents below 8.
16261         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
16262         (p3): New object.
16263         (__ieee754_powl): Use __powl_helper for finite arguments except
16264         integer exponents below 8.
16265         * math/libm-test.inc (pow_test): Add more tests and enable some
16266         previously disabled tests.
16267         * sysdeps/i386/fpu/libm-test-ulps: Update.
16268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16270 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
16271             Carlos O'Donell  <carlos_odonell@mentor.com>
16273         * nss/makedb.c (is_prime): Assert that input is odd and greater
16274         than 4.  Note that fact in a comment too.
16275         (next_prime): Add 4 to input.
16277 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16279         [BZ #11741]
16280         * libio/Makefile (tests): Add test case tst-fwrite-error.
16281         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
16282         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16283         * libio/tst-fwrite-error.c: New test case.
16285 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
16287         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
16288         before casting to void *.
16289         * include/libc-internal.h (__pointer_type): New macro.
16290         (__integer_if_pointer_type_sub): Likewise.
16291         (__integer_if_pointer_type): Likewise.
16292         (cast_to_integer): Likewise.
16293         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
16294         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
16295         before casting to atomic64_t.
16296         (atomic_exchange_acq): Likewise.
16297         (__arch_exchange_and_add_body): Likewise.
16298         (__arch_add_body): Likewise.
16299         (atomic_add_negative): Likewise.
16300         (atomic_add_zero): Likewise.
16302 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
16304         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
16305         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
16306         (add_fdes): Likewise.
16307         (linear_search_fdes): Likewise.
16308         (binary_search_unencoded_fdes): Likewise.
16310 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
16312         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
16314 2012-11-24  Adam Conrad  <adconrad@0c3.net>
16316         * configure.in: Autodetect C++ header directories.
16317         * configure: Regenerated.
16319 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
16321         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
16323 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
16325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16327 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
16329         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
16330         LDBL_MANT_DIG == 106]: Disable some tests.
16331         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16332         Likewise.
16333         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
16334         Likewise.
16336         [BZ #14871]
16337         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
16338         input for small inputs.  Return +/- pi/2 for large inputs.
16339         * math/libm-test.inc (atan_test): Add more tests.
16341         * sysdeps/generic/unwind-dw2-fde-glibc.c
16342         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
16343         __attribute__ ((unused)).
16345         [BZ #14645]
16346         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
16347         x * y if x and y are nonzero and z is zero.
16349         [BZ #14811]
16350         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
16351         nonzero exponents with absolute value below 0x1p-117 to +/-
16352         0x1p-117.
16354         [BZ #14869]
16355         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
16356         up arguments below 2**-450, not just those below 2**-500.
16357         * math/libm-test.inc (hypot_test): Add another test.
16359         [BZ #14868]
16360         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16361         Return a+b for ratio over 2**120, not 2**60.
16362         * math/libm-test.inc (hypot_test): Add another test.
16364         * math/libm-test.inc (clog_test): Use
16365         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
16366         (clog10_test): Likewise.
16368         [BZ #6778]
16369         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
16371 2012-11-22  Andreas Schwab  <schwab@suse.de>
16373         * sysdeps/i386/fpu/libm-test-ulps: Update.
16375 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
16377         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
16378         printf output with newline.
16380 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
16382         [BZ #14865]
16383         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
16384         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
16385         -z nodlopen, -z initfirst and -z execstack support.
16386         * configure: Regenerated.
16388         * elf/elf.h (DF_1_NODIRECT): New macro.
16389         (DF_1_IGNMULDEF): Likewise.
16390         (DF_1_NOKSYMS): Likewise.
16391         (DF_1_NOHDR): Likewise.
16392         (DF_1_EDITED): Likewise.
16393         (DF_1_NORELOC): Likewise.
16394         (DF_1_SYMINTPOSE): Likewise.
16395         (DF_1_GLOBAUDIT): Likewise.
16396         (DF_1_SINGLETON): Likewise.
16397         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
16398         DT_1_SUPPORTED_MASK bits.
16399         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
16401 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
16403         * sysdeps/unix/make-syscalls.sh: Document prefixes.
16405 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
16407         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
16408         macro.
16410         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
16411         (sendmmsg): Move declarations...
16412         * socket/sys/socket.h: ... here.
16413         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
16414         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
16415         include it from...
16416         * socket/recvmmsg.c: ... this new file.
16417         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
16418         (sendmmsg): Rename to __sendmmsg, create weak alias and make
16419         definition of __sendmmsg hidden.
16420         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
16421         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
16422         Move ENOSYS stub into and include it from...
16423         * socket/sendmmsg.c: ... this new file.
16424         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
16425         (sysdep_routines): Move recvmmsg and sendmmsg...
16426         * socket/Makefile (routines): ... here.
16427         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
16428         (GLIBC_PRIVATE): Add __sendmmsg.
16429         * include/sys/socket.h (__sendmmsg): Add declarations.
16430         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
16431         sendmmsg.
16433 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
16435         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
16436         variable I1 with __attribute__ ((unused)).
16437         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
16439 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16441         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
16442         DUMMY variables with __attribute__ ((unused)).
16444         * bits/byteswap.h: Include <bits/types.h>.
16445         (__bswap_64): Use __uint64_t instead of unsigned long long int.
16447 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16449         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
16450         string_t.  Do not manually set errno.
16451         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
16452         length with __strnlen.  Make sure to both set errno and return it on
16453         failure.
16455 2012-11-19  David S. Miller  <davem@davemloft.net>
16457         With help from Joseph Myers.
16458         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
16459         very large arguments properly.
16460         * math/libm-test.inc (atan_test): New tests.
16461         (atan2_test): New tests.
16462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16465 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16467         [BZ #14856]
16468         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16469         Define to 3.
16471         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16472         [POSIX] (EADDRNOTAVAIL): Likewise.
16473         [POSIX] (EAFNOSUPPORT): Likewise.
16474         [POSIX] (EALREADY): Likewise.
16475         [POSIX] (ECONNABORTED): Likewise.
16476         [POSIX] (ECONNREFUSED): Likewise.
16477         [POSIX] (ECONNRESET): Likewise.
16478         [POSIX] (EDESTADDRREQ): Likewise.
16479         [POSIX] (EDQUOT): Likewise.
16480         [POSIX] (EHOSTUNREACH): Likewise.
16481         [POSIX] (EIDRM): Likewise.
16482         [POSIX] (EISCONN): Likewise.
16483         [POSIX] (ELOOP): Likewise.
16484         [POSIX] (EMULTIHOP): Likewise.
16485         [POSIX] (ENETDOWN): Likewise.
16486         [POSIX] (ENETUNREACH): Likewise.
16487         [POSIX] (ENOBUFS): Likewise.
16488         [POSIX] (ENODATA): Likewise.
16489         [POSIX] (ENOLINK): Likewise.
16490         [POSIX] (ENOMSG): Likewise.
16491         [POSIX] (ENOPROTOOPT): Likewise.
16492         [POSIX] (ENOSR): Likewise.
16493         [POSIX] (ENOSTR): Likewise.
16494         [POSIX] (ENOTCONN): Likewise.
16495         [POSIX] (ENOTSOCK): Likewise.
16496         [POSIX] (EOPNOTSUPP): Likewise.
16497         [POSIX] (EOVERFLOW): Likewise.
16498         [POSIX] (EPROTO): Likewise.
16499         [POSIX] (EPROTONOSUPPORT): Likewise.
16500         [POSIX] (EPROTOTYPE): Likewise.
16501         [POSIX] (ESTALE): Likewise.
16502         [POSIX] (ETIME): Likewise.
16503         [POSIX] (ETXTBSY): Likewise.
16504         [POSIX] (EWOULDBLOCK): Likewise.
16505         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16506         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16507         [POSIX] (SEEK_CUR): Likewise.
16508         [POSIX] (SEEK_END): Likewise.
16509         [POSIX || UNIX98] (mode_t): Do not require.
16510         [POSIX] (off_t): Likewise.
16511         [POSIX] (pid_t): Likewise.
16512         [POSIX] (sys/stat.h): Do not allow header.
16513         [POSIX] (unistd.h): Likewise.
16514         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16515         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16516         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16517         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16518         require.
16519         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16520         sigevent): Specify elements.
16521         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16522         entry.
16523         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16524         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16526         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16527         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16528         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16529         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16530         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16531         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16532         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16533         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16534         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16535         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16536         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16537         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16538         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16539         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16540         Likewise.
16541         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16542         Likewise.
16543         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16544         Likewise.
16545         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16546         Likewise.
16547         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16548         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16549         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16550         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16551         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16552         Specify lower bound on value.
16553         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16554         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16555         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16556         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16557         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16558         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16559         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16560         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16561         value.
16562         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16563         as optional.
16564         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16565         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16566         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16567         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16568         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16569         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16570         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16571         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16572         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16573         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16574         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16575         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16576         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16577         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16578         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16579         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16580         entry.
16581         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16582         optional.
16583         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16584         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16585         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16586         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16587         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16588         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16589         Likewise.
16590         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16591         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16592         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16593         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16594         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16595         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16596         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16597         as optional.
16598         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16599         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16600         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16601         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16602         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16603         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16604         specify as optional.
16605         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16606         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16607         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16608         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16609         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16610         [XPG3] (NL_LANGMAX): Likewise.
16611         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16612         [POSIX || XPG3] (NL_NMAX): Likewise.
16613         [POSIX || XPG3] (NL_SETMAX): Likewise.
16614         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16615         [XPG3] (NZERO): Likewise.
16616         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16617         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16618         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16619         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16620         (REG_ERANGE): Expect.
16621         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16622         optional-constant.
16623         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16624         Use (void) in prototype.
16625         [POSIX] (*_t): Allow.
16626         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16627         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16628         (WRDE_BADVAL): Expect.
16630         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16631         expect.
16632         [XPG3 || XPG4] (O_RSYNC): Likewise.
16633         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16634         Likewise.
16635         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16636         [XPG3 || XPG4] (sigqueue): Likewise.
16637         [XPG3 || XPG4] (sigtimedwait): Likewise.
16638         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16639         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16640         [XPG3 || XPG4] (vsnprintf): Likewise.
16641         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16642         Likewise.
16643         [XPG3 || XPG4] (blksize_t): Likewise.
16644         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16645         Likewise.
16646         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16647         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16648         [XPG3 || XPG4] (struct itimerspec): Likewise.
16649         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16650         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16651         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16652         [XPG3 || XPG4] (clockid_t): Likewise.
16653         [XPG3 || XPG4] (timer_t): Likewise.
16654         [XPG3 || XPG4] (clock_getres): Likewise.
16655         [XPG3 || XPG4] (clock_gettime): Likewise.
16656         [XPG3 || XPG4] (clock_settime): Likewise.
16657         [XPG3 || XPG4] (nanosleep): Likewise.
16658         [XPG3 || XPG4] (timer_create): Likewise.
16659         [XPG3 || XPG4] (timer_delete): Likewise.
16660         [XPG3 || XPG4] (timer_gettime): Likewise.
16661         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16662         [XPG3 || XPG4] (timer_settime): Likewise.
16663         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16664         [XPG3 || XPG4] (getlogin_r): Likewise.
16665         [XPG3 || XPG4] (pread): Likewise.
16666         [XPG3 || XPG4] (pthread_atfork): Likewise.
16667         [XPG3 || XPG4] (pwrite): Likewise.
16669         [BZ #14835]
16670         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16671         <bits/siginfo.h>.
16673 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16675         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16676         finalizing MALLSTREAM.
16678         * sysdeps/mach/hurd/syncfs.c: New file.
16680 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16682         [BZ #14719]
16683         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16684         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16685         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16686         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16687         (_nss_dns_gethostbyname4_r): Likewise.
16688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16689         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16691 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16693         [BZ #13763]
16694         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16696 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16698         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16699         * elf/cache.c (print_entry): Print ",AArch64" for
16700         FLAG_AARCH64_LIB64
16702         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16703         * elf/cache.c (print_entry): Print ",hard-float" for
16704         FLAG_ARM_LIBHF.
16706 2012-11-18  David S. Miller  <davem@davemloft.net>
16708         With help from Joseph Myers.
16709         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16710         cutoff to 2**-13.
16711         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16712         cutoff to 2**-25.
16713         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16714         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16715         small.
16716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16717         * math/libm-test.inc (y0_test): New tests.
16718         (y1_test): New tests.
16719         * sysdeps/i386/fpu/libm-test-ulps: Update.
16720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16723 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16725         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16726         64-bit targets.
16727         * configure: Regenerated.
16729 2012-11-17  David S. Miller  <davem@davemloft.net>
16731         [BZ #14811]
16732         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16733         nonzero exponents with absolute value below 0x1p-128 to +/-
16734         0x1p-128.
16736 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16738         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16740         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16742         * posix/getconf-speclist.c: New file.
16743         * posix/posix-envs.def: Likewise.
16744         * posix/confstr.c (START_ENV_GROUP): New macro.
16745         (END_ENV_GROUP): Likewise.
16746         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16747         (KNOWN_PRESENT_ENV_STRING): Likewise.
16748         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16749         (UNKNOWN_ENVIRONMENT): Likewise.
16750         (confstr): Include posix-envs.def instead of handling
16751         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16752         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16753         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16754         (END_ENV_GROUP): Likewise.
16755         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16756         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16757         (UNKNOWN_ENVIRONMENT): Likewise.
16758         (__sysconf): Include posix-envs.def instead of handling associated
16759         cases directly here.
16760         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16761         preprocessing getconf-speclist.c rather than running getconf or
16762         generating empty file.
16764 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16766         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16768 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16770         [BZ #14672]
16771         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16773 2012-11-16  David S. Miller  <davem@davemloft.net>
16775         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16776         smaller than LDBL_EPSILON/2.0L, just return xm1.
16778 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16780         * elf/tst-array1.c (init): Set constructor priority to 1000.
16781         (fini): Set destructor priority to 1000.
16782         * elf/tst-array2dep.c: Likewise.
16784 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16786         [BZ #11741]
16787         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16788         (_IO_new_file_xsputn): Also return EOF if none of the input
16789         data was written when overflow failed.
16790         * libio/iopadn.c (_IO_padn): Likewise.
16791         * libio/iowpadn.c (_IO_wpadn): Likewise.
16792         * stdio-common/tst-put-error.c: Add copyright notice.
16793         (do_test): Add case for printing padded string.
16794         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16795         _IO_padn returned error.
16796         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16797         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16798         return EOF.
16800 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16802         * libio/libioP.h: Add comment note that the references to C++
16803         bits are now obsolete.
16805 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16807         * math/libm-test.inc (check_complex): Use asprintf.
16809 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16811         * debug/pcprofiledump.c (print_version): Update copyright year.
16812         * malloc/memusagestat.c (print_version): Likewise.
16814 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16816         [BZ #14831]
16817         * elf/Makefile (tests): Add tst-audit8.
16818         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16819         ($(objpfx)tst-audit8.out): New target.
16820         (tst-audit8-ENV): New variable.
16821         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16822         audit if l_reloc_result is NULL.
16823         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16824         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16825         * elf/tst-audit8.c: New file.
16827 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16829         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16830         * misc/Makefile (CFLAGS-select.c): Define.
16831         * posix/Makefile (CFLAGS-pause.c): Define.
16833 2012-11-13  David S. Miller  <davem@davemloft.net>
16835         * crypt/Makefile: Move test targets after toplevel Rules
16836         inclusion.  Grab any necessary sysdep routines when linking.
16837         * crypt/md5.c (md5_process_block): Remove define, we will always
16838         name it __md5_process_block.
16839         (md5_finish_ctx): Update md5_process_block call.
16840         (md5_stream): Likewise.
16841         (md5_process_bytes): Likewise.
16842         (md5_process_block): Rename to __md5_process_block and move to ...
16843         * crypt/md5-block.c: ... here.
16844         * crypt/sha256.c (sha256_process_block): Move to ...
16845         * crypt/sha256-block.c: ... here.
16846         * crypt/sha512.c (sha512_process_block): Move to ...
16847         * crypt/sha512-block.c: ... here.
16848         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16849         path.
16850         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16851         * sysdeps/sparc/sparc64/multiarch/Makefile
16852         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16853         crypt subdir.
16854         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16855         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16856         multiarch changes.
16857         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16858         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16859         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16860         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16861         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16862         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16863         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16864         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16865         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16866         file.
16867         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16868         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16869         file.
16870         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16872 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16874         * timezone/tzselect.ksh: Update from tzcode git revision
16875         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16876         * timezone/zdump.c: Likewise.
16877         * timezone/zic.c: Likewise.
16878         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16879         in TZVERSION setting, not $(PKGVERSION).
16880         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16881         REPORT_BUGS_TO settings.
16883         [BZ #14838]
16884         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16885         macro.
16887 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16889         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16890         detection to immediately after _FP_ROUND().
16891         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16892         bits are 0.
16894 2012-11-11  David S. Miller  <davem@davemloft.net>
16896         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16897         inttypes.h
16898         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16899         __close rather than their public counterparts.
16901 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16903         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16904         file.
16905         [UNIX98] (sem_timedwait): Do not expect.
16906         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16907         [XPG4 || UNIX98] (sockatmark): Do not expect.
16908         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16909         (clock_getcpuclockid): Do not expect.
16910         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16911         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16912         Do not expect.
16913         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16914         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16915         [UNIX98] (vwscanf): Likewise.
16916         [UNIX98] (vswscanf): Likewise.
16918 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16920         * timezone/version.h: Remove file.
16921         * timezone/README: Do not refer to version.h.
16922         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16923         $(objpfx)version.h.
16924         ($(objpfx)zdump.o): Likewise.
16925         ($(objpfx)version.h): New target.
16927         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16928         2012i.
16929         * timezone/README: Don't mention modification to tzselect.ksh.
16930         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16931         work on unmodified tzselect.ksh.  Substitute version numbers in
16932         tzselect.ksh.
16934         * Makefile (format-me): Remove.
16935         (INSTALL): Adjust indentation.  Use commands directly instead of
16936         using $(format-me).
16938         * aclocal.m4 (ACX_PKGVERSION): New macro.
16939         (ACX_BUGURL): Likewise.
16940         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16941         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16942         (REPORT_BUGS_TO): Likewise.
16943         * configure: Regenerated.
16944         * config.h.in (PKGVERSION): New macro.
16945         (REPORT_BUGS_TO): Likewise.
16946         * config.make.in (PKGVERSION): New variable.
16947         (PKGVERSION_TEXI): Likewise.
16948         (REPORT_BUGS_TO): Likewise.
16949         (REPORT_BUGS_TEXI): Likewise.
16950         * Makefile (format-me): Use -I$(common-objpfx)manual.
16951         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16952         ($(common-objpfx)manual/%): New target.
16953         (manual/%): Remove target.
16954         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16955         (print_version): Use PKGVERSION.
16956         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16957         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16958         and REPORT_BUGS_TO.
16959         ($(objpfx)xtrace): Likewise.
16960         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16961         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16962         (print_version): Use PKGVERSION.
16963         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16964         (do_version): Use PKGVERSION.
16965         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16966         REPORT_BUGS_TO.
16967         (common-ldd-rewrite): Likewise.
16968         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16969         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16970         (print_version): Use PKGVERSION.
16971         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16972         * elf/pldd.c (argp_program_bug_address): Remove variable.
16973         (more_help): New function.
16974         (argp): Use more_help.
16975         (print_version): Use PKGVERSION.
16976         * elf/sln.c (main): Use PKGVERSION.
16977         (usage): Use REPORT_BUGS_TO.
16978         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16979         (top level): Use PKGVERSION.
16980         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16981         (print_version): Use PKGVERSION.
16982         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16983         (print_version): Use PKGVERSION.
16984         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16985         (print_version): Use PKGVERSION.
16986         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16987         (print_version): Use PKGVERSION.
16988         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16989         (print_version): Use PKGVERSION.
16990         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16991         (print_version): Use PKGVERSION.
16992         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16993         and BUGURL.
16994         ($(objpfx)memusage): Likewise.
16995         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16996         (do_version): Use PKGVERSION.
16997         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16998         (print_version): Use PKGVERSION.
16999         * malloc/mtrace.pl ($PACKAGE): Remove variable.
17000         ($PKGVERSION): New variable.
17001         ($REPORT_BUGS_TO): Likewise.
17002         (usage): Use $REPORT_BUGS_TO.
17003         (top level): Use $PKGVERSION.
17004         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
17005         ($(objpfx)pkgvers.texi): New rule.
17006         ($(objpfx)stamp-pkgvers): Likewise.
17007         * manual/install.texi: Include pkgvers.texi.
17008         (--with-pkgversion): Document new configure option.
17009         (--with-bugurl): Likewise.
17010         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
17011         than necessarily for this particular distribution.  Use
17012         REPORT_BUGS_TO for where to report bugs.
17013         * INSTALL: Regenerated.
17014         * manual/libc.texinfo: Include pkgvers.texi.
17015         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
17016         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
17017         (print_version): Use PKGVERSION.
17018         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
17019         (print_version): Use PKGVERSION.
17020         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
17021         (print_version): Use PKGVERSION.
17022         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
17023         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
17024         macro.
17025         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
17026         (print_version): Use PKGVERSION.
17027         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
17028         (print_version): Use PKGVERSION.
17029         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
17030         and PKGVERSION.
17032         * timezone/checktab.awk: Update from tzcode 2012i.
17033         * timezone/ialloc.c: Likewise.
17034         * timezone/private.h: Likewise.
17035         * timezone/scheck.c: Likewise.
17036         * timezone/tzfile.h: Likewise.
17037         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
17038         (TZVERSION): Hardcode tzcode version number.
17039         * timezone/zdump.c: Update from tzcode 2012i.
17040         * timezone/zic.c: Likewise.
17041         * timezone/version.h: New file.
17042         * timezone/README: Describe version.h.  Update upstream location.
17044         [BZ #14824]
17045         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
17046         (mktemp): Enable declaration.
17047         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
17048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
17049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
17050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
17051         Likewise.
17052         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
17053         Likewise.
17054         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
17055         Likewise.
17056         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
17057         Likewise.
17058         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
17059         Likewise.
17060         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
17061         Likewise.
17063         [BZ #14821]
17064         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
17065         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
17066         for copies of such integer values.
17067         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17068         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17070 2012-11-09  Andreas Jaeger  <aj@suse.de>
17072         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
17073         definitions and declarations that are provided by
17074         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17076 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17078         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
17079         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
17080         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
17081         definition.
17083 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17085         * elf/elf.h: Update comment before AArch64 relocations.
17087 2012-11-07  David S. Miller  <davem@davemloft.net>
17089         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
17090         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17091         (__start_context): Declare.
17092         (__makecontext_ret): Delete.
17093         (__makecontext): Hook up __start_context instead of
17094         __makecontext_ret.
17095         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
17096         (sysdep_routines): Add __start_context when in stdlib.
17098 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17100         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
17101         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
17102         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
17103         hardcoded "nm".
17104         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
17105         (READELF): New variable.  Use it instead of hardcoded "readelf".
17107 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
17109         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
17110         * sysdeps/x86/Makefile: Here.
17111         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
17112         * sysdeps/x86/tst-xmmymm.sh: This.
17114 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17116         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
17117         expectations.
17118         [UNIX98] (pthread_barrier_t): Do not expect.
17119         [UNIX98] (pthread_barrierattr_t): Likewise.
17120         [UNIX98] (pthread_spinlock_t): Likewise.
17121         [UNIX98] (pthread_barrier_destroy): Likewise.
17122         [UNIX98] (pthread_barrier_init): Likewise.
17123         [UNIX98] (pthread_barrier_wait): Likewise.
17124         [UNIX98] (pthread_barrierattr_destroy): Likewise.
17125         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
17126         [UNIX98] (pthread_barrierattr_init): Likewise.
17127         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
17128         [UNIX98] (pthread_getcpuclockid): Likewise.
17129         [UNIX98] (pthread_mutex_timedlock): Likewise.
17130         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
17131         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
17132         [UNIX98] (pthread_sigmask): Likewise.
17133         [UNIX98] (pthread_spin_destroy): Likewise.
17134         [UNIX98] (pthread_spin_init): Likewise.
17135         [UNIX98] (pthread_spin_lock): Likewise.
17136         [UNIX98] (pthread_spin_trylock): Likewise.
17137         [UNIX98] (pthread_spin_unlock): Likewise.
17138         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
17139         Do not expect.
17140         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
17141         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
17142         [XPG3 || XPG4] (pthread_cond_t): Likewise.
17143         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
17144         [XPG3 || XPG4] (pthread_key_t): Likewise.
17145         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
17146         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
17147         [XPG3 || XPG4] (pthread_once_t): Likewise.
17148         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
17149         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
17150         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
17151         [XPG3 || XPG4] (pthread_t): Likewise.
17153         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
17154         not expect.
17155         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
17157         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
17158         Change function return type to int.
17160         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
17161         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
17162         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
17163         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
17164         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
17165         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
17166         [!POSIX] (posix_madvise): Likewise.
17167         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
17168         && !UNIX98].
17169         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
17170         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
17171         (mode_t): Likewise.
17172         (posix_mem_offset): Likewise.
17173         (posix_typed_mem_get_info): Likewise.
17174         (posix_typed_mem_open): Likewise.
17176         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
17177         Change condition to [XOPEN2K8].
17179         * conform/conformtest.pl: Preprocess allow-header data with -x c
17180         instead of from stdin.
17181         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
17182         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
17183         [C99-based standards] (cerfc): Likewise.
17184         [C99-based standards] (cexp2): Likewise.
17185         [C99-based standards] (cexpm1): Likewise.
17186         [C99-based standards] (clog10): Likewise.
17187         [C99-based standards] (clog1p): Likewise.
17188         [C99-based standards] (clog2): Likewise.
17189         [C99-based standards] (clgamma): Likewise.
17190         [C99-based standards] (ctgamma): Likewise.
17191         [C99-based standards] (cerff): Likewise.
17192         [C99-based standards] (cerfcf): Likewise.
17193         [C99-based standards] (cexp2f): Likewise.
17194         [C99-based standards] (cexpm1f): Likewise.
17195         [C99-based standards] (clog10f): Likewise.
17196         [C99-based standards] (clog1pf): Likewise.
17197         [C99-based standards] (clog2f): Likewise.
17198         [C99-based standards] (clgammaf): Likewise.
17199         [C99-based standards] (ctgammaf): Likewise.
17200         [C99-based standards] (cerfl): Likewise.
17201         [C99-based standards] (cerfcl): Likewise.
17202         [C99-based standards] (cexp2l): Likewise.
17203         [C99-based standards] (cexpm1l): Likewise.
17204         [C99-based standards] (clog10l): Likewise.
17205         [C99-based standards] (clog1pl): Likewise.
17206         [C99-based standards] (clog2l): Likewise.
17207         [C99-based standards] (clgammal): Likewise.
17208         [C99-based standards] (ctgammal): Likewise.
17209         * conform/data/inttypes.h-data [C99-based standards]: Include
17210         stdint.h-data.  Remove all expectations for stdint.h contents.
17211         [C99-based standards] (PRI*): Do not allow.
17212         [C99-based standards] (SCN*): Likewise.
17213         [C99-based standards] (*_t): Likewise.
17214         [C99-based-standards] (PRId8): Expect macro.
17215         [C99-based-standards] (PRIi8): Likewise.
17216         [C99-based-standards] (PRIo8): Likewise.
17217         [C99-based-standards] (PRIu8): Likewise.
17218         [C99-based-standards] (PRIx8): Likewise.
17219         [C99-based-standards] (PRIX8): Likewise.
17220         [C99-based-standards] (SCNd8): Likewise.
17221         [C99-based-standards] (SCNi8): Likewise.
17222         [C99-based-standards] (SCNo8): Likewise.
17223         [C99-based-standards] (SCNu8): Likewise.
17224         [C99-based-standards] (SCNx8): Likewise.
17225         [C99-based-standards] (PRIdLEAST8): Likewise.
17226         [C99-based-standards] (PRIiLEAST8): Likewise.
17227         [C99-based-standards] (PRIoLEAST8): Likewise.
17228         [C99-based-standards] (PRIuLEAST8): Likewise.
17229         [C99-based-standards] (PRIxLEAST8): Likewise.
17230         [C99-based-standards] (PRIXLEAST8): Likewise.
17231         [C99-based-standards] (SCNdLEAST8): Likewise.
17232         [C99-based-standards] (SCNiLEAST8): Likewise.
17233         [C99-based-standards] (SCNoLEAST8): Likewise.
17234         [C99-based-standards] (SCNuLEAST8): Likewise.
17235         [C99-based-standards] (SCNxLEAST8): Likewise.
17236         [C99-based-standards] (PRIdFAST8): Likewise.
17237         [C99-based-standards] (PRIiFAST8): Likewise.
17238         [C99-based-standards] (PRIoFAST8): Likewise.
17239         [C99-based-standards] (PRIuFAST8): Likewise.
17240         [C99-based-standards] (PRIxFAST8): Likewise.
17241         [C99-based-standards] (PRIXFAST8): Likewise.
17242         [C99-based-standards] (SCNdFAST8): Likewise.
17243         [C99-based-standards] (SCNiFAST8): Likewise.
17244         [C99-based-standards] (SCNoFAST8): Likewise.
17245         [C99-based-standards] (SCNuFAST8): Likewise.
17246         [C99-based-standards] (SCNxFAST8): Likewise.
17247         [C99-based-standards] (PRId16): Likewise.
17248         [C99-based-standards] (PRIi16): Likewise.
17249         [C99-based-standards] (PRIo16): Likewise.
17250         [C99-based-standards] (PRIu16): Likewise.
17251         [C99-based-standards] (PRIx16): Likewise.
17252         [C99-based-standards] (PRIX16): Likewise.
17253         [C99-based-standards] (SCNd16): Likewise.
17254         [C99-based-standards] (SCNi16): Likewise.
17255         [C99-based-standards] (SCNo16): Likewise.
17256         [C99-based-standards] (SCNu16): Likewise.
17257         [C99-based-standards] (SCNx16): Likewise.
17258         [C99-based-standards] (PRIdLEAST16): Likewise.
17259         [C99-based-standards] (PRIiLEAST16): Likewise.
17260         [C99-based-standards] (PRIoLEAST16): Likewise.
17261         [C99-based-standards] (PRIuLEAST16): Likewise.
17262         [C99-based-standards] (PRIxLEAST16): Likewise.
17263         [C99-based-standards] (PRIXLEAST16): Likewise.
17264         [C99-based-standards] (SCNdLEAST16): Likewise.
17265         [C99-based-standards] (SCNiLEAST16): Likewise.
17266         [C99-based-standards] (SCNoLEAST16): Likewise.
17267         [C99-based-standards] (SCNuLEAST16): Likewise.
17268         [C99-based-standards] (SCNxLEAST16): Likewise.
17269         [C99-based-standards] (PRIdFAST16): Likewise.
17270         [C99-based-standards] (PRIiFAST16): Likewise.
17271         [C99-based-standards] (PRIoFAST16): Likewise.
17272         [C99-based-standards] (PRIuFAST16): Likewise.
17273         [C99-based-standards] (PRIxFAST16): Likewise.
17274         [C99-based-standards] (PRIXFAST16): Likewise.
17275         [C99-based-standards] (SCNdFAST16): Likewise.
17276         [C99-based-standards] (SCNiFAST16): Likewise.
17277         [C99-based-standards] (SCNoFAST16): Likewise.
17278         [C99-based-standards] (SCNuFAST16): Likewise.
17279         [C99-based-standards] (SCNxFAST16): Likewise.
17280         [C99-based-standards] (PRId32): Likewise.
17281         [C99-based-standards] (PRIi32): Likewise.
17282         [C99-based-standards] (PRIo32): Likewise.
17283         [C99-based-standards] (PRIu32): Likewise.
17284         [C99-based-standards] (PRIx32): Likewise.
17285         [C99-based-standards] (PRIX32): Likewise.
17286         [C99-based-standards] (SCNd32): Likewise.
17287         [C99-based-standards] (SCNi32): Likewise.
17288         [C99-based-standards] (SCNo32): Likewise.
17289         [C99-based-standards] (SCNu32): Likewise.
17290         [C99-based-standards] (SCNx32): Likewise.
17291         [C99-based-standards] (PRIdLEAST32): Likewise.
17292         [C99-based-standards] (PRIiLEAST32): Likewise.
17293         [C99-based-standards] (PRIoLEAST32): Likewise.
17294         [C99-based-standards] (PRIuLEAST32): Likewise.
17295         [C99-based-standards] (PRIxLEAST32): Likewise.
17296         [C99-based-standards] (PRIXLEAST32): Likewise.
17297         [C99-based-standards] (SCNdLEAST32): Likewise.
17298         [C99-based-standards] (SCNiLEAST32): Likewise.
17299         [C99-based-standards] (SCNoLEAST32): Likewise.
17300         [C99-based-standards] (SCNuLEAST32): Likewise.
17301         [C99-based-standards] (SCNxLEAST32): Likewise.
17302         [C99-based-standards] (PRIdFAST32): Likewise.
17303         [C99-based-standards] (PRIiFAST32): Likewise.
17304         [C99-based-standards] (PRIoFAST32): Likewise.
17305         [C99-based-standards] (PRIuFAST32): Likewise.
17306         [C99-based-standards] (PRIxFAST32): Likewise.
17307         [C99-based-standards] (PRIXFAST32): Likewise.
17308         [C99-based-standards] (SCNdFAST32): Likewise.
17309         [C99-based-standards] (SCNiFAST32): Likewise.
17310         [C99-based-standards] (SCNoFAST32): Likewise.
17311         [C99-based-standards] (SCNuFAST32): Likewise.
17312         [C99-based-standards] (SCNxFAST32): Likewise.
17313         [C99-based-standards] (PRId64): Likewise.
17314         [C99-based-standards] (PRIi64): Likewise.
17315         [C99-based-standards] (PRIo64): Likewise.
17316         [C99-based-standards] (PRIu64): Likewise.
17317         [C99-based-standards] (PRIx64): Likewise.
17318         [C99-based-standards] (PRIX64): Likewise.
17319         [C99-based-standards] (SCNd64): Likewise.
17320         [C99-based-standards] (SCNi64): Likewise.
17321         [C99-based-standards] (SCNo64): Likewise.
17322         [C99-based-standards] (SCNu64): Likewise.
17323         [C99-based-standards] (SCNx64): Likewise.
17324         [C99-based-standards] (PRIdLEAST64): Likewise.
17325         [C99-based-standards] (PRIiLEAST64): Likewise.
17326         [C99-based-standards] (PRIoLEAST64): Likewise.
17327         [C99-based-standards] (PRIuLEAST64): Likewise.
17328         [C99-based-standards] (PRIxLEAST64): Likewise.
17329         [C99-based-standards] (PRIXLEAST64): Likewise.
17330         [C99-based-standards] (SCNdLEAST64): Likewise.
17331         [C99-based-standards] (SCNiLEAST64): Likewise.
17332         [C99-based-standards] (SCNoLEAST64): Likewise.
17333         [C99-based-standards] (SCNuLEAST64): Likewise.
17334         [C99-based-standards] (SCNxLEAST64): Likewise.
17335         [C99-based-standards] (PRIdFAST64): Likewise.
17336         [C99-based-standards] (PRIiFAST64): Likewise.
17337         [C99-based-standards] (PRIoFAST64): Likewise.
17338         [C99-based-standards] (PRIuFAST64): Likewise.
17339         [C99-based-standards] (PRIxFAST64): Likewise.
17340         [C99-based-standards] (PRIXFAST64): Likewise.
17341         [C99-based-standards] (SCNdFAST64): Likewise.
17342         [C99-based-standards] (SCNiFAST64): Likewise.
17343         [C99-based-standards] (SCNoFAST64): Likewise.
17344         [C99-based-standards] (SCNuFAST64): Likewise.
17345         [C99-based-standards] (SCNxFAST64): Likewise.
17346         [C99-based-standards] (PRIdMAX): Likewise.
17347         [C99-based-standards] (PRIiMAX): Likewise.
17348         [C99-based-standards] (PRIoMAX): Likewise.
17349         [C99-based-standards] (PRIuMAX): Likewise.
17350         [C99-based-standards] (PRIxMAX): Likewise.
17351         [C99-based-standards] (PRIXMAX): Likewise.
17352         [C99-based-standards] (SCNdMAX): Likewise.
17353         [C99-based-standards] (SCNiMAX): Likewise.
17354         [C99-based-standards] (SCNoMAX): Likewise.
17355         [C99-based-standards] (SCNuMAX): Likewise.
17356         [C99-based-standards] (SCNxMAX): Likewise.
17357         [C99-based-standards] (PRIdPTR): Likewise.
17358         [C99-based-standards] (PRIiPTR): Likewise.
17359         [C99-based-standards] (PRIoPTR): Likewise.
17360         [C99-based-standards] (PRIuPTR): Likewise.
17361         [C99-based-standards] (PRIxPTR): Likewise.
17362         [C99-based-standards] (PRIXPTR): Likewise.
17363         [C99-based-standards] (SCNdPTR): Likewise.
17364         [C99-based-standards] (SCNiPTR): Likewise.
17365         [C99-based-standards] (SCNoPTR): Likewise.
17366         [C99-based-standards] (SCNuPTR): Likewise.
17367         [C99-based-standards] (SCNxPTR): Likewise.
17368         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
17369         allow.
17370         * conform/data/stdint.h-data: Update comments to clarify
17371         requirements.
17372         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
17373         type.
17374         [C99-based standards] (INT8_MAX): Likewise.
17375         [C99-based standards] (INT16_MIN): Likewise.
17376         [C99-based standards] (INT16_MAX): Likewise.
17377         [C99-based standards] (INT32_MIN): Likewise.
17378         [C99-based standards] (INT32_MAX): Likewise.
17379         [C99-based standards] (INT64_MIN): Likewise.
17380         [C99-based standards] (INT64_MAX): Likewise.
17381         [C99-based standards] (UINT8_MAX): Likewise.
17382         [C99-based standards] (UINT16_MAX): Likewise.
17383         [C99-based standards] (UINT32_MAX): Likewise.
17384         [C99-based standards] (UINT64_MAX): Likewise.
17385         [C99-based standards] (INT_LEAST8_MIN): Likewise.
17386         [C99-based standards] (INT_LEAST8_MAX): Likewise.
17387         [C99-based standards] (INT_LEAST16_MIN): Likewise.
17388         [C99-based standards] (INT_LEAST16_MAX): Likewise.
17389         [C99-based standards] (INT_LEAST32_MIN): Likewise.
17390         [C99-based standards] (INT_LEAST32_MAX): Likewise.
17391         [C99-based standards] (INT_LEAST64_MIN): Likewise.
17392         [C99-based standards] (INT_LEAST64_MAX): Likewise.
17393         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
17394         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
17395         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
17396         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
17397         [C99-based standards] (INT_FAST8_MIN): Likewise.
17398         [C99-based standards] (INT_FAST8_MAX): Likewise.
17399         [C99-based standards] (INT_FAST16_MIN): Likewise.
17400         [C99-based standards] (INT_FAST16_MAX): Likewise.
17401         [C99-based standards] (INT_FAST32_MIN): Likewise.
17402         [C99-based standards] (INT_FAST32_MAX): Likewise.
17403         [C99-based standards] (INT_FAST64_MIN): Likewise.
17404         [C99-based standards] (INT_FAST64_MAX): Likewise.
17405         [C99-based standards] (UINT_FAST8_MAX): Likewise.
17406         [C99-based standards] (UINT_FAST16_MAX): Likewise.
17407         [C99-based standards] (UINT_FAST32_MAX): Likewise.
17408         [C99-based standards] (UINT_FAST64_MAX): Likewise.
17409         [C99-based standards] (INTPTR_MIN): Likewise.
17410         [C99-based standards] (INTPTR_MAX): Likewise.
17411         [C99-based standards] (UINTPTR_MAX): Likewise.
17412         [C99-based standards] (INTMAX_MIN): Likewise.
17413         [C99-based standards] (INTMAX_MAX): Likewise.
17414         [C99-based standards] (UINTMAX_MAX): Likewise.
17415         [C99-based standards] (PTRDIFF_MIN): Likewise.
17416         [C99-based standards] (PTRDIFF_MAX): Likewise.
17417         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
17418         [C99-based standards] (SIZE_MAX): Likewise.
17419         [C99-based standards] (WCHAR_MAX): Likewise.
17420         [C99-based standards] (WINT_MAX): Likewise.
17421         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
17422         constraint on value.
17423         [C99-based standards] (WCHAR_MIN): Likewise.
17424         [C99-based standards] (WINT_MIN): Likewise.
17425         [C99-based standards] (*_t): Allow.
17426         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
17427         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
17428         Include math.h-data and complex.h-data.  Remove all expectations
17429         of math.h and complex.h contents.
17430         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
17431         at end of line.
17432         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
17433         (struct tm): Expect tag.
17434         [C99-based-standards] (wcstof): Expect function.
17435         [C99-based-standards] (wcstold): Likewise.
17436         [C99-based-standards] (wcstoll): Likewise.
17437         [C99-based-standards] (wcstoull): Likewise.
17438         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
17439         macro-int-constant.  Specify type.
17440         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
17441         constraint on value.
17442         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17443         Specify type.
17444         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
17445         Specify value.
17446         [ISO C standards]: Do not allow headers.
17447         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
17448         wcs[abcdefghijklmnopqrstuvwxyz]*.
17449         [ISO C standards] (*_t): Do not allow.
17450         * conform/data/wctype.h-data [C99-based standards] (iswblank):
17451         Expect function.
17452         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
17453         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
17454         Specify type.
17455         [ISO C standards]: Do not allow headers.
17456         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
17457         is[abcdefghijklmnopqrstuvwxyz]*.
17458         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
17459         to[abcdefghijklmnopqrstuvwxyz]*.
17460         [ISO C standards] (*_t): Do not allow.
17461         * conform/data/stdalign.h-data: New file.
17462         * conform/data/stdbool.h-data: Likewise.
17463         * conform/data/stdnoreturn.h-data: Likewise.
17465 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17467         [BZ #14815]
17468         * manual/filesys.texi (Directory Entries): Typo fix.
17469         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17471 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17473         * elf/elf.h (EM_AARCH64): New macro.
17474         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17475         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17476         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17477         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17478         (R_AARCH64_TLSDESC): Likewise.
17479         (NT_ARM_TLS): Likewise.
17480         (NT_ARM_HW_BREAK): Likewise.
17481         (NT_ARM_HW_WATCH): Likewise.
17483 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17485         [BZ #14811]
17486         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17487         (__ieee754_powl): Saturate nonzero exponents with absolute value
17488         below 0x1p-79 to +/- 0x1p-79.
17489         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17490         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17491         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17492         nonzero exponents with absolute value below 0x1p-32 to +/-
17493         0x1p-32.
17494         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17495         (__ieee754_powl): Saturate nonzero exponents with absolute value
17496         below 0x1p-79 to +/- 0x1p-79.
17497         * math/libm-test.inc (pow_test): Add more tests.
17499 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17501         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17502         _dl_s390_cap_flags with kernel. Increase string length.
17503         (_dl_s390_platforms): Add z196 and zEC12.
17505 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17507         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17508         Change XOPEN21K to XOPEN2K.
17510 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17512         * string/memmove.c: Use memcpy when possible.
17514 2012-11-06  Andreas Jaeger  <aj@suse.de>
17516         * po/eo.po: Update from translation team.
17518 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17520         [BZ #14793]
17521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17522         exponent and small x and y exponents, scale x or y up.  Increase
17523         by 2 the exponent used in scaling up.
17524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17526         * math/libm-test.inc (fma_test): Add more tests.
17527         (fma_test_towardzero): Likewise.
17528         (fma_test_downward): Likewise.
17529         (fma_test_upward): Likewise.
17531 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17533         [BZ #14805]
17534         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17535         fenv_t *.
17537         [BZ #14801]
17538         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17539         namespace for names of struct fields.
17540         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17541         fenv_t fields.
17542         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17543         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17545 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17547         [BZ #3665]
17548         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17550 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17552         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17553         PTR_DEMANGLE.
17555         [BZ #5246]
17556         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17557         PTR_DEMANGLE.
17559 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17561         [BZ #14797]
17562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17563         definitely overflow as x * y not x * y + z.
17564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17566         * math/libm-test.inc (fma_test): Add more tests.
17567         (fma_test_towardzero): Likewise.
17568         (fma_test_downward): Likewise.
17569         (fma_test_upward): Likewise.
17571 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17573         [BZ #157]
17575         * include/stub-tag.h: Remove file.
17576         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17577         '#include' of it.
17578         * manual/maint.texi (Porting): Don't reference it.
17579         * Makerules ($(objpfx)stubs): Likewise.
17580         * dirent/closedir.c: Don't include <stub-tag.h>.
17581         * dirent/dirfd.c: Likewise.
17582         * dirent/fdopendir.c: Likewise.
17583         * dirent/getdents.c: Likewise.
17584         * dirent/getdents64.c: Likewise.
17585         * dirent/opendir.c: Likewise.
17586         * dirent/readdir.c: Likewise.
17587         * dirent/readdir64.c: Likewise.
17588         * dirent/readdir64_r.c: Likewise.
17589         * dirent/readdir_r.c: Likewise.
17590         * dirent/rewinddir.c: Likewise.
17591         * dirent/seekdir.c: Likewise.
17592         * dirent/telldir.c: Likewise.
17593         * gmon/profil.c: Likewise.
17594         * grp/setgroups.c: Likewise.
17595         * inet/if_index.c: Likewise.
17596         * io/access.c: Likewise.
17597         * io/chdir.c: Likewise.
17598         * io/chmod.c: Likewise.
17599         * io/chown.c: Likewise.
17600         * io/close.c: Likewise.
17601         * io/dup.c: Likewise.
17602         * io/dup2.c: Likewise.
17603         * io/dup3.c: Likewise.
17604         * io/euidaccess.c: Likewise.
17605         * io/faccessat.c: Likewise.
17606         * io/fchdir.c: Likewise.
17607         * io/fchmod.c: Likewise.
17608         * io/fchmodat.c: Likewise.
17609         * io/fchown.c: Likewise.
17610         * io/fchownat.c: Likewise.
17611         * io/fcntl.c: Likewise.
17612         * io/flock.c: Likewise.
17613         * io/fstatfs.c: Likewise.
17614         * io/fstatfs64.c: Likewise.
17615         * io/fstatvfs.c: Likewise.
17616         * io/fstatvfs64.c: Likewise.
17617         * io/futimens.c: Likewise.
17618         * io/fxstat.c: Likewise.
17619         * io/fxstat64.c: Likewise.
17620         * io/fxstatat.c: Likewise.
17621         * io/fxstatat64.c: Likewise.
17622         * io/getcwd.c: Likewise.
17623         * io/isatty.c: Likewise.
17624         * io/lchmod.c: Likewise.
17625         * io/lchown.c: Likewise.
17626         * io/link.c: Likewise.
17627         * io/linkat.c: Likewise.
17628         * io/lseek.c: Likewise.
17629         * io/lseek64.c: Likewise.
17630         * io/lxstat64.c: Likewise.
17631         * io/mkdir.c: Likewise.
17632         * io/mkdirat.c: Likewise.
17633         * io/mkfifo.c: Likewise.
17634         * io/mkfifoat.c: Likewise.
17635         * io/open.c: Likewise.
17636         * io/open64.c: Likewise.
17637         * io/openat.c: Likewise.
17638         * io/openat64.c: Likewise.
17639         * io/pipe.c: Likewise.
17640         * io/pipe2.c: Likewise.
17641         * io/poll.c: Likewise.
17642         * io/posix_fadvise.c: Likewise.
17643         * io/posix_fadvise64.c: Likewise.
17644         * io/posix_fallocate.c: Likewise.
17645         * io/posix_fallocate64.c: Likewise.
17646         * io/read.c: Likewise.
17647         * io/readlink.c: Likewise.
17648         * io/readlinkat.c: Likewise.
17649         * io/rmdir.c: Likewise.
17650         * io/sendfile.c: Likewise.
17651         * io/sendfile64.c: Likewise.
17652         * io/statfs.c: Likewise.
17653         * io/statfs64.c: Likewise.
17654         * io/statvfs.c: Likewise.
17655         * io/statvfs64.c: Likewise.
17656         * io/symlink.c: Likewise.
17657         * io/symlinkat.c: Likewise.
17658         * io/ttyname.c: Likewise.
17659         * io/ttyname_r.c: Likewise.
17660         * io/umask.c: Likewise.
17661         * io/unlink.c: Likewise.
17662         * io/unlinkat.c: Likewise.
17663         * io/utime.c: Likewise.
17664         * io/utimensat.c: Likewise.
17665         * io/write.c: Likewise.
17666         * io/xmknod.c: Likewise.
17667         * io/xmknodat.c: Likewise.
17668         * io/xstat.c: Likewise.
17669         * io/xstat64.c: Likewise.
17670         * login/getpt.c: Likewise.
17671         * login/grantpt.c: Likewise.
17672         * login/unlockpt.c: Likewise.
17673         * math/e_acoshl.c: Likewise.
17674         * math/e_acosl.c: Likewise.
17675         * math/e_asinl.c: Likewise.
17676         * math/e_atan2l.c: Likewise.
17677         * math/e_atanhl.c: Likewise.
17678         * math/e_coshl.c: Likewise.
17679         * math/e_expl.c: Likewise.
17680         * math/e_fmodl.c: Likewise.
17681         * math/e_gammal_r.c: Likewise.
17682         * math/e_hypotl.c: Likewise.
17683         * math/e_j0l.c: Likewise.
17684         * math/e_j1l.c: Likewise.
17685         * math/e_jnl.c: Likewise.
17686         * math/e_lgammal_r.c: Likewise.
17687         * math/e_log10l.c: Likewise.
17688         * math/e_log2l.c: Likewise.
17689         * math/e_logl.c: Likewise.
17690         * math/e_powl.c: Likewise.
17691         * math/e_rem_pio2l.c: Likewise.
17692         * math/e_sinhl.c: Likewise.
17693         * math/e_sqrtl.c: Likewise.
17694         * math/fclrexcpt.c: Likewise.
17695         * math/fedisblxcpt.c: Likewise.
17696         * math/feenablxcpt.c: Likewise.
17697         * math/fegetenv.c: Likewise.
17698         * math/fegetexcept.c: Likewise.
17699         * math/fegetround.c: Likewise.
17700         * math/feholdexcpt.c: Likewise.
17701         * math/fesetenv.c: Likewise.
17702         * math/fesetround.c: Likewise.
17703         * math/feupdateenv.c: Likewise.
17704         * math/fgetexcptflg.c: Likewise.
17705         * math/fraiseexcpt.c: Likewise.
17706         * math/fsetexcptflg.c: Likewise.
17707         * math/ftestexcept.c: Likewise.
17708         * math/k_cosl.c: Likewise.
17709         * math/k_rem_pio2l.c: Likewise.
17710         * math/k_sinl.c: Likewise.
17711         * math/k_tanl.c: Likewise.
17712         * math/s_asinhl.c: Likewise.
17713         * math/s_atanl.c: Likewise.
17714         * math/s_cbrtl.c: Likewise.
17715         * math/s_erfl.c: Likewise.
17716         * math/s_expm1l.c: Likewise.
17717         * math/s_log1pl.c: Likewise.
17718         * math/s_tanhl.c: Likewise.
17719         * misc/acct.c: Likewise.
17720         * misc/brk.c: Likewise.
17721         * misc/chflags.c: Likewise.
17722         * misc/chroot.c: Likewise.
17723         * misc/fchflags.c: Likewise.
17724         * misc/fgetxattr.c: Likewise.
17725         * misc/flistxattr.c: Likewise.
17726         * misc/fremovexattr.c: Likewise.
17727         * misc/fsetxattr.c: Likewise.
17728         * misc/fsync.c: Likewise.
17729         * misc/ftruncate.c: Likewise.
17730         * misc/futimes.c: Likewise.
17731         * misc/futimesat.c: Likewise.
17732         * misc/getdomain.c: Likewise.
17733         * misc/getdtsz.c: Likewise.
17734         * misc/gethostid.c: Likewise.
17735         * misc/gethostname.c: Likewise.
17736         * misc/getloadavg.c: Likewise.
17737         * misc/getpagesize.c: Likewise.
17738         * misc/getsysstats.c: Likewise.
17739         * misc/getxattr.c: Likewise.
17740         * misc/gtty.c: Likewise.
17741         * misc/ioctl.c: Likewise.
17742         * misc/lgetxattr.c: Likewise.
17743         * misc/listxattr.c: Likewise.
17744         * misc/llistxattr.c: Likewise.
17745         * misc/lremovexattr.c: Likewise.
17746         * misc/lsetxattr.c: Likewise.
17747         * misc/lutimes.c: Likewise.
17748         * misc/madvise.c: Likewise.
17749         * misc/mincore.c: Likewise.
17750         * misc/mlock.c: Likewise.
17751         * misc/mlockall.c: Likewise.
17752         * misc/mmap.c: Likewise.
17753         * misc/mprotect.c: Likewise.
17754         * misc/msync.c: Likewise.
17755         * misc/munlock.c: Likewise.
17756         * misc/munlockall.c: Likewise.
17757         * misc/munmap.c: Likewise.
17758         * misc/preadv.c: Likewise.
17759         * misc/preadv64.c: Likewise.
17760         * misc/ptrace.c: Likewise.
17761         * misc/pwritev.c: Likewise.
17762         * misc/pwritev64.c: Likewise.
17763         * misc/readv.c: Likewise.
17764         * misc/reboot.c: Likewise.
17765         * misc/remap_file_pages.c: Likewise.
17766         * misc/removexattr.c: Likewise.
17767         * misc/revoke.c: Likewise.
17768         * misc/select.c: Likewise.
17769         * misc/setdomain.c: Likewise.
17770         * misc/setegid.c: Likewise.
17771         * misc/seteuid.c: Likewise.
17772         * misc/sethostid.c: Likewise.
17773         * misc/sethostname.c: Likewise.
17774         * misc/setregid.c: Likewise.
17775         * misc/setreuid.c: Likewise.
17776         * misc/setxattr.c: Likewise.
17777         * misc/sstk.c: Likewise.
17778         * misc/stty.c: Likewise.
17779         * misc/swapoff.c: Likewise.
17780         * misc/swapon.c: Likewise.
17781         * misc/sync.c: Likewise.
17782         * misc/syncfs.c: Likewise.
17783         * misc/syscall.c: Likewise.
17784         * misc/truncate.c: Likewise.
17785         * misc/ualarm.c: Likewise.
17786         * misc/usleep.c: Likewise.
17787         * misc/ustat.c: Likewise.
17788         * misc/utimes.c: Likewise.
17789         * misc/vhangup.c: Likewise.
17790         * misc/writev.c: Likewise.
17791         * posix/_exit.c: Likewise.
17792         * posix/alarm.c: Likewise.
17793         * posix/execve.c: Likewise.
17794         * posix/fexecve.c: Likewise.
17795         * posix/fork.c: Likewise.
17796         * posix/fpathconf.c: Likewise.
17797         * posix/getaddrinfo.c: Likewise.
17798         * posix/getegid.c: Likewise.
17799         * posix/geteuid.c: Likewise.
17800         * posix/getgid.c: Likewise.
17801         * posix/getgroups.c: Likewise.
17802         * posix/getlogin.c: Likewise.
17803         * posix/getlogin_r.c: Likewise.
17804         * posix/getpgid.c: Likewise.
17805         * posix/getpid.c: Likewise.
17806         * posix/getppid.c: Likewise.
17807         * posix/getresgid.c: Likewise.
17808         * posix/getresuid.c: Likewise.
17809         * posix/getsid.c: Likewise.
17810         * posix/getuid.c: Likewise.
17811         * posix/glob64.c: Likewise.
17812         * posix/nanosleep.c: Likewise.
17813         * posix/pathconf.c: Likewise.
17814         * posix/pause.c: Likewise.
17815         * posix/posix_madvise.c: Likewise.
17816         * posix/pread.c: Likewise.
17817         * posix/pread64.c: Likewise.
17818         * posix/pwrite.c: Likewise.
17819         * posix/pwrite64.c: Likewise.
17820         * posix/sched_getaffinity.c: Likewise.
17821         * posix/sched_getp.c: Likewise.
17822         * posix/sched_gets.c: Likewise.
17823         * posix/sched_primax.c: Likewise.
17824         * posix/sched_primin.c: Likewise.
17825         * posix/sched_rr_gi.c: Likewise.
17826         * posix/sched_setaffinity.c: Likewise.
17827         * posix/sched_setp.c: Likewise.
17828         * posix/sched_sets.c: Likewise.
17829         * posix/sched_yield.c: Likewise.
17830         * posix/setgid.c: Likewise.
17831         * posix/setlogin.c: Likewise.
17832         * posix/setpgid.c: Likewise.
17833         * posix/setresgid.c: Likewise.
17834         * posix/setresuid.c: Likewise.
17835         * posix/setsid.c: Likewise.
17836         * posix/setuid.c: Likewise.
17837         * posix/sleep.c: Likewise.
17838         * posix/spawni.c: Likewise.
17839         * posix/sysconf.c: Likewise.
17840         * posix/times.c: Likewise.
17841         * posix/wait.c: Likewise.
17842         * posix/wait3.c: Likewise.
17843         * posix/wait4.c: Likewise.
17844         * posix/waitpid.c: Likewise.
17845         * resolv/gai_sigqueue.c: Likewise.
17846         * resource/getpriority.c: Likewise.
17847         * resource/getrlimit.c: Likewise.
17848         * resource/getrusage.c: Likewise.
17849         * resource/nice.c: Likewise.
17850         * resource/setpriority.c: Likewise.
17851         * resource/setrlimit.c: Likewise.
17852         * resource/ulimit.c: Likewise.
17853         * rt/aio_cancel.c: Likewise.
17854         * rt/aio_fsync.c: Likewise.
17855         * rt/aio_read.c: Likewise.
17856         * rt/aio_sigqueue.c: Likewise.
17857         * rt/aio_suspend.c: Likewise.
17858         * rt/aio_write.c: Likewise.
17859         * rt/clock_getres.c: Likewise.
17860         * rt/clock_gettime.c: Likewise.
17861         * rt/clock_nanosleep.c: Likewise.
17862         * rt/clock_settime.c: Likewise.
17863         * rt/lio_listio.c: Likewise.
17864         * rt/mq_close.c: Likewise.
17865         * rt/mq_getattr.c: Likewise.
17866         * rt/mq_notify.c: Likewise.
17867         * rt/mq_open.c: Likewise.
17868         * rt/mq_receive.c: Likewise.
17869         * rt/mq_send.c: Likewise.
17870         * rt/mq_setattr.c: Likewise.
17871         * rt/mq_timedreceive.c: Likewise.
17872         * rt/mq_timedsend.c: Likewise.
17873         * rt/mq_unlink.c: Likewise.
17874         * rt/shm_open.c: Likewise.
17875         * rt/shm_unlink.c: Likewise.
17876         * rt/timer_create.c: Likewise.
17877         * rt/timer_delete.c: Likewise.
17878         * rt/timer_getoverr.c: Likewise.
17879         * rt/timer_gettime.c: Likewise.
17880         * rt/timer_settime.c: Likewise.
17881         * setjmp/__longjmp.c: Likewise.
17882         * setjmp/setjmp.c: Likewise.
17883         * signal/kill.c: Likewise.
17884         * signal/killpg.c: Likewise.
17885         * signal/raise.c: Likewise.
17886         * signal/sigaction.c: Likewise.
17887         * signal/sigaltstack.c: Likewise.
17888         * signal/sigblock.c: Likewise.
17889         * signal/sigignore.c: Likewise.
17890         * signal/sigintr.c: Likewise.
17891         * signal/signal.c: Likewise.
17892         * signal/sigpause.c: Likewise.
17893         * signal/sigpending.c: Likewise.
17894         * signal/sigqueue.c: Likewise.
17895         * signal/sigreturn.c: Likewise.
17896         * signal/sigset.c: Likewise.
17897         * signal/sigsetmask.c: Likewise.
17898         * signal/sigstack.c: Likewise.
17899         * signal/sigsuspend.c: Likewise.
17900         * signal/sigtimedwait.c: Likewise.
17901         * signal/sigvec.c: Likewise.
17902         * signal/sigwait.c: Likewise.
17903         * signal/sigwaitinfo.c: Likewise.
17904         * signal/sysv_signal.c: Likewise.
17905         * socket/accept.c: Likewise.
17906         * socket/accept4.c: Likewise.
17907         * socket/bind.c: Likewise.
17908         * socket/connect.c: Likewise.
17909         * socket/getpeername.c: Likewise.
17910         * socket/getsockname.c: Likewise.
17911         * socket/getsockopt.c: Likewise.
17912         * socket/isfdtype.c: Likewise.
17913         * socket/listen.c: Likewise.
17914         * socket/recv.c: Likewise.
17915         * socket/recvfrom.c: Likewise.
17916         * socket/recvmsg.c: Likewise.
17917         * socket/send.c: Likewise.
17918         * socket/sendmsg.c: Likewise.
17919         * socket/sendto.c: Likewise.
17920         * socket/setsockopt.c: Likewise.
17921         * socket/shutdown.c: Likewise.
17922         * socket/sockatmark.c: Likewise.
17923         * socket/socket.c: Likewise.
17924         * socket/socketpair.c: Likewise.
17925         * stdio-common/ctermid.c: Likewise.
17926         * stdio-common/cuserid.c: Likewise.
17927         * stdio-common/remove.c: Likewise.
17928         * stdio-common/rename.c: Likewise.
17929         * stdio-common/renameat.c: Likewise.
17930         * stdio-common/tempname.c: Likewise.
17931         * stdlib/getcontext.c: Likewise.
17932         * stdlib/makecontext.c: Likewise.
17933         * stdlib/setcontext.c: Likewise.
17934         * stdlib/swapcontext.c: Likewise.
17935         * stdlib/system.c: Likewise.
17936         * streams/fattach.c: Likewise.
17937         * streams/fdetach.c: Likewise.
17938         * streams/getmsg.c: Likewise.
17939         * streams/getpmsg.c: Likewise.
17940         * streams/putmsg.c: Likewise.
17941         * streams/putpmsg.c: Likewise.
17942         * sysdeps/unix/bsd/getpt.c: Likewise.
17943         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17944         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17945         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17947         Likewise.
17948         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17949         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17950         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17951         * sysvipc/msgctl.c: Likewise.
17952         * sysvipc/msgget.c: Likewise.
17953         * sysvipc/msgrcv.c: Likewise.
17954         * sysvipc/msgsnd.c: Likewise.
17955         * sysvipc/semctl.c: Likewise.
17956         * sysvipc/semget.c: Likewise.
17957         * sysvipc/semop.c: Likewise.
17958         * sysvipc/semtimedop.c: Likewise.
17959         * sysvipc/shmat.c: Likewise.
17960         * sysvipc/shmctl.c: Likewise.
17961         * sysvipc/shmdt.c: Likewise.
17962         * sysvipc/shmget.c: Likewise.
17963         * termios/tcdrain.c: Likewise.
17964         * termios/tcflow.c: Likewise.
17965         * termios/tcflush.c: Likewise.
17966         * termios/tcgetattr.c: Likewise.
17967         * termios/tcgetpgrp.c: Likewise.
17968         * termios/tcsendbrk.c: Likewise.
17969         * termios/tcsetattr.c: Likewise.
17970         * termios/tcsetpgrp.c: Likewise.
17971         * time/adjtime.c: Likewise.
17972         * time/clock.c: Likewise.
17973         * time/getitimer.c: Likewise.
17974         * time/gettimeofday.c: Likewise.
17975         * time/setitimer.c: Likewise.
17976         * time/settimeofday.c: Likewise.
17977         * time/stime.c: Likewise.
17978         * time/time.c: Likewise.
17980 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17982         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17983         /usr/old/bin.
17985         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17986         instead of spaces.
17987         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17989 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17991         [BZ #14796]
17992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17993         FE_TONEAREST before applying Dekker multiplication and Knuth
17994         addition.  Clear inexact exceptions and check for exact zero
17995         results afterwards.
17996         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17997         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17998         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17999         * math/libm-test.inc (fma_test): Add more tests.
18000         (fma_test_towardzero): Likewise.
18001         (fma_test_downward): Likewise.
18002         (fma_test_upward): Likewise.
18003         * sysdeps/generic/math_private.h (default_libc_fesetround): New
18004         function.
18005         (libc_fesetround): New macro.
18006         (libc_fesetroundf): Likewise.
18007         (libc_fesetroundl): Likewise.
18008         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
18009         function.
18010         (libc_fesetround_387): Likewise.
18011         (libc_fesetroundf): New macro.
18012         (libc_fesetround): Likewise.
18013         (libc_fesetroundl): Likewise.
18014         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
18015         function.
18016         (libc_fesetroundf): New macro.
18017         (libc_fesetround): Likewise.
18018         (libc_fesetroundl): Likewise.
18019         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
18020         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
18021         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
18022         libm_hidden_ver.
18023         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
18024         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
18025         libm_hidden_def.
18026         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
18027         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
18028         libm_hidden_ver.
18029         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
18030         libm_hidden_def.
18032         [BZ #3439]
18033         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
18034         integer constant usable in #if and use that to give value to enum
18035         constant.
18036         (FE_DIVBYZERO): Likewise.
18037         (FE_UNDERFLOW): Likewise.
18038         (FE_OVERFLOW): Likewise.
18039         (FE_INVALID): Likewise.
18040         (FE_INVALID_SNAN): Likewise.
18041         (FE_INVALID_ISI): Likewise.
18042         (FE_INVALID_IDI): Likewise.
18043         (FE_INVALID_ZDZ): Likewise.
18044         (FE_INVALID_IMZ): Likewise.
18045         (FE_INVALID_COMPARE): Likewise.
18046         (FE_INVALID_SOFTWARE): Likewise.
18047         (FE_INVALID_SQRT): Likewise.
18048         (FE_INVALID_INTEGER_CONVERSION): Likewise.
18049         (FE_TONEAREST): Likewise.
18050         (FE_TOWARDZERO): Likewise.
18051         (FE_UPWARD): Likewise.
18052         (FE_DOWNWARD): Likewise.
18053         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
18054         (FE_DIVBYZERO): Likewise.
18055         (FE_OVERFLOW): Likewise.
18056         (FE_UNDERFLOW): Likewise.
18057         (FE_INEXACT): Likewise.
18058         (FE_TONEAREST): Likewise.
18059         (FE_DOWNWARD): Likewise.
18060         (FE_UPWARD): Likewise.
18061         (FE_TOWARDZERO): Likewise.
18062         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
18063         (FE_UNDERFLOW): Likewise.
18064         (FE_OVERFLOW): Likewise.
18065         (FE_DIVBYZERO): Likewise.
18066         (FE_INVALID): Likewise.
18067         (FE_TONEAREST): Likewise.
18068         (FE_TOWARDZERO): Likewise.
18069         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
18070         (FE_OVERFLOW): Likewise.
18071         (FE_UNDERFLOW): Likewise.
18072         (FE_DIVBYZERO): Likewise.
18073         (FE_INEXACT): Likewise.
18074         (FE_TONEAREST): Likewise.
18075         (FE_TOWARDZERO): Likewise.
18076         (FE_UPWARD): Likewise.
18077         (FE_DOWNWARD): Likewise.
18078         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
18079         (FE_DIVBYZERO): Likewise.
18080         (FE_OVERFLOW): Likewise.
18081         (FE_UNDERFLOW): Likewise.
18082         (FE_INEXACT): Likewise.
18083         (FE_TONEAREST): Likewise.
18084         (FE_DOWNWARD): Likewise.
18085         (FE_UPWARD): Likewise.
18086         (FE_TOWARDZERO): Likewise.
18088 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
18090         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
18092 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
18094         * scripts/cross-test-ssh.sh (command): Use newlines to separate
18095         commands.  Quote $PWD.
18096         (blacklist_exports): Don't use remove_newlines.  Replace "declare
18097         -x" by "export".
18098         (remove_newlines): Remove.
18100 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
18102         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
18103         * stdlib/stdlib.h (atof): Moved to ...
18104         * include/bits/stdlib-float.h: Here.  New file.
18105         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
18106         * stdlib/bits/stdlib-float.h: New file.
18107         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
18108         -mno-sse -mno-mmx.
18109         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
18110         <xmmintrin.h>.
18112 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18114         * conform/conformtest.pl (@headers): Add fenv.h.
18115         * conform/data/fenv.h-data: New file.
18116         * include/fenv.h [_ISOMAC]: Disable all contents of file except
18117         include of <math/fenv.h>.
18119         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
18120         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
18121         && !UNIX98].  Enables tests for XOPEN2K8.
18122         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
18123         POSIX2008]: Likewise.
18125         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
18126         (struct rusage): Do not expect type or its members.
18128         [BZ #3439]
18129         * math/math.h (FP_NAN): Define macro to integer constant usable in
18130         #if and use that to give value to enum constant.
18131         (FP_INFINITE): Likewise.
18132         (FP_ZERO): Likewise.
18133         (FP_SUBNORMAL): Likewise.
18134         (FP_NORMAL): Likewise.
18136 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
18138         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
18139         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
18140         arguments.
18142 2012-11-02  Roland McGrath  <roland@hack.frob.com>
18144         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
18145         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
18146         autoconf-time if not.
18147         * configure.in: Remove AC_PREREQ.
18149 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18151         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
18152         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
18153         of the internal implementation.
18155 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
18157         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
18158         except include of <misc/sys/syslog.h>.
18160 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
18163         function returns with a NULL context exit with zero.
18165 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18167         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
18169 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
18171         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
18172         (run_program_cmd): This.
18173         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
18174         (tst_langinfo): New variable.  Use it.
18176 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
18178         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
18179         floating point opcodes.
18181 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18183         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
18184         variable.
18186         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
18188         * sysdeps/mach/hurd/powerpc: Remove directory.
18189         * sysdeps/mach/powerpc: Likewise.
18191 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
18193         * scripts/check-local-headers.sh: Ignore c++ headers.
18195 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18197         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
18198         __libc_cleanup_region_start argument.
18200 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
18202         [BZ #14784]
18203         [BZ #14785]
18204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
18205         x * y using scaling, not as x * y + z.
18206         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18208         * math/libm-test.inc (fma_test): Add more tests.
18209         (fma_test_towardzero): Likewise.
18210         (fma_test_downward): Likewise.
18211         (fma_test_upward): Likewise.
18213 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
18215         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
18217 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18219         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
18220         New variable.
18222 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
18224         * rt/tst-shm.c (worker): Correct checking for mmap failure.
18226 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18229         Fix sort order.
18230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18231         Likewise.
18233 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18236         Fix the order of the list for glibc 2.17.
18237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18238         Likewise.
18240 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18244 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
18246         [BZ #14610]
18247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
18248         for low part of x being zero before using __atanl (y).
18249         * math/libm-test.inc (atan2_test): Add another test.
18251         * manual/install.texi (Configuring and compiling): Document
18252         general use of test-wrapper and test-wrapper-env.
18253         * INSTALL: Regenerated.
18255         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
18256         (__fma): Do not extract and scale down low bits on after-rounding
18257         systems when result rounded to normal precision would have normal
18258         exponent.
18259         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
18260         (__fmal): Do not extract and scale down low bits on after-rounding
18261         systems when result rounded to normal precision would have normal
18262         exponent.
18263         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
18264         (__fmal): Do not extract and scale down low bits on after-rounding
18265         systems when result rounded to normal precision would have normal
18266         exponent.
18267         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
18268         macro.
18269         (fma_test): Add more tests.
18270         (fma_test_towardzero): Likewise.
18271         (fma_test_downward): Likewise.
18272         (fma_test_upward): Likewise.
18274 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
18276         * sysdeps/i386/tininess.h: Renamed to ...
18277         * sysdeps/x86/tininess.h: This.
18278         * sysdeps/x86_64/tininess.h: Removed.
18280 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18282         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
18283         input.  Use $(build-program-cmd).
18284         ($(objpfx)tst-array1-static.out): Likewise.
18285         ($(objpfx)tst-array2.out): Likewise.
18286         ($(objpfx)tst-array3.out): Likewise.
18287         ($(objpfx)tst-array4.out): Likewise.
18288         ($(objpfx)tst-array5.out): Likewise.
18289         ($(objpfx)tst-array5-static.out): Likewise.
18291 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
18293         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
18294         if defined.
18296         * nss/nsswitch.h (nss_interface_function): Provide new
18297         macro for use with NSS functions.
18298         * grp/initgroups.c: Use new macro.
18299         * nss/getXXbyYY.c: Likewise.
18300         * nss/getXXbyYY_r.c: Likewise.
18301         * nss/getXXent.c: Likewise.
18302         * nss/getXXent_r.c: Likewise.
18303         * sysdeps/posix/getaddrinfo.c: Likewise.
18305 2012-10-30  Andreas Jaeger  <aj@suse.de>
18307         * po/ru.po: Update Russion translation from translation project.
18309 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
18311         [BZ #14152]
18312         [BZ #14783]
18313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
18314         result and shift together with sticky bit instead of replicating
18315         round-to-nearest rounding.
18316         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18317         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18318         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
18319         missing underflow exceptions.
18320         (fma_test_towardzero): Add more tests.
18321         (fma_test_downward): Likewise.
18322         (fma_test_upward): Likewise.
18324         [BZ #14047]
18325         * sysdeps/generic/tininess.h: New file.
18326         * sysdeps/i386/tininess.h: Likewise.
18327         * sysdeps/sh/tininess.h: Likewise.
18328         * sysdeps/x86_64/tininess.h: Likewise.
18329         * stdlib/tst-strtod-underflow.c: Likewise.
18330         * stdlib/tst-tininess.c: Likewise.
18331         * stdlib/strtod_l.c: Include <tininess.h>.
18332         (round_and_return): Do not set errno for exact underflow cases.
18333         Force an underflow exception when setting errno for underflow.
18334         Determine underflow based on rounding to normal precision if
18335         TININESS_AFTER_ROUNDING.
18336         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
18337         ERANGE for exact underflow cases.
18338         * stdlib/Makefile (tests): Add tst-tininess and
18339         tst-strtod-underflow.
18340         ($(objpfx)tst-tininess): Use $(link-libm).
18341         ($(objpfx)tst-strtod-underflow): Likewise.
18343 2012-10-30  Andreas Jaeger  <aj@suse.de>
18345         [BZ#14767]
18346         * elf/Makefile (tests): Remove conditional for have-initfini-array
18347         since this is now always required and the variable does not exist
18348         anymore.
18349         (tests-static): Likewise.
18350         (modules-names): Likewise.
18352         * po/eo.po: Add Esperanto translation from translation project.
18354         * elf/tst-array1.c (fini_array): Make writeable so that it can be
18355         merged with constructor/destructor.
18356         (init_array): Likewise.
18357         * elf/tst-array2dep.c (fini_array): Likewise.
18358         (init_array): Likewise.
18360 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
18362         * manual/message.texi: Delete @cartouche tags.
18364 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
18366         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
18367         EOPNOTSUPP.
18368         * sysdeps/mach/hurd/fsync.c: Likewise.
18370         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
18371         [_POSIX_REALTIME_SIGNALS]: Change condition to
18372         [_POSIX_REALTIME_SIGNALS > 0].
18374 2012-10-27  Andreas Jaeger  <aj@suse.de>
18376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
18377         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
18378         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
18379         [__WORDSIZE != 64]: Likewise.
18381 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
18383         *  iconvdata/tst-table.sh: Remove ${SHELL}.
18384         *  iconvdata/tst-tables.sh: Likewise.
18386 2012-10-25  David S. Miller  <davem@davemloft.net>
18388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18389         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
18390         of strtoull.
18392         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
18393         ifunc-impl-list.c
18394         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18395         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
18396         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
18397         file.
18399 2012-10-25  Roland McGrath  <roland@hack.frob.com>
18401         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18402         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
18403         __getdirentries.
18405 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18406             Jim Blandy  <jimb@codesourcery.com>
18408         * scripts/cross-test-ssh.sh: New file.
18409         * manual/install.texi (Configuring and compiling): Document use of
18410         cross-test-ssh.sh.
18411         * INSTALL: Regenerated.
18413 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
18415         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
18416         EOPNOTSUPP.
18418 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
18420         * Makeconfig (run-program-prefix): Fix comment.
18422 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18423             Jim Blandy  <jimb@codesourcery.com>
18425         * Makeconfig (test-wrapper): New variable,
18426         (test-wrapper-env): Likewise.
18427         [$(cross-compiling) = yes && $(test-wrapper) != ""]
18428         (run-built-tests): Define to yes.
18429         (run-program-prefix): Use $(test-wrapper).
18430         (built-program-cmd): Likewise.
18431         * Rules (make-test-out): Use $(test-wrapper-env) and
18432         $(host-built-program-cmd).
18433         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
18434         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
18435         tst-pathopt.sh.
18436         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
18437         $(test-wrapper-env) to tst-rtld-load-self.sh.
18438         ($(objpfx)order2.out): Use $(test-wrapper).
18439         ($(objpfx)tst-initorder.out): Likewise.
18440         ($(objpfx)tst-initorder2.out): Likewise.
18441         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
18442         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
18443         (test_wrapper_env): New variable.  Use it to run ld.so.
18444         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
18445         Use it to run ld.so.
18446         (test_wrapper_env): Likewise.
18447         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
18448         $(test-wrapper) to run-iconv-test.sh.
18449         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
18450         (ICONV): Use $test_wrapper.
18451         * posix/Makefile ($(objpfx)globtest.out): Pass
18452         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
18453         globtest.sh, not $(run-program-prefix).
18454         * posix/globtest.sh (run_via_rtld_prefix): New variable.
18455         (test_wrapper): Likewise.
18456         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
18457         set together with run_via_rtld_prefix.
18458         (run_program_prefix): Define in terms of test_wrapper and
18459         run_via_rtld_prefix.
18461 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18463         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18464         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18465         Targets removed.
18467         [BZ #14743]
18468         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18469         Declare __clock_getres, __clock_gettime, __clock_settime,
18470         __clock_nanosleep, and __clock_getcpuclockid.
18471         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18472         Remove librt_hidden_def (clock_gettime).
18473         * sysdeps/unix/clock_gettime.c: Likewise.
18474         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18475         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18476         * rt/clock_getres.c: Define __clock_getres as an alias.
18477         * sysdeps/posix/clock_getres.c: Likewise.
18478         * rt/clock_settime.c: Define __clock_settime as an alias.
18479         * sysdeps/unix/clock_settime.c: Likewise.
18480         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18481         * sysdeps/unix/clock_nanosleep.c: Likewise.
18482         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18483         * rt/clock-compat.c: New file.
18484         * rt/Makefile (librt-routines): Add clock-compat and move
18485         $(clock-routines) to ...
18486         (routines): ... here, new variable.
18487         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18488         Don't add get_clockfreq here.
18489         * rt/Versions (libc: GLIBC_2.17): New version set.
18490         Add clock_* symbols here.
18491         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18492         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18493         (GLIBC_2.17): Add clock_* symbols.
18494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18496         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18498         Likewise.
18499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18500         Likewise.
18501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18502         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18505         * NEWS: Mention the move.
18507         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18508         Use __open, __read, __close rather than their public counterparts.
18509         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18510         (__get_clockfreq_via_cpuinfo): Likewise.
18511         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18512         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18514         * config.h.in (HAVE_IFUNC): New #undef.
18515         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18516         was successful.
18517         * configure: Regenerated.
18519 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18521         * configure.in: Move READELF check to start of file.
18522         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18523         libc_cv_asm_gnu_indirect_function in the process.
18524         * configure: Regenerated.
18526 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18528         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18529         send the output to /dev/null.
18530         (libc_cv_cc_with_libunwind): Likewise.
18531         (libc_cv_as_noexecstack): Likewise.
18532         * configure: Regenerate.
18534 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18536         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18538         * posix/globtest.sh (TMPDIR): Do not set.
18539         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18540         (testout): Likewise.
18542 2012-10-24  Andreas Jaeger  <aj@suse.de>
18544         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18545         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18546         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18547         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18548         posix_fadvise64, posix_fallocate64.
18550         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18551         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18552         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18553         Likewise.
18554         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18555         Likewise.
18556         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18558         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18559         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18560         <bits/fcntl-linux.h>.
18561         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18563         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18564         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18565         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18566         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18567         [__WORDSIZE != 64]: Likewise.
18569 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18571         * Makeconfig (run-built-tests): New variable.
18572         * Rules [$(cross-compiling) = yes]: Change condition to
18573         [$(run-built-tests) = no].
18574         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18575         to [$(run-built-tests) = yes].
18576         * elf/Makefile [$(cross-compiling) = no]: Likewise
18577         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18578         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18579         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18580         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18581         * io/Makefile [$(cross-compiling) = no]: Likewise.
18582         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18583         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18584         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18585         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18586         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18587         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18588         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18589         * string/Makefile [$(cross-compiling) = no]: Likewise.
18591         * posix/Makefile ($(objpfx)globtest.out): Pass
18592         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18593         $(rtld-installed-name).
18594         * posix/globtest.sh (elf_objpfx): Remove variable.
18595         (rtld_installed_name): Likewise.
18596         (library_path): Likewise.
18597         (run_program_prefix): New variable.  Use for running globtest
18598         binary.
18600 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18601             Joseph Myers  <joseph@codesourcery.com>
18603         * Makeconfig (host-built-program-cmd): New variable.
18604         * elf/Makefile (tst-stackguard1-ARGS): Use
18605         $(host-built-program-cmd).
18606         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18607         (tst-spawn-ARGS): Likewise.
18608         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18610 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18611             Jim Blandy  <jimb@codesourcery.com>
18613         * Makeconfig (run-via-rtld-prefix): New variable.
18614         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18615         (built-program-cmd): Likewise.
18617 2012-10-22  Andreas Jaeger  <aj@suse.de>
18619         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18620         __O_RSYNC if it exists, otherwise to O_SYNC.
18622 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18623             Joseph Myers  <joseph@codesourcery.com>
18625         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18626         /dev/null.
18627         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18628         from /dev/null
18629         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18630         /dev/null.
18632 2012-10-22  Andreas Jaeger  <aj@suse.de>
18634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18635         Define always.
18636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18638         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18639         bits/fcntl-linux.h.
18641         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18642         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18645         to __O_LARGEFILE.
18646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18647         to __O_LARGEFILE.
18649 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18650             Joseph Myers  <joseph@codesourcery.com>
18652         * config.make.in (NM): New variable.
18654 2012-10-21  Andreas Jaeger  <aj@suse.de>
18656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18657         definitions and declarations that are provided by
18658         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18660 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18662         [BZ #14683]
18663         * elf/Makefile (tests-static): Add tst-leaks1-static.
18664         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18665         ($(objpfx)tst-leaks1-static): New rule.
18666         ($(objpfx)tst-leaks1-static-mem): Likewise.
18667         (tst-leaks1-static-ENV): New macro.
18668         * elf/dl-open.c (dl_open_worker): Check the main application
18669         only if SHARED is defined.
18670         * elf/tst-leaks1-static.c: New file.
18672 2012-10-20  Andreas Jaeger  <aj@suse.de>
18674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18675         generic values for Linux.
18676         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18677         and declarations that are provided by <bits/fcntl-linux.h> and
18678         include <bits/fcntl-linux.h>.
18679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18682 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18684         * io/fcntl.h: Move include of <bits/types.h> to the top and
18685         include it unconditionally.
18687 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18689         * wcsmbs/Makefile (tests-ifunc): New variable.
18690         (tests): Add $(tests-ifunc).
18691         * wcsmbs/test-wcschr-ifunc.c: New file.
18692         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18693         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18694         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18695         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18696         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18698         * string/Makefile (tests-ifunc): New variable.
18699         (tests): Add $(tests-ifunc).
18700         * string/test-memccpy.c (TEST_NAME): New macro.
18701         * string/test-memchr.c (TEST_NAME): Likewise.
18702         * string/test-memcmp.c (TEST_NAME): Likewise.
18703         * string/test-memcpy.c (TEST_NAME): Likewise.
18704         * string/test-memmem.c (TEST_NAME): Likewise.
18705         * string/test-memmove.c (TEST_NAME): Likewise.
18706         * string/test-memset.c (TEST_NAME): Likewise.
18707         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18708         * string/test-stpcpy.c (TEST_NAME): Likewise.
18709         * string/test-stpncpy.c (TEST_NAME): Likewise.
18710         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18711         * string/test-strcasestr.c (TEST_NAME): Likewise.
18712         * string/test-strcat.c (TEST_NAME): Likewise.
18713         * string/test-strchr.c (TEST_NAME): Likewise.
18714         * string/test-strcmp.c(TEST_NAME): Likewise.
18715         * string/test-strcpy.c (TEST_NAME): Likewise.
18716         * string/test-strcspn.c (TEST_NAME): Likewise.
18717         * string/test-strlen.c (TEST_NAME): Likewise.
18718         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18719         * string/test-strncmp.c (TEST_NAME): Likewise.
18720         * string/test-strncpy.c (TEST_NAME): Likewise.
18721         * string/test-strnlen.c (TEST_NAME): Likewise.
18722         * string/test-strpbrk.c (TEST_NAME): Likewise.
18723         * string/test-strrchr.c (TEST_NAME): Likewise.
18724         * string/test-strspn.c (TEST_NAME): Likewise.
18725         * string/test-strstr.c (TEST_NAME): Likewise.
18726         * string/test-bcopy-ifunc.c: New file.
18727         * string/test-bzero-ifunc.c: Likewise.
18728         * string/test-memccpy-ifunc.c: Likewise.
18729         * string/test-memchr-ifunc.c: Likewise.
18730         * string/test-memcmp-ifunc.c: Likewise.
18731         * string/test-memcpy-ifunc.c: Likewise.
18732         * string/test-memmem-ifunc.c: Likewise.
18733         * string/test-memmove-ifunc.c: Likewise.
18734         * string/test-mempcpy-ifunc.c: Likewise.
18735         * string/test-memset-ifunc.c: Likewise.
18736         * string/test-rawmemchr-ifunc.c: Likewise.
18737         * string/test-stpcpy-ifunc.c: Likewise.
18738         * string/test-stpncpy-ifunc.c: Likewise.
18739         * string/test-strcasecmp-ifunc.c: Likewise.
18740         * string/test-strcasestr-ifunc.c: Likewise.
18741         * string/test-strcat-ifunc.c: Likewise.
18742         * string/test-strchr-ifunc.c: Likewise.
18743         * string/test-strchrnul-ifunc.c: Likewise.
18744         * string/test-strcmp-ifunc.c: Likewise.
18745         * string/test-strcpy-ifunc.c: Likewise.
18746         * string/test-strcspn-ifunc.c: Likewise.
18747         * string/test-strlen-ifunc.c: Likewise.
18748         * string/test-strncasecmp-ifunc.c: Likewise.
18749         * string/test-strncat-ifunc.c: Likewise.
18750         * string/test-strncmp-ifunc.c: Likewise.
18751         * string/test-strncpy-ifunc.c: Likewise.
18752         * string/test-strnlen-ifunc.c: Likewise.
18753         * string/test-strpbrk-ifunc.c: Likewise.
18754         * string/test-strrchr-ifunc.c: Likewise.
18755         * string/test-strspn-ifunc.c: Likewise.
18756         * string/test-strstr-ifunc.c: Likewise.
18758         * debug/Makefile (tests-ifunc): New variable.
18759         (tests): Add $(tests-ifunc).
18760         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18761         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18762         * debug/test-stpcpy_chk-ifunc.c: New file.
18763         * debug/test-strcpy_chk-ifunc.c: Likewise.
18765 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18767         [BZ #13601]
18768         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18769         header is not read in.
18771 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18773         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18774         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18775         directly.  Pass built executable to script as
18776         $(built-program-cmd).
18777         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18778         $testprogram without using LD_LIBRARY_PATH and $ldso.
18780         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18781         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18782         $(rtld-installed-name).
18783         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18784         (rtld_installed_name): Likewise.
18785         (library_path): Likewise.
18786         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18787         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18788         $(run-program-prefix) to tst-tables.sh.
18789         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18790         it to run tst-table-from and tst-table-to.
18791         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18792         Pass it to tst-table.sh.
18793         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18794         $(run-program-prefix) to tst-gettext.sh.
18795         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18796         tst-translit.sh.
18797         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18798         tst-gettext2.sh.
18799         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18800         to run tst-gettext.
18801         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18802         to run tst-gettext2.
18803         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18804         to run tst-translit.
18805         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18806         $(run-program-prefix) to tst-mtrace.sh.
18807         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18808         to run tst-mtrace.
18809         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18810         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18811         $(rtld-installed-name).
18812         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18813         (rtld_installed_name): Likewise.
18814         (run_program_prefix): New variable.  Use it to run wordexp-test.
18816         * Makeconfig (ARCH): Remove all definitions.
18817         (machine): Likewise.
18818         [ARCH]: Remove conditional code.
18819         [!objdir]: Give error.
18820         [!objdir] (objpfx): Remove.
18821         [!objdir] (common-objpfx): Likewise.
18822         [!objdir] (common-objdir): Likewise.
18823         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18824         AC_CONFIG_FILES call.
18825         * configure: Regenerated.
18827         [BZ #13888]
18828         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18829         or TMPDIR.
18830         (testout): Likewise.
18832         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18833         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18834         $(rtld-installed-name).
18835         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18836         (rtld_installed_name): Likwise.
18837         (runit): Remove function.
18838         (run_getconf): New variable,  Use it for running getconf binary.
18840 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18842         [BZ #14716]
18843         * string/test-memmem.c (check_result): New function.
18844         (do_one_test): Use it.
18845         (check1): New function.
18846         (test_main): Use it.
18848 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18850         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18852 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18854         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18855         (_G_LSEEK64): Likewise.
18856         (_G_MMAP64): Likewise.
18857         (_G_FSTAT64): Likewise.
18858         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18859         (_G_LSEEK64): Likewise.
18860         (_G_MMAP64): Likewise.
18861         (_G_FSTAT64): Likewise.
18862         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18863         unconditional.  Call __mmap64 directly.
18864         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18865         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18866         __lseek64 directly.
18867         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18868         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18869         __mmap64 directly.
18870         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18871         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18872         __lseek64 directly.
18873         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18874         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18875         __lseek64 directly.
18876         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18877         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18878         __lseek64 directly.
18879         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18880         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18881         __fxstat64 directly.
18882         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18883         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18884         unconditional.
18885         (freopen64) [!_G_OPEN64]: Remove conditional code.
18886         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18887         unconditional.
18888         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18889         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18890         unconditional.
18891         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18892         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18893         unconditional.
18894         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18895         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18896         unconditional.
18897         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18898         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18899         unconditional.
18900         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18901         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18902         unconditional.
18903         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18904         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18905         unconditional.
18906         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18908 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18910         [BZ #12140]
18911         * manual/memory.texi (Malloc Tunable Parameters): Add note
18912         about free list pointers overwriting some perturb bytes.
18913         Wording suggested by Roland McGrath.
18915 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18917         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18918         (lgamma_test): Likewise.
18919         (tgamma_test): Likewise.
18921 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18923         [BZ #14700]
18924         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18925         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18927 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18929         * NEWS: Mention BZ #14716.
18930         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18931         when removing AVAILABLE1_USES_J macro.
18933 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18935         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18936         (__bswap_64): __uint64_t for unsigned 64-bit int.
18938 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18940         * include/string.h (memmem): Declare libc hidden alias.
18941         * string/memmem.c (memmem): Define libc hidden alias.
18942         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18943         __read, __close instead of open, read, close.
18945 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18947         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18948         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18949         global and hidden.
18950         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18951         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18952         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18953         Likewise.
18954         (__rawmemchr_sse2): Likewise.
18955         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18956         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18957         (__strchr_sse2): Likewise.
18958         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18959         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18960         (__strcasecmp_sse2): Likewise.
18961         (__strncasecmp_sse2): Likewise.
18962         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18963         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18964         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18965         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18966         (__strrchr_sse2): Likewise.
18967         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18968         ifunc-impl-list.c.
18969         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18970         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18971         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18972         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18973         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18974         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18975         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18976         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18977         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18978         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18979         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18980         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18981         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18982         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18983         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18984         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18985         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18986         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18987         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18988         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18989         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18990         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18991         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18992         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18993         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18994         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18995         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18996         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18997         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18998         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19000         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
19001         global and hidden.
19002         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
19003         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
19004         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
19005         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
19006         Likewise.
19007         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
19008         Likewise.
19009         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
19010         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
19011         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
19012         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
19013         ifunc-impl-list.c.
19014         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19015         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19016         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19017         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19018         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19019         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19020         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19021         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19022         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19023         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19024         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19025         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19026         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19027         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
19028         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
19029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19030         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
19031         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
19032         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19033         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19034         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19035         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19036         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19037         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19038         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19039         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
19040         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
19041         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
19042         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
19043         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19044         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
19045         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19046         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19047         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
19048         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19049         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19050         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19051         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19052         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19053         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19054         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
19056         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
19057         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
19058         * include/ifunc-impl-list.h: New file.
19059         * misc/ifunc-impl-list.c: Likewise.
19060         * misc/Makefile (routines): Add ifunc-impl-list.
19061         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
19062         * string/test-string.h: Include <ifunc-impl-list.h>.
19063         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
19064         impl_array): New variables.
19065         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
19066         are defined.
19067         (test_init): Call __libc_ifunc_impl_list to initialize
19068         func_list if TEST_IFUNC and TEST_NAME are defined.
19070         * string/Makefile (strop-tests): Add bcopy and bzero.
19071         * string/test-bcopy.c: New file.
19072         * string/test-bzero.c: Likewise.
19073         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
19074         defined.
19075         * string/test-memset.c: Support bzero test if TEST_BZERO is
19076         defined.
19077         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
19078         __libc_memmove.
19079         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
19080         __libc_memset.
19081         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
19082         of memset.
19084 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
19086         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
19087         * configure: Regenerated.
19089         * Makeconfig (+link-static-before-libc): Don't include
19090         $(link-static-libc).
19092         * libio/libio.h (_IO_pos_t): Remove.
19094 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19096         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
19097         McGrath.
19099 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19101         * crypt/crypt-entry.c: Include fips-private.h.
19102         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
19103         * crypt/md5c-test.c (main): Tolerate disabled MD5.
19104         * sysdeps/unix/sysv/linux/fips-private.h: New file.
19105         * sysdeps/generic/fips-private.h: New file, dummy fallback.
19107 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
19109         * crypt/crypt-private.h: Include stdbool.h.
19110         (_ufc_setup_salt_r): Return bool.
19111         * crypt/crypt-entry.c: Include errno.h.
19112         (__crypt_r): Return NULL with EINVAL for bad salt.
19113         * crypt/crypt_util.c (bad_for_salt): New.
19114         (_ufc_setup_salt_r): Check that salt is long enough and within
19115         the specified alphabet.
19116         * crypt/badsalttest.c: New file.
19117         * crypt/Makefile (tests): Add it.
19118         ($(objpfx)badsalttest): New.
19120 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
19122         * NEWS: Add entry for BZ #14602.
19124 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19126         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
19127         type-generic.
19128         * math/libm-test.inc: Update comment listing what functions and
19129         macros are tested.
19130         (isgreater_test): New function.
19131         (isgreaterequal_test): Likewise.
19132         (isless_test): Likewise.
19133         (islessequal_test): Likewise.
19134         (islessgreater_test): Likewise.
19135         (isunordered_test): Likewise.
19136         (main): Call the new functions.
19138 2012-10-09  Roland McGrath  <roland@hack.frob.com>
19140         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
19141         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
19142         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
19143         * sysdeps/i386/configure: Regenerated.
19144         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
19145         * sysdeps/mach/configure: Regenerated.
19146         * sysdeps/mach/hurd/configure: Regenerated.
19147         * sysdeps/powerpc/configure: Regenerated.
19148         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19149         * sysdeps/powerpc/powerpc64/configure: Regenerated.
19150         * sysdeps/s390/s390-32/configure: Regenerated.
19151         * sysdeps/s390/s390-64/configure: Regenerated.
19152         * sysdeps/sh/configure: Regenerated.
19153         * sysdeps/sparc/configure: Regenerated.
19154         * sysdeps/unix/sysv/linux/configure: Regenerated.
19155         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19156         * sysdeps/x86_64/configure: Regenerated.
19158         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
19159         defined.  Don't check if MAP is NULL.
19161 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
19163         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
19164         (_G_stat64): Likewise.
19165         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
19166         (_G_stat64): Likewise.
19167         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
19168         instead of struct _G_stat64.
19169         * libio/fileops.c (mmap_remap_check): Likewise.
19170         (decide_maybe_mmap): Likewise.
19171         (_IO_new_file_seekoff): Likewise.
19172         (_IO_file_stat): Likewise.
19173         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
19174         _G_off64_t.
19175         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
19176         instead of struct _G_stat64.
19177         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19179 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
19181         [BZ #14602]
19182         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19183         Replace with ...
19184         (CHECK_EOL): New macro.
19185         (two_way_short_needle): Check beginning of haystack for EOL.  Use
19186         CHECK_EOL.
19187         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19188         Replace with CHECK_EOL.
19189         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
19190         Replace with CHECK_EOL.
19192 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
19194         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
19195         type-generic.
19196         * math/libm-test.inc: Update comment listing what functions and
19197         macros are tested.
19198         (finite_test): New function.
19199         (isinf_test): Likewise.
19200         (isnan_test): Likewise.
19201         (fpclassify_test): Test subnormal input.
19202         (isfinite_test): Likewise.
19203         (isnormal_test): Likewise.
19204         (main): Call the new functions.
19206 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
19208         [BZ #14660]
19209         * Makerules (%.dynsym): Force C locale when running
19210         $(OBJDUMP) --dynamic-syms.
19212 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
19214         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
19215         <stdint.h>.
19217 2012-10-06  David S. Miller  <davem@davemloft.net>
19219         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
19220         upper 32-bits of the length value in %o2 since we use branch-on-register
19221         tests which consider the entire 64-bit register.
19223 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
19225         * string/test-strstr.c (check2): Add a test for page boundary.
19227 2012-10-05  David S. Miller  <davem@davemloft.net>
19229         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
19230         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
19231         file.
19232         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19233         sysdep_routines.
19234         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19235         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
19236         and bzero when HWCAP_SPARC_CRYPTO is present.
19238 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
19240         [BZ #14602]
19241         * string/test-strstr.c (check2): New function.
19242         (test_main): Call check2.
19244         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
19245         and bug-strchr1.
19246         * string/bug-strcasestr1.c (do_test): Moved to ...
19247         * string/test-strcasestr.c (check1): Here.  New function.
19248         (do_one_test): Break out result checking code into ...
19249         (check_result): This.  New function.
19250         (do_one_test): Call check_result.
19251         (test_main): Call check1.
19252         * string/bug-strchr1.c (do_test): Moved to ...
19253         * string/test-strchr.c (check1): Here.  New function.
19254         (do_one_test): Break out result checking code into ...
19255         (check_result): This.  New function.
19256         (do_one_test): Call check_result.
19257         (test_main): Call check1.
19258         * string/bug-strstr1.c (main): Moved to ...
19259         * string/test-strstr.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-strcasestr1.c: Removed.
19265         * string/bug-strchr1.c: Likewise.
19266         * string/bug-strstr1.c: Likewise.
19268         * elf/Makefile (dl-routines): Add hwcaps.
19269         * elf/dl-support.c (_dl_important_hwcaps): Removed.
19270         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
19271         (_dl_important_hwcaps): Moved to ...
19272         * elf/dl-hwcaps.c: Here.  New file.
19273         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
19275         [BZ #14557]
19276         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
19277         if IS_IN_rtld isn't defined.
19279         * elf/dl-support.c (_dl_sysinfo_map): New.
19280         Include "get-dynamic-info.h" and "setup-vdso.h".
19281         (_dl_non_dynamic_init): Call setup_vdso.
19282         * elf/dynamic-link.h: Don't include <assert.h>.
19283         (elf_get_dynamic_info): Moved to ...
19284         * elf/get-dynamic-info.h: Here.  New file.
19285         * elf/dynamic-link.h: Include "get-dynamic-info.h".
19286         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
19287         * elf/setup-vdso.h: Here.  New file.
19288         * elf/rtld.c: Include "setup-vdso.h".
19289         (dl_main): Call setup_vdso.
19291 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
19293         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
19294         creal in comment listing functions tested.  List finite, isinf,
19295         isnan, isless, islessequal, isgreater, isgreaterequal,
19296         islessgreater, isunordered, lgamma_r and pow10 as functions and
19297         macros not tested.  Mention which functions not tested are aliases
19298         for other functions.  Fix typo.  Note that signs of NaNs are not
19299         tested.
19301         * scripts/config.guess: Update from config.git.
19302         * scripts/config.sub: Likewise.
19304 2012-10-04  Roland McGrath  <roland@hack.frob.com>
19306         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
19307         * misc/madvise.c (madvise): Renamed to __madvise.
19308         Make madvise a weak alias.
19309         * include/sys/mman.h: Declare __madvise.
19310         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
19311         * sysdeps/unix/syscalls.list
19312         (madvise): Make __madvise the strong name, and madvise a weak alias.
19313         * sysdeps/unix/sysv/linux/syscalls.list
19314         (madvise, mmap): Remove redundant entries.
19315         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
19316         * malloc/malloc.c (mtrim): Likewise.
19317         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
19319 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19321         * sysdeps/mach/hurd/dl-cache.c: File removed.
19322         * config.h.in (USE_LDCONFIG): New #undef.
19323         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
19324         * configure: Regenerated.
19325         * elf/Makefile (dl-routines): Add dl-cache only under
19326         [$(use-ldconfig) = yes].
19327         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
19328         cache on [USE_LDCONFIG].
19329         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
19330         [USE_LDCONFIG].
19331         * elf/rtld.c (dl_main): Likewise.
19333 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
19335         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
19336         _SC_LEVEL4_CACHE_LINESIZE.
19338 2012-10-03  Roland McGrath  <roland@hack.frob.com>
19340         * sysdeps/unix/bsd/confstr.h: File removed.
19342 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
19344         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
19345         sys/sdt-config.h.
19347 2012-10-02  Roland McGrath  <roland@hack.frob.com>
19349         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
19350         Make 'mapoff' field ElfW(Off) rather than off_t.
19352 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
19354         * nscd/Makefile: Remove nscd-cflags and all its users.
19355         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
19356         (CFLAGS-nonlib): Add compiler flags for nscd modules.
19358         [BZ #10631]
19359         * malloc.c (malloc_printerr): Clarify error message.
19361 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
19363         [BZ #14648]
19364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19365         Set bit_FMA_Usable if FMA is supported.
19366         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
19367         macro.
19368         (bit_FMA4_Usable): Updated.
19369         (index_FMA_Usable): New macro.
19370         (CPUID_FMA): Likewise
19371         (HAS_FMA): Defined with bit_FMA_Usable.
19373 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19375         * bits/types.h (__swblk_t): Type removed.
19376         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
19377         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
19378         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19379         (__SWBLK_T_TYPE): Likewise.
19380         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19381         (__SWBLK_T_TYPE): Likewise.
19382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19383         (__SWBLK_T_TYPE): Likewise.
19384         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19385         (__SWBLK_T_TYPE): Likewise.
19387 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
19388             Honza Horak <hhorak@redhat.com>
19390         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
19391         (xdr_mapname): Use YPMAXMAP as maxsize.
19392         (xdr_peername): Use YPMAXPEER as maxsize.
19393         (xdr_keydat): Use YPAXRECORD as maxsize.
19394         (xdr_valdat): Use YPMAXRECORD as maxsize.
19396 2012-10-01  Roland McGrath  <roland@hack.frob.com>
19398         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
19400         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
19401         * csu/init-first.c: ... here.
19402         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
19403         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19404         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19405         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19406         * sysdeps/i386/init-first.c: File removed.
19407         * sysdeps/sh/init-first.c: File removed.
19409 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
19411         [BZ #14645]
19412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
19413         if x * y might underflow to zero and z is zero.
19414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19416         * math/libm-test.inc (min_subnorm_value): New variable.
19417         (fma_test): Add more tests.
19418         (fma_test_towardzero): Likewise.
19419         (fma_test_downward): Likewise
19420         (fma_test_upward): Likewise.
19421         (initialize): Set min_subnorm_value.
19423 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
19425         [BZ #14638]
19426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
19427         0 + 0.
19428         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
19429         mode for addition resulting in exact zero.
19430         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
19431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
19432         exact 0 + 0.
19433         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19435         * math/libm-test.inc (fma_test): Add more tests.
19436         (fma_test_towardzero): New function.
19437         (fma_test_downward): Likewise.
19438         (fma_test_upward): Likewise.
19439         (main): Call the new functions.
19441 2012-09-28  David S. Miller  <davem@davemloft.net>
19443         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
19445 2012-09-28  Roland McGrath  <roland@hack.frob.com>
19447         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
19448         instead of SIGALRM.
19450         * sysdeps/gnu/_G_config.h: Moved to ...
19451         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
19452         * sysdeps/mach/hurd/_G_config.h: Moved to ...
19453         * sysdeps/generic/_G_config.h: ... here.
19455         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
19457         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
19459         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
19460         Conditionalize target on [libnss_test1.so-version].
19462         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19464         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19465         (elfobjdir): Move out of conditionals.
19467         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19468         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19469         (__nss_lookup_function): Conditionalize label remove_from_tree on
19470         [!DO_STATIC_NSS || SHARED], matching its only use.
19472 2012-09-28  David S. Miller  <davem@davemloft.net>
19474         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19475         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19476         file.
19477         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19478         sysdep_routines.
19479         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19481         when HWCAP_SPARC_CRYPTO is present.
19483 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19485         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19487 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19489         [BZ #6530]
19490         * stdio-common/vfprintf.c (process_string_arg): Revert
19491         2000-07-22 change.
19493 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19495         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19496         for testcase.
19497         * stdio-common/tst-sprintf.c: Include <locale.h>
19498         (main): Test sprintf's handling of incomplete multibyte
19499         characters.
19501 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19503         * elf/dl-runtime.c (VERSYMIDX): Removed.
19504         * elf/dl-version.c (VERSYMIDX): Likewise.
19505         * elf/do-rel.h (VERSYMIDX): Likewise.
19506         (VALIDX): Likewise.
19507         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19508         * elf/rtld.c (VALIDX): Likewise.
19509         (ADDRIDX): Likewise.
19510         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19511         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19512         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19513         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19514         (VALIDX): Likewise.
19515         (ADDRIDX): Likewise.
19517 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19519         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19521 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19523         [BZ #11438]
19524         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19525         to global scope.
19526         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19527         addresses are in the same scope as 192.0.2/24.
19528         * posix/gai.conf: Document new scope table defaults.
19530 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19532         [BZ #5298]
19533         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19534         for ftell.  Compute offsets from write pointers instead.
19535         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19537 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19539         [BZ #14543]
19540         * libio/Makefile (tests): New test case tst-fseek.
19541         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19542         combination works in wide mode.
19543         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19544         state when the external buffer state changes.
19546 2012-09-27  David S. Miller  <davem@davemloft.net>
19548         [BZ #14376]
19549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19550         pass reloc->r_addend in as the 'high' argument to
19551         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19555 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19557         * rt/tst-aio2.c: Include <pthread.h>.
19558         * rt/tst-aio3.c: Likewise.
19560 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19562         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19564 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19566         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19567         contents on [SHARED].
19569 2012-09-26  Marek Polacek  <polacek@redhat.com>
19571         [BZ #14530]
19572         [BZ #13741]
19573         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19574         for C++ and GCC <4.3 as well as for non GCC compilers.
19576 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19580 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19582         * Makefile.in (all, install): Declare with .PHONY.
19583         Reported by Michael Hope <michael.hope@linaro.org>.
19585 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19587         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19588         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19589         system header.
19590         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19591         Likewise.
19592         (sydep_routines): Add the new and the internal functions.
19593         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19594         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19596         (GLIBC_2.17): Add the new function.
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19598         (GLIBC_2.17): Likewise.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19600         (GLIBC_2.17): Likewise.
19601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19602         (GLIBC_2.17): Likewise.
19603         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19605 2012-09-25  Alan Modra  <amodra@gmail.com>
19607         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19608         Add release barrier before setting once_control to say
19609         initialisation is done.  Add hints on lwarx.  Use macro in
19610         place of isync.
19611         (clear_once_control): Add release barrier.
19613 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19615         [BZ #13629]
19616         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19617         specially.
19618         * math/s_clog10.c (__clog10): Likewise.
19619         * math/s_clog10f.c (__clog10f): Likewise.
19620         * math/s_clog10l.c (__clog10l): Likewise.
19621         * math/s_clogf.c (__clogf): Likewise.
19622         * math/s_clogl.c (__clogl): Likewise.
19623         * math/Makefile (libm-calls): Add x2y2m1.
19624         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19625         (__x2y2m1): Likewise.
19626         (__x2y2m1l): Likewise.
19627         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19628         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19629         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19630         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19631         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19632         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19633         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19634         * sysdeps/i386/fpu/libm-test-ulps: Update.
19635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19637         [BZ #14621]
19638         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19639         int as type of variable DEPTH.
19640         (glob): Use size_t instead of int as type of variables NEWCOUNT
19641         and OLD_PATHC.
19643 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19645         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19646         Add s_sincosf-sse2.
19647         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19648         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19649         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19650         macros for using routine as __sincosf_ia32.
19651         Use macro for function declaration and weak_alias.
19652         * sysdeps/i386/fpu/libm-test-ulps: Update.
19654         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19657         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19658         subnormal argument.
19659         * math/s_cexpf.c (__cexpf): Likewise.
19660         * math/s_csinf.c (__csinf): Likewise.
19661         * math/s_csinhf.c (__csinhf): Likewise.
19662         * math/s_ctanf.c (__ctanf): Likewise.
19663         * math/s_ctanhf.c (__ctanhf): Likewise.
19664         * math/s_ccosh.c (__ccoshf): Likewise.
19665         * math/s_cexp.c (__cexpl): Likewise.
19666         * math/s_csin.c (__csin): Likewise.
19667         * math/s_csinh.c (__csinh): Likewise.
19668         * math/s_ctan.c (__ctan): Likewise.
19669         * math/s_ctanh.c (ctanh): Likewise.
19670         * math/s_ccoshl.c (__ccoshl): Likewise.
19671         * math/s_cexpl.c (__cexpl): Likewise.
19672         * math/s_csinl.c (__csinl): Likewise.
19673         * math/s_csinhl.c (__csinhl): Likewise.
19674         * math/s_ctanl.c (__ctanl): Likewise.
19675         * math/s_ctanhl.c (__ctanhl): Likewise.
19677 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19679         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19680         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19681         (_IO_off_t): Define to __off_t, not _G_off_t.
19682         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19683         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19684         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19685         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19686         type of __dummy and __dummy2 fields.
19687         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19688         (_G_ssize_t): Likewise.
19689         (_G_off_t): Likewise.
19690         (_G_pid_t): Likewise.
19691         (_G_uid_t): Likewise.
19692         (_G_wchar_t): Likewise.
19693         (_G_wint_t): Likewise.
19694         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19695         (_G_ssize_t): Likewise.
19696         (_G_off_t): Likewise.
19697         (_G_pid_t): Likewise.
19698         (_G_uid_t): Likewise.
19699         (_G_wchar_t): Likewise.
19700         (_G_wint_t): Likewise.
19701         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19702         (_G_ssize_t): Likewise.
19703         (_G_off_t): Likewise.
19704         (_G_pid_t): Likewise.
19705         (_G_uid_t): Likewise.
19706         (_G_wchar_t): Likewise.
19707         (_G_wint_t): Likewise.
19709 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19711         * malloc/arena.c: Include malloc-sysdep.h.
19712         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19713         is sufficient to shrink the heap or an unmap is needed.
19714         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19715         new function check_may_shrink_heap.
19716         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19717         new function check_may_shrink_heap.
19719 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19721         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19722         comments.
19724 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19726         * catgets/test-gencat.sh: Add "set -e".
19727         * elf/tst-pathopt.sh: Likewise.
19728         * grp/tst_fgetgrent.sh: Likewise.
19729         * iconvdata/run-iconv-test.sh: Likewise.
19730         * intl/tst-gettext.sh: Likewise.
19731         * intl/tst-gettext2.sh: Likewise.
19732         * intl/tst-gettext4.sh: Likewise.
19733         * intl/tst-gettext6.sh: Likewise.
19734         * intl/tst-translit.sh: Likewise.
19735         * io/ftwtest-sh: Likewise.
19736         * libio/test-freopen.sh: Likewise.
19737         * malloc/tst-mtrace.sh: Likewise.
19738         * posix/globtest.sh: Likewise.
19739         * posix/tst-getconf.sh: Likewise.
19740         * posix/wordexp-tst.sh: Likewise.
19741         * stdio-common/tst-printf.sh: Likewise.
19742         * stdio-common/tst-unbputc.sh: Likewise.
19743         * stdlib/tst-fmtmsg.sh: Likewise.
19744         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19745         * catgets/Makefile: Do not specify -e option when running
19746         testsuite shell scripts.
19747         * elf/Makefile: Likewise.
19748         * grp/Makefile: Likewise.
19749         * iconvdata/Makefile: Likewise.
19750         * intl/Makefile: Likewise.
19751         * io/Makefile: Likewise.
19752         * libio/Makefile: Likewise.
19753         * malloc/Makefile: Likewise.
19754         * posix/Makefile: Likewise.
19755         * stdio-common/Makefile: Likewise.
19756         * stdlib/Makefile: Likewise.
19757         * sysdeps/x86_64/Makefile: Likewise.
19759         * io/ftwtest-sh: Add copyright header.
19760         * posix/globtest.sh: Likewise.
19761         * posix/tst-getconf.sh: Likewise.
19762         * posix/wordexp-tst.sh: Likewise.
19763         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19765 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19767         [BZ #13679]
19768         * Makeconfig (+link): Defined as $(+link-static) if
19769         $(build-shared) isn't yes.
19770         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19771         isn't yes.
19772         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19774         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19776         [BZ #14562]
19777         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19778         new chunk size with MALLOC_ALIGN_MASK.
19780 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19782         [BZ #5044]
19783         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19784         <rounding-mode.h>.
19785         (__printf_fphex): Determine rounding using get_rounding_mode and
19786         round_away.
19787         * stdio-common/tst-printf-round.c (struct hex_test): New
19788         structure.
19789         (hex_tests): New variable.
19790         (test_hex_in_one_mode): New function.
19791         (do_test): Also run tests for hex float output.
19793 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19795         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19796         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19797         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19798         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19799         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19800         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19801         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19802         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19804 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19806         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19807         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19808         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19809         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19811 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19813         [BZ #14579]
19814         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19815         mode only.
19816         * elf/tst-rtld-load-self.sh: New test.
19817         * elf/Makefile: Run it.
19819 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19821         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19822         (tst-writev-ENV): Remove.
19823         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19825 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19827         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19829 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19831         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19832         unconditional.
19833         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19834         Likewise.
19835         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19836         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19837         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19838         Likewise.
19840 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19842         [BZ #14587]
19843         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19844         * config.make.in (have-cpp-asm-debuginfo): Removed.
19845         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19846         * configure: Regenerated.
19848 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19850         [BZ #5044]
19851         * stdio-common/printf_fp.c: Include <stdbool.h> and
19852         <rounding-mode.h>.
19853         (___printf_fp): Determine rounding using get_rounding_mode and
19854         round_away.
19855         * stdio-common/tst-printf-round.c: New file.
19856         * stdio-common/Makefile (tests): Add tst-printf-round.
19857         (link-libm): New variable.
19858         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19860 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19862         [BZ #14576]
19863         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19864         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19865         Likewise.
19866         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19867         Likewise.
19869 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19871         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19872         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19873         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19874         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19876 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19878         [BZ #14518]
19879         * include/rounding-mode.h: New file.
19880         * sysdeps/generic/get-rounding-mode.h: Likewise.
19881         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19882         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19883         (MAX_VALUE): New macro.
19884         (MIN_VALUE): Likewise.
19885         (overflow_value): New function.
19886         (underflow_value): Likewise.
19887         (round_and_return): Use overflow_value and underflow_value to
19888         determine return values in overflow and underflow cases.  Use
19889         round_away to determine rounding depending on rounding mode.
19890         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19891         determine return values in overflow and underflow cases.
19892         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19893         (struct test_results): New structure.
19894         (struct test): Use struct test_results to store expected results
19895         for all rounding modes.
19896         (TEST): Include expected results for all rounding modes.
19897         (test_in_one_mode): New function.
19898         (do_test): Use test_in_one_mode to compute and check results.
19899         Check results for all rounding modes.
19900         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19901         $(link-libm).
19903 2012-12-09  Allan McRae  <allan@archlinux.org>
19905         * sysdeps/i386/fpu/libm-test-ulps: Update
19907 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19909         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19910         (_G_int32_t): Likewise.
19911         (_G_uint16_t): Likewise.
19912         (_G_uint32_t): Likewise.
19913         (_G_HAVE_BOOL): Likewise.
19914         (_G_HAVE_ATEXIT): Likewise.
19915         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19916         (_G_HAVE_IO_FILE_OPEN): Likewise.
19917         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19918         (_G_int32_t): Likewise.
19919         (_G_uint16_t): Likewise.
19920         (_G_uint32_t): Likewise.
19921         (_G_HAVE_BOOL): Likewise.
19922         (_G_HAVE_ATEXIT): Likewise.
19923         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19924         (_G_HAVE_IO_FILE_OPEN): Likewise.
19925         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19926         (_G_int32_t): Likewise.
19927         (_G_uint16_t): Likewise.
19928         (_G_uint32_t): Likewise.
19929         (_G_HAVE_BOOL): Likewise.
19930         (_G_HAVE_ATEXIT): Likewise.
19931         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19932         (_G_HAVE_IO_FILE_OPEN): Likewise.
19934 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19936         * csu/libc-tls.c: Update copyright years.
19938 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19940         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19941         [!_G_USING_THUNKS]: Remove conditional code.
19942         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19943         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19945         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19946         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19947         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19948         (_G_VTABLE_LABEL_PREFIX): Likewise.
19949         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19950         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19951         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19952         (_G_VTABLE_LABEL_PREFIX): Likewise.
19953         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19954         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19955         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19956         (_G_VTABLE_LABEL_PREFIX): Likewise.
19957         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19959 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19961         * libio/Makefile: Include ../Makeconfig before tests.
19962         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19963         only if $(build-shared) is yes.
19965         * iconv/gconv_db.c: Update copyright years.
19967 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19969         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19970         unwind info if defined PIC. Fix special cases description.
19971         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19973         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19974         DP_HI_MASK entry.
19975         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19977 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19979         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19981         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19982         is NULL.
19984         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19985         (LDLIBS-tst-chk4): This.
19986         (LDFLAGS-tst-chk5): Renamed to ...
19987         (LDLIBS-tst-chk5): This.
19988         (LDFLAGS-tst-chk6): Renamed to ...
19989         (LDLIBS-tst-chk6): This.
19990         (LDFLAGS-tst-lfschk4): Renamed to ...
19991         (LDLIBS-tst-lfschk4): This.
19992         (LDFLAGS-tst-lfschk5): Renamed to ...
19993         (LDLIBS-tst-lfschk5): This.
19994         (LDFLAGS-tst-lfschk6): Renamed to ...
19995         (LDLIBS-tst-lfschk6): This.
19997         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19998         on $(common-objpfx)soversions.mk.
20000 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
20002         [BZ #10014]
20003         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
20004         example host name.
20006 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20008         * malloc/arena.c (arena_get_retry): New function that gets
20009         another arena for the caller to try its request on.
20010         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
20011         current arena cannot fulfill the request.
20012         (__libc_memalign): Likewise.
20013         (__libc_memalign): Likewise.
20014         (__libc_pvalloc): Likewise.
20015         (__libc_calloc): Likewise.
20017 2012-09-05  John Tobey  <john.tobey@gmail.com>
20019         [BZ #13542]
20020         * manual/arith.texi (Operations on Complex): Fix description
20021         of carg branch cut.
20023 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20025         [BZ #10014]
20026         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
20027         host name.
20029         [BZ #10038]
20030         * manual/memory.texi (Memory): Make order of menu items match
20031         order of sections.
20033 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20035         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
20036         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
20037         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
20039 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20041         * csu/libc-tls.c (static_dtv): Renamed to ...
20042         (_dl_static_dtv): This.  Make it global.
20043         (_dl_initial_dtv): Removed.
20044         (__libc_setup_tls): Updated.
20045         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
20046         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
20047         DL_INITIAL_DTV.
20049 2012-09-06  Petr Machata  <pmachata@redhat.com>
20051         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
20052         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
20053         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
20054         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
20056 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20058         [BZ #14545]
20059         * csu/libc-tls.c (_dl_initial_dtv): New variable.
20060         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
20061         freeing dtv[-1].
20063 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
20065         [BZ #14544]
20066         * Makeconfig (link-static-before-libc): Replace $(+prector)
20067         with $(+prectorT).
20068         (link-static-after-libc): Replace $(+postctor) with
20069         $(+postctorT).
20070         (link-bounded): Replace $(+prector)/$(+postctor) with
20071         $(+prectorT)/$(+postctorT).
20072         (+prectorT): New macro.
20073         (+postctorT): Likewise.
20075 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
20077         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
20078         (round_str): Handle values above the maximum for IBM long double
20079         as inexact.
20080         * stdlib/tst-strtod-round.c (tests): Regenerated.
20082 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20084         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
20085         assembler flag.
20086         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
20087         zarch_nohighgprs around the zarch optimized routines.
20088         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20089         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20090         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
20091         for zarch.
20093 2012-09-05  David S. Miller  <davem@davemloft.net>
20095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20097         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
20098         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
20099         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
20100         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
20101         entries.
20103 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20105         * malloc/arena.c: Fold copyright years.
20106         * malloc/mcheck.c, malloc/memusage.c: Likewise.
20108 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20110         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
20112 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20114         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
20116 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20118         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
20119         change internal state upon failure.
20121 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
20123         * malloc/mcheck.c (mcheck_check_all): Fix typo.
20124         * malloc/memusage.c (mmap): Likewise.
20125         (mmap64, mremap): Likewise.  Adjust name in comment.
20127 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20129         * libio/fileops.c: Fix typos in comments.
20130         * libio/oldfileops.c: Likewise.
20131         * libio/wfileops.c: Likewise.
20133 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20135         [BZ #1349]
20136         * malloc/Makefile (tests): Add tst-malloc-usable test case.
20137         (tst-malloc-usable-ENV): Set environment for test case.
20138         * malloc/hooks.c (malloc_check_get_size): New function to get
20139         requested size.
20140         * malloc/malloc.c (musable): Use malloc_check_get_size.
20141         * malloc/tst-malloc-usable.c: New test case.
20143 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20145         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
20147 2012-09-05  Allan McRae  <allan@archlinux.org>
20149         [BZ #13966]
20150         * configure.in (CXX_SYSINCLUDES): Use compiler output to
20151         determine header location.
20152         * configure: Regenerated.
20154 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
20156         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
20157         float format.
20158         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
20159         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
20160         format.
20161         (test): Regenerate.
20163 2012-09-04  David S. Miller  <davem@davemloft.net>
20165         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
20166         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
20167         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
20169 2012-09-04  Florian Weimer  <fweimer@redhat.com>
20171         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
20172         failures.
20174         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
20176 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
20178         [BZ #9914]
20179         * libio/iogetdelim.c: Include <limits.h>.
20180         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
20181         + len + 1 would overflow.
20183 2012-09-03  Andreas Jaeger  <aj@suse.de>
20185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20186         * sysdeps/i386/fpu/libm-test-ulps: Update.
20188 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20190         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20191         Add s_sinf-sse2, s_conf-sse2.
20193         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
20194         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
20195         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
20196         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
20198         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
20199         for using routine as __sinf_ia32.
20200         Use macro for function declaration and weak_alias.
20201         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20202         for using routine as __cosf_ia32.
20203         Use macro for function declaration and weak_alias.
20205         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
20206         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
20208         * sysdeps/x86_64/fpu/s_sinf.S: New file.
20209         * sysdeps/x86_64/fpu/s_cosf.S: New file.
20210         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20212         * math/libm-test.inc (cos_test): Add more test cases.
20213         (sin_test): Likewise.
20214         (sincos_test): Likewise.
20216 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
20219         (IFUNC_RESOLVE): Make pointers to the specialized implementations
20220         hidden.
20221         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20223 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
20225         [BZ #14538]
20226         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
20227         first element of the GOT.
20228         (elf_machine_load_address): Return the difference between
20229         the runtime address of _DYNAMIC and elf_machine_dynamic ().
20231 2012-09-01  Allan McRae  <allan@archlinux.org>
20233         [BZ #13412]
20234         * configure.in (AWK): Require gawk version 3.0 or later.
20235         * configure: Regenerated.
20237 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
20239         * sysdeps/unix/sysv/linux/kernel-features.h
20240         (__ASSUME_POSIX_CPU_TIMERS): Remove.
20241         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20242         [__NR_clock_getres]: Make code unconditional.
20243         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
20244         (clock_getcpuclockid): Remove code left unreachable by removal of
20245         conditionals.
20246         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
20247         code unconditional.
20248         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20249         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20250         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
20251         Make code unconditional.
20252         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
20253         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20254         * sysdeps/unix/sysv/linux/clock_settime.c
20255         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
20256         conditional code.
20257         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
20258         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
20260 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
20262         [BZ #14476]
20263         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
20264         scripts/test-installation.pl.
20266         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
20267         and $ld_so_version if it is set.
20269 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20271         [BZ #14516]
20272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
20273         failure if reading from procfs failed.
20274         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
20276 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20278         * sysdeps/unix/sysv/linux/kernel-features.h
20279         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
20280         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20281         Remove conditional code.
20282         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20283         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
20284         Remove conditional code.
20285         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20286         * sysdeps/unix/sysv/linux/i386/fxstat.c
20287         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20288         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20289         * sysdeps/unix/sysv/linux/i386/fxstatat.c
20290         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20291         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20292         * sysdeps/unix/sysv/linux/i386/lxstat.c
20293         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
20294         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20295         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
20296         Remove conditional code.
20297         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20298         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
20299         Remove conditional code.
20300         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20301         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
20302         <kernel-features.h>.
20303         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
20304         Remove.
20305         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
20306         Remove conditional code.
20307         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
20308         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
20309         Remove conditional.
20311 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
20313         [BZ #5400]
20314         * NEWS: Add fixed bug number.
20316 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
20318         [BZ #14519]
20319         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
20320         underflowing exponent in case of negative sign.
20321         * stdlib/tst-strtod-round-data: Add more tests.
20322         * stdlib/tst-strtod-round.c (tests): Regenerated.
20324         [BZ #3479]
20325         * stdlib/strtod_l.c (NDIG): Remove.
20326         (HEXNDIG): Likewise.
20327         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
20328         smallest representable value.
20329         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
20330         lie within an exact representation of 1/2 ulp of the result.
20331         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
20332         unconditionally.
20333         (TENS_P9_IDX): Define unconditionally.
20334         (TENS_P9_SIZE): Likewise.
20335         (TENS_P10_IDX): Likewise.
20336         (TENS_P10_SIZE): Likewise.
20337         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
20338         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
20339         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
20340         entries for 10^2^13 and 10^2^14.
20341         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
20342         (TENS_P13_IDX): Define.
20343         (TENS_P13_SIZE): Likewise.
20344         (TENS_P14_IDX): Likewise.
20345         (TENS_P14_SIZE): Likewise.
20346         (_fpioconst_pow10): Change array size to
20347         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
20348         unconditional.
20349         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
20350         1024]: Add entries for 10^2^13 and 10^2^14.
20351         [LAST_POW10 > _LAST_POW10]: Remove #error.
20352         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
20353         (_fpioconst_pow10): Change array size to
20354         FPIOCONST_POW10_ARRAY_SIZE.
20355         * stdlib/gen-fpioconst.c: New file.
20356         * stdlib/gen-tst-strtod-round.c: Likewise.
20357         * stdlib/tst-strtod-round-data: Likewise.
20358         * stdlib/tst-strtod-round.c: Likewise.
20359         * stdlib/Makefile (tests): Add tst-strtod-round.
20361         [BZ #14459]
20362         * stdlib/strtod_l.c: Include <stdint.h>.
20363         (NDEBUG): Do not define.
20364         (round_and_return): Change EXPONENT parameter to type intmax_t.
20365         Rearrange calculations to avoid internal overflow possibilities.
20366         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
20367         Rearrange calculations to avoid internal overflow possibilities.
20368         Assert that number fits inside MPNSIZE limbs.
20369         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
20370         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
20371         calculations and add assertions to avoid internal overflow
20372         possibilities.  Add casts to avoid signed/unsigned operations.
20373         * stdlib/tst-strtod-overflow.c: New file.
20374         * stdlib/Makefile (tests): Add tst-strtod-overflow.
20376 2012-08-25  Marek Polacek  <polacek@redhat.com>
20378         * time/time.h: Fix some typos in comments.
20380 2012-08-23  Roland McGrath  <roland@hack.frob.com>
20382         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
20383         * posix/tst-rfc3484-2.c: Likewise.
20384         * posix/tst-rfc3484-3.c: Likewise.
20386 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
20388         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
20389         (EF_ARM_ABI_FLOAT_HARD): Likewise.
20391 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
20393         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
20394         #include of fxstatat64.c.
20396 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20398         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
20399         * shadow/getspent_r.c: Likewise.
20400         * shadow/getspnam.c: Likewise.
20401         * shadow/getspnam_r.c: Likewise.
20402         * gshadow/getsgent.c: Likewise.
20403         * gshadow/getsgent_r.c: Likewise.
20404         * gshadow/getsgnam.c: Likewise.
20405         * gshadow/getsgnam_r.c: Likewise.
20406         * inet/getnetbyad.c: Likewise.
20407         * inet/getnetbyad_r.c: Likewise.
20408         * inet/getnetbynm.c: Likewise.
20409         * inet/getnetbynm_r.c: Likewise.
20410         * inet/getnetent.c: Likewise.
20411         * inet/getnetent_r.c: Likewise.
20412         * inet/getproto.c: Likewise.
20413         * inet/getproto_r.c: Likewise.
20414         * inet/getprtent.c: Likewise.
20415         * inet/getprtent_r.c: Likewise.
20416         * inet/getprtname.c: Likewise.
20417         * inet/getprtname_r.c: Likewise.
20418         * inet/getrpcbyname.c: Likewise.
20419         * inet/getrpcbyname_r.c: Likewise.
20420         * inet/getrpcbynumber.c: Likewise.
20421         * inet/getrpcbynumber_r.c: Likewise.
20422         * inet/getrpcent.c: Likewise.
20423         * inet/getrpcent_r.c: Likewise.
20424         * inet/getaliasent.c: Likewise.
20425         * inet/getaliasent_r.c: Likewise.
20426         * inet/getaliasname.c: Likewise.
20427         * inet/getaliasname_r.c: Likewise.
20428         * nscd/getgrgid_r.c: Likewise.
20429         * nscd/getgrnam_r.c: Likewise.
20430         * nscd/gethstbyad_r.c: Likewise.
20431         * nscd/gethstbynm3_r.c: Likewise.
20432         * nscd/getpwnam_r.c: Likewise.
20433         * nscd/getpwuid_r.c: Likewise.
20434         * nscd/getsrvbynm_r.c: Likewise.
20435         * nscd/getsrvbypt_r.c: Likewise.
20436         * nscd/gai.c: Likewise.
20438         * configure.in (build_nscd): New substituted variable, set
20439         by --disable-build-nscd and defaults to $use_nscd.
20440         * configure: Regenerated.
20441         * config.make.in (build-nscd): New substituted variable.
20442         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
20443         Change conditional to require [$(build-nscd) = yes] as well.
20444         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
20446         [BZ# 13696]
20447         * configure.in (use_nscd): New substituted variable, set by
20448         --disable-nscd.  If enabled, define USE_NSCD.
20449         * configure: Regenerated.
20450         * config.h.in: Add USE_NSCD.
20451         * config.make.in (use-nscd): New substituted variable.
20452         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
20453         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
20454         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
20455         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
20456         (CFLAGS-getgrnam_r.c): Likewise.
20457         (CFLAGS-initgroups.c): Likewise.
20458         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
20459         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
20460         Variables removed.
20461         * inet/getnetgrent_r.c
20462         (nscd_setnetgrent): New function, broken out of ...
20463         (setnetgrent): ... here.  Call it.
20464         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20465         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20466         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20467         * nscd/Makefile (routines, aux): Move definitions after include of
20468         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20469         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20470         Conditionalize on [USE_NSCD].
20471         (is_nscd, nscd_init_cb): Likewise.
20472         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20473         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20474         * nss/nss_db/db-init.c: Likewise.
20475         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20476         [USE_NSCD].
20477         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20478         (make_request): Use it.
20479         (cache_valid_p): New function.
20480         (__check_pf): Use it.
20481         * NEWS: Add item for --disable-nscd.
20483 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20485         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20486         to support sed >= 4.2.1-20-ga9bf076.
20487         * configure: Regenerated.
20489 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20491         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20492         Conditionalize whole body on [IREL].
20494 2012-08-22  Jeff Law <law@redhat.com>
20496         [BZ #14505]
20497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20498         if the family is PF_UNSPEC.
20500 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20502         * Makerules (lib-version): Rename from V.
20503         (install-lib-nosubdir): Change V to lib-version.
20505 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20507         [BZ #14252]
20508         * powerpc32/power6/wcschr.c: New file.
20509         * powerpc32/power6/wcscpy.c: New file.
20510         * powerpc32/power6/wcsrchr.c: New file.
20511         * powerpc64/power6/wcschr.c: New file.
20512         * powerpc64/power6/wcscpy.c: New file.
20513         * powerpc64/power6/wcsrchr.c: New file.
20515 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20517         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20518         (two_way_short_needle): Use it.
20519         * string/strstr.c (AVAILABLE1_USES_J): Define.
20520         * string/strcasestr.c: Likewise.
20522         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20523         array references.
20524         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20526         [BZ #11607]
20527         * NEWS: Add an entry.
20528         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20529         define their defaults.
20530         (two_way_short_needle): Detect end-of-string on-the-fly.
20531         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20532         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20533         * string/bug-strcasestr1.c: New test.
20534         * string/Makefile: Run it.
20536 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20538         [BZ #11607]
20539         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20540         the first character.
20542 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20544         * csu/elf-init.c (__libc_csu_irel): Function removed.
20545         * csu/libc-start.c (apply_irel): New function.
20546         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20548 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20550         * sysdeps/unix/sysv/linux/kernel-features.h
20551         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20552         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20553         <kernel-features.h>.
20554         [__NR_fadvise64_64]: Make code unconditional.
20555         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20556         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20557         !__NR_fadvise64_64)]: Likewise.
20558         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20559         !__NR_fadvise64_64))]: Likewise.
20560         [__NR_fadvise64]: Make code unconditional.
20561         [!__NR_fadvise64]: Remove conditional code.
20562         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20563         <kernel-features.h>.
20564         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20565         unconditional.
20566         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20567         conditional code.
20568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20569         not include <kernel-features.h>.
20570         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20571         unconditional.
20572         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20573         conditional code.
20574         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20575         include <kernel-features.h>.
20576         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20577         unconditional.
20578         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20579         conditional code.
20581 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20584         slight instruction rearrangements per scrollpipe analysis.
20585         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20587 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20589         * manual/syslog.texi (syslog; vsyslog, closelog):
20590         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20591         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20593         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20594         DSOCAPS to match condition on defining it.
20596 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20598         * sysdeps/unix/sysv/linux/kernel-features.h
20599         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20601         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20602         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20604         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20605         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20607         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20608         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20610         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20611         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20613         * sysdeps/unix/sysv/linux/kernel-features.h
20614         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20615         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20616         unconditional.
20617         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20618         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20619         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20620         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20621         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20622         Make code unconditional.
20623         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20624         (__mmap64) [!__NR_mmap2]: Likewise.
20625         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20626         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20627         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20628         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20629         [__NR_mmap2]: Make code unconditional.
20630         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20631         (__mmap64) [!__NR_mmap2]: Likewise.
20633 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20635         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20637 2012-08-18  Andreas Jaeger  <aj@suse.de>
20639         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20641 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20643         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20644         * include/unistd.h (__have_sock_cloexec): Likewise.
20645         (__have_pipe2): Likewise.
20646         (__have_dup3): Likewise.
20648 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20650         [BZ #9685]
20651         * include/unistd.h (__have_pipe2): Change define into an extern int.
20652         (__have_dup3): Likewise.
20653         * socket/have_sock_cloexec.c: Include fcntl.h.
20654         (__have_pipe2): New variable.
20655         (__have_dup3): Likewise.
20657 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20659         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20661 2012-08-17  Marek Polacek  <polacek@redhat.com>
20663         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20664         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20666 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20668         * configure.in: Add AC_SUBST for sysheaders.
20669         * configure: Regenerated.
20670         * config.make.in (sysheaders): New substituted variable.
20672         * sysdeps/unix/mkfifo.c: Moved ...
20673         * sysdeps/posix/mkfifo.c: ... here.
20674         * sysdeps/unix/mkfifoat.c: Moved ...
20675         * sysdeps/posix/mkfifoat.c: ... here.
20677         * sysdeps/unix/utime.c: Moved ...
20678         * sysdeps/posix/utime.c: ... here.
20680         * sysdeps/unix/time.c: Moved ...
20681         * sysdeps/posix/time.c: ... here.
20682         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20683         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20685         * sysdeps/unix/nice.c: Moved ...
20686         * sysdeps/posix/nice.c: ... here.
20688         * sysdeps/unix/alarm.c: Moved ...
20689         * sysdeps/posix/alarm.c: ... here.
20691         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20693 2012-08-17  Jeff Law <law@redhat.com>
20695         * intl/Makefile (codeset_mo): New variable.
20696         ($(codeset_mo)): New target.
20697         (tst-codeset.out): Depend on that.  Remove explicit rule.
20698         (tst-gettext3.out, tst-gettext5.out): Likewise.
20699         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20700         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20701         * intl/tst-codeset.sh: Remove.
20702         * intl/tst-gettext3.sh: Likewise.
20703         * intl/tst-gettext5.sh: Likewise.
20705 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20707         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20708         * sysdeps/unix/syscalls.list: ... here.
20710         * sysdeps/posix/getaddrinfo.c
20711         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20712         (gaiconf_init, gaiconf_reload): Use them.
20713         [!_STATBUF_ST_NSEC]
20714         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20715         Define using time_t rather than struct timespec.
20717         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20718         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20719         Macros removed.
20720         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20721         [!NO_THREADS].
20722         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20723         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20724         Likewise.
20726         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20727         __libc_cleanup_push argument.
20729         * bits/param.h: New file.
20730         * misc/sys/param.h: New file.
20731         * include/sys/param.h: New file.
20732         * misc/Makefile (headers): Add bits/param.h.
20733         * sysdeps/generic/sys/param.h: File removed.
20734         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20735         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20736         * sysdeps/mach/hurd/bits/param.h: New file.
20737         * sysdeps/mach/hurd/sys/param.h: File removed.
20739         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20740         last change.
20742         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20743         [_IO_MTSAFE_IO].
20744         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20745         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20746         New macros.
20748         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20749         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20750         rather than -D_IO_MTSAFE_IO conditionally.
20751         * stdio-common/Makefile (CPPFLAGS): Likewise.
20752         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20753         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20754         Use $(libio-mtsafe).
20755         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20756         of -D_IO_MTSAFE_IO.
20757         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20758         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20759         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20760         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20761         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20762         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20763         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20764         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20765         (CFLAGS-fread_u_chk.c): Likewise.
20766         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20767         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20768         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20769         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20770         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20771         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20772         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20773         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20774         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20776         * libio/Makefile: Test [$(libc-reentrant) = yes]
20777         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20779         * Makeconfig
20780         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20781         * sysdeps/pthread/configure: File removed.
20782         * sysdeps/pthread/Makeconfig: New file.
20783         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20784         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20786 2012-08-16  Gary Benson  <gbenson@redhat.com>
20788         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20789         unmapping the first object in a namespace.
20791 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20793         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20794         (__internal_setnetgrent): ... this.  Add internal_function to
20795         definition.  Add libc_hidden_def.
20796         (setnetgrent): Update caller.
20797         (internal_endnetgrent): Renamed to ...
20798         (__internal_endnetgrent): ... this.  Add internal_function to
20799         definition.  Add libc_hidden_def.
20800         (endnetgrent): Update caller.
20801         (internal_getnetgrent_r): Renamed to ...
20802         (__internal_getnetgrent_r): ... this.  Add internal_function to
20803         definition.  Add libc_hidden_def.
20804         (__getnetgrent_r): Update caller.
20805         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20807 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20809         * stdlib/longlong.h: Update from GCC.
20811 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20813         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20814         on _QL, which is set by umul_ppmm but never used.
20815         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20816         variables, which are set by GMP macros but never used.
20817         * stdio-common/_itowa.c (_itowa): Likewise.
20818         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20819         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20821 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20823         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20824         struct La_sh_regs is not constant.
20825         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20826         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20827         and struct La_sparc64_regs are not constant.
20829 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20831         * sysdeps/unix/sysv/linux/kernel-features.h
20832         (__ASSUME_POSIX_TIMERS): Remove.
20833         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20834         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20835         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20836         Make code unconditional.
20837         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20838         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20839         Make code unconditional.
20840         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20841         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20842         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20843         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20844         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20845         Make code unconditional.
20846         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20847         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20848         (__libc_missing_posix_timers): Remove.
20850 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20852         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20853         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20855         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20857         * elf/dl-sym.c: Include <stdlib.h>.
20859         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20860         constants, which avoids warnings in 32-bit builds.
20862         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20863         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20865         * misc/lseek.c: File moved to ...
20866         * io/lseek.c: ... here.
20868         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20870         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20871         shifting LEN more than 31 bits at once.
20873 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20875         [BZ #14195]
20876         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20877         segmentation fault for a case of two empty input strings.
20878         * string/test-strncasecmp.c (check1): Renamed to...
20879         (bz12205): ...this.
20880         (bz14195): Add new testcase for two empty input strings and N > 0.
20881         (test_main): Call new testcase, adapt for renamed function.
20883 2012-08-15  Andreas Jaeger  <aj@suse.de>
20885         [BZ #14090]
20886         * crypt/md5test2.c: New test, based on test supplied by Serge
20887         Belyshev <belyshev@depni.sinp.msu.ru>.
20888         * crypt/Makefile (xtests): Add md5test-giant..
20889         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20891 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20893         [BZ #14090]
20894         * crypt/md5.c (md5_process_block): Don't assume the buffer
20895         length is less than 2**32.
20896         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20897         length is less than 2**64.
20899 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20901         * string/str-two-way.h: Include <sys/param.h>.
20902         (MAX): Macro removed.
20904         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20905         Move #define and #undef of memmove to just before and after
20906         including <string.h>.
20908         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20909         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20910         and after including <string.h>.  Move declarations of
20911         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20912         to before #include "string/memmove.c".
20914         * include/dirent.h: Declare __getdirentries.
20916         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20917         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20919 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20921         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20922         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20923         * sysdeps/i386/configure: Regenerated.
20924         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20925         STABS_CURRENT_FILE, and STABS_FUN.
20926         (END): Remove call to STABS_FUN_END.
20927         (STABS_CURRENT_FILE1): Delete.
20928         (STABS_CURRENT_FILE): Likewise.
20929         (STABS_FUN): Likewise.
20930         (STABS_FUN_END): Likewise.
20931         (STABS_FUN2): Likewise.
20932         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20933         * sysdeps/x86_64/configure: Regenerated.
20935 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20937         * elf/dl-open.c: Include <atomic.h>.
20938         * elf/dl-lookup.c: Likewise.
20940 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20942         * sysdeps/unix/sysv/linux/kernel-features.h
20943         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20944         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20945         unconditionally.
20946         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20947         unconditionally.
20948         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20949         condition on __ASSUME_CLONE_THREAD_FLAGS.
20951 2012-08-14  Andreas Jaeger  <aj@suse.de>
20953         * sysdeps/i386/fpu/libm-test-ulps: Update.
20955 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20957         * include/atomic.h (atomic_exchange_and_add): Split into ...
20958         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20959         New atomic macros.
20961 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20965 2012-08-13  Jeff Law <law@redhat.com>
20967         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20968         null byte in the output string.
20970 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20972         * sysdeps/unix/sysv/linux/kernel-features.h
20973         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20974         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20975         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20976         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20977         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20978         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20979         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20981 2012-08-09  Jeff Law <law@redhat.com>
20983         [BZ #13939]
20984         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20985         When avoid_arena is set, don't retry in the that arena.  Pick the
20986         next one, whatever it might be.
20987         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20988         (arena_lock): Pass in new parameter to arena_get2.
20989         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20990         arena_get2.
20991         (__libc_malloc): Unify retrying after main arena failure with
20992         __libc_memalign version.
20993         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20995 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20997         [BZ #14166]
20998         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20999         to __redirect_strstr.
21000         (__strstr_sse42): Use typeof __redirect_strstr.
21001         (__strstr_ia32): Likewise.
21002         (__libc_strstr): New prototype.
21003         (strstr): Renamed to ...
21004         (__libc_strstr): This.
21005         (strstr): New strong alias of __libc_strstr.
21006         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21007         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
21008         __redirect_time.
21009         Include <time.h>.
21010         (__libc_time): New prototype.
21011         (time_ifunc): Replace time with __libc_time.
21012         (time): New strong alias and hidden definition of __libc_time.
21013         (__GI_time): Remove strong alias.
21014         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
21015         Include <stddef.h>.
21016         (memmove): Redefined to __redirect_memmove.
21017         (__memmove_sse2): Use typeof __redirect_memmove.
21018         (__memmove_ssse3): Likewise.
21019         (__memmove_ssse3_back): Likewise.
21020         (__libc_memmove): New prototype.
21021         (memmove): Renamed to ...
21022         (__libc_memmove): This.
21023         (memmove): New strong alias of __libc_memmove.
21025 2012-08-08  Mark Salter  <msalter@redhat.com>
21027         * elf/elf.h
21028         (R_MN10300_TLS_GD): Define.
21029         (R_MN10300_TLS_LD): Likewise.
21030         (R_MN10300_TLS_LDO): Likewise.
21031         (R_MN10300_TLS_GOTIE): Likewise.
21032         (R_MN10300_TLS_IE): Likewise.
21033         (R_MN10300_TLS_LE): Likewise.
21034         (R_MN10300_TLS_DTPMOD): Likewise.
21035         (R_MN10300_TLS_DTPOFF): Likewise.
21036         (R_MN10300_TLS_TPOFF): Likewise.
21037         (R_MN10300_SYM_DIFF): Likewise.
21038         (R_MN10300_ALIGN): Likewise.
21039         (R_MN10300_NUM): Update.
21041 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
21043         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
21044         Remove.
21046 2012-08-08  Roland McGrath  <roland@hack.frob.com>
21048         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
21050         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
21051         sysdeps/unix -> sysdeps/posix move.
21052         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21054 2012-08-07      Allan McRae     <allan@archlinux.org>
21056         [BZ #14303]
21057         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
21058         (SUNOS_CPP): Likewise.
21059         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
21060         not found.
21061         (open_input): Call CPP using execvp.
21063 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21065         * sysdeps/unix/sysv/linux/kernel-features.h
21066         (__ASSUME_PROT_GROWSUPDOWN): Remove.
21067         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21068         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21069         (__ASSUME_WAITID_SYSCALL): Likewise.
21070         * sysdeps/unix/sysv/linux/dl-execstack.c
21071         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
21072         code unconditional.
21073         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
21074         conditional code.
21075         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
21076         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
21077         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
21078         code.
21079         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
21080         unconditional.
21081         [__ASSUME_WAITID_SYSCALL]: Likewise.
21082         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
21084 2012-08-07  Roland McGrath  <roland@hack.frob.com>
21086         * sysdeps/unix/closedir.c: Renamed to ...
21087         * sysdeps/posix/closedir.c: ... here.
21088         * sysdeps/unix/dirfd.c: Renamed to ...
21089         * sysdeps/posix/dirfd.c: ... here.
21090         * sysdeps/unix/dirstream.h: Renamed to ...
21091         * sysdeps/posix/dirstream.h: ... here.
21092         * sysdeps/unix/fdopendir.c: Renamed to ...
21093         * sysdeps/posix/fdopendir.c: ... here.
21094         * sysdeps/unix/opendir.c: Renamed to ...
21095         * sysdeps/posix/opendir.c: ... here.
21096         * sysdeps/unix/readdir.c: Renamed to ...
21097         * sysdeps/posix/readdir.c: ... here.
21098         * sysdeps/unix/readdir_r.c: Renamed to ...
21099         * sysdeps/posix/readdir_r.c: ... here.
21100         * sysdeps/unix/rewinddir.c: Renamed to ...
21101         * sysdeps/posix/rewinddir.c: ... here.
21102         * sysdeps/unix/seekdir.c: Renamed to ...
21103         * sysdeps/posix/seekdir.c: ... here.
21104         * sysdeps/unix/telldir.c: Renamed to ...
21105         * sysdeps/posix/telldir.c: ... here.
21106         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
21107         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
21108         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
21109         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
21111         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
21112         * bits/fcntl.h: ... here.
21114         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
21115         not 0.
21116         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
21117         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
21118         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
21119         (struct flock): Move l_start, l_len to the beginning.
21120         Use __pid_t for l_pid.
21121         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
21122         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
21123         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
21124         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
21125         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
21126         [__USE_LARGEFILE64] (struct flock64): New type.
21127         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
21129         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
21130         * bits/dirent.h: ... here.
21132         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
21133         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
21135 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
21137         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21138         Change from 2.6.0 to 2.6.16.
21139         * sysdeps/unix/sysv/linux/configure: Regenerated.
21140         * sysdeps/unix/sysv/linux/kernel-features.h
21141         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
21142         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
21143         version.
21144         (__ASSUME_UTIMES): Likewise.
21145         (__ASSUME_CLONE_STOPPED): Remove.
21146         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
21147         architectures, not kernel version.
21148         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
21149         (__ASSUME_NO_CLONE_DETACHED): Likewise.
21150         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
21151         (__ASSUME_WAITID_SYSCALL): Likewise.
21152         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
21153         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
21154         * README: State 2.6.16 as minimum Linux kernel version.  Do not
21155         refer to older versions.
21157 2012-08-06  Roland McGrath  <roland@hack.frob.com>
21159         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
21160         Define alphasort64 as an alias.
21161         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
21162         Define versionsort64 as an alias.
21163         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
21164         Define scandir64 as an alias.
21165         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
21166         Define scandirat64 as an alias.
21167         * dirent/alphasort64.c (alphasort64):
21168         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
21169         * dirent/versionsort64.c: Likewise.
21170         * dirent/scandir64.c: Likewise.
21171         * dirent/scandirat64.c: Likewise.
21172         * sysdeps/wordsize-64/alphasort.c: File removed.
21173         * sysdeps/wordsize-64/alphasort64.c: File removed.
21174         * sysdeps/wordsize-64/scandir.c: File removed.
21175         * sysdeps/wordsize-64/scandir64.c: File removed.
21176         * sysdeps/wordsize-64/scandirat.c: File removed.
21177         * sysdeps/wordsize-64/scandirat64.c: File removed.
21178         * sysdeps/wordsize-64/versionsort.c: File removed.
21179         * sysdeps/wordsize-64/versionsort64.c: File removed.
21180         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
21181         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
21182         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
21183         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
21184         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
21185         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
21186         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
21187         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
21189         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
21190         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21191         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
21192         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21193         [defined __arch64__ || defined __sparcv9]
21194         (__INO_T_MATCHES_INO64_T): New macro.
21195         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21196         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
21197         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
21198         * sysdeps/unix/sysv/linux/bits/dirent.h
21199         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
21200         (_DIRENT_MATCHES_DIRENT64): New macro.
21202         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
21203         Define lockf64 as an alias.
21204         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
21205         Define fseeko64 as an alias.
21206         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
21207         Define ftello64 as an alias.
21208         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
21209         Define _IO_fgetpos64 and fgetpos64 as aliases.
21210         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
21211         Define _IO_fsetpos64 and fsetpos64 as aliases.
21212         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
21213         Conditionalize body on this.
21214         * libio/fseeko64.c: Likewise.
21215         * libio/ftello64.c: Likewise.
21216         * libio/iofgetpos64.c: Likewise.
21217         * libio/iofsetpos64.c: Likewise.
21218         * sysdeps/wordsize-64/lockf.c: File removed.
21219         * sysdeps/wordsize-64/lockf64.c: File removed.
21220         * sysdeps/wordsize-64/fseeko.c: File removed.
21221         * sysdeps/wordsize-64/fseeko64.c: File removed.
21222         * sysdeps/wordsize-64/ftello.c: File removed.
21223         * sysdeps/wordsize-64/ftello64.c: File removed.
21224         * sysdeps/wordsize-64/iofgetpos.c: File removed.
21225         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
21226         * sysdeps/wordsize-64/iofsetpos.c: File removed.
21227         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
21228         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
21229         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
21230         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
21231         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
21232         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
21233         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
21234         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
21235         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
21236         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
21237         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
21239         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21240         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
21241         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
21242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21243         [defined __arch64__ || defined __sparcv9]
21244         (__OFF_T_MATCHES_OFF64_T): New macro.
21245         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
21246         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
21247         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21248         (__OFF_T_MATCHES_OFF64_T): New macro.
21250 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21252         * stdlib/secure-getenv.c (__secure_getenv): Replace
21253         GLIBC_2_16 with GLIBC_2_17.
21255 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
21257         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
21258         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21260 2012-08-03  David S. Miller  <davem@davemloft.net>
21262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21264 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
21267         Remove.
21268         (__ASSUME_CORRECT_SI_PID): Likewise.
21269         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
21270         (__ASSUME_TMPFS_NAME): Likewise.
21271         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
21272         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
21273         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
21274         (HAVE_AUX_SECURE): Make definition unconditional.
21275         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
21276         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
21278 2012-08-03  Roland McGrath  <roland@hack.frob.com>
21280         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
21281         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
21282         * sysdeps/mach/hurd/eloop-threshold.h: New file.
21283         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21284         __eloop_threshold instead of SYMLOOP_MAX.
21286         * sysdeps/generic/eloop-threshold.h: New file.
21287         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
21288         of MAXSYMLINKS.
21289         * elf/chroot_canon.c (chroot_canon): Likewise.
21291 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
21293         [BZ #13717]
21294         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21295         Change to 2.6.0 everywhere.
21296         * sysdeps/unix/sysv/linux/configure: Regenerated.
21297         * sysdeps/unix/sysv/linux/kernel-features.h
21298         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
21299         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
21300         kernel versions.
21301         (__ASSUME_POSIX_TIMERS): Define unconditionally.
21302         (__ASSUME_FUTEX_REQUEUE): Remove.
21303         (__ASSUME_STATFS64): Define unconditionally.
21304         (__ASSUME_AT_SECURE): Likewise.
21305         (__ASSUME_CORRECT_SI_PID): Likewise.
21306         (__ASSUME_TGKILL): Define without depending on kernel version for
21307         i386.
21308         (__ASSUME_UTIMES): Likewise.
21309         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
21310         kernel version.
21311         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
21312         (__ASSUME_TMPFS_NAME): Likewise.
21313         * README: Update reference to Linux kernel versions.
21315 2012-08-02  Marek Polacek  <polacek@redhat.com>
21317         [BZ# 14150]
21318         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
21319         libc_cv_asm_type_prefix with %.
21320         * configure: Regenerated.
21321         * include/libc-symbols.h: Remove comment about
21322         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21323         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
21324         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
21325         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
21326         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
21327         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
21328         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
21329         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
21330         * elf/tst-unique2mod1.c: Likewise.
21331         * elf/tst-unique1mod2.c: Likewise.
21332         * elf/tst-unique1mod1.c: Likewise.
21333         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
21334         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
21335         Replace ASM_TYPE_DIRECTIVE with .type.
21336         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21337         * sysdeps/i386/sysdep.h: Likewise.
21338         * sysdeps/x86_64/sysdep.h: Likewise.
21339         * sysdeps/sh/sysdep.h: Likewise.
21340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
21341         Do not define ASM_TYPE_DIRECTIVE.
21342         * sysdeps/powerpc/sysdep.h: Likewise.
21343         * sysdeps/powerpc/powerpc32/sysdep.h:
21344         Replace ASM_TYPE_DIRECTIVE with .type.
21345         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21346         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21347         * sysdeps/i386/fpu/e_powf.S: Likewise.
21348         * sysdeps/i386/fpu/e_expl.S: Likewise.
21349         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21350         * sysdeps/i386/fpu/e_acosh.S: Likewise.
21351         * sysdeps/i386/fpu/e_pow.S: Likewise.
21352         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21353         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21354         * sysdeps/i386/fpu/s_expm1.S: Likewise.
21355         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21356         * sysdeps/i386/fpu/e_log2.S: Likewise.
21357         * sysdeps/i386/fpu/e_log2l.S: Likewise.
21358         * sysdeps/i386/fpu/e_scalb.S: Likewise.
21359         * sysdeps/i386/fpu/e_powl.S: Likewise.
21360         * sysdeps/i386/fpu/e_log10f.S: Likewise.
21361         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21362         * sysdeps/i386/fpu/e_logl.S: Likewise.
21363         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21364         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21365         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21366         * sysdeps/i386/fpu/e_log2f.S: Likewise.
21367         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21368         * sysdeps/i386/fpu/e_log.S: Likewise.
21369         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21370         * sysdeps/i386/fpu/e_logf.S: Likewise.
21371         * sysdeps/i386/fpu/e_log10l.S: Likewise.
21372         * sysdeps/i386/fpu/e_atanh.S: Likewise.
21373         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21374         * sysdeps/i386/fpu/e_log10.S: Likewise.
21375         * sysdeps/i386/fpu/s_frexp.S: Likewise.
21376         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21377         * sysdeps/i386/fpu/s_asinh.S: Likewise.
21378         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21379         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21380         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
21381         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21382         * sysdeps/i386/i686/strtok.S: Likewise.
21383         * sysdeps/i386/i386-mcount.S: Likewise.
21384         * sysdeps/i386/strtok.S: Likewise.
21385         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
21386         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21387         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21388         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21389         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21390         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21391         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21392         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21393         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21394         * sysdeps/x86_64/_mcount.S: Likewise.
21395         * sysdeps/x86_64/strtok.S: Likewise.
21396         * sysdeps/sh/_mcount.S: Likewise.
21398 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21400         * libio/iofopen.c: Include <fcntl.h>.
21401         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
21402         (_IO_fopen64, fopen64): Define as aliases.
21403         * libio/iofopen64.c: Include <fcntl.h>.
21404         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
21405         Conditionalize body on this.
21406         * sysdeps/wordsize-64/iofopen.c: File removed.
21407         * sysdeps/wordsize-64/iofopen64.c: File removed.
21409 2012-08-01  Marek Polacek  <polacek@redhat.com>
21411         * libc/Makeconfig: Use elf in place of binfmt-subdir.
21412         Use dlfcn directly instead of a variable.
21413         (binfmt-subdir): Do not define.
21414         (dlfcn): Likewise.
21416 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
21418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
21419         Remove all definitions.
21420         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
21421         <kernel-features.h>.
21422         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21423         (miss_F_GETOWN_EX): Remove all definitions.
21424         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
21425         macro definition.
21426         [!__ASSUME_FCNTL64]: Remove conditional code.
21427         [__ASSUME_FCNTL64]: Make code unconditional.
21428         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
21429         <kernel-features.h>.
21430         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
21431         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
21432         (lockf64) [__NR_fcntl64]: Make code unconditional.
21433         (lockf64) [__ASSUME_FCNTL64]: Likewise.
21435         * sysdeps/unix/sysv/linux/kernel-features.h
21436         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
21437         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
21438         Make code unconditional.
21439         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21440         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
21442         [__NR_vfork]: Make code unconditional.
21443         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21444         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
21446         [__NR_vfork]: Make code unconditional.
21447         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
21448         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
21450 2012-08-01  Roland McGrath  <roland@hack.frob.com>
21452         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
21453         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
21455         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21456         Define mkstemp64 as an alias.
21457         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21458         Define mkstemps64 as an alias.
21459         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21460         Define mkostemp64 as an alias.
21461         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21462         Define mkostemps64 as an alias.
21463         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21464         Conditionalize body on this.
21465         * misc/mkostemp64.c: Likewise.
21466         * misc/mkostemps64.c: Likewise.
21467         * misc/mkstemps64.c: Likewise.
21468         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21469         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21470         * sysdeps/wordsize-64/mkostemp.c: File removed.
21471         * sysdeps/wordsize-64/mkstemp.c: File removed.
21472         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21473         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21474         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21475         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21477         [BZ #14138]
21478         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21479         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21480         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21481         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21483         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21484         compat_symbol macros from <shlib-compat.h> rather than the underlying
21485         default_symbol_version and symbol_version macros, so that DEFAULT
21486         lines in shlib-versions are respected.
21487         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21489 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21491         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21492         Declare with warn_unused_result.
21493         (setgid, setregid, setegid, setresgid): Likewise.
21494         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21495         Likewise.
21496         * WUR-REPORT: Remove set*id functions.
21498 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21500         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21502 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21504         [BZ #10191]
21505         * include/sys/socket.h (__libc_accept, __libc_accept4):
21506         Add attribute_hidden.
21507         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21509         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21510         use of PTR_MANGLE.
21511         * inet/getnetgrent_r.c (setup): Likewise.
21513         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21515 2012-07-31  David S. Miller  <davem@davemloft.net>
21517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21519 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21521         [BZ #13629]
21522         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21523         value between 1.0 and 2.0 and smaller part has absolute value less
21524         than 1.0.
21525         * math/s_clog10.c (__clog10): Likewise.
21526         * math/s_clog10f.c (__clog10f): Likewise.
21527         * math/s_clog10l.c (__clog10l): Likewise.
21528         * math/s_clogf.c (__clogf): Likewise.
21529         * math/s_clogl.c (__clogl): Likewise.
21530         * math/libm-test.inc (clog_test): Add more tests.
21531         (clog10_test): Likewise.
21532         * sysdeps/i386/fpu/libm-test-ulps: Update.
21533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21535 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21537         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21538         Exit with zero in case no suitable GID is found, and write a
21539         message to standard error.
21541 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21543         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21544         rather than to 1.
21545         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21546         (MAXPATHLEN): Removed.
21547         (NOGROUP, NODEV): New macros.
21548         (setbit, clrbit, isset, isclr): New macros.
21549         (howmany, roundup, powerof2): New macros.
21550         (DEV_BSIZE): New macro.
21552         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21553         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21555         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21556         definition on [!__NO_LONG_DOUBLE_MATH].
21558         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21559         PTR_MANGLE and PTR_DEMANGLE.
21561         * socket/accept4.c (accept4): Rename to __libc_accept4.
21562         Define accept4 as a weak alias.
21564         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21565         on [_DIRENT_HAVE_D_TYPE].
21566         * io/ftw.c (ftw_dir): Likewise.
21568         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21570         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21572         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21573         Use the BSD numbers rather than the arbitrary ones we had.
21574         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21575         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21576         (SIGXCPU, SIGXFSZ): New macros.
21577         (_NSIG): Now 32.
21579         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21580         initializer on [_LIBC_REENTRANT].
21582         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21583         definitions inside [_POSIX_MAPPED_FILES].
21585         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21587         * dirent/opendir.c: Include <fcntl.h>.
21589         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21590         (__libc_getspecific): Likewise.
21591         (__libc_key_create): Likewise.
21593         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21594         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21595         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21596         (tmpfile64): Define as alias.
21597         * sysdeps/wordsize-64/tmpfile.c: File removed.
21598         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21599         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21602         * stdio-common/vfscanf.c: Include <stdbool.h>.
21603         * nss/makedb.c: Likewise.
21604         * stdio-common/_i18n_number.h: Likewise.
21605         * argp/argp-help.c: Likewise.
21606         * posix/wordexp.c: Likewise.
21607         * sysdeps/posix/spawni.c: Likewise.
21608         * nss/nss_files/files-initgroups.c: Likewise.
21609         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21610         * nss/nss_files/files-initgroups.c: Likewise.
21611         * nss/nss_db/db-netgrp.c: Likewise.
21612         * nss/nss_db/db-initgroups.c: Likewise.
21613         * io/fchmodat.c: Include <sys/stat.h>.
21615         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21616         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21618         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21619         [HAVE_MMAP].
21621         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21622         Add multiple inclusion protection.
21624 2012-07-27  David S. Miller  <davem@davemloft.net>
21626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21628 2012-07-27  Gary Benson  <gbenson@redhat.com>
21630         [BZ #14298]
21631         * elf/rtld.c: Include <stap-probe.h>.
21632         (dl_main): Added static probes "init_start" and "init_complete".
21633         * elf/dl-load.c: Include <stap-probe.h>.
21634         (lose): Take new parameter "nsid".
21635         Added static probe "map_failed".
21636         (_dl_map_object_from_fd): Pass namespace id to lose.
21637         Added static probe "map_start".
21638         (open_verify): Pass namespace id to lose.
21639         * elf/dl-open.c: Include <stap-probe.h>.
21640         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21641         and "reloc_complete".
21642         * elf/dl-close.c: Include <stap-probe.h>.
21643         (_dl_close_worker): Added static probes "unmap_start" and
21644         "unmap_complete".
21645         * elf/rtld-debugger-interface.txt: New file documenting the above.
21647 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21649         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21650         rather than a string variable.
21651         * sunrpc/rpc_main.c (h_output): Likewise.
21652         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21654 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21656         * inet/check_native.c: New file.
21658 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #13629]
21661         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21662         if larger part has absolute value 1.0.
21663         * math/s_clog10.c (__clog10): Likewise.
21664         * math/s_clog10f.c (__clog10f): Likewise.
21665         * math/s_clog10l.c (__clog10l): Likewise.
21666         * math/s_clogf.c (__clogf): Likewise.
21667         * math/s_clogl.c (__clogl): Likewise.
21668         * math/libm-test.inc (clog_test): Add more tests.
21669         (clog10_test): Likewise.
21670         * sysdeps/i386/fpu/libm-test-ulps: Update.
21671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21673         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21674         (pltexit): Likewise.
21675         (La_regs): Likewise.
21676         (La_retval): Likewise.
21677         (int_retval): Likewise.
21678         Update #error for removed macros to refer only to definitions in
21679         tst-audit.h.
21680         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21681         macro.
21682         (pltexit): Likewise.
21683         (La_regs): Likewise.
21684         (La_retval): Likewise.
21685         (int_retval): Likewise.
21686         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21687         macro.
21688         (pltexit): Likewise.
21689         (La_regs): Likewise.
21690         (La_retval): Likewise.
21691         (int_retval): Likewise.
21692         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21693         macro.
21694         (pltexit): Likewise.
21695         (La_regs): Likewise.
21696         (La_retval): Likewise.
21697         (int_retval): Likewise.
21698         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21699         macro.
21700         (pltexit): Likewise.
21701         (La_regs): Likewise.
21702         (La_retval): Likewise.
21703         (int_retval): Likewise.
21704         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21705         macro.
21706         (pltexit): Likewise.
21707         (La_regs): Likewise.
21708         (La_retval): Likewise.
21709         (int_retval): Likewise.
21710         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21711         macro.
21712         (pltexit): Likewise.
21713         (La_regs): Likewise.
21714         (La_retval): Likewise.
21715         (int_retval): Likewise.
21716         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21717         macro definitions in tst-audit.h.
21718         * sysdeps/i386/tst-audit.h: New file.
21719         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21720         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21721         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21722         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21723         * sysdeps/sh/tst-audit.h: Likewise.
21724         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21725         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21726         * sysdeps/x86_64/tst-audit.h: Likewise.
21728 2012-07-26  Andreas Jaeger  <aj@suse.de>
21730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21731         ptrace.
21733         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21734         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21735         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21736         PTRACE_O_MASK.
21737         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21738         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21739         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21741         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21742         value.
21744         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21745         _sigsys.
21746         (si_call_addr, si_syscall, si_arch): Define new macro.
21747         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21748         _sigsys.
21749         (si_call_addr, si_syscall, si_arch): Define new marcro.
21750         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21751         _sigsys.
21752         (si_call_addr, si_syscall, si_arch): Define new macro.
21753         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21754         _sigsys.
21755         (si_call_addr, si_syscall, si_arch): Define new macro.
21757 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21759         [BZ #13717]
21760         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21761         Change to 2.4.21 where previously 2.4.1.
21762         * sysdeps/unix/sysv/linux/configure: Regenerated.
21763         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21764         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21765         Linux kernel version.
21766         (__ASSUME_STD_AUXV): Remove.
21767         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21768         kernel version.
21769         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21770         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21771         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21772         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21773         (__ASSUME_NETLINK_SUPPORT): Likewise.
21774         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21775         (__no_netlink_support): Remove conditional definition.
21776         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21777         Remove.
21778         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21779         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21780         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21781         (if_nameindex_ioctl): Remove.
21782         (if_nameindex_netlink): Do not handle __no_netlink_support.
21783         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21784         code.
21785         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21786         Remove conditional code.
21787         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21788         code.
21789         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21790         unconditional.
21791         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21792         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21793         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21794         Remove.
21795         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21796         [!__ASSUME_STD_AUXV]: Remove conditional code.
21797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21798         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21799         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21801         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21802         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21803         code.
21804         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21806         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21807         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21808         conditional code.
21809         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21811         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21812         code.
21813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21814         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21815         conditional code.
21816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21817         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21818         code unconditional.
21819         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21820         conditional code.
21821         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21822         unconditional.
21823         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21824         conditional code.
21825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21826         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21827         unconditional.
21828         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21829         conditional code.
21830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21831         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21832         code unconditional.
21833         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21834         conditional code.
21835         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21836         unconditional.
21837         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21838         conditional code.
21839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21840         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21841         code unconditional.
21842         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21843         conditional code.
21844         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21845         unconditional.
21846         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21847         conditional code.
21849 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21851         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21852         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21853         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21854         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21855         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21856         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21857         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21858         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21859         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21860         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21861         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21862         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21863         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21864         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21865         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21866         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21867         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21868         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21869         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21871         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21872         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21873         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21875 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21877         * Versions.def: Add GLIBC_2.17.
21878         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21879         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21880         Introduce __libc_secure_getenv.
21881         * stdlib/Versions (2.17): Add secure_getenv
21882         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21883         * stdlib/secure-getenv.c: Rename __secure_getenv to
21884         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21885         symbol __secure_getenv for GLIBC_2.0.
21886         * stdlib/tst-secure-getenv.c: New.
21887         * stdlib/Makefile (tests): Add testcase.
21888         * manual/startup.texi (Environment Access): Document
21889         secure_getenv.
21890         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21891         __libc_secure_getenv.
21892         * inet/ruserpass.c (ruserpass): Likewise.
21893         * malloc/mtrace.c (mtrace): Likewise.
21894         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21895         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21896         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21897         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21898         HAVE_SECURE_GETENV.
21899         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21900         __secure_getenv to __libc_secure_getenv.
21901         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21903         Likewise.
21904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21905         Likewise.
21906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21908         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21910         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21914 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21916         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21917         (struct La_i86_retval): Likewise.
21918         (struct La_x86_64_regs): Likewise.
21919         (struct La_x86_64_retval): Likewise.
21920         (struct La_x32_regs): Likewise.
21921         (struct La_x32_retval): Likewise.
21922         (struct La_ppc32_regs): Likewise.
21923         (struct La_ppc32_retval): Likewise.
21924         (struct La_ppc64_regs): Likewise.
21925         (struct La_ppc64_retval): Likewise.
21926         (struct La_sh_regs): Likewise.
21927         (struct La_sh_retval): Likewise.
21928         (struct La_s390_32_regs): Likewise.
21929         (struct La_s390_32_retval): Likewise.
21930         (struct La_s390_64_regs): Likewise.
21931         (struct La_s390_64_retval): Likewise.
21932         (struct La_sparc32_regs): Likewise.
21933         (struct La_sparc32_retval): Likewise.
21934         (struct La_sparc64_regs): Likewise.
21935         (struct La_sparc64_retval): Likewise.
21936         (struct audit_ifaces): Remove architecture-specific pltenter and
21937         pltexit members.
21938         * sysdeps/i386/ldsodefs.h: New file.
21939         * sysdeps/powerpc/ldsodefs.h: Likewise.
21940         * sysdeps/s390/ldsodefs.h: Likewise.
21941         * sysdeps/sh/ldsodefs.h: Likewise.
21942         * sysdeps/sparc/ldsodefs.h: Likewise.
21943         * sysdeps/x86_64/ldsodefs.h: Likewise.
21945 2012-07-25  Marek Polacek  <polacek@redhat.com>
21947         [BZ #6808]
21948         * math/libm-test.inc (yn_test): Add another test.
21949         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21950         to ERANGE when the result is +-Inf.
21951         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21952         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21953         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21954         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21956 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21958         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21959         equal to 0.
21960         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21961         clock_t.
21962         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21964 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21966         * configure.in <sysdeps resolving>: Correct printing
21967         Implies_before.
21968         * configure: Regenerate.
21970 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21972         * math/w_ilogb.c: Include <limits.h>.
21973         * math/w_ilogbl.c: Likewise.
21975 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21977         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21978         va_copy.  Document allowing for unavailable va_copy only as
21979         pre-C99 compatibility.
21980         * manual/string.texi (Copying and Concatenation): Use va_copy
21981         instead of __va_copy in concat example.
21983 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21985         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21986         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21987         it if not null.
21989         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21990         with O_NOLINK passed to __file_name_lookup.
21992         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21993         with O_NOLINK passed to __file_name_lookup.
21995         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21996         negative N or less than NGIDS.
21998         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21999         type to string_t.  Set ERANGE as errno and return it if NAME is not big
22000         enough.  Use memcpy instead of strncpy.
22002 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
22004         * elf/Makefile (check-data): Remove.
22005         (localplt.data): New vpath directive.
22006         ($(objpfx)check-localplt.out): Use localplt.data from vpath
22007         instead of $(check-data).
22008         * scripts/data/localplt-generic.data: Move to ...
22009         * sysdeps/generic/localplt.data: ... here.
22010         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
22011         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
22012         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
22013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
22014         ... here.
22015         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
22016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
22017         ... here.
22018         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
22019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
22020         ... here.
22021         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
22022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
22023         ... here.
22024         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
22025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
22026         ... here.
22027         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
22028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
22029         ... here.
22031 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22033         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
22034         PPC32 and PPC64 files.
22035         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
22036         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
22038 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22040         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
22041         __makecontext_ret to ...
22042         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
22043         ... here and call exit if uc_link is NULL.  New file.
22044         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
22045         __makecontext_ret.S.
22046         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
22047         __makecontext_ret to ...
22048         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
22049         ... here and call exit if uc_link is NULL.  New file.
22050         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
22051         __makecontext_ret.S.
22053 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22055         * elf/elf.h (R_390_IRELATIVE): New definition.
22056         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
22057         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
22058         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
22059         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22060         (elf_machine_lazy_rel): Likewise.
22061         * sysdeps/s390/dl-irel.h: New file.
22062         * sysdeps/s390/s390-64/memcpy.S: New asm code.
22063         * sysdeps/s390/s390-64/memset.S: New asm code.
22064         * sysdeps/s390/s390-64/memcmp.S: New asm code.
22065         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
22066         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
22067         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
22068         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
22069         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
22070         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
22071         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
22072         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
22073         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
22074         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
22075         * sysdeps/s390/s390-32/memcpy.S: New asm code.
22076         * sysdeps/s390/s390-32/memset.S: New asm code.
22077         * sysdeps/s390/s390-32/memcmp.S: New asm code.
22079 2012-07-17  Marek Polacek  <polacek@redhat.com>
22081         [BZ #14349]
22082         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
22083         * sysdeps/s390/s390-64/configure.in: Likewise.
22084         * sysdeps/sparc/configure.in: Likewise.
22085         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
22086         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
22087         * sysdeps/i386/configure.in: Likewise.
22088         * sysdeps/x86_64/configure.in: Likewise.
22089         * sysdeps/sh/configure.in: Likewise.
22090         * sysdeps/s390/s390-32/configure: Regenerated.
22091         * sysdeps/s390/s390-64/configure: Likewise.
22092         * sysdeps/x86_64/configure: Likewise.
22093         * sysdeps/sh/configure: Likewise.
22094         * sysdeps/powerpc/powerpc64/configure: Likewise.
22095         * sysdeps/powerpc/powerpc32/configure: Likewise.
22096         * sysdeps/sparc/configure: Likwise.
22097         * sysdeps/i386/configure: Likewise.
22099         * elf/dl-open.c: Comment fixes.
22101 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
22103         * Makefile [CXX] (check-data): Remove.
22104         [CXX] (c++-types.data): New vpath directive.
22105         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
22106         vpath.  Do not allow for C++ type data being missing.
22107         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
22108         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
22109         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
22110         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
22111         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
22112         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
22113         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
22114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
22115         ... here.
22116         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
22117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
22118         ... here.
22119         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
22120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
22121         ... here.
22122         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
22123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
22124         ... here.
22125         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
22126         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
22127         ... here.
22128         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
22129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
22130         ... here.
22131         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
22132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
22133         ... here.
22134         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
22135         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
22137         * elf/tls-macros.h (TLS_LE): Move architecture-specific
22138         definitions to architecture-specific files.
22139         (TLS_IE): Likewise.
22140         (TLS_LD): Likewise.
22141         (TLS_GD): Likewise.
22142         * sysdeps/i386/tls-macros.h: New file.
22143         * sysdeps/powerpc/tls-macros.h: Likewise.
22144         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
22145         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
22146         * sysdeps/sh/tls-macros.h: Likewise.
22147         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
22148         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
22149         * sysdeps/x86_64/tls-macros.h: Likewise.
22151 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22153         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
22154         zero value for regular exit case.
22156         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22157         (__start_context): Preserve zero value for regular exit case.
22159 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
22160             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22162         * manual/setjmp.texi (setcontext): Clarify normal process
22163         termination when uc_link is the null pointer.
22164         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
22165         exit call.
22167 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
22169         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
22170         preprocessor.  Test for each exception mask separately.
22172 2012-07-16  Andreas Jaeger  <aj@suse.de>
22174         * po/ru.po: Update from translation team.
22176 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
22178         * conform/data/string.h-data (NULL): Use macro-constant.  Require
22179         equal to 0.
22180         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22181         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22182         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
22183         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
22184         [ISO || ISO99 || ISO11] (*_t): Do not allow.
22186 2012-07-13  Andreas Jaeger  <aj@suse.de>
22188         * po/fr.po: Update from translation team.
22190 2012-07-12  Marek Polacek  <polacek@redhat.com>
22192         [BZ #14173]
22193         * math/libm-test.inc (yn_test): Add test for BZ #14173.
22194         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
22195         loop condition.
22197 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
22199         [BZ #13717]
22200         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22201         Change to 2.4.1 where previously 2.4.0.
22202         * sysdeps/unix/sysv/linux/configure: Regenerated.
22203         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
22204         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
22205         version.
22206         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
22207         (__ASSUME_AT_CLKTCK): Remove.
22208         (__ASSUME_AT_PAGESIZE): Likewise.
22209         (__ASSUME_AT_XID): Likewise.
22210         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
22211         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
22212         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
22213         unconditionally.
22214         (HAVE_AUX_PAGESIZE): Likewise.
22215         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
22216         [__ASSUME_AT_CLKTCK]: Make code unconditional.
22217         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
22219 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
22221         [BZ #14307]
22222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
22223         the temporary buffer used to invoke __gethostbyname2_r,
22224         __gethostbyaddr_r and gethostbyname4_r to make room for struct
22225         host_data / struct gaih_addrtuple.
22226         * resolv/nss_dns/dns-host.c (global scope): Move definition of
22227         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
22228         header file nss/nsswitch.h.
22229         * nss/nsswitch.h (global scope): Add definition of implementation
22230         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
22231         resolv/nss_dns/dns-host.c).
22233 2012-07-11  Andreas Jaeger  <aj@suse.de>
22235         * po/fr.po: Update from translation team.
22237         * po/sv.po: Update from translation team
22238         * po/fr.po: Another update from translation team.
22240 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22242         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
22243         for subnormals or multiply small sinh result by itself.
22244         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22247 2012-07-11  David S. Miller  <davem@davemloft.net>
22249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22251 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
22253         [BZ #14347]
22254         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
22255         (INTERNAL_MARK): Shift it here.
22257 2012-07-10  Marek Polacek  <polacek@redhat.com>
22259         [BZ #14151]
22260         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
22261         libc_cv_asm_global_directive with .globl.
22262         * configure: Regenerated.
22263         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
22264         with .globl.
22265         * sysdeps/i386/configure: Regenerated.
22266         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
22267         with .globl.
22268         * sysdeps/x86_64/configure: Regenerated.
22269         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
22270         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
22271         * elf/tst-unique2mod2.c: Likewise.
22272         * elf/tst-unique2mod1.c: Likewise.
22273         * elf/tst-unique1mod2.c: Likewise.
22274         * elf/tst-unique1mod1.c: Likewise.
22275         * sysdeps/s390/s390-32/sysdep.h: Likewise.
22276         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22277         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22278         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22279         * sysdeps/mach/sysdep.h: Likewise.
22280         * sysdeps/i386/sysdep.h: Likewise.
22281         * sysdeps/i386/i386-mcount.S: Likewise.
22282         * sysdeps/x86_64/_mcount.S: Likewise.
22283         * sysdeps/x86_64/sysdep.h: Likewise.
22284         * sysdeps/sh/_mcount.S: Likewise.
22285         * sysdeps/sh/sysdep.h: Likewise.
22286         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
22287         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
22288         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
22289         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22290         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
22291         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
22292         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
22293         * locale/localeinfo.h: Likewise.
22294         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
22295         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
22297 2012-07-09  Roland McGrath  <roland@hack.frob.com>
22299         [BZ #14336]
22300         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
22301         system".
22302         * manual/message.texi (The Uniforum approach): Likewise.
22303         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
22304         (glibc iconv Implementation): Likewise.
22306 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
22308         [BZ #14337]
22309         * math/s_clog.c (__clog): Avoid scaling a value down where that
22310         could result in underflow.
22311         * math/s_clog10.c (__clog10): Likewise.
22312         * math/s_clog10f.c (__clog10f): Likewise.
22313         * math/s_clog10l.c (__clog10l): Likewise.
22314         * math/s_clogf.c (__clogf): Likewise.
22315         * math/s_clogl.c (__clogl): Likewise.
22316         * math/libm-test.inc (clog_test): Add more tests.
22317         (clog10_test): Likewise.
22318         * sysdeps/i386/fpu/libm-test-ulps: Update.
22319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22321 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
22323         [BZ #14283]
22324         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
22325         by 7 not 8 to examine high bit of fractional part.
22327         [BZ #14042]
22328         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
22329         for call to __mcount_internal.
22330         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
22331         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
22332         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
22334 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
22336         [BZ #14154]
22337         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
22338         approximation for values within 0x1p-13f of an odd multiple of
22339         pi/4.
22340         * math/libm-test.inc (tan_test): Do not allow spurious underflow
22341         exception.  Add more tests.
22342         * sysdeps/i386/fpu/libm-test-ulps: Update.
22344         [BZ #6778]
22345         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
22346         inputs and return -1 for them.  Do not check for +Inf in case not
22347         reachable for +Inf.
22348         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22349         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
22350         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22351         and return -1 for them.  Do not check for +Inf in case not
22352         reachable for +Inf.
22353         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
22354         define.
22355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
22356         and return -1 for them.  Do not check for +Inf in case not
22357         reachable for +Inf.
22358         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
22359         spurious underflow.
22360         * sysdeps/i386/fpu/libm-test-ulps: Update.
22361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22363 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
22365         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
22367 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
22369         [BZ #14157]
22370         [BZ #14331]
22371         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
22372         could result in spurious underflow.  Scale down values above
22373         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
22374         * math/s_csqrtf.c (__csqrtf): Likewise.
22375         * math/s_csqrtl.c (__csqrtl): Likewise.
22376         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
22377         spurious underflow.
22378         * sysdeps/i386/fpu/libm-test-ulps: Update.
22379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22381 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
22383         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
22384         xopen-msg.sed.
22385         * catgets/xopen-msg.awk: New file.
22386         * catgets/xopen-msg.sed: Removed.
22388         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
22389         po2text.sed.
22390         * intl/po2test.awk: New file.
22391         * intl/po2test.sed: Removed.
22393 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
22395         [BZ #14328]
22396         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
22397         or multiply small sinh result by itself.
22398         * math/s_ctanf.c (__ctanf): Likewise.
22399         * math/s_ctanh.c (__ctanh): Likewise.
22400         * math/s_ctanhf.c (__ctanhf): Likewise.
22401         * math/s_ctanhl.c (__ctanhl): Likewise.
22402         * math/s_ctanl.c (__ctanl): Likewise.
22403         * math/libm-test.inc (ctan_test_tonearest): New function.
22404         (ctan_test_towardzero): Likewise.
22405         (ctan_test_downward): Likewise.
22406         (ctan_test_upward): Likewise.
22407         (ctanh_test_tonearest): Likewise.
22408         (ctanh_test_towardzero): Likewise.
22409         (ctanh_test_downward): Likewise.
22410         (ctanh_test_upward): Likewise.
22411         (main): Call these new functions.
22412         * sysdeps/i386/fpu/libm-test-ulps: Update.
22413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22415 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
22417         * .gitignore: Delete /ports entry.
22419 2012-07-03  Andreas Jaeger  <aj@suse.de>
22421         * po/bg.po: Update from translation team.
22422         * po/cs.po: Likewise.
22423         * po/de.po: Likewise.
22424         * po/hr.po: Likewise.
22425         * po/nl.pl: Likewise.
22426         * po/pl.po: Likewise.
22427         * po/vi.po: Likewise.
22429 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
22431         * Makeconfig [!+link] (+link-before-libc): New variable.
22432         [!+link] (+link-after-libc): Likewise.
22433         [!+link] (+link-tests): Likewise.
22434         [!+link] (+link): Define in terms of $(+link-before-libc) and
22435         $(+link-after-libc).
22436         [!+link-static] (+link-static-before-libc): New variable.
22437         [!+link-static] (+link-static-after-libc): Likewise.
22438         [!+link-static] (+link-static-tests): Likewise.
22439         [!+link-static] (+link-static): Define in terms of
22440         $(+link-static-before-libc) and $(+link-static-after-libc).
22441         [build-shared] (link-libc-before-gnulib): New variable.
22442         [build-shared] (link-libc-tests): Likewise.
22443         [build-shared] (link-libc): Define in terms of
22444         $(link-libc-before-gnulib).
22445         [!build-shared] (link-libc-tests): New variable.
22446         (link-libc-static-tests): New variable.
22447         [!gnulib] (gnulib-arch): New variable.
22448         [!gnulib] (gnulib-tests): Likewise.
22449         [!gnulib] (static-gnulib-arch): Likewise.
22450         [!gnulib] (static-gnulib-tests): Likewise.
22451         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
22452         Define with "=" instead of ":=".
22453         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
22454         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
22455         * Rules (binaries-all-notests): New variable.
22456         (binaries-all-tests): Likewise.
22457         (binaries-static-notests): Likewise.
22458         (binaries-static-tests): Likewise.
22459         (binaries-all): Define using $(binaries-all-notests) and
22460         $(binaries-all-tests).
22461         (binaries-static): Define using $(binaries-static-notests) and
22462         $(binaries-static-tests).
22463         (binaries-shared-tests): New variable.
22464         (binaries-shared-notests): Likewise.
22465         (binaries-shared): Remove variable.
22466         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22467         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22468         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22469         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22470         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22471         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22472         * elf/Makefile (sln-modules): New variable.
22473         (extra-objs): Add $(sln-modules:=.o).
22474         (ldconfig-modules): Add static-stubs.
22475         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22476         * elf/static-stubs.c: New file.
22478         [BZ #14283]
22479         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22480         by 7 not 8 to examine high bit of fractional part.  Use volatile
22481         variables when splitting into final array of floats if
22482         __FLT_EVAL_METHOD__ != 0.
22483         * math/libm-test.inc (cos_test): Add another test.
22484         (sin_test): Likewise.
22485         * sysdeps/i386/fpu/libm-test-ulps: Update.
22487         [BZ #14273]
22488         * math/libm-test.inc (cosh_test): Add more tests.
22490         * version.h (RELEASE): Set to "development".
22491         (VERSION): Set to "2.16.90".
22493 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22495         * NEWS: Update copyright. Remove last-updated date.
22496         Mention math library bug fixes and timezone data changes.
22497         * README: Mention GNU/Hurd, x32, and HPPA support status.
22499 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22501         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22503 2012-06-27  Andreas Jaeger  <aj@suse.de>
22505         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22507 2012-06-25  Andreas Jaeger  <aj@suse.de>
22509         * sysdeps/s390/fpu/libm-test-ulps: Update.
22511 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22512             Thomas Schwinge  <thomas@codesourcery.com>
22514         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22515         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22517         fanotify_mark.
22519 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22521         * sysdeps/mach/start.c: Remove file.
22522         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22523         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22524         * sysdeps/sh/init-first.c: Likewise.
22526         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22527         registers for frame unwinding purposes, add CFI directives.
22528         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22529         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22530         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22531         Likewise.
22533         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22534         __fortify_fail returning.
22535         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22537         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22538         sysdeps/sh/____longjmp_chk.S.
22539         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22540         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22541         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22542         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22544         * sysdeps/sh/abort-instr.h: New file.
22545         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22546         process in case exit returns.
22548         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22549         initialize the GOT register before use.
22551         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22552         calculation of ARGC > 4.
22554         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22555         meaningful names to some local labels.
22557 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22558             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22560         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22561         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22562         (__arch_compare_and_exchange_val_16_acq): Likewise.
22563         (__arch_compare_and_exchange_val_32_acq): Likewise.
22564         (atomic_exchange_and_add): Fix gUSA sequence.
22565         (atomic_add): Likewise.
22566         (atomic_add_negative): Likewise.
22567         (atomic_add_zero): Likewise.
22568         (atomic_bit_test_set): Likewise.
22570 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22572         [BZ #13579]
22573         * include/link.h (struct link_map): Add l_free_initfini.
22574         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22575         l_initfini.
22576         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22577         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22578         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22579         set.
22581 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22583         * configure.in: Use AC_LANG_SOURCE.
22584         * configure: Regenerate.
22586 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22588         * configure.in (libc_cv_localstatedir): New substituted variable.
22589         * configure: Regenerated.
22590         * config.make.in (localstatedir): New variable, substituted from
22591         libc_cv_localstatedir.
22592         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22593         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22594         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22595         * sysdeps/gnu/configure: Regenerated.
22597 2012-06-21  Jeff Law  <law@redhat.com>
22599         [BZ #14277]
22600         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22601         free.  Simplify list management for _LIBC case.
22603 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22605         [BZ #14273]
22606         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22607         Clear sign bit of 64-bit integer value before comparing against
22608         overflow value.
22610         * sysdeps/mach/configure: Regenerated.
22612 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22614         [BZ #14278]
22615         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22617 2012-06-21  Jeff Law  <law@redhat.com>
22619         [BZ #13882]
22620         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22621         uint16_t for elements in the "seen" array to avoid char overflows.
22622         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22623         * elf/dl-open.c (dl_open_worker): Likewise.
22625 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22627         * scripts/list-sources.sh: Scan PORTS for translations.
22628         * po/libc.pot: Regenerated.
22630 2012-06-21  Andreas Jaeger  <aj@suse.de>
22632         [BZ #12194]
22633         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22634         warning.
22635         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22636         * bits/byteswap-16.h (__bswap_16): Likewise.
22637         * bits/byteswap.h (__bswap_constant_16): Likewise.
22639 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22641         [BZ #14117]
22642         * sysdeps/i386/fpu_control.h: Removed.
22643         * sysdeps/x86_64/fpu_control.h: Moved to ...
22644         * sysdeps/x86/fpu_control.h: Here.
22646         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22647         (_FPU_SETCW): Likewise.
22649 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22651         [BZ #14117]
22652         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22653         * sysdeps/x86/fpu/bits/mathinline.h: This.
22654         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22656         [BZ #14050]
22657         [BZ #14117]
22658         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22659         functions if __x86_64__ is defined.
22661 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22663         * string/endian.h: Add !__ASSEMBLER__ condition for including
22664         conversion interfaces.
22666 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22668         [BZ #14241]
22669         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22670         of ABS(x) in calculating zero to negative powers other than odd
22671         integers.
22672         * math/libm-test.inc (pow_test): Add more tests.
22674 2012-06-15  Andreas Jaeger  <aj@suse.de>
22676         * manual/contrib.texi (Contributors): Update entry of Liubov
22677         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22678         Machado Filho.
22680 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22682         * string/string.h: Add __wur to GNU version of strerror_r.
22684 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22686         [BZ #14229]
22687         * string/Makefile (tests): Add tst-strtok_r.
22688         * string/tst-strtok_r.c: New file.
22689         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22690         RAX_LP/RDX_LP on SAVE_PTR.
22692 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22694         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22696 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22698         * libm_test.inc (csqrt_test): Allow more spurious underflow
22699         exceptions.
22700         (j0_test): Likewise.
22701         (j1_test): Likewise.
22702         (y0_test): Likewise.
22703         (y1_test): Likewise.
22705 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22707         * po/Makefile (libc.pot): Use UTF-8 charset.
22709 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22711         [BZ #14210]
22712         Suppress sign-conversion warning from FD_SET.
22713         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22714         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22715         not unsigned long int.
22716         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22718 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22720         [BZ #14050]
22721         [BZ #14117]
22722         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22723         __extern_always_inline instead of __extern_inline.
22724         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22725         (__signbit): Likewise.
22726         (__signbitl): Support C++ namespace.
22727         (lrintf): New inline function.
22728         (lrint): Likewise.
22729         (llrintf): Likewise.
22730         (llrint): Likewise.
22731         (fmaxf): Likewise.
22732         (fmax): Likewise.
22733         (fminf): Likewise.
22734         (fmin): Likewise.
22735         (rint): Likewise.
22736         (rintf): Likewise.
22737         (ceil): Likewise.
22738         (ceilf): Likewise.
22739         (floor): Likewise.
22740         (floorf): Likewise.
22741         (nearbyint): Likewise.
22742         (nearbyintf): Likewise.
22744 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22746         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22747         non-default versions.
22749 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22751         [BZ #14218]
22752         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22754 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22756         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22757         (FE_UPWARD, FE_DOWNWARD): Don't define.
22758         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22759         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22761         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22762         reading it.
22763         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22764         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22766 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22768         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22769         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22770         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22771         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22773 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22775         [BZ #14117]
22776         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22777         * sysdeps/i386/fpu/Implies: New file.
22778         * sysdeps/x86_64/fpu/Implies: Likewise.
22779         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22780         * sysdeps/x86/fpu/bits/fenv.h: This.
22782         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22783         __SSE_MATH__.
22785 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22787         [BZ #14134]
22788         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22789         character 0xffff that matches the last element of the
22790         conversion table.
22792 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22795         fmodl commit.
22797 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22799         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22800         values higher than 25.6283.
22802 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22804         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22805         subnormal exponent extraction and add some __builtin_expect.
22806         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22807         Fix for subnormal mantissa calculation.
22809 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22811         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22812         cpu2 is -1 and errno is not ENOSYS.
22814 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22816         [BZ #14117]
22817         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22818         * sysdeps/x86/bits/string.h: This.
22819         * sysdeps/x86_64/bits/string.h: Removed.
22821         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22822         if not compiling for x86-64, but compiling for >= i486.
22824         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22825         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22827         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22828         New macro from Linux kernel 3.4.0.
22829         (FP_XSTATE_MAGIC2): Likewise.
22830         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22831         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22832         (struct _fpx_sw_bytes): New struct.
22833         (struct _xsave_hdr): Likewise.
22834         (struct _ymmh_state): Likewise.
22835         (struct _xstate): Likewise.
22837         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22838         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22839         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22840         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22841         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22842         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22844         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22845         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22846         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22847         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22848         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22849         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22851 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22853         [BZ #13743]
22854         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22855         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22856         (sysdep_headers): Include sys/platform/ppc.h.
22857         * sysdeps/powerpc/test-gettimebase.c: Test for
22858         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22859         * manual/Makefile (appendices): Include platform.texi.
22860         * manual/contrib.texi (Contributors): Update @node pointers.
22861         * manual/maint.texi (Maintenance): Likewise.
22862         (Platform): New node.
22863         * manual/platform.texi: New file.  Document the new features.
22865 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22866             Jakub Jelinek  <jakub@redhat.com>
22868         [BZ #14188]
22869         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22870         where __builtin_expect is unavailable.
22872 2012-06-03  David S. Miller  <davem@davemloft.net>
22874         * stdlib/longlong.h: Updated from GCC.
22876 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22878         [BZ #14042]
22879         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22880         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22881         __mcount_internal.
22882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22883         (GLIBC_2.16): Likewise.
22885 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22887         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22889 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22892         (default-abi): New variable.
22893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22894         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22895         variable.
22896         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22897         Likewise.
22898         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22899         Likewise.
22900         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22901         Likewise.
22903         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22904         definition.  Document in comment.
22906 2012-06-01  David S. Miller  <davem@davemloft.net>
22908         * stdlib/longlong.h: Updated from GCC.
22910 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22912         [BZ #14117]
22913         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22914         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22915         sys/debugreg.h sys/io.h here.
22916         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22917         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22918         sys/io.h.
22919         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22920         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22921         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22922         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22923         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22924         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22926         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22927         Define only if __x86_64__ is defined.
22929 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22931         [BZ #14048]
22932         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22933         Use int64_t for variable i.
22934         * math/libm-test.inc (fmod_test): Add more tests.
22936         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22937         z computation is not scheduled after fetestexcept.
22938         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22939         Use math_force_eval instead of asm to ensure calculation scheduled
22940         before exception test.
22941         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22942         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22944 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22947         computation is not scheduled after fetestexcept.
22949 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22951         [BZ #14117]
22952         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22953         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22955 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22957         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22958         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22960 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22962         [BZ #14117]
22963         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22964         <bits/wordsize.h>.
22965         (__WCHAR_MIN): Support __WORDSIZE == 64.
22966         (__WCHAR_MAX): Likewise.
22968         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22969         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22971         [BZ #14183]
22972         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22973         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22975         [BZ #14117]
22976         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22977         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22979         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22980         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22982         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22983         Defined to 1 if __x86_64__ isn't defined.
22984         (_STAT_VER_LINUX_OLD): New.
22985         (st_atime): Remove duplicate.
22986         (st_mtime): Likewise.
22987         (st_ctime): Likewise.
22989 2012-05-31  David S. Miller  <davem@davemloft.net>
22991         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22992         entries.
22994 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22996         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22997         gen-libm-test.pl.
22999         [BZ #14132]
23000         * elf/dl-reloc.c: Include <_itoa.h>.
23001         (_dl_reloc_bad_type): Remove use of INTUSE.
23002         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
23003         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
23004         * stdio-common/psiginfo.c (psiginfo): Likewise.
23005         * stdio-common/psignal.c (psignal): Likewise.
23006         * string/strsignal.c (strsignal): Likewise.
23007         * include/signal.h (_sys_siglist): Declare hidden proto.
23008         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
23009         INTVARDEF with libc_hidden_data_def.
23010         * stdio-common/itoa-udigits.c: Likewise.
23011         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
23012         (_itoa_lower_digits_internal): Remove declaration.
23013         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
23014         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
23015         (_sys_sigabbrev_internal): Remove aliases.
23016         (_sys_siglist): Define hidden alias.
23018 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
23020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23021         bits/sysctl.h.
23023 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
23025         [BZ #14117]
23026         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
23027         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
23029         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
23030         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
23031         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
23032         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
23033         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
23034         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
23036         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
23037         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
23038         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
23040         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
23041         with __addr.
23042         (insw): Likewise.
23043         (insl): Likewise.
23044         (outsb): Likewise.
23045         (outsw): Likewise.
23046         (outsl): Likewise.
23048         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
23049         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
23050         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
23052         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
23053         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
23054         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
23055         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
23056         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
23057         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
23059         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
23060         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
23062         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
23063         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
23065         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
23066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23067         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
23069         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
23070         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
23071         to ...
23072         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
23074         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
23075         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
23076         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
23078         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
23079         for x86-64.
23080         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
23082 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
23084         * math/math.h (M_El): Use two more decimal places.
23085         (M_LOG2El): Likewise.
23086         (M_LOG10El): Likewise.
23087         (M_LN2l): Likewise.
23088         (M_LN10l): Likewise.
23089         (M_PIl): Likewise.
23090         (M_PI_2l): Likewise.
23091         (M_PI_4l): Likewise.
23092         (M_1_PIl): Likewise.
23093         (M_2_PIl): Likewise.
23094         (M_2_SQRTPIl): Likewise.
23095         (M_SQRT2l): Likewise.
23096         (M_SQRT1_2l): Likewise.
23098 2012-05-31  David S. Miller  <davem@davemloft.net>
23100         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
23101         values between float registers.
23102         * sysdeps/sparc/sparc64/memset.S: Likewise.
23103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23105 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
23107         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
23108         -D_FORTIFY_SOURCE=1.
23109         (CPPFLAGS-tst-longjmp_chk.c): Define.
23110         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
23111         (CPPFLAGS-tst-longjmp_chk2.c): Define.
23112         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
23113         CFLAGS-tst-wchar-h.c.
23115 2012-05-31  Marek Polacek  <polacek@redhat.com>
23117         [BZ #14132]
23118         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
23119         __endmntent_internal): Remove declaration.
23120         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
23121         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
23122         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
23124 2012-05-30  David S. Miller  <davem@davemloft.net>
23126         * sysdeps/sparc/sparc32/soft-fp/q_util.c
23127         (___Q_simulate_exceptions): Use real FP ops rather than writing
23128         into the %fsr.
23129         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
23130         Likewise.
23132 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23134         [BZ #14117]
23135         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
23136         * sysdeps/x86/bits/xtitypes.h: This.
23138         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
23139         * sysdeps/x86/bits/wordsize.h: This.
23141         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
23142         * sysdeps/x86/bits/huge_vall.h: This.
23144         * sysdeps/i386/bits/select.h: Removed.
23145         * sysdeps/x86_64/bits/select.h: Renamed to ...
23146         * sysdeps/x86/bits/select.h: This.
23148         * sysdeps/i386/bits/setjmp.h: Removed.
23149         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
23150         * sysdeps/x86/bits/setjmp.h: This.
23152         * sysdeps/i386/bits/mathdef.h: Removed.
23153         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
23154         * sysdeps/x86/bits/mathdef.h: This.
23156 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
23158         [BZ #14132]
23159         * include/sys/socket.h (__connect_internal)
23160         (__libc_sa_len_internal): Remove declaration.
23161         (__connect, __libc_sa_len): Declare hidden_proto.
23162         (SA_LEN): Remove use of INTUSE.
23163         * socket/connect.c: Add libc_hidden_def.
23164         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
23165         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
23166         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23167         alias.
23168         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23169         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
23170         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
23171         of adding _internal alias.
23173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23175         [BZ #14117]
23176         * sysdeps/i386/bits/link.h: Removed.
23177         * sysdeps/i386/bits/linkmap.h: Likewise.
23178         * sysdeps/x86_64/bits/link.h: Renamed to ...
23179         * sysdeps/x86/bits/link.h: This.
23180         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
23181         * sysdeps/x86/bits/linkmap.h: This.
23183         * sysdeps/i386/bits/endian.h: Removed.
23184         * sysdeps/x86_64/bits/endian.h: Renamed to ...
23185         * sysdeps/x86/bits/endian.h: This.
23187         * sysdeps/i386/bits/byteswap.h: Removed.
23188         * sysdeps/i386/bits/byteswap-16.h: Likewise.
23189         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
23190         * sysdeps/x86/bits/byteswap.h: This.
23191         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
23192         * sysdeps/x86/bits/byteswap-16.h: This.
23193         * sysdeps/i386/Implies: Add x86.
23194         * sysdeps/x86_64/Implies: Likewise.
23196 2012-05-30  David S. Miller  <davem@davemloft.net>
23198         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
23199         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
23200         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
23201         (FP_TRAPPING_EXCEPTIONS): Define.
23202         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
23203         (FP_TRAPPING_EXCEPTIONS): Define.
23204         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
23205         subnormals only when inexact has been signalled or underflow
23206         exceptions are enabled.
23207         (_FP_PACK_CANONICAL): Likewise.
23209 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23211         [BZ #14183]
23212         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
23213         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
23215 2012-05-30  Richard Henderson  <rth@twiddle.net>
23217         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
23218         with #ifndef NOT_IN_libc.
23220         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
23221         marked to avoid plt entry.
23223 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
23225         [BZ #14112]
23226         * Makeconfig (default-abi): New macro.
23227         (abi-includes): Likewise.
23228         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
23229         $(abi-$(default-abi)-lib-soname) for soname if defined.
23230         ($(common-objpfx)gnu/lib-names.stmp): Generate from
23231         abi-variants.
23232         * Makefile (installed-stubs): Likewise.
23233         * include/stubs-biarch.h: Removed.
23234         * scripts/lib-names.awk: Only handle one library at a time.
23235         * scripts/soversions.awk: Remove WORDSIZE support.
23236         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
23237         entries.
23238         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
23239         Removed.
23240         (syscall-list-default-condition): Likewise.
23241         (syscall-list-default-condition): Likewise.
23242         (syscall-list-includes): Likewise.
23243         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
23244         syscall-list-* with abi-*.  Handle undefined abi-variants.
23245         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
23246         * sysdeps/unix/sysv/linux/i386/Implies: New file.
23247         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
23248         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
23249         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
23250         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
23251         Removed.
23252         (syscall-list-32-options): Likewise.
23253         (syscall-list-32-condition): Likewise.
23254         (syscall-list-64-options): Likewise.
23255         (syscall-list-64-condition): Likewise.
23256         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
23257         macro.
23258         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
23259         Renamed to ...
23260         (abi-*): This.
23261         (abi-64-ld-soname): New macro.
23262         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
23263         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
23264         Renamed to ...
23265         (abi-*): This.
23266         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
23267         * sysdeps/x86_64/x32/shlib-versions: Likewise.
23269 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
23271         * sysdeps/unix/sysv/linux/kernel-features.h
23272         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
23273         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
23274         include <kernel-features.h>.
23275         [!__NR_ftruncate64]: Remove conditional code.
23276         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23277         [__NR_ftruncate64]: Make code unconditional.
23278         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23279         * sysdeps/unix/sysv/linux/truncate64.c: Do not
23280         include <kernel-features.h>.
23281         [!__NR_ftruncate64]: Remove conditional code.
23282         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23283         [__NR_ftruncate64]: Make code unconditional.
23284         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
23285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/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/powerpc/powerpc32/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.
23298         * configure.in (libc_cv_fpie): Weaken to a compile test using
23299         LIBC_TRY_CC_OPTION.
23300         * configure: Regenerated.
23302 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
23305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
23306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
23307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23308         Refreshed.
23309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
23310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
23311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
23312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
23313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
23314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23315         Refreshed.
23317 2012-05-27  David S. Miller  <davem@davemloft.net>
23319         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
23320         (___Q_zero): New.
23321         (__Q_simulate_exceptions): Return void.  Change to simulate
23322         exceptions by writing into the %fsr.
23323         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23324         (__Qp_handle_exceptions): Likewise.
23325         (numbers): Delete.
23326         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
23327         __Qp_handle_exceptions.
23328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
23329         __Qp_handle_exceptions.
23330         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23331         as unused and give dummy FP_RND_NEAREST initializer.
23332         (FP_INHIBIT_RESULTS): Define.
23333         (___Q_simulate_exceptions): Update declaration.
23334         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
23335         formatting.
23336         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
23337         as unused and give dummy FP_RND_NEAREST initializer.
23338         (__Qp_handle_exceptions): Update declaration.
23339         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
23340         formatting.
23342 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
23344         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
23345         the temporary FPU control word.
23346         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23347         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
23348         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23349         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
23350         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23351         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23352         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23353         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23354         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23355         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
23356         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23358 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23360         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
23361         fields.
23363 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
23365         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
23366         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
23367         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
23368         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
23369         Likewise.
23370         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
23371         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
23372         Likewise.
23374 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
23376         * po/h.po: Update from translation team.
23378 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
23380         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
23382         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
23383         handling of denormals.
23384         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23385         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23386         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23387         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23389         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
23390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
23391         Likewise.
23393 2012-05-26  Marek Polacek  <polacek@redhat.com>
23395         [BZ #14152]
23396         * math/libm-test.inc (fma_test): Don't always expect underflow
23397         exception.
23399 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23401         [BZ #12416]
23402         * elf/tst-execstack.c: Include stackinfo.h.
23403         (do_test): Adjust test case to ensure that pthread_getattr_np
23404         behaviour remains the same after marking stack executable.
23406 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23408         * sysdeps/unix/sysv/linux/kernel-features.h
23409         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
23410         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
23411         kernel-features.h.
23412         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23413         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23414         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
23415         kernel-features.h.
23416         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
23417         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
23419 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
23421         * configure.in: Define the default includes to being none.
23422         * configure: Regenerated.
23424 2012-05-25  Roland McGrath  <roland@hack.frob.com>
23426         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
23427         * sysdeps/x86_64/setjmp.S: Likewise.
23428         * sysdeps/i386/bsd-setjmp.S: Likewise.
23429         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23430         * sysdeps/i386/setjmp.S: Likewise.
23431         * sysdeps/i386/__longjmp.S: Likewise.
23432         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23433         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
23435         * include/stap-probe.h: New file.
23436         * configure.in: Handle --enable-systemtap.
23437         * configure: Regenerated.
23438         * config.h.in (USE_STAP_PROBE): New #undef.
23439         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
23440         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
23441         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23443 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
23445         [BZ #13717]
23446         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
23447         to 2.4.0 where earlier.
23448         * sysdeps/unix/sysv/linux/configure: Regenerated.
23449         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23450         <kernel-features.h>.
23451         [__ASSUME_32BITUIDS]: Make code unconditional.
23452         [!__ASSUME_32BITUIDS]: Remove conditional code.
23453         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
23454         <kernel-features.h>.
23455         [__ASSUME_32BITUIDS]: Make code unconditional.
23456         [!__ASSUME_32BITUIDS]: Remove conditional code.
23457         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
23458         [__ASSUME_32BITUIDS]: Make code unconditional.
23459         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
23460         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23461         <kernel-features.h>.
23462         [__ASSUME_32BITUIDS]: Make code unconditional.
23463         [!__ASSUME_32BITUIDS]: Remove conditional code.
23464         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23465         <kernel-features.h>.
23466         [__ASSUME_32BITUIDS]: Make code unconditional.
23467         [!__ASSUME_32BITUIDS]: Remove conditional code.
23468         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23469         <kernel-features.h>.
23470         [__ASSUME_32BITUIDS]: Make code unconditional.
23471         [!__ASSUME_32BITUIDS]: Remove conditional code.
23472         * sysdeps/unix/sysv/linux/i386/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
23501         <kernel-features.h>.
23502         [__NR_setresgid] (__setresgid): Do not declare.
23503         [__ASSUME_32BITUIDS]: Make code unconditional.
23504         [!__ASSUME_32BITUIDS]: Remove conditional code.
23505         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23506         <kernel-features.h>.
23507         [__NR_setresuid] (__setresuid): Do not declare.
23508         [__ASSUME_32BITUIDS]: Make code unconditional.
23509         [!__ASSUME_32BITUIDS]: Remove conditional code.
23510         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23511         <kernel-features.h>.
23512         [__ASSUME_32BITUIDS]: Make code unconditional.
23513         [!__ASSUME_32BITUIDS]: Remove conditional code.
23514         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23515         <kernel-features.h>.
23516         [__ASSUME_32BITUIDS]: Make code unconditional.
23517         [!__ASSUME_32BITUIDS]: Remove conditional code.
23518         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23519         <kernel-features.h>.
23520         [__ASSUME_32BITUIDS]: Make code unconditional.
23521         [!__ASSUME_32BITUIDS]: Remove conditional code.
23522         * sysdeps/unix/sysv/linux/i386/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
23551         (__ASSUME_SETRESUID_SYSCALL): Remove.
23552         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23553         (__ASSUME_32BITUIDS): Likewise.
23554         (__ASSUME_LDT_WORKS): Likewise.
23555         (__ASSUME_O_DIRECTORY): Likewise.
23556         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23557         architecture but not kernel version.
23558         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23559         (__ASSUME_MMAP2_SYSCALL): Likewise.
23560         (__ASSUME_STAT64_SYSCALL): Likewise.
23561         (__ASSUME_IPC64): Likewise.
23562         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23563         <kernel-features.h>.
23564         [__ASSUME_32BITUIDS]: Make code unconditional.
23565         [!__ASSUME_32BITUIDS]: Remove conditional code.
23566         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23567         <kernel-features.h>.
23568         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23569         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23570         132096]: Remove conditional code.
23571         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23573         <kernel-features.h>.
23574         [__ASSUME_32BITUIDS]: Make code unconditional.
23575         [!__ASSUME_32BITUIDS]: Remove conditional code.
23576         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23577         <kernel-features.h>.
23578         [__ASSUME_32BITUIDS]: Make code unconditional.
23579         [!__ASSUME_32BITUIDS]: Remove conditional code.
23580         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23581         <kernel-features.h>.
23582         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23583         unconditional.
23584         (__setresgid): Do not declare.
23585         [__ASSUME_32BITUIDS]: Make code unconditional.
23586         [!__ASSUME_32BITUIDS]: Remove conditional code.
23587         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23588         <kernel-features.h>.
23589         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23590         unconditional.
23591         (__setresuid): Do not declare.
23592         [__ASSUME_32BITUIDS]: Make code unconditional.
23593         [!__ASSUME_32BITUIDS]: Remove conditional code.
23594         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23595         <kernel-features.h>.
23596         [__ASSUME_32BITUIDS]: Make code unconditional.
23597         [!__ASSUME_32BITUIDS]: Remove conditional code.
23598         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23599         <kernel-features.h>.
23600         [__ASSUME_32BITUIDS]: Make code unconditional.
23601         [!__ASSUME_32BITUIDS]: Remove conditional code.
23603 2012-05-25  Richard Henderson  <rth@twiddle.net>
23605         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23606         dl_hwcap to ifunc resolver.
23607         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23608         elf_ifunc_invoke.
23609         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23610         dl_hwcap to ifunc resolver.
23611         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23613 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23615         [BZ #14153]
23616         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23617         for |x| <= 2**-26, not 2**-57.
23618         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23619         exception.
23621 2012-05-24  Jeff Law  <law@redhat.com>
23623         * stdio-common/Makefile (tests): Add bug25.
23624         * stdio-common/bug25.c: New test.
23626 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23628         [BZ #13576]
23629         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23630         multiple of MALLOC_ALIGNMENT in size.
23631         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23633 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23635         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23636         Require >= 256.
23637         (FILENAME_MAX): Use macro-int-constant.
23638         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23639         (_IOFBF): Use macro-int-constant.
23640         (_IOLBF): Likewise.
23641         (_IONBF): Likewise.
23642         (SEEK_CUR): Likewise.
23643         (SEEK_END): Likewise.
23644         (SEEK_SET): Likewise.
23645         (TMP_MAX): Likewise.
23646         (EOF): Use macro-int-constant.  Require < 0.
23647         (NULL): Use macro-constant.  Require == 0.
23648         (stdin): Require type to be FILE *.
23649         (stdout): Likewise.
23650         (stderr): Likewise.
23651         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23652         macro-int-constant.
23653         (EXIT_SUCCESS): Likewise.
23654         (NULL): Use macro-constant.  Require == 0.
23655         (RAND_MAX): Use macro-int-constant.
23656         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23657         [C99-based standards] (strtof): Require function.
23658         [C99-based standards] (strtold): Likewise.
23659         [C99-based standards] (strtoll): Likewise.
23660         [C99-based standards] (strtoull): Likewise.
23661         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23662         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23663         [ISO || ISO99 || ISO11] (math.h): Likewise.
23664         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23665         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23666         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23668 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23670         [BZ #14132]
23671         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23672         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23673         * intl/dgettext.c (DCGETTEXT): Likewise.
23674         * intl/gettext.c (DCGETTEXT): Likewise.
23675         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23676         * posix/regex_internal.h (gettext): Likewise.
23677         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23678         Remove declaration.
23679         * include/argz.h (__argz_count_internal)
23680         (__argz_stringify_internal): Remove declaration.
23681         (__argz_count, __argz_stringify): Declare hidden proto.
23682         * intl/dcgettext.c: Remove use of INTDEF.
23683         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23684         * string/argz-stringify.c: Likewise.
23685         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23686         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23687         Declare hidden proto.
23688         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23689         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23690         Declare hidden proto.
23691         * include/stdio.h (__asprintf_internal): Don't declare.
23692         (__asprintf): Don't define as macro.  Declare hidden proto.
23693         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23694         (__fsetlocking): Declare hidden proto.
23695         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23696         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23697         hidden proto.
23698         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23699         (_IO_setlinebuf): Remove use of INTUSE.
23700         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23701         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23702         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23703         Remove declaration.
23704         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23705         (_IO_do_flush): Remove use of INTUSE.
23706         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23707         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23708         (_IO_adjust_column, _IO_least_wmarker)
23709         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23710         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23711         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23712         (_IO_default_doallocate, _IO_wdefault_doallocate)
23713         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23714         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23715         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23716         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23717         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23718         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23719         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23720         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23721         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23722         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23723         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23724         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23725         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23726         proto.
23727         (_IO_flush_all_internal, _IO_adjust_column_internal)
23728         (_IO_default_uflow_internal, _IO_default_finish_internal)
23729         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23730         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23731         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23732         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23733         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23734         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23735         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23736         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23737         (_IO_file_close_internal, _IO_file_close_it_internal)
23738         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23739         (_IO_file_init_internal, _IO_file_attach_internal)
23740         (_IO_file_fopen_internal, _IO_file_read_internal)
23741         (_IO_file_sync_internal, _IO_file_seek_internal)
23742         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23743         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23744         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23745         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23746         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23747         (_IO_list_all_internal, _IO_link_in_internal)
23748         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23749         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23750         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23751         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23752         (_IO_do_write_internal, _IO_padn_internal)
23753         (_IO_getline_info_internal, _IO_getline_internal)
23754         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23755         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23756         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23757         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23758         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23759         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23760         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23761         with libc_hidden_ver, remove use of INTUSE.
23762         * libio/genops.c: Likewise.
23763         * libio/freopen.c: Likewise.
23764         * libio/freopen64.c: Likewise.
23765         * libio/iofclose.c: Likewise.
23766         * libio/iofdopen.c: Likewise.
23767         * libio/iofflush.c: Likewise.
23768         * libio/iofflush_u.c: Likewise.
23769         * libio/iofgets.c: Likewise.
23770         * libio/iofgets_u.c: Likewise.
23771         * libio/iofopen.c: Likewise.
23772         * libio/iofopncook.c: Likewise.
23773         * libio/iofread.c: Likewise.
23774         * libio/iofread_u.c: Likewise.
23775         * libio/ioftell.c: Likewise.
23776         * libio/iofwrite.c: Likewise.
23777         * libio/iogetline.c: Likewise.
23778         * libio/iogets.c: Likewise.
23779         * libio/iogetwline.c: Likewise.
23780         * libio/iopadn.c: Likewise.
23781         * libio/iopopen.c: Likewise.
23782         * libio/ioseekoff.c: Likewise.
23783         * libio/ioseekpos.c: Likewise.
23784         * libio/iosetbuffer.c: Likewise.
23785         * libio/iosetvbuf.c: Likewise.
23786         * libio/ioungetc.c: Likewise.
23787         * libio/ioungetwc.c: Likewise.
23788         * libio/iovdprintf.c: Likewise.
23789         * libio/iovsprintf.c: Likewise.
23790         * libio/iovsscanf.c: Likewise.
23791         * libio/memstream.c: Likewise.
23792         * libio/obprintf.c: Likewise.
23793         * libio/oldfileops.c: Likewise.
23794         * libio/oldiofclose.c: Likewise.
23795         * libio/oldiofdopen.c: Likewise.
23796         * libio/oldiofopen.c: Likewise.
23797         * libio/oldiopopen.c: Likewise.
23798         * libio/oldstdfiles.c: Likewise.
23799         * libio/putc.c: Likewise.
23800         * libio/setbuf.c: Likewise.
23801         * libio/setlinebuf.c: Likewise.
23802         * libio/stdfiles.c: Likewise.
23803         * libio/strops.c: Likewise.
23804         * libio/vasprintf.c: Likewise.
23805         * libio/vscanf.c: Likewise.
23806         * libio/vsnprintf.c: Likewise.
23807         * libio/vswprintf.c: Likewise.
23808         * libio/wfiledoalloc.c: Likewise.
23809         * libio/wfileops.c: Likewise.
23810         * libio/wgenops.c: Likewise.
23811         * libio/wmemstream.c: Likewise.
23812         * libio/wstrops.c: Likewise.
23813         * libio/__fpurge.c: Likewise.
23814         * libio/__fsetlocking.c: Likewise.
23815         * assert/assert.c: Likewise.
23816         * debug/fgets_chk.c: Likewise.
23817         * debug/fgets_u_chk.c: Likewise.
23818         * debug/fread_chk.c: Likewise.
23819         * debug/fread_u_chk.c: Likewise.
23820         * debug/gets_chk.c: Likewise.
23821         * debug/obprintf_chk.c: Likewise.
23822         * debug/vasprintf_chk.c: Likewise.
23823         * debug/vdprintf_chk.c: Likewise.
23824         * debug/vsnprintf_chk.c: Likewise.
23825         * debug/vsprintf_chk.c: Likewise.
23826         * malloc/mtrace.c: Likewise.
23827         * misc/error.c: Likewise.
23828         * misc/syslog.c: Likewise.
23829         * stdio-common/asprintf.c: Likewise.
23830         * stdio-common/fxprintf.c: Likewise.
23831         * stdio-common/getw.c: Likewise.
23832         * stdio-common/isoc99_fscanf.c: Likewise.
23833         * stdio-common/isoc99_scanf.c: Likewise.
23834         * stdio-common/isoc99_vfscanf.c: Likewise.
23835         * stdio-common/isoc99_vscanf.c: Likewise.
23836         * stdio-common/isoc99_vsscanf.c: Likewise.
23837         * stdio-common/printf-prs.c: Likewise.
23838         * stdio-common/printf_fp.c: Likewise.
23839         * stdio-common/printf_fphex.c: Likewise.
23840         * stdio-common/printf_size.c: Likewise.
23841         * stdio-common/putw.c: Likewise.
23842         * stdio-common/scanf.c: Likewise.
23843         * stdio-common/sprintf.c: Likewise.
23844         * stdio-common/tmpfile.c: Likewise.
23845         * stdio-common/vfprintf.c: Likewise.
23846         * stdio-common/vfscanf.c: Likewise.
23847         * stdlib/strfmon_l.c: Likewise.
23848         * sunrpc/openchild.c: Likewise.
23849         * sunrpc/xdr_stdio.c: Likewise.
23850         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23851         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23853 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23855         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23857         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23858         in the third column, to generate for the shared library an IFUNC
23859         that uses _dl_vdso_vsym.
23860         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23861         * Makeconfig (object-suffixes-noshared): New variable.
23863         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23864         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23865         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23866         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23868         [BZ #14132]
23869         * include/sys/time.h (__gettimeofday): Remove macro.
23870         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23871         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23872         Remove INTDEF.
23873         (__gettimeofday): Add libc_hidden_def.
23874         (gettimeofday): Add libc_hidden_weak.
23875         * sysdeps/mach/gettimeofday.c: Likewise.
23876         * sysdeps/posix/gettimeofday.c: Likewise.
23877         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23878         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23879         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23880         (__gettimeofday_internal): Remove strong_alias.
23881         (__gettimeofday): Add libc_hidden_def.
23882         (gettimeofday): Add libc_hidden_weak.
23883         * sysdeps/unix/syscalls.list (gettimeofday):
23884         Remove __gettimeofday_internal alias.
23886 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23887             H.J. Lu  <hongjiu.lu@intel.com>
23889         [BZ #12495]
23890         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23891         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23892         (largebin_index_32_big): New.
23893         (largebin_index): Use it for 16-byte alignment.
23894         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23895         correction with front_misalign.
23897 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23901         Likewise.
23902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23903         Likewise.
23904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23905         Likewise.
23906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23907         Likewise.
23908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23909         Likewise.
23910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23911         Likewise.
23912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23913         Likewise.
23914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23915         Likewise.
23916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23917         Likewise.
23918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23919         Likewise.
23920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23921         Likewise.
23922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23923         Likewise.
23925         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23926         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23928 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #10846]
23931         [BZ #14036]
23932         * math/libm-test.inc (exp_test): Add test from bug 14036.
23933         (pow_test): Add test from bug 10846.
23935         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23936         and other flags.
23937         (special_function): Do not include flags in test name.
23938         (parse_args): Likewise.
23939         * sysdeps/i386/fpu/libm-test-ulps: Update.
23940         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23941         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23942         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23945         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23946         exceptions.
23947         * math/libm-test.inc ("Philosophy"): Update comment about
23948         exception testing.
23949         (UNDERFLOW_EXCEPTION): New macro.
23950         (UNDERFLOW_EXCEPTION_OK): Likewise.
23951         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23952         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23953         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23954         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23955         (INVALID_EXCEPTION_OK): Update value.
23956         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23957         (OVERFLOW_EXCEPTION_OK): Likewise.
23958         (IGNORE_ZERO_INF_SIGN): Likewise.
23959         (test_exceptions): Handle underflow exceptions.
23960         (acos_test): Update for underflow exception expectations.
23961         (cexp_test): Likewise.
23962         (clog_test): Likewise.
23963         (clog10_test): Likewise.
23964         (csqrt_test): Likewise.
23965         (ctan_test): Likewise.
23966         (ctanh_test): Likewise.
23967         (exp_test): Likewise.
23968         (exp10_test): Likewise.
23969         (exp2_test): Likewise.
23970         (expm1_test): Likewise.
23971         (fma_test): Likewise.
23972         (j0_test): Likewise.
23973         (jn_test): Likewise.
23974         (nexttoward_test): Likewise.
23975         (pow_test): Likewise.
23976         (scalbn_test): Likewise.
23977         (scalbln_test): Likewise.
23978         (tan_test): Likewise.
23979         (y1_test): Likewise.
23980         * sysdeps/i386/fpu/libm-test-ulps: Update.
23981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23983 2012-05-23  David S. Miller  <davem@davemloft.net>
23985         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23986         (__libc_sigaction): Remove unused local variables.
23988 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23990         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23992 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23994         mktime: avoid signed integer overflow
23995         * time/mktime.c (__mktime_internal): Do not mishandle the case
23996         where diff == INT_MIN.
23998         mktime: simplify computation of average
23999         * time/mktime.c (ranged_convert): Use new time_t_avg function
24000         instead of rolling our own (probably-slower) code.
24002         mktime: do not assume signed right shift propagates sign bit
24003         * time/mktime.c (isdst_differ): New static function.
24004         (__mktime_internal): No need to normalize tm_isdst now.
24005         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
24006         tm_isdst values.
24008         mktime: merge another wrapv change from gnulib
24009         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
24010         from some compilers.
24012         mktime: remove incorrect attempt at unusual arithmetics
24013         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
24014         The code didn't really work on such machines anyway.
24015         (TYPE_MINIMUM): Assume two's complement.
24016         (twos_complement_arithmetic): Verify that long_int and time_t
24017         are two's complement (or unsigned, in the latter case).
24019         mktime: check signed shifts on long_int and time_t, too
24020         * time/mktime.c (SHR): Check that shifts work as desired
24021         on the types long_int and time_t too, as SHR is used on
24022         such types.
24024         mktime: do not assume 'long' is wide enough
24025         * time/mktime.c (verify): Move decl up.
24026         (long_int): New type.
24027         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
24028         to remove assumption in the code that 'long' is wide enough to
24029         store year values.  This assumption is not true on x32 and on
24030         some non-glibc platforms.
24032         mktime: merge wrapv change from gnulib
24033         * time/mktime.c (WRAPV): New macro.
24034         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
24035         (guess_time_tm, __mktime_internal): Do not assume that signed
24036         integer overflow wraps around; modern compilers generate code
24037         where this assumption is no longer valid.
24039 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24041         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24042         Replace "jmp L(pseudo_end)" with "ret".
24043         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
24044         Likewise.
24046 2012-05-23  Andreas Jaeger  <aj@suse.de>
24048         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
24049         * sysdeps/unix/sysv/linux/poll.c: Remove file.
24051 2012-05-23  Andreas Jaeger  <aj@suse.de>
24052             Maximilian Attems  <max@stro.at>
24054         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
24055         New macros.
24057 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
24059         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
24060         code so that pseudo_end is just ret and the stack pointer is
24061         correct also for static library in error case.
24063 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
24065         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
24066         move to syscalls.list.
24067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
24068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24072         * manual/install.texi (Running make install): Do not mention Linux
24073         kernel version for which pt_chown is not needed.
24074         (Linux): Do not mention problems with nscd with 2.0 kernels.
24075         * INSTALL: Regenerated.
24077 2012-05-23  Andreas Jaeger  <aj@suse.de>
24079         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
24080         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
24081         macro.
24082         * sysdeps/unix/sysv/linux/s390/bits/mman.h
24083         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24084         * sysdeps/unix/sysv/linux/sh/bits/mman.h
24085         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24086         * sysdeps/unix/sysv/linux/i386/bits/mman.h
24087         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24088         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
24089         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
24091         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
24092         * sysdeps/unix/sysv/linux/bits/in.h
24093         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
24095 2012-05-22  Roland McGrath  <roland@hack.frob.com>
24097         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
24098         (PREPARE_VERSION): Just use assert instead, it will be elided
24099         under [NDEBUG] anyway.
24101 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24103         * sysdeps/unix/sysv/linux/Makefile: Include
24104         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
24105         (sysdep_routines): Remove sysctl.
24106         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
24107         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
24108         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
24109         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
24110         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
24112 2012-05-22  Andreas Jaeger  <aj@suse.de>
24114         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
24115         that pseudo_end is just ret and the stack pointer is correct also
24116         for static library in error case.
24118 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24120         [BZ #14122]
24121         * nss/nsswitch.c (defconfig_entries): New variable.
24122         (__nss_database_lookup): Don't leak defconfig entries.
24123         (nss_parse_service_list): Don't leak on error paths.
24124         (free_database_entries): New function.
24125         (free_defconfig): New function.
24126         (free_mem): Move common code to free_database_entries.
24128 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24130         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
24131         Add arch_prctl.
24132         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
24134         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24135         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
24136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
24137         New macro.
24138         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24139         (INTERNAL_SYSCALL_TYPES): Likewise.
24140         (LOAD_ARGS_TYPES_[1-6]): Likewise.
24141         (LOAD_REGS_TYPES_[1-6]): Likewise.
24142         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
24143         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
24145 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24147         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
24148         copysignl for GLIBC_2_0.
24149         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
24150         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
24151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
24152         logbl for GLIBC_2_0.
24153         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
24154         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
24156 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24158         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
24159         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24161         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
24162         Use "neg %eax".
24164         * time/mktime.c: Update copyright years.
24166 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24168         mktime: merge comment-quoting-style change from gnulib
24169         * time/mktime.c: Quote 'like this' in comments.
24170         The GNU coding standards suggest that we no longer quote `like this',
24171         as "`" and "'" are typically rendered asymmetrically nowadays.
24172         The typical gnulib style is to quote 'like this' when quoting
24173         code, and "like this" when quoting English.
24175         * time/mktime.c (compile-command): Add "-I.".
24177         mktime: merge mktime-internal.h change from gnulib
24178         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
24180         mktime: merge time_r change from gnulib
24181         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
24183         mktime: merge DEBUG change from gnulib
24184         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
24185         case system <time.h> has a #define.
24187         mktime: merge <sys/types.h> change from gnulib
24188         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
24189         since <time.t> is now guaranteed to define time_t.
24191         mktime: merge HAVE_CONFIG_H change from gnulib
24192         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
24194 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24197         Use "neg %eax".
24199         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
24200         __rlim_t cast.
24201         (struct rusage): Use anonymous union to pad each field to
24202         __syscall_slong_t.
24204 2012-05-21  David S. Miller  <davem@davemloft.net>
24206         * Makefules (o-iterator): Remove .s cases.
24207         (compile-command.s): Delete.
24208         (COMPILE.s): Delete.
24209         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
24211 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
24213         * configure.in (libc_cv_predef_stack_protector): Only consider
24214         "foobar" and "__stack_chk_fail" lines in libc_undefs.
24215         * configure: Regenerated.
24217 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
24220         New macro.  Use R*LP on int and pointer.
24221         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
24222         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
24223         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
24224         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
24226         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
24227         [__WORDSIZE_TIME64_COMPAT32] instead of
24228         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
24229         (struct utmp): Likewise.
24230         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
24231         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
24232         Renamed to ...
24233         (__WORDSIZE_TIME64_COMPAT32): This.
24234         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
24235         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
24236         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
24237         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
24238         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
24239         (__WORDSIZE_TIME64_COMPAT32): New macro.
24241 2012-05-21  Andreas Jaeger  <aj@suse.de>
24243         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
24244         only if [SHARED]. Add prototype for __wcschr_ia32.
24246 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24248         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
24249         of %rbp unmolested in the jmp_buf while mangling the low bits.
24250         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
24251         unmolested high bits of %rbp while demangling the low bits.
24252         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24254 2012-05-21  Andreas Jaeger  <aj@suse.de>
24256         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
24257         * sunrpc/svc_simple.c: Use it for registerrpc.
24258         * sunrpc/xcrypt.c: Use it for passwd2des.
24260         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
24262 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24264         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
24265         Don't define if [__SYSCALL_WORDSIZE != 32].
24266         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
24267         New macro.
24269 2012-05-21  Bruno Haible  <bruno@clisp.org>
24270             Andreas Jaeger  <aj@suse.de>
24272         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
24273         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
24274         inptr and inend for must_buffer_ch.
24275         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
24276         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
24277         * stdio-common/Makefile (tests): Remove bug15.
24278         (bug15-ENV): Remove macro.
24279         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
24280         anymore.
24282 2012-05-19  Andreas Jaeger  <aj@suse.de>
24283             Roland McGrath  <roland@hack.frob.com>
24285         * manual/contrib.texi: Completely rewritten. It contains now an
24286         alphabetical list of contributors and their contributions.
24288 2012-05-21  Richard Henderson  <rth@twiddle.net>
24290         * misc/getauxval.c (__getauxval): Use unsigned long int.
24291         * misc/sys/auxv.h: Include <sys/cdefs.h>.
24292         (getauxval): Use unsigned long int.
24294 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
24298 2012-05-21  Roland McGrath  <roland@hack.frob.com>
24300         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
24301         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
24302         __alignof__ (long double).
24304 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24308 2012-05-20  Richard Henderson  <rth@twiddle.net>
24310         * misc/getauxval.c: New file.
24311         * misc/sys/auxv.h: New file.
24312         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
24313         (routines): Add getauxval.
24314         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
24315         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
24316         * elf/dl-sysdep.c (_dl_auxv): Remove.
24317         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
24318         * elf/dl-support.c (_dl_auxv): New variable.
24319         (_dl_aux_init): Initialize it.
24320         * manual/startup.texi (Auxiliary Vector): New node.
24321         * sysdeps/generic/bits/hwcap.h: New file.
24322         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
24323         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
24324         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
24325         * sysdeps/sparc/sysdep.h: ... here.  Include it.
24326         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
24327         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
24328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24329         Update.
24330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
24331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
24332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
24333         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
24334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
24336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
24337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
24339 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24343 2012-05-19  David S. Miller  <davem@davemloft.net>
24345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24347 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24349         [BZ #14123]
24350         * math/s_ccosh.c: Include <float.h>
24351         (__ccosh): Avoid internal overflow calculating sinh and cosh
24352         values before multiplying by sin and cos values.
24353         * math/s_ccoshf.c: Likewise.
24354         * math/s_ccoshl.c: Likewise.
24355         * math/s_csin.c: Likewise.
24356         * math/s_csinf.c: Likewise.
24357         * math/s_csinl.c: Likewise.
24358         * math/s_csinh.c: Likewise.
24359         * math/s_csinhf.c: Likewise.
24360         * math/s_csinhl.c: Likewise.
24361         * math/libm-test.inc (ccos_test): Add more tests.
24362         (ccosh_test): Likewise.
24363         (csin_test): Likewise.
24364         (csinh_test): Likewise.
24365         * sysdeps/i386/fpu/libm-test-ulps: Update.
24366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24368 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
24370         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
24371         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
24373         * sysdeps/x86_64/x32/_itoa.h: Add comment.
24375 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
24377         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
24378         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
24379         * sysdeps/powerpc/soft-fp/Versions: Likewise.
24380         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
24381         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
24382         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
24383         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
24384         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
24385         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
24386         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
24387         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
24388         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
24389         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
24390         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
24391         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
24392         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
24393         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
24394         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
24395         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
24396         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
24397         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
24398         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
24399         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
24400         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
24401         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
24402         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
24403         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
24404         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
24405         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
24406         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
24407         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
24409 2012-05-18  Andreas Jaeger  <aj@suse.de>
24411         * csu/.gitignore: Delete.
24413 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24415         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
24416         (timex): Use __syscall_slong_t.
24418 2012-05-18  Andreas Jaeger  <aj@suse.de>
24419             Carlos O'Donell  <carlos_odonell@mentor.com>
24421         * manual/install.texi (Configuring and compiling): Update
24422         description about files modified in the source directory.
24423         * INSTALL: Regenerated.
24425 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24427         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
24428         value.  Use "or" to set return value to -1.
24429         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
24430         negate return value.
24432 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24434         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
24435         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
24436         failure if the compiler has Graphite support disabled.
24437         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
24438         Likewise.
24439         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
24440         CFLAGS-memmove.c): Likewise.
24441         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
24442         Likewise.
24444 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
24446         * sysdeps/x86_64/x32/_itoa.h: New file.
24448         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
24449         getdents system call only if kernel and user dirents have the
24450         same d_ino and d_off.
24452         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24453         LLONG_MAX != LONG_MAX.
24454         (_itoa_word): Use _ITOA_WORD_TYPE on value.
24455         (_fitoa_word): Likewise.
24457         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
24458         years.
24459         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
24460         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24461         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24463         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24464         include <bits/wordsize.h>.  Check __x86_64__ instead of
24465         __WORDSIZE.
24466         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24467         if __x86_64__ is defined.  Use anonymous union on fpstate.
24469         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24470         anonymous union.
24472 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24474         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24475         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24476         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24477         Refer to _rtld_local_ro instead of _rtld_global_ro.
24478         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24479         Likewise.
24480         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24481         Likewise.
24482         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24483         Likewise.
24484         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24485         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24486         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24488         * sysdeps/powerpc/powerpc32/dl-machine.c
24489         (__elf_machine_runtime_setup) [PROF]: Don't reference
24490         _dl_prof_resolve.
24492 2012-05-18  Andreas Jaeger  <aj@suse.de>
24494         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24495         function only available for GCCs before 3.4 since GCC 3.4
24496         introduced a builtin.
24497         (lrint): Likewise.
24498         (llrintf): Likewise.
24499         (llrint): Likewise.
24500         (fmaxf): Likewise.
24501         (fmax): Likewise.
24502         (fminf): Likewise.
24503         (fmin): Likewise.
24504         (rint): Likewise.
24505         (rintf): Likewise.
24506         (nearbyint): Likewise.
24507         (nearbyintf): Likewise.
24508         (ceil): Likewise.
24509         (ceilf): Likewise.
24510         (floor): Likewise.
24511         (floorf): Likewise.
24513 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24515         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24516         on both fields and cast pointer to __syscall_ulong_t.
24518         * bits/types.h (__fsword_t): New type.
24519         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24520         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24521         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24522         (__FSWORD_T_TYPE): Likewise.
24523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24524         (__FSWORD_T_TYPE): Likewise.
24525         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24526         (__FSWORD_T_TYPE): Likewise.
24527         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24528         (__FSWORD_T_TYPE): Likewise.
24529         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24530         __SWORD_TYPE with __fsword_t.
24531         (statfs64): Likewise.
24533 2012-05-17  David S. Miller  <davem@davemloft.net>
24535         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24537 2012-05-17  Andreas Jaeger  <aj@suse.de>
24539         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24540         warning.
24542 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24544         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24546 2012-05-17  Andreas Jaeger  <aj@suse.de>
24548         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24549         when it is used.
24551 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24553         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24555 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24557         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24558         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24560 2012-05-17  Andreas Jaeger  <aj@suse.de>
24561             Carlos O'Donell  <carlos_odonell@mentor.com>
24563         [BZ #14059]
24564         * sysdeps/x86_64/multiarch/init-arch.h
24565         (bit_YMM_Usable): Rename to...
24566         (bit_AVX_Usable): ... this.
24567         (bit_FMA4_Usable): New macro.
24568         (bit_XMM_state): New macro.
24569         (bit_YMM_state): New macro.
24570         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24571         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24572         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24573         (CPUID_OSXSAVE): New macro.
24574         (CPUID_AVX): New macro.
24575         (CPUID_FMA4): New macro.
24576         (index_YMM_Usable): Rename to...
24577         (index_AVX_Usable): ... this.
24578         (HAS_AVX): Use HAS_ARCH_FEATURE.
24579         (HAS_FMA4): Likewise.
24580         (HAS_YMM_USABLE): Remove.
24581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24582         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24583         are present.
24584         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24585         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24586         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24587         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24588         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24590 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24592         * math/libm-test.c: Support platforms without multiple rounding modes.
24593         * math/bug-nextafter.c: Support platforms without FP exceptions.
24594         * math/bug-nexttoward.c: Likewise.
24595         * math/test-fenv.c: Likewise.
24596         * math/test-misc.c: Likewise.
24597         * stdlib/bug-getcontext.c: Likewise.
24599 2012-05-17  Andreas Jaeger  <aj@suse.de>
24601         * manual/examples/search.c (critter_cmp): Change signature to
24602         avoid warnings.
24603         * manual/string.texi (Collation Functions): Likewise.
24605 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24607         * bits/types.h: Fold copyright years.
24608         * bits/typesizes.h: Likewise.
24609         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24610         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24613         * time/time.h: Likewise.
24615 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24617         [BZ #208]
24618         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24619         in instead of returning them.  Return void.
24620         (__libc_mallinfo): Accumulate over all arenas.
24621         (__malloc_stats): Adjust for change in int_mallinfo interface.
24623 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24625         [BZ #10375]
24626         * configure.in (NM): Add AC_CHECK_TOOL for it.
24627         (libc_extra_cflags): New substituted variable.
24628         Check for -fstack-protector being used implicitly.
24629         * configure: Regenerated.
24630         * config.make.in (config-extra-cflags): New variable,
24631         gets @libc_extra_cflags@.
24632         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24634         [BZ #10375]
24635         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24636         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24637         * configure: Regenerated.
24638         * config.make.in (CPPUNDEFS): New substituted variable.
24639         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24640         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24641         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24643 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24645         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24646         (mq_attr): Use __syscall_slong_t.
24648 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24650         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24651         Check __x86_64__ instead of __WORDSIZE.
24652         (_STAT_VER_LINUX): Likewise.
24653         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24654         __syscall_ulong_t and __syscall_slong_t.
24655         (stat64): Likewise.
24657 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24659         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24661 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24663         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24667         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24668         __syscall_ulong_t.
24670         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24671         include <bits/wordsize.h>.  Check __x86_64__ instead of
24672         __WORDSIZE.
24673         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24674         defined.
24675         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24678         include <bits/wordsize.h>.  Check __x86_64__ instead of
24679         __WORDSIZE.
24680         (user_regs_struct): Use "__extension__ unsigned long long"
24681         instead of "unsigned long" if __x86_64__ is defined.
24682         (user): Likewise.  Pad after pointer field if __ILP32__ is
24683         defined.
24685 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24687         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24688         versions 5 to 9.
24689         * configure: Regenerated.
24690         * manual/install.texi (texinfo): Increase version requirement to
24691         4.5 or later.
24692         * INSTALL: Regenerated.
24694         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24698         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24700         * sysdeps/x86_64/x32/ffs.c: New file.
24702         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24703         __syscall_ulong_t.
24704         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24705         defined.  Use __syscall_ulong_t.
24706         (shminfo): Use __syscall_ulong_t.
24707         (shm_info): Likewise.
24709         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24710         __syscall_ulong_t.
24712         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24713         <bits/wordsize.h>.
24714         (msgqnum_t): Use __syscall_ulong_t.
24715         (msglen_t): Likewise.
24716         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24717         __syscall_ulong_t.
24719         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24720         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24722         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24724         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24725         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24727         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24728         __syscall_slong_t.
24730         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24731         include <bits/wordsize.h>.  Check __x86_64__ instead of
24732         __WORDSIZE.
24734         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24735         "unsigned long long int" if __x86_64__ is defined.
24736         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24739         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24740         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24742         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24743         <stdint.h>.
24744         (GET_PC): Cast to uintptr_t first.
24745         (GET_FRAME): Likewise.
24746         (GET_STACK): Likewise.
24748         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24750         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24751         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24752         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24753         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24754         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24755         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24756         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24757         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24758         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24759         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24760         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24761         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24762         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24763         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24764         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24765         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24766         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24767         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24768         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24769         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24770         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24771         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24772         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24773         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24775         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24776         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24778 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24780         * Makerules (+depfiles): Also collect depfiles from .oS in
24781         $(extra-objs).
24782         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24783         .oS, $(libnldbl-routines)).
24785         * Makerules (native-compile-mkdep-flags): Define.
24786         * sunrpc/Makefile (extra-objs): Add $(addprefix
24787         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24788         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24789         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24790         calling $(make-target-directory).
24792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24794         * bits/types.h (__snseconds_t): Removed.
24795         * time/time.h (struct timespec): Replace __snseconds_t with
24796         __syscall_slong_t.
24797         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24798         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24799         Likewise.
24800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24801         (__SNSECONDS_T_TYPE): Likewise.
24802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24803         (__SNSECONDS_T_TYPE): Likewise.
24804         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24805         (__SNSECONDS_T_TYPE): Likewise.
24807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24809         * sysdeps/mach/hurd/bits/typesizes.h
24810         (__SYSCALL_SLONG_TYPE): New macro.
24811         (__SYSCALL_ULONG_TYPE): Likewise.
24813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24815         * bits/types.h (__syscall_slong_t): New type.
24816         (__syscall_ulong_t): Likewise.
24818         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24819         (__SYSCALL_ULONG_TYPE): Likewise.
24820         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24821         (__SYSCALL_SLONG_TYPE): Likewise.
24822         (__SYSCALL_ULONG_TYPE): Likewise.
24823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24824         (__SYSCALL_SLONG_TYPE): Likewise.
24825         (__SYSCALL_ULONG_TYPE): Likewise.
24826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24827         (__SYSCALL_SLONG_TYPE): Likewise.
24828         (__SYSCALL_ULONG_TYPE): Likewise.
24830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24832         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24833         Add sigaltstack-offsets.sym.
24834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24835         <sigaltstack-offsets.h>.
24836         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24837         longjmp_msg pointer.
24838         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24839         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24840         signal stack.
24841         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24843 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24845         * elf/stackguard-macros.h: Remove file.
24846         * sysdeps/generic/stackguard-macros.h: New file.
24847         * sysdeps/i386/stackguard-macros.h: Likewise.
24848         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24849         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24850         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24851         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24852         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24853         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24854         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24855         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24856         <elf/stackguard-macros.h>.
24858         [BZ #14109]
24859         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24860         __aligned__ in attribute.
24861         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24862         (gregset_t): Likewise.
24864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24866         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24867         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24868         * sysdeps/x86_64/x32/Implies-after: New file.
24870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24872         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24873         and access return value for _dl_profile_fixup.  Use R10_LP to
24874         load frame size.
24876 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24878         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24882         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24883         * sysdeps/x86_64/x32/sysdep.h: New file.
24885 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24887         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24888         * sysdeps/x86_64/setjmp.S: Likewise.
24890 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24892         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24894         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24895         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24896         remove unused global constant.
24898 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24900         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24901         include of <not-cancel.h>.
24903 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24905         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24907 2012-05-15  Jeff Law  <law@redhat.com>
24908             Andreas Jaeger  <aj@suse.de>
24910         [BZ #13594]
24911         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24912         out from...
24913         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24914         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24915         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24916         code changing __hst_map_handle.map.
24918 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24920         * configure.in (sysnames): Look for Implies-before and Implies-after
24921         files.
24922         * configure: Regenerated.
24924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24926         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24927         8-byte data alignment with LP_SIZE alignment.
24929 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24931         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24932         into R10_LP.
24934 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24936         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24940         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24941         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24942         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24943         Likewise.
24944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24948         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24949         (stackinfo_sub_sp): Likewise.
24951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24953         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24954         RAX_LP.
24956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24958         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24959         into R*_LP.
24961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24963         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24964         sizes into R*_LP.
24966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24968         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24972         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24973         into R11_LP and load __x86_64_shared_cache_size_half into
24974         R8_LP.
24976 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24978         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24979         R8_LP.
24981 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24984         logb for POWER7.
24985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24986         logbf for POWER7.
24987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24988         logbl for POWER7.
24989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24990         powerpc32/power7/fpu/s_logb.c via #include.
24991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24992         powerpc32/power7/fpu/s_logbf.c via #include.
24993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24994         powerpc32/power7/fpu/s_logbl.c via #include.
24996 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24998         * README.libm: Remove file.
25000 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25002         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
25003         count for x32.  Use R*_LP and omit operand-size suffix.
25005 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25007         * shlib-versions: Move x86_64-.*-linux.* entries to ...
25008         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
25009         * sysdeps/x86_64/x32/shlib-versions: New file.
25011 2012-05-14  Roland McGrath  <roland@hack.frob.com>
25013         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
25014         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
25015         Use _dl_fatal_printf instead.
25017 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25019         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
25020         set if not set by the user.  Do not allow for being unset.
25021         * sysdeps/unix/sysv/linux/configure: Regenerated.
25023 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25025         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
25026         the `q' suffix from lea and replace .quad with ASM_ADDR.
25028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25030         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
25031         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
25032         instead of $17.
25033         (PTR_DEMANGLE): Likewise.
25035 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25037         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
25038         (LP_OP): Likewise.
25039         (ASM_ADDR): Likewise.
25040         (RAX_LP): Likewise.
25041         (RBP_LP): Likewise.
25042         (RBX_LP): Likewise.
25043         (RCX_LP): Likewise.
25044         (RDI_LP): Likewise.
25045         (RSI_LP): Likewise.
25046         (RSP_LP): Likewise.
25047         (R8_LP): Likewise.
25048         (R9_LP): Likewise.
25049         (R10_LP): Likewise.
25050         (R10_LP): Likewise.
25051         (R11_LP): Likewise.
25052         (R12_LP): Likewise.
25053         (R13_LP): Likewise.
25054         (R14_LP): Likewise.
25055         (R15_LP): Likewise.
25057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25059         * sysdeps/x86_64/x32/dl-machine.h: New file.
25061 2012-05-14  Andreas Jaeger  <aj@suse.de>
25063         * manual/Makefile (subdir): Remove export of subdir.
25064         (all): Remove target.
25065         (.PHONY): Remove all from list.
25066         (mkinstalldirs): Remove.
25067         (.PHONY): Remove installdirs from list.
25068         ($(inst_infodir)/libc.info): Use make-target-directory.
25069         (installdirs): Remove.
25070         (subdir_%): Remove.
25071         (glibc-targets): Remove.
25072         (lib): Remove.
25073         (stubs): Remove.
25074         ($(objpfx)stubs ../po/manual.pot): Remove.
25075         ($(objpfx)stamp%): Remove.
25076         (make-target-directory): Remove.
25077         (subdir_install): Remove.
25078         (routines): Remove.
25079         (aux): Remove.
25080         (sources): Remove.
25081         (objects): Remove.
25082         (headers): Remove.
25084         [BZ #13750]
25085         * manual/.gitignore: Remove, it's not needed anymore.
25086         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
25087         all files in it.
25088         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
25089         directory.
25090         (texis): Renamed to $(objpfx)texis.
25091         (texis-path): New, contains path to generated files.
25092         (chapters.%): Use texis-path for complete path, add extra argument
25093         libc-texinfo.sh.
25094         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
25095         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
25096         (summary,texi, stamp-summary): Use complete path of
25097         files. Generate files in build dir.
25098         (dir-add.texi): Build in build dir.
25099         (libm-err.texi,stamp-libm-err): Likewise.
25100         (version.texi, stamp-version): Likewise.
25101         (.%c.texi): Likewise.
25102         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
25103         (mostlyclean): Remove target.
25104         (realclean): Remove target.
25105         (generated): Add new variable with contents from mostlyclean and
25106         realclean, remove entries duplicated in common-mostlyclean, add
25107         stamp-libm-err and stamp-version.
25108         (generated-dirs): Add libc directory.
25109         ($(inst_infodir)/libc.info): Install files from build dir.
25111         * manual/install.texi (Configuring and compiling): Adjust since
25112         the info files are not part of the tar ball anymore.
25114 2012-05-14  Andreas Jaeger  <aj@suse.de>
25116         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
25117         variable.
25119 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
25121         [BZ #13717]
25122         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
25123         to 2.2.0 where earlier.
25124         * sysdeps/unix/sysv/linux/configure: Regenerated.
25125         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
25126         Remove conditional code.
25127         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
25128         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
25129         Remove conditional code.
25130         [!__NR_lchown]: Likewise.
25131         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25132         [__NR_lchown]: Likewise.
25133         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
25134         comment referencing __ASSUME_LCHOWN_SYSCALL.
25135         * sysdeps/unix/sysv/linux/i386/sigaction.c
25136         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25137         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25138         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
25139         Remove conditional code.
25140         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
25141         (__protocol_available): Remove #if 0 code.
25142         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
25143         conditional code.
25144         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
25145         * sysdeps/unix/sysv/linux/kernel-features.h
25146         (__ASSUME_GETCWD_SYSCALL): Don't define.
25147         (__ASSUME_REALTIME_SIGNALS): Likewise.
25148         (__ASSUME_PREAD_SYSCALL): Likewise.
25149         (__ASSUME_PWRITE_SYSCALL): Likewise.
25150         (__ASSUME_POLL_SYSCALL): Likewise.
25151         (__ASSUME_LCHOWN_SYSCALL): Likewise.
25152         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
25153         non-SPARC.
25154         (__ASSUME_SIOCGIFNAME): Don't define.
25155         (__ASSUME_MSG_NOSIGNAL): Likewise.
25156         (__ASSUME_SENDFILE): Define unconditionally.
25157         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
25158         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
25159         conditional code.
25160         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
25161         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
25162         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25163         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25164         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
25165         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
25166         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
25167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
25168         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25169         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25171         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25172         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
25174         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25175         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
25177         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25178         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
25180         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25181         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25183         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
25184         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
25186         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25187         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25189         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25190         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25191         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
25192         Remove conditional code.
25193         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25194         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25195         Remove conditional code.
25196         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25197         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
25198         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
25199         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25200         Remove conditional code.
25201         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25202         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
25203         Remove conditional code.
25204         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25205         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
25206         Remove conditional code.
25207         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25208         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
25209         Remove conditional code.
25210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
25211         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
25212         Remove conditional code.
25213         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25214         * sysdeps/unix/sysv/linux/sh/pwrite64.c
25215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
25216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
25217         * sysdeps/unix/sysv/linux/sigaction.c
25218         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25219         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25220         * sysdeps/unix/sysv/linux/sigpending.c
25221         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25222         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25223         * sysdeps/unix/sysv/linux/sigprocmask.c
25224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25226         * sysdeps/unix/sysv/linux/sigsuspend.c
25227         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
25228         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
25229         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25230         (__libc_missing_rt_sigs): Remove.
25231         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
25232         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
25233         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
25234         Remove conditional code.
25235         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
25236         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
25237         return 1.
25238         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
25239         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
25240         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
25241         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
25243 2012-05-14  Andreas Jaeger  <aj@suse.de>
25245         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
25246         it's not used in glibc.
25247         (__coshm1): Likewise.
25248         (__acosh1p): Likewise.
25249         (__sgn): Likewise.
25251         * manual/string.texi (Copying and Concatenation): Add missing
25252         variable in concat example.
25253         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
25255 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25257         [BZ #14103]
25258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
25259         __builtin_clzl with __builtin_clzll.
25261 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
25263         [BZ #14104]
25264         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
25265         libc_freeres_ptr.
25267 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25269         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
25270         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
25271         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
25272         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
25274 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
25276         * NEWS: Update ia64 info.
25278 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
25280         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
25281         used as bcopy.
25283 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
25285         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
25286         * sysdeps/unix/syscalls.list (dup3): Likewise.
25287         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
25288         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
25290 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25292         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
25293         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
25295 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
25297         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
25298         thread pointer.
25299         (TLS_IE): Use mov/add instead of movq/addq to load thread
25300         pointer.
25301         (TLS_GD_PREFIX): New.
25302         (TLS_GD): Use it.
25304 2012-05-11  David S. Miller  <davem@davemloft.net>
25306         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
25307         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
25308         (_FPU_SETCW): Likewise.
25310 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25312         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
25313         is 32-byte aligned.
25315 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
25317         [BZ #11837]
25318         * iconvdata/gb18030.c: Update tables.
25319         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
25320         characters specially.
25321         (BODY for TO_LOOP): Add encoding of missing ranges.
25323 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
25325         [BZ #13673]
25326         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
25327         * sysdeps/mach/hurd/dup3.c: Likewise.
25328         * sysdeps/mach/hurd/readlinkat.c: Likewise.
25329         * sysdeps/powerpc/memmove.c:: Likewise.
25331 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25333         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
25334         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
25336 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25338         * elf/elf.h (R_X86_64_RELATIVE64): New.
25339         (R_X86_64_NUM): Updated.
25340         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25341         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
25342         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
25343         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
25344         tst-quad1pie tst-quad2pie
25345         (modules-names): Add tst-quadmod1 tst-quadmod2.
25346         ($(objpfx)tst-quad1): New dependency.
25347         ($(objpfx)tst-quad2): Likewise.
25348         ($(objpfx)tst-quad1pie): Likewise.
25349         ($(objpfx)tst-quad2pie): Likewise.
25350         * sysdeps/x86_64/tst-quad1.c: New file.
25351         * sysdeps/x86_64/tst-quad1pie.c: New file.
25352         * sysdeps/x86_64/tst-quad2.c: Likewise.
25353         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
25354         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
25355         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
25356         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
25357         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
25359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25361         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
25362         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
25363         * streams/stropts.h (t_scalar_t): Define type.
25365         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
25366         (_PATH_PRESERVE): Set to "/var/lib".
25367         (_PATH_RWHODIR): Set to "/var/spool/rwho".
25369         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
25370         instead of int.
25372         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
25373         if __dir_mkfile succeeded.
25375         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
25376         checking for _hurd_dtablesize.  Unlock it right after having
25377         finished _hurd_dtable allocation.
25379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25381         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
25382         * sysdeps/mach/hurd/configure: Regenerated.
25383         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
25384         special-casing to...
25385         * sysdeps/gnu/configure.in: ... this new file.
25386         * sysdeps/unix/sysv/linux/configure: Regenerated.
25387         * sysdeps/gnu/configure: New generated file.
25389         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
25390         for Linux: use nsec instead of usec, as well as:
25391         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
25392         members of type struct timespec.
25393         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
25394         New macros.
25395         (struct stat64): Likewise.
25396         (_STATBUF_ST_NSEC): New macro.
25397         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
25399         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25400         __strtoul_internal rather than strtoul.
25402 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25404         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
25405         and reject them.
25407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25409         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
25410         which preserves existing values.
25411         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
25413 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25415         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
25416         TIMEOUT values.  Return EINVAL for NFDS values either negative or
25417         greater than FD_SETSIZE.
25419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25421         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
25422         allocated, call __vm_protect to finish enabling the existing space, and
25423         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
25424         allocate the remainder.
25426 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25428         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
25429         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
25431 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25433         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
25434         sysdeps/mach/hurd/readlink.c.
25436         * posix/tst-sysconf.c (posix_options): Only use
25437         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
25438         _POSIX_SYNCHRONIZED_IO when they are defined
25439         * sysdeps/mach/hurd/bits/posix_opt.h:
25440         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
25441         (_XOPEN_REALTIME): Undefine macro.
25442         (_XOPEN_REALTIME_THREADS): Undefine macro.
25443         (_XOPEN_SHM): Undefine macro.
25444         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
25445         macro to -1.
25446         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
25447         macro to -1.
25448         (_POSIX_ASYNC_IO): Undefine macro.
25449         (_POSIX_PRIORITIZED_IO): Undefine macro.
25450         (_POSIX_SPIN_LOCKS): Define macro to -1.
25452         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
25453         SA_NODEFER, SA_RESETHAND.
25454         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
25455         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
25456         F_DUPFD_CLOEXEC.
25458 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25460         * elf/Makefile (pldd-modules): Define unconditionally.
25462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25464         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25466 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25468         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25469         Return ENOENT when name is empty.
25470         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25474         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25476         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25480         Fix mlock in all cases except non-readable pages.
25481         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25482         instead of VM_PROT_ALL as parameter to __vm_wire function.
25484         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25485         (__mkdir): When path is `/', just fail with EEXIST.
25486         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25488 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25490         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25491         <sys/uio.h> (for writev).
25492         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25493         and <sys/param.h> (for MIN).
25495 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25497         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25498         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25499         if interrupted.
25501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25503         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25504         Depend on against $(link-rpcuserlibs).
25506 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25508         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25509         (__libc_stack_end): Do not use attribute_relro.
25510         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25511         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25512         to libthread-provided value.
25513         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25514         attribute_relro.
25516 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25518         [BZ #3748]
25519         * bits/libc-lock.h (__libc_once_get): New macro.
25520         * sysdeps/mach/bits/libc-lock.h: Likewise.
25521         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25522         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25523         instead of using implementation details.
25525         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25526         * libio/freopen.c: Likewise.
25527         * libio/freopen64.c: Likewise.
25528         * misc/syslog.c: Likewise.
25529         * nscd/connections.c: Likewise.
25530         * nscd/netgroupcache.c: Likewise.
25531         * sysdeps/posix/getcwd.c: Likewise.
25533 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25535         * math/w_ilogbf.c: Add #include <limits.h>.
25537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25539         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25540         path instead of returning without unlocking.
25542         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25543         immediate-write ioctls.
25544         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25548         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25549         __builtin_frame_address instead of making assumptions about the
25550         location of the return address relative to DATA.  Force early load of
25551         the return address.
25552         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25553         __builtin_frame_address.
25555         dup3 for GNU Hurd.
25556         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25557         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25558         implement dup3 and do some further code clean-ups.
25559         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25560         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25562 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25564         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25566         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25567         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25568         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25569         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25570         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25571         d->port.lock.
25573         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25574         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25575         when handler == SIG_ERR, not when handler != SIG_ERR.
25577 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25579         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25580         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25581         definitions.
25583         accept4 for GNU Hurd.
25584         * include/sys/socket.h (__libc_accept4): New prototype.
25585         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25586         to implement __libc_accept4.
25587         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25588         __libc_accept4.
25589         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25591         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25592         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25593         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25594         signal-defines.sym.
25596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25598         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25600 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25602         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25603         assertion on O_CLOEXEC flag.
25604         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25605         * hurd/intern-fd.c: Likewise.
25606         * hurd/port2fd.c: Likewise.
25608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25610         [BZ #3906]
25611         * bits/in.h (IPV6_PKTINFO): Define new macro.
25612         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25614 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25616         [BZ #13954]
25617         [BZ #13955]
25618         [BZ #13956]
25619         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25620         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25621         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25622         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25623         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25624         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25625         * math/libm-test.inc (logb_test) : Additional logb tests.
25627 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25628             Andreas Jaeger  <aj@suse.de>
25630         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25631         * configure: Regenerated.
25632         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25633         * config.make.in (link-obsolete-rpc): New substituted variable.
25634         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25635         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25636         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25637         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25638         so that libc.a contains the symbols.
25639         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25640         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25641         * sunrpc/auth_none.c: Likewise.
25642         * sunrpc/auth_unix.c: Likewise.
25643         * sunrpc/authdes_prot.c: Likewise.
25644         * sunrpc/authuxprot.c: Likewise.
25645         * sunrpc/clnt_gen.c: Likewise.
25646         * sunrpc/clnt_perr.c: Likewise.
25647         * sunrpc/clnt_raw.c: Likewise.
25648         * sunrpc/clnt_simp.c: Likewise.
25649         * sunrpc/clnt_tcp.c: Likewise.
25650         * sunrpc/clnt_udp.c: Likewise.
25651         * sunrpc/clnt_unix.c: Likewise.
25652         * sunrpc/des_crypt.c: Likewise.
25653         * sunrpc/des_soft.c: Likewise.
25654         * sunrpc/get_myaddr.c: Likewise.
25655         * sunrpc/key_call.c: Likewise.
25656         * sunrpc/key_prot.c: Likewise.
25657         * sunrpc/netname.c: Likewise.
25658         * sunrpc/pm_getmaps.c: Likewise.
25659         * sunrpc/pm_getport.c: Likewise.
25660         * sunrpc/pmap_clnt.c: Likewise.
25661         * sunrpc/pmap_prot.c: Likewise.
25662         * sunrpc/pmap_prot2.c: Likewise.
25663         * sunrpc/pmap_rmt.c: Likewise.
25664         * sunrpc/publickey.c: Likewise.
25665         * sunrpc/rpc_cmsg.c: Likewise.
25666         * sunrpc/rpc_common.c: Likewise.
25667         * sunrpc/rpc_dtable.c: Likewise.
25668         * sunrpc/rpc_prot.c: Likewise.
25669         * sunrpc/rpc_thread.c: Likewise.
25670         * sunrpc/rtime.c: Likewise.
25671         * sunrpc/svc.c: Likewise.
25672         * sunrpc/svc_auth.c: Likewise.
25673         * sunrpc/svc_raw.c: Likewise.
25674         * sunrpc/svc_run.c: Likewise.
25675         * sunrpc/svc_tcp.c: Likewise.
25676         * sunrpc/svc_udp.c: Likewise.
25677         * sunrpc/svc_unix.c: Likewise.
25678         * sunrpc/svcauth_des.c: Likewise.
25679         * sunrpc/xcrypt.c: Likewise.
25680         * sunrpc/xdr.c: Likewise.
25681         * sunrpc/xdr_array.c: Likewise.
25682         * sunrpc/xdr_float.c: Likewise.
25683         * sunrpc/xdr_intXX_t.c: Likewise.
25684         * sunrpc/xdr_mem.c: Likewise.
25685         * sunrpc/xdr_rec.c: Likewise.
25686         * sunrpc/xdr_ref.c: Likewise.
25687         * sunrpc/xdr_sizeof.c: Likewise.
25688         * sunrpc/xdr_stdio.c: Likewise.
25690 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25692         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25693         change.  Update copyright years.
25695 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25697         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25699 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25700             Joseph Myers  <joseph@codesourcery.com>
25701             Paul Pluzhnikov  <ppluzhnikov@google.com>
25703         [BZ #14012]
25704         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25705         requiring rpcgen.
25706         [cross-compiling] (extra-libs): Likewise.
25707         [cross-compiling] (extra-libs-others): Likewise.
25708         [cross-compiling] (librpcsvc-routines): Likewise.
25709         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25710         [cross-compiling] (omit-deps): Likewise.
25711         (sunrpc-CPPFLAGS): New variable.
25712         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25713         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25714         (cross-rpcgen-objs): New variable.
25715         (extra-objs): Append $(cross-rpcgen-objs).
25716         ($(cross-rpcgen-objs)): New rule.
25717         ($(objpfx)cross-rpcgen): Likewise.
25718         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25719         comment.
25720         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25721         ($(objpfx)x%.stmp): Likewise.
25722         * sunrpc/proto.h [IS_IN_build] (_): Define.
25723         [IS_IN_build] (_libc_intl_domainname): Likewise.
25725 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25728         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25729         and R_X86_64_TPOFF64.
25731 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25733         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25734         sysdeps/unix/sysv/syscalls.list.
25735         (stime): Likewise.
25736         (utime): Likewise.
25737         * sysdeps/unix/sysv/syscalls.list: Remove file.
25739 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25741         [BZ #3440]
25742         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25743         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25744         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25745         (__LC_IDENTIFICATION): Make these macros useful in #if
25746         expressions, as required by C99.
25748 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25750         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25751         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25752         after this.
25754 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25756         * stdlib/longlong.h: Updated from GCC.
25758 2012-05-09  Andreas Jaeger  <aj@suse.de>
25760         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25761         default is first entry.
25762         (run_mode): Set type.
25763         (main): Remove informal message about syslog.
25764         (options): Fix typo.
25766         [BZ #14053]
25767         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25768         to asm.
25769         (lrint): Likewise.
25770         (llrintf): Likewise.
25771         (llrint): Likewise.
25772         (rint): Likewise.
25773         (rintf): Likewise.
25774         (nearbyint): Likewise.
25775         (nearbyintf): Likewise.
25777 2012-05-09  Andreas Jaeger  <aj@suse.de>
25778             Pedro Alves  <palves@redhat.com>
25780         * nscd/nscd.c (run_mode): Use enum.
25781         (main): Cleanup coding style issue.
25783 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25784             Andreas Jaeger  <aj@suse.de>
25786         * nscd/nscd.c (go_background): Replaced with...
25787         (run_mode): ... this.
25788         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25789         (options): Add -F --foreground.
25790         (main): Implement it.
25791         (parse_opt): Parse it.
25793 2012-05-09  Andreas Jaeger  <aj@suse.de>
25795         [BZ #14083]
25796         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25797         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25798         -Wconversion warning.
25799         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25800         Likewise.
25802 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25804         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25805         == 0.
25806         (LC_ALL): Use macro-int-constant.
25807         (LC_COLLATE): Likewise.
25808         (LC_CTYPE): Likewise.
25809         (LC_MESSAGES): Likewise.
25810         (LC_MONETARY): Likewise.
25811         (LC_NUMERIC): Likewise.
25812         (LC_TIME): Likewise.
25813         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25814         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25815         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25816         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25817         Specify type.
25818         [C99-based standards] (float_t): Expect type.
25819         [C99-based standards] (double_t): Expect type.
25820         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25821         type.
25822         [C99-based standards] (HUGE_VALL): Likewise.
25823         [C99-based standards] (INFINITY): Likewise.
25824         [C99-based standards] (NAN): Likewise.
25825         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25826         [C99-based standards] (FP_NAN): Likewise.
25827         [C99-based standards] (FP_NORMAL): Likewise.
25828         [C99-based standards] (FP_SUBNORMAL): Likewise.
25829         [C99-based standards] (FP_ZERO): Likewise.
25830         [C99-based standards] (FP_FAST_FMA): Use
25831         optional-macro-int-constant.  Specify type.  Require == 1.
25832         [C99-based standards] (FP_FAST_FMAF): Likewise.
25833         [C99-based standards] (FP_FAST_FMAL): Likewise.
25834         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25835         [C99-based standards] (FP_ILOGBNAN): Likewise.
25836         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25837         Specify type.
25838         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25839         [C99-based standards] (math_errhandling): Specify type.
25840         [ISO99 || ISO11] (signgam): Do not allow.
25841         [non-C99-based standards] (copysignf): Do not allow.
25842         [non-C99-based standards] (exp2f): Likewise.
25843         [non-C99-based standards] (log2f): Likewise.
25844         [non-C99-based standards] (modff): Allow.
25845         [non-C99-based standards] (erff): Do not allow.
25846         [non-C99-based standards] (erfcf): Likewise.
25847         [non-C99-based standards] (gammaf): Likewise.
25848         [non-C99-based standards] (hypotf): Likewise.
25849         [non-C99-based standards] (j0f): Likewise.
25850         [non-C99-based standards] (j1f): Likewise.
25851         [non-C99-based standards] (jnf): Likewise.
25852         [non-C99-based standards] (lgammaf): Likewise.
25853         [non-C99-based standards] (tgammaf): Likewise.
25854         [non-C99-based standards] (y0f): Likewise.
25855         [non-C99-based standards] (y1f): Likewise.
25856         [non-C99-based standards] (ynf): Likewise.
25857         [non-C99-based standards] (isnanf): Likewise.
25858         [non-C99-based standards] (acoshf): Likewise.
25859         [non-C99-based standards] (asinhf): Likewise.
25860         [non-C99-based standards] (atanhf): Likewise.
25861         [non-C99-based standards] (cbrtf): Likewise.
25862         [non-C99-based standards] (expm1f): Likewise.
25863         [non-C99-based standards] (ilogbf): Likewise.
25864         [non-C99-based standards] (log1pf): Likewise.
25865         [non-C99-based standards] (logbf): Likewise.
25866         [non-C99-based standards] (nextafterf): Likewise.
25867         [non-C99-based standards] (remainderf): Likewise.
25868         [non-C99-based standards] (rintf): Likewise.
25869         [non-C99-based standards] (scalbf): Likewise.
25870         [non-C99-based standards] (copysignl): Likewise.
25871         [non-C99-based standards] (exp2l): Likewise.
25872         [non-C99-based standards] (log2l): Likewise.
25873         [non-C99-based standards] (modfl): Allow.
25874         [non-C99-based standards] (erfl): Do not allow.
25875         [non-C99-based standards] (erfcl): Likewise.
25876         [non-C99-based standards] (gammal): Likewise.
25877         [non-C99-based standards] (hypotl): Likewise.
25878         [non-C99-based standards] (j0l): Likewise.
25879         [non-C99-based standards] (j1l): Likewise.
25880         [non-C99-based standards] (jnl): Likewise.
25881         [non-C99-based standards] (lgammal): Likewise.
25882         [non-C99-based standards] (tgammal): Likewise.
25883         [non-C99-based standards] (y0l): Likewise.
25884         [non-C99-based standards] (y1l): Likewise.
25885         [non-C99-based standards] (ynl): Likewise.
25886         [non-C99-based standards] (isnanl): Likewise.
25887         [non-C99-based standards] (acoshl): Likewise.
25888         [non-C99-based standards] (asinhl): Likewise.
25889         [non-C99-based standards] (atanhl): Likewise.
25890         [non-C99-based standards] (cbrtl): Likewise.
25891         [non-C99-based standards] (expm1l): Likewise.
25892         [non-C99-based standards] (ilogbl): Likewise.
25893         [non-C99-based standards] (log1pl): Likewise.
25894         [non-C99-based standards] (logbl): Likewise.
25895         [non-C99-based standards] (nextafterl): Likewise.
25896         [non-C99-based standards] (remainderl): Likewise.
25897         [non-C99-based standards] (rintl): Likewise.
25898         [non-C99-based standards] (scalbl): Likewise.
25899         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25900         [non-C99-based standards] (FP_*): Do not allow.
25901         [C99-based standards] (FP_*): Change to
25902         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25903         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25904         allow.
25905         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25906         (SIG_ERR): Likewise.
25907         [X/Open-based standards] (SIG_HOLD): Likewise.
25908         (SIG_IGN): Likewise.
25909         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25910         positive value.
25911         (SIGFPE): Likewise.
25912         (SIGILL): Likewise.
25913         (SIGINT): Likewise.
25914         (SIGSEGV): Likewise.
25915         (SIGTER): Likewise.
25916         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25917         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25918         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25919         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25920         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25921         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25922         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25923         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25924         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25925         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25926         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25927         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25928         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25929         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25930         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25931         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25932         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25933         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25934         [X/Open-based standards] (SIGTRAP): Likewise.
25935         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25936         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25937         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25938         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25939         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25940         allow.
25942 2012-05-08  Ian Wienand  <ianw@vmware.com>
25944         [BZ #14080]
25945         * time/tzset.c (__tzset_parse_tz): Update default rules for
25946         daylight time changes in the Energy Policy Act of 2005.
25948 2012-05-09  Andreas Jaeger  <aj@suse.de>
25950         [BZ #13983]
25951         * elf/ldconfig.c (parse_conf): Change string to make clear that
25952         ldconfig only issued a warning if ld.so.conf does not exist.
25954 2012-05-08  David S. Miller  <davem@davemloft.net>
25956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25957         movxtod instead of popping the value on the stack.
25959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25961 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25963         * config.h.in: Add HAVE_ARM_PCS_VFP.
25965 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25967         [BZ #13979]
25968         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25969         checking but the checks are disabled for any reason.
25971 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25973         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25974         and ELF64_R_TYPE with ELFW(R_TYPE).
25976 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25978         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25979         (ulimit): Likewise.
25981         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25982         (settimeofday): Likewise.
25984 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25986         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25987         a struct th_u2 inside the union, and move tu_block/tu_code into
25988         a new th_u3 union of tu_block/tu_code inside of that.  Move
25989         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25990         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25991         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25992         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25993         (th_stuff): Change to th_u1.tu_stuff.
25994         (th_data): Define.
25995         (th_msg): Change to th_u1.th_u2.tu_data.
25997 2012-05-07  David S. Miller  <davem@davemloft.net>
25999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26001         [BZ #14074]
26002         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
26003         (SETUP_PIC_REG): Use it.
26004         (SETUP_PIC_REG_LEAF): Use it.
26006 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
26008         [BZ #13885]
26009         [BZ #13923]
26010         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26011         USE_AS_EXPM1L.
26012         (EXPL_FINITE): Likewise.
26013         (FLDLOG): Likewise.
26014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26015         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26016         e_expl.S.
26017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26018         USE_AS_EXPM1L.
26019         (EXPL_FINITE): Likewise.
26020         (FLDLOG): Likewise.
26021         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
26022         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
26023         e_expl.S.
26024         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
26025         test of -max_value argument for long double.
26026         * sysdeps/i386/fpu/libm-test-ulps: Update.
26027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26029 2012-05-06  David S. Miller  <davem@davemloft.net>
26031         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
26032         quad soft-float symbols whose references which are compiler
26033         generated.
26034         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
26036 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
26038         [BZ #13884]
26039         [BZ #13914]
26040         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26041         USE_AS_EXP10L.
26042         (EXPL_FINITE): Likewise.
26043         (FLDLOG): Likewise.
26044         (c0): Likewise.
26045         (c1): Likewise.
26046         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26047         Adjust comments for base varying.
26048         (__expl_finite): Change alias to EXPL_FINITE.
26049         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
26050         e_expl.S.
26051         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
26052         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26053         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26054         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
26055         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
26056         USE_AS_EXP10L.
26057         (EXPL_FINITE): Likewise.
26058         (FLDLOG): Likewise.
26059         (c0): Likewise.
26060         (c1): Likewise.
26061         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
26062         Adjust comments for base varying.
26063         (__expl_finite): Change alias to EXPL_FINITE.
26064         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
26065         tests for bugs.
26066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26068         [BZ #14064]
26069         * math/libm-test.inc (check_float_internal): Correct ulp
26070         calculation for subnormal expected results.
26072 2012-05-06  Andreas Jaeger  <aj@suse.de>
26074         * Makeconfig (+math-flags): New, set to -frounding-math.
26075         (+cflags): Add +math-flags so that all of glibc gets compiled with
26076         it.
26078         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
26080 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
26082         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
26083         Disable one test.
26085         [BZ #13787]
26086         [BZ #13922]
26087         [BZ #14036]
26088         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
26089         (__ieee754_expl): Allow for and saturate large arguments.
26090         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
26091         (u_threshold): Likewise.
26092         (__exp): Call __ieee754_exp before checking for overflow and
26093         underflow.
26094         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
26095         (u_threshold): Likewise.
26096         (__expf): Call __ieee754_expf before checking for overflow and
26097         underflow.
26098         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
26099         (u_threshold): Likewise.
26100         (__expl): Call __ieee754_expl before checking for overflow and
26101         underflow.
26102         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
26103         (__ieee754_expl): Allow for and saturate large arguments.
26104         * math/libm-test.inc (exp_test): Add another test.  Do not allow
26105         missing overflow exception on overflow.
26106         (expm1_test): Do not allow missing overflow exception on overflow.
26108         * sysdeps/i386/fpu/e_expl.c: Move to ...
26109         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
26110         rather than using inline asm.
26111         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
26112         * sysdeps/x86_64/fpu/e_expl.S: Copy from
26113         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
26115         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
26116         (nice): Likewise.
26117         (poll): Likewise.
26118         (signal): Likewise.
26119         (time): Likewise.
26120         (times): Likewise.
26122 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26124         * sysdeps/unix/syscalls.list (adjtime): Add entry from
26125         sysdeps/unix/common/syscalls.list.
26126         (fchmod): Likewise.
26127         (fchown): Likewise.
26128         (ftruncate): Likewise.
26129         (getrusage): Likewise.
26130         (gettimeofday): Likewise.
26131         (setpgid): Likewise.
26132         (setregid): Likewise.
26133         (setreuid): Likewise.
26134         (sigaction): Likewise.
26135         (truncate): Likewise.
26136         (vhangup): Likewise.
26137         * sysdeps/unix/common/syscalls.list: Remove file.
26138         * sysdeps/unix/bsd/Implies: Don't include unix/common.
26139         * sysdeps/unix/sysv/linux/Implies: Likewise.
26141 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
26143         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
26144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
26145         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
26146         Moved to ...
26147         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
26148         Here.
26149         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
26150         to ...
26151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
26152         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
26153         to ...
26154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
26155         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
26156         to ...
26157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
26158         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
26159         to ...
26160         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
26161         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
26162         to ...
26163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
26164         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
26165         to ...
26166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
26167         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
26168         to ...
26169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26170         Here.
26171         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
26172         to ...
26173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
26174         Here.
26175         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
26176         to ...
26177         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
26178         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
26179         Moved to ...
26180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
26181         Here.
26182         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
26183         to ...
26184         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
26186 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26188         * sysdeps/unix/common/bits/dirent.h: Remove file.
26189         * sysdeps/unix/common/bits/fcntl.h: Likewise.
26191         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
26192         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
26193         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
26194         * sysdeps/unix/bsd/isatty.c: Likewise.
26195         * sysdeps/unix/bsd/tcdrain.c: Likewise.
26196         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
26197         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
26199 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26201         [BZ #13563]
26202         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
26203         long double comparison inaccuracies.
26204         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26207 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
26209         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
26210         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
26212 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
26214         [BZ #14049]
26215         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
26216         nonzero digits before rounding a hex value.
26217         * stdlib/tst-strtod.c (tests): Add another test.
26219 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26221         * sysdeps/s390/fpu/libm-test-ulps: Update.
26223 2012-05-03  Andreas Jaeger  <aj@suse.de>
26225         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
26226         does not get optimized out.
26227         (malloc_opt_barrier): New.
26229 2012-05-03  Andreas Jaeger  <aj@suse.de>
26230             Roland McGrath  <roland@hack.frob.com>
26232         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
26233         intermediate file deletion.
26234         (generated): Add .symlist files.
26236 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
26238         [BZ #13775]
26239         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
26240         Redirect under this condition.
26241         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26242         [__USE_GNU] (__dprintf_chk): Not under this condition.
26243         [__USE_GNU] (__vdprintf_chk): Likewise.
26244         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
26245         under this condition.
26246         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
26247         [__USE_XOPEN2K8] (dprintf): Define under this condition.
26248         [__USE_XOPEN2K8] (vdprintf): Likewise.
26249         [__USE_GNU] (__dprintf_chk): Not under this condition.
26250         [__USE_GNU] (__vdprintf_chk): Likewise.
26251         [__USE_GNU] (dprintf): Likewise.
26252         [__USE_GNU] (vdprintf): Likewise.
26254 2012-05-03  Roland McGrath  <roland@hack.frob.com>
26256         * elf/Makefile (common-generated): Set this instead of generated for
26257         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
26258         $(all-built-dso)-derived lists.
26260 2012-05-03  Andreas Jaeger  <aj@suse.de>
26262         * sysdeps/i386/fpu/libm-test-ulps: Update.
26264         * FAQ: Removed.
26265         * FAQ.in: Likewise.
26266         * scripts/gen-FAQ.pl: Likewise.
26267         * manual/install.texi (Installation): Point to online location of
26268         FAQ.
26269         * Makefile (files-for-dist): Remove FAQ.
26270         (FAQ): Remove.
26272 2012-05-02  Allan McRae  <allan@archlinux.org>
26274         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
26275         (LDFLAGS-reldepmod5.so): Likewise.
26276         (LDFLAGS-reldep6mod1.so): Likewise.
26277         (LDFLAGS-reldep6mod4.so): Likewise.
26278         (LDFLAGS-reldep8mod3.so): Likewise.
26279         (LDFLAGS-unload4mod1.so): Likewise.
26280         (LDFLAGS-unload4mod2.so): Likewise.
26281         (LDFLAGS-tst-initorder): Likewise.
26282         (LDFLAGS-tst-initordera2.so): Likewise.
26283         (LDFLAGS-tst-initordera3.so): Likewise.
26284         (LDFLAGS-tst-initordera4.so): Likewise.
26285         (LDFLAGS-tst-initorderb2.so): Likewise.
26286         (LDFLAGS-noload): Likewise.
26287         (LDFLAGS-next): Likewise.
26288         (LDFLAGS-order2mod1.so): Likewise.
26289         (LDFLAGS-order2mod2.so): Likewise.
26290         (LDFLAGS-tst-initorder2): Likewise.
26291         (LDFLAGS-tst-initorder2a.so): Likewise.
26292         (LDFLAGS-tst-initorder2b.so): Likewise.
26293         (LDFLAGS-tst-initorder2c.so): Likewise.
26294         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
26296 2012-05-02  David S. Miller  <davem@davemloft.net>
26298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26300 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26302         [BZ #14055]
26303         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
26305 2012-05-02  Andreas Jaeger  <aj@suse.de>
26307         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
26308         since we manipulate rounding mode.
26309         (CPPFLAGS-test-idouble.c): Likewise.
26310         (CPPFLAGS-test-ifloat.c): Likewise.
26311         (CFLAGS-test-ldouble.c): Likewise.
26312         (CFLAGS-test-double.c): Likewise.
26313         (CFLAGS-test-float.c): Likewise.
26314         (CFLAGS-test-misc.c): Likewise.
26315         (CFLAGS-test-test-fenv.c): Likewise.
26317 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26319         [BZ #2550]
26320         [BZ #2570]
26321         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
26322         comparisons to determine direction to adjust input.
26324 2012-05-01  Roland McGrath  <roland@hack.frob.com>
26326         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
26327         output to the target.
26329         * scripts/localplt.awk: New file.
26330         * elf/Makefile ($(objpfx)check-localplt): Target removed.
26331         (check-localplt-CFLAGS): Variable removed.
26332         ($(all-built-dso:=.jmprel)): New static pattern rule.
26333         (generated): Add those targets.
26334         (localplt-built-dso): New variable.
26335         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
26337         * elf/check-localplt.c: File removed.
26339         * scripts/check-execstack.awk: New file.
26340         * elf/Makefile ($(objpfx)check-execstack): Target removed.
26341         (check-execstack-CFLAGS): Variable removed.
26342         ($(objpfx)check-execstack.h): Target removed.
26343         ($(objpfx)execstack-default): New target.
26344         (generated): Add that instead of check-execstack.h.
26345         ($(all-built-dso:=.phdr)): New static pattern rule.
26346         (generated): Add those targets.
26347         * elf/check-execstack.c: File removed.
26349         * scripts/check-textrel.awk: New file.
26350         * elf/Makefile ($(objpfx)check-textrel): Target removed.
26351         (check-textrel-CFLAGS): Variable removed.
26352         (all-built-dso): Use := to define.o
26353         ($(all-built-dso:=.dyn)): New static pattern rule.
26354         (generated): Add those targets.
26355         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
26356         * config.make.in (READELF): New substituted variable.
26357         * elf/check-textrel.c: File removed.
26359 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26361         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
26362         allow.
26363         * conform/data/ctype.h-data [C99-based standards] (isblank):
26364         Expect function.
26365         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
26366         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
26367         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26368         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
26369         Specify type.  Require positive value.
26370         (EILSEQ): Likewise.
26371         (ERANGE): Likewise.
26372         [ISO || POSIX] (EILSEQ): Do not expect.
26373         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
26374         Specify type.  Require positive value.
26375         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
26376         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
26377         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
26378         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
26379         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
26380         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
26381         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
26382         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
26383         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
26384         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
26385         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
26386         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
26387         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
26388         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
26389         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
26390         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
26391         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
26392         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
26393         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
26394         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
26395         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
26396         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
26397         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
26398         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
26399         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
26400         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
26401         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
26402         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
26403         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
26404         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
26405         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
26406         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
26407         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
26408         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
26409         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
26410         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
26411         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
26412         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
26413         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
26414         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
26415         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
26416         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
26417         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
26418         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
26419         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
26420         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
26421         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
26422         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
26423         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
26424         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
26425         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
26426         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
26427         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
26428         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
26429         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
26430         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
26431         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
26432         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
26433         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
26434         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
26435         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
26436         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
26437         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
26438         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
26439         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
26440         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
26441         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
26442         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
26443         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
26444         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
26445         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
26446         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
26447         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
26448         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
26449         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
26450         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
26451         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
26452         Require >= 2.
26453         (FLT_ROUNDS): Expect as macro, not constant.
26454         (FLT_MANT_DIG): Use macro-int-constant.
26455         (DBL_MANT_DIG): Likewise.
26456         (LDBL_MANT_DIG): Likewise.
26457         (FLT_DIG): Likewise.
26458         (DBL_DIG): Likewise.
26459         (LDBL_DIG): Likewise.
26460         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26461         (DBL_MIN_EXP): Likewise.
26462         (LDBL_MIN_EXP): Likewise.
26463         (FLT_MAX_EXP): Use macro-int-constant.
26464         (DBL_MAX_EXP): Likewise.
26465         (LDBL_MAX_EXP): Likewise.
26466         (FLT_MAX_10_EXP): Likewise.
26467         (DBL_MAX_10_EXP): Likewise.
26468         (LDBL_MAX_10_EXP): Likewise.
26469         (FLT_MAX): Use macro-constant.
26470         (DBL_MAX): Likewise.
26471         (LDBL_MAX): Likewise.
26472         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26473         (DBL_EPSILON): Likewise.
26474         (LDBL_EPSILON): Likewise.
26475         (FLT_MIN): Likewise.
26476         (DBL_MIN): Likewise.
26477         (LDBL_MIN): Likewise.
26478         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26479         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26480         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26481         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26482         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26483         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26484         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26485         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26486         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26487         [ISO11] (FLT_TRUE_MIN): Likewise.
26488         [ISO11] (LDBL_TRUE_MIN): Likewise.
26489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26490         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26491         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26492         (SCHAR_MAX): Likewise.
26493         (UCHAR_MAX): Likewise.
26494         (CHAR_MIN): Likewise.
26495         (CHAR_MAX): Likewise.
26496         (MB_LEN_MAX): Use macro-int-constant.
26497         (SHRT_MIN): Use macro-int-constant.  Specify type.
26498         (SHRT_MAX): Likewise.
26499         (USHRT_MAX): Likewise.
26500         (INT_MAX): Likewise.
26501         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26502         bound negative.
26503         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26504         bound with "U".
26505         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26506         bound with "L".
26507         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26508         bound negative.  Suffix upper bound with "L".
26509         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26510         bound with "UL".
26511         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26512         Specify type.
26513         [C99-based standards] (LLONG_MAX): Likewise.
26514         [C99-based standards] (ULLONG_MAX): Likewise.
26515         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26516         == 0.
26517         [ISO11] (max_align_t): Require type.
26518         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26520         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26521         from $CFLAGS, without defining away __attribute__ calls.
26522         (checknamespace): Use $CFLAGS_namespace.
26524         * conform/conformtest.pl (@keywords): Only include C99 keywords
26525         for standards based on C99 or C11.
26527         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26528         Disable tests.
26529         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26530         UNIX98]: Likewise.
26532         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26533         usability of symbols in #if.
26535         * conform/conformtest.pl: If macro or constant types start
26536         "promoted:", expect the symbol to be of the following type
26537         promoted by the integer promotions.
26539         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26540         in one place.  Also handle "macro-constant".
26542         * conform/conformtest.pl: Only accept expected macro values with
26543         "==".  Parse all "macro" lines in one place.
26544         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26546         * conform/conformtest.pl: Handle braced types on "constant" lines
26547         instead of handling "typed-constant".
26548         * conform/data/signal.h-data: Use "constant" instead of
26549         "typed-constant".
26551         * conform/conformtest.pl: Handle "optional-" at start of lines in
26552         one place rather than duplicating several cases.  Handle each
26553         format of "macro" line with initial "optional-".
26555         * conform/conformtest.pl: Only accept expected constant or
26556         optional-constant values with "==".  Parse all "constant" lines in
26557         one place.  Parse all "optional-constant" lines in one place.
26558         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26559         * conform/data/fmtmsg.h-data: Likewise.
26560         * conform/data/netinet/in.h-data: Likewise.
26561         * conform/data/tar.h-data: Likewise.
26562         * conform/data/limits.h-data: Use "==" form on "constant" and
26563         "optional-constant" lines.
26565         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26566         Use -std=c99 for XOPEN2K.
26567         (@knownproblems): Remove.
26568         (newtoken): Don't check %isknown.
26570         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26571         Do not expect macro.
26572         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26573         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26574         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26575         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26576         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26577         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26578         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26579         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26580         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26581         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26582         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26583         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26584         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26585         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26586         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26587         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26588         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26589         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26590         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26591         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26592         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26593         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26594         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26595         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26596         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26597         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26598         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26599         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26600         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26601         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26602         [XPG3] (acosh): Likewise.
26603         [XPG3] (asinh): Likewise.
26604         [XPG3] (atanh): Likewise.
26605         [XPG3] (cbrt): Likewise.
26606         [XPG3] (expm1): Likewise.
26607         [XPG3] (ilogb): Likewise.
26608         [XPG3] (log1p): Likewise.
26609         [XPG3] (logb): Likewise.
26610         [XPG3] (nextafter): Likewise.
26611         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26612         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26613         [XPG3] (remainder): Likewise.
26614         [XPG3] (rint): Likewise.
26615         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26616         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26617         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26618         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26619         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26620         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26621         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26622         [UNIX98 || XOPEN2K] (scalb): Expect.
26623         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26624         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26625         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26626         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26627         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26628         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26629         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26630         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26631         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26632         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26633         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26634         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26635         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26636         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26637         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26638         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26639         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26640         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26641         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26642         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26643         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26644         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26645         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26646         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26647         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26648         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26649         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26650         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26651         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26652         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26653         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26654         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26655         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26656         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26657         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26658         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26659         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26660         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26661         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26662         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26663         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26664         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26665         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26666         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26667         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26668         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26669         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26670         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26671         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26672         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26673         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26674         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26675         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26676         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26677         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26678         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26679         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26680         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26681         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26682         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26683         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26684         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26685         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26686         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26687         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26688         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26689         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26690         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26691         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26692         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26693         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26694         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26695         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26696         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26697         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26698         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26699         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26700         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26701         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26702         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26703         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26704         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26705         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26706         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26707         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26708         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26709         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26710         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26711         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26712         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26713         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26714         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26715         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26716         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26717         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26718         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26719         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26720         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26721         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26722         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26723         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26724         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26725         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26726         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26727         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26728         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26729         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26730         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26731         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26732         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26733         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26734         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26735         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26736         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26737         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26738         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26739         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26740         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26741         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26742         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26743         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26744         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26745         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26746         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26747         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26748         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26749         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26750         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26751         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26752         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26753         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26754         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26755         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26756         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26757         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26758         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26759         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26761         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26762         _XOPEN_SOURCE_EXTENDED for XPG4.
26764         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26766         * Makeconfig (localtime): Remove variable.
26767         (inst_localtime-file): Likewise.
26769 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26772         Update.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26774         Update.
26775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26776         Update.
26777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26778         Update.
26779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26780         Update.
26781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26782         Update.
26783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26784         Update.
26785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26786         Update.
26787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26788         Update.
26790 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26792         [BZ #2550]
26793         [BZ #2570]
26794         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26795         comparisons to determine direction to adjust input.
26796         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26797         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26798         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26799         Likewise.
26800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26801         Likewise.
26802         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26803         Likewise.
26804         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26805         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26806         Likewise.
26807         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26808         Likewise.
26809         * math/libm-test.inc (nexttoward_test): Add more tests.
26811 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26813         [BZ #14040]
26814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26815         in version GLIBC_2.1, not GLIBC_2.0.
26816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26817         Likewise.
26819 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26821         [BZ #13942]
26822         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26823         (1 - x) * (1 + x).
26824         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26825         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26826         * math/libm-test.inc (acos_test): Add more tests.
26827         (asin_test): Likewise.
26828         * sysdeps/i386/fpu/libm-test-ulps: Update.
26829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26831         [BZ #14034]
26832         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26833         of square root.
26834         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26835         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26836         * math/libm-test.inc (acos_test_tonearest): New function.
26837         (acos_test_towardzero): Likewise.
26838         (acos_test_downward): Likewise.
26839         (acos_test_upward): Likewise.
26840         (asin_test_tonearest): Likewise.
26841         (asin_test_towardzero): Likewise.
26842         (asin_test_downward): Likewise.
26843         (asin_test_upward): Likewise.
26844         (main): Call the new functions.
26845         * sysdeps/i386/fpu/libm-test-ulps: Update.
26846         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26848         [BZ #13884]
26849         [BZ #13924]
26850         * math/e_exp10.c: Include <float.h>.
26851         (__ieee754_exp10): Handle underflow here rather than multiplying
26852         large negative argument by M_LN10.
26853         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26854         of __ieee754_expf.
26855         * math/e_exp10l.c: Include <float.h>.
26856         (__ieee754_exp10l): Handle underflow here rather than multiplying
26857         large negative argument by M_LN10l.
26858         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26859         spurious overflow exception on underflow.
26861 2012-04-29  Marek Polacek  <polacek@redhat.com>
26863         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26864         (__fortify_function): New macro.
26865         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26866         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26867         __extern_always_inline.
26868         * libio/bits/stdio2.h: Likewise.
26869         * libio/bits/stdio.h: Likewise.
26870         * string/string.h: Likewise.
26871         * string/bits/string3.h: Likewise.
26872         * include/stdio.h: Likewise.
26873         * stdlib/bits/stdlib.h: Likewise.
26874         * stdlib/stdlib.h: Likewise.
26875         * rt/bits/mqueue2.h: Likewise.
26876         * rt/mqueue.h: Likewise.
26877         * posix/bits/unistd.h: Likewise.
26878         * posix/unistd.h: Likewise.
26879         * io/bits/poll2.h: Likewise.
26880         * io/bits/fcntl2.h: Likewise.
26881         * io/fcntl.h: Likewise.
26882         * io/sys/poll.h: Likewise.
26883         * misc/bits/syslog.h: Likewise.
26884         * misc/bits/syslog-ldbl.h: Likewise.
26885         * misc/sys/syslog.h: Likewise.
26886         * socket/bits/socket2.h: Likewise.
26887         * socket/sys/socket.h: Likewise.
26888         * debug/tst-chk1.c: Likewise.
26889         * wcsmbs/bits/wchar2.h: Likewise.
26890         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26891         * wcsmbs/wchar.h: Likewise.
26893 2012-04-29  Andreas Jaeger  <aj@suse.de>
26895         * Makerules (tests): Remove enable-check-abi protection.
26896         (check-abi-warn): Remove.
26897         (check-abi-%): Remove check-abi-warn usage.
26899         * configure.in: Remove check-abi configure option.
26900         * configure: Regenerated.
26901         * config.make.in (enable-check-abi): Remove.
26903 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26905         [BZ #14033]
26906         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26907         double functions to double *_finite functions.
26909         [BZ #13941]
26910         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26911         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26912         LDBL_MIN_EXP.
26913         * stdio-common/Makefile (tests): Add tst-sprintf3.
26914         * stdio-common/tst-sprintf3.c: New file.
26916         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26917         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26919 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26921         * conform/conformtest.pl: Remove duplicate typed-constant
26922         handling.
26924 2012-04-28  David S. Miller  <davem@davemloft.net>
26926         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26927         (check-abi-%): Remove AWK script prerequisite and explicit
26928         abilist directory.
26929         (check-abi): Rewrite to just diff the symlist with the abilist.
26930         (config-tls, config-abi-config): Delete, no longer used.
26931         (update-abi-%): Remove AWK script and explicit abilist directory.
26932         (update-abi): Rewrite to simply compare and conditionally copy the
26933         symlist and the sysdep abilist file.  Remove update-abi-config
26934         checks.
26935         * abilist/ld.abilist: Remove.
26936         * abilist/libBrokenLocale.abilist: Remove.
26937         * abilist/libanl.abilist: Remove.
26938         * abilist/libcrypt.abilist: Remove.
26939         * abilist/libdl.abilist: Remove.
26940         * abilist/librt.abilist: Remove.
26941         * abilist/libthread_db.abilist: Remove.
26942         * abilist/libutil.abilist: Remove.
26943         * scripts/extract-abilist.awk: Remove.
26944         * scripts/merge-abilist.awk: Remove.
26945         * sysdeps/generic/libcidn.abilist: New file.
26946         * sysdeps/generic/libnss_compat.abilist: New file.
26947         * sysdeps/generic/libnss_db.abilist: New file.
26948         * sysdeps/generic/libnss_dns.abilist: New file.
26949         * sysdeps/generic/libnss_files.abilist: New file.
26950         * sysdeps/generic/libnss_hesiod.abilist: New file.
26951         * sysdeps/generic/libnss_nis.abilist: New file.
26952         * sysdeps/generic/libnss_nisplus.abilist: New file.
26953         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26954         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26955         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26956         file.
26957         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26958         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26959         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26960         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26961         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26962         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26963         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26964         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26965         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26966         file.
26967         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26968         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26969         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26970         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26971         file.
26972         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26973         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26974         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26975         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26976         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26977         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26978         file.
26979         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26980         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26981         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26982         file.
26983         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26984         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26985         New file.
26986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26987         New file.
26988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26989         New file.
26990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26991         New file.
26992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26993         New file.
26994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26995         New file.
26996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26997         New file.
26998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26999         New file.
27000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
27001         New file.
27002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
27003         New file.
27004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
27005         New file.
27006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
27007         New file.
27008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
27009         New file.
27010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
27011         file.
27012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
27013         New file.
27014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
27015         New file.
27016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
27017         file.
27018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
27019         New file.
27020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
27021         New file.
27022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
27023         file.
27024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
27025         New file.
27026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27027         New file.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
27029         New file.
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
27031         New file.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
27033         New file.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
27035         New file.
27036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
27037         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
27038         file.
27039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27040         New file.
27041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
27042         file.
27043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
27044         file.
27045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
27046         file.
27047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
27048         file.
27049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
27050         file.
27051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27052         New file.
27053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
27054         file.
27055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
27056         file.
27057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27058         New file.
27059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
27060         file.
27061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
27062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
27063         file.
27064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27065         New file.
27066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
27067         file.
27068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
27069         file.
27070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
27071         file.
27072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
27073         file.
27074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
27075         file.
27076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27077         New file.
27078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
27079         file.
27080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
27081         file.
27082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27083         New file.
27084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
27085         file.
27086         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27087         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
27088         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
27089         file.
27090         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
27091         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
27092         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
27093         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
27094         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
27095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
27096         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
27097         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
27098         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
27099         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
27100         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
27101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
27102         file.
27103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27104         New file.
27105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
27106         file.
27107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
27108         file.
27109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
27110         file.
27111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
27112         file.
27113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
27114         file.
27115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27116         New file.
27117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27118         New file.
27119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
27120         file.
27121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27122         New file.
27123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
27124         file.
27125         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
27126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
27127         file.
27128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27129         New file.
27130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
27131         file.
27132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
27133         file.
27134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
27135         file.
27136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
27137         file.
27138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
27139         file.
27140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27141         New file.
27142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27143         New file.
27144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
27145         file.
27146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27147         New file.
27148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
27149         file.
27151 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
27153         * conform/conformtest.pl: Fix typo in handling typed-constant from
27154         allow-header.
27156 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27158         * README: Cut down references to pre-2.6 Linux kernels and
27159         Linuxthreads.  Update lists of configurations in libc and ports
27160         and sort alphabetically.  Say "or newer" with Linux kernel version
27161         requirements.
27163         * config.h.in [IS_IN_build]: Allow compiling without optimization.
27165 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27167         [BZ #887]
27168         * math/libm-test.inc (logb_test_downward): New test to expose
27169         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
27170         rounding mode.
27172 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
27174         [BZ #14027]
27175         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
27176         to be done.
27177         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
27178         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
27180 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
27182         * sysdeps/unix/i386/brk.S: Remove file.
27183         * sysdeps/unix/i386/dl-brk.S: Likewise.
27184         * sysdeps/unix/i386/pipe.S: Likewise.
27185         * sysdeps/unix/i386/sigreturn.S: Likewise.
27186         * sysdeps/unix/i386/syscall.S: Likewise.
27187         * sysdeps/unix/i386/vfork.S: Likewise.
27188         * sysdeps/unix/i386/wait.S: Likewise.
27190         * sysdeps/unix/common/tcsendbrk.c: Move to ...
27191         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
27193         * configure.in (arm*-none*): Do not allow without
27194         --enable-hacker-mode.
27195         (netbsd*): Remove case setting base_os.
27196         (386bsd*): Likewise.
27197         (freebsd*): Likewise.
27198         (bsdi*): Likewise.
27199         (osf*): Likewise.
27200         (sunos*): Likewise.
27201         (ultrix*): Likewise.
27202         (newsos*): Likewise.
27203         (dynix*): Likewise.
27204         (*bsd*): Likewise.
27205         (sysv*): Likewise.
27206         (isc*): Likewise.
27207         (esix*): Likewise.
27208         (sco*): Likewise.
27209         (minix*): Likewise.
27210         (irix4*): Likewise.
27211         (irix6*): Likewise.
27212         (solaris[2-9]*): Likewise.
27213         (none): Likewise.
27214         * configure: Regenerated.
27216 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27218         [BZ #11521]
27219         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
27220         overflow or cancellation in calculating denominator.
27221         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
27222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
27223         down expression to avoid unexpected rounding in newer GCCs.
27224         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
27226 2012-04-26  David S. Miller  <davem@davemloft.net>
27228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
27229         long-double compat symbols.
27230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
27234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
27235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
27236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
27237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
27238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
27239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
27241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27244 2012-04-25  David S. Miller  <davem@davemloft.net>
27246         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
27247         HWCAP_* values only after the memory barriers have been defined.
27248         (atomic_full_barrier): Define.
27249         (atomic_read_barrier): Define.
27250         (atomic_write_barrier): Define.
27252 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27254         * shlib-versions: Add libgcc_s version information.
27255         * sysdeps/generic/libgcc_s.h: Remove.
27256         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
27257         libgcc_s.h.
27258         * sysdeps/gnu/unwind-resume.c: Likewise.
27259         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
27261 2012-04-25  David S. Miller  <davem@davemloft.net>
27263         * sysdeps/unix/sparc/brk.S: Delete.
27264         * sysdeps/unix/sparc/dl-brk.S: Delete.
27265         * sysdeps/unix/sparc/pipe.S: Delete.
27266         * sysdeps/unix/sparc/sysdep.S: Delete.
27267         * sysdeps/unix/sparc/sysdep.h: Delete.
27268         * sysdeps/unix/sparc/vfork.S: Delete.
27269         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27270         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
27271         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
27272         ret_ERRVAL, r0, r1, MOVE): Define.
27273         (JUMPTARGET): Remove.
27274         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
27275         sysdeps/unix/sparc/sysdep.h
27276         (ENTRY, END): Remove.
27277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27279 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
27281         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
27282         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
27283         -DIS_IN_build.
27285         * timezone/README: Update upstream location and email address for
27286         tzcode and tzdata.
27287         * timezone/zdump.c: Update from tzcode 2012b.
27288         * timezone/zic.c: Likewise.
27290         * configure.in (libc_cv_as_needed): Remove test.
27291         * configure: Regenerated.
27292         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
27293         conditional definition.
27294         [$(have-as-needed) != yes] (no-as-needed): Likewise.
27295         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
27296         * config.make.in (have-as-needed): Remove variable.
27298 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27299             Paul Pluzhnikov  <ppluzhnikov@google.com>
27301         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
27302         strings correctly.
27304 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
27306         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
27307         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
27308         * sysdeps/sh/strlen.S: Likewise.
27310 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27312         * sysdeps/unix/fork.S: Remove file.
27313         * sysdeps/unix/i386/fork.S: Likewise.
27314         * sysdeps/unix/sparc/fork.S: Likewise.
27316         * sysdeps/unix/system.c: Remove file.
27317         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
27319         * sysdeps/unix/getegid.S: Remove file.
27320         * sysdeps/unix/geteuid.S: Likewise.
27322 2012-04-24  Roland McGrath  <roland@hack.frob.com>
27324         * scripts/check-localplt.awk: New file.
27325         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
27326         of diff.
27327         * scripts/data/localplt-generic.data: Add a comment.
27329         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
27330         NODE when __dir_mkfile failed.
27331         * sysdeps/mach/hurd/symlinkat.c: Likewise.
27332         Reported by Ludovic Courtès <ludo@gnu.org>.
27334 2012-04-24  Andreas Jaeger  <aj@suse.de>
27336         * Makerules (common-clean): Also remove gen-as-const-headers
27337         files.
27339 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27341         * Makerules (native-compile): Do not change working directory for
27342         build.  Use $(OUTPUT_OPTION) in command.
27343         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
27345 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27347         [BZ #13886]
27348         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
27349         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
27350         * math/libm-test.inc (floor_test): Add more tests.
27351         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
27353 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
27355         * sysdeps/unix/getdents.c: Remove file.
27356         * sysdeps/unix/sysv/getdents.c: Likewise.
27357         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
27359         * sysdeps/unix/syscalls.list (madvise): Add syscall from
27360         sysdeps/unix/mman/syscalls.list.
27361         (mmap): Likewise.
27362         (mprotect): Likewise.
27363         (msync): Likewise.
27364         (munmap): Likewise.
27365         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
27366         * sysdeps/unix/mman/syscalls.list: Remove.
27367         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
27369         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
27370         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
27371         * configure: Regenerated.
27372         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
27373         $(libgcc_s_suffix).
27374         * config.make.in (libgcc_s_suffix): Remove variable.
27376 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
27378         * sysdeps/unix/sysv/gethostname.c: Move to ...
27379         * sysdeps/posix/gethostname.c: ... here.
27381         * sysdeps/unix/execve.S: Remove file.
27383         * sysdeps/unix/_exit.S: Remove file.
27385 2012-04-23  Andreas Jaeger  <aj@suse.de>
27387         [BZ #13739]
27388         * manual/Makefile: Remove make dist support, there's no
27389         need for a stand-alone documentation tar ball.
27390         (TEXI2DVI): Define always, it's not in Makeconfig.
27391         (dist): Removed.
27392         (tar-it): Removed.
27393         (edition): Removed.
27394         (glibc-doc-$(edition).tar): Removed
27395         (%.Z): Removed.
27396         (%.gz): Removed.
27397         (%.uu): Removed.
27398         (ETAGS): Remove, it's in Makeconfig.
27399         (move-if-change): Remove, it's in Makeconfig.
27401 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
27403         [BZ #13970]
27404         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
27405         (strtod, strtof, strtold, strtol, strtoul, strtoq)
27406         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
27407         (strtod_l, strtof_l, strtold_l): Remove __wur.
27408         It is not necessarily an error to ignore strtol's return value.
27409         One can reliably look at the stored endptr to decide whether
27410         the number had valid syntax.
27412 2012-04-21  Andreas Jaeger  <aj@suse.de>
27414         [BZ #13739]
27415         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
27417 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
27419         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
27420         * sysdeps/unix/sysv/Versions: Remove file.
27422 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
27424         [BZ #13927]
27425         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27427 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
27429         [BZ #7064]
27430         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
27431         version from __vm86.
27433 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
27435         * sysdeps/unix/common/lxstat.c: Remove file.
27436         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
27438         * sysdeps/unix/sysv/Makefile: Remove file.
27440         * sysdeps/unix/sysv/direct.h: Remove file.
27442         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
27443         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
27444         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
27445         * sysdeps/unix/sysv/bits/signum.h: Likewise.
27446         * sysdeps/unix/sysv/bits/stat.h: Likewise.
27447         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27448         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
27450         * sysdeps/unix/sysv/setrlimit.c: Remove file.
27452         * sysdeps/unix/xmknod.c: Remove file.
27453         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
27455         * sysdeps/unix/sysv/settimeofday.c: Remove file.
27457         * sysdeps/unix/sysv/i386/time.S: Remove file.
27459         * sysdeps/unix/fxstat.c: Remove file.
27460         * sysdeps/unix/xstat.c: Likewise.
27461         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27463         * sysdeps/unix/sysv/sigaction.c: Remove file.
27465         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27466         (sysdep_headers): Remove variable.
27467         [termio.h not in sysdep_headers] (generated): Likewise.
27468         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27469         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27470         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27471         * sysdeps/unix/sysv/tcflow.c: Likewise.
27472         * sysdeps/unix/sysv/tcflush.c: Likewise.
27473         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27474         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27475         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27476         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27477         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27479         * sysdeps/unix/siglist.c: Remove file.
27481         * sysdeps/unix/getppid.S: Remove file.
27483         * sysdeps/unix/mkdir.c: Remove file.
27484         * sysdeps/unix/rmdir.c: Likewise.
27486 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27488         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27489         ERR_MAX value.
27490         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27491         errlist-compat value.
27493 2012-04-18  David S. Miller  <davem@davemloft.net>
27495         * sysdeps/generic/memcopy.h (reg_char): Delete.
27496         * debug/strcat_chk.c: Use char, not reg_char.
27497         * debug/strcpy_chk.c: Likewise.
27498         * debug/strncat_chk.c: Likewise.
27499         * debug/strncpy_chk.c: Likewise.
27500         * string/memchr.c: Likewise.
27501         * string/memrchr.c: Likewise.
27502         * string/rawmemchr.c: Likewise.
27503         * string/strcat.c: Likewise.
27504         * string/strchr.c: Likewise.
27505         * string/strchrnul.c: Likewise.
27506         * string/strcmp.c: Likewise.
27507         * string/strcpy.c: Likewise.
27508         * string/strncat.c: Likewise.
27509         * string/strncmp.c: Likewise.
27510         * string/strncpy.c: Likewise.
27512 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27514         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27515         __builtin_memcopy is called when src and dest ranges are known to not
27516         overlap.
27518 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27520         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27521         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27522         fwd_align_merge macro call.
27523         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27524         bwd_align_merge macro call.
27525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27527 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27529         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27530         bwd_align_merge macros.
27531         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27532         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27533         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27535 2012-04-18  David S. Miller  <davem@davemloft.net>
27537         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27539 2012-04-18  Andreas Jaeger  <aj@suse.de>
27541         [BZ# 6794]
27542         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27543         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27544         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27546         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27547         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27548         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27550         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27551         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27552         Adjust for changed ldbl-128 files.
27554         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27555         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27556         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27558 2012-04-17  David S. Miller  <davem@davemloft.net>
27560         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27562 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27564         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27565         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27566         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27567         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27568         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27569         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27571 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27573         [BZ #6794]
27574         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27575         * math/libm-test.inc: Add ilogb errno and exception tests.
27576         * math/w_ilogb.c: New file: ilogb wrapper.
27577         * math/w_ilogbf.c: New file: ilogbf wrapper.
27578         * math/w_ilogbl.c: New file: ilogbl wrapper.
27579         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27580         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27581         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27582         exception being thrown with 0.0 as argument.
27583         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27584         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27585         exception being thrown with 0.0 as argument.
27586         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27587         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27588         exception being thrown with 0.0 as argument.
27589         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27590         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27591         exception being thrown with 0.0 as argument.
27592         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27593         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27594         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27595         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27596         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27597         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27598         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27599         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27600         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27602 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27604         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27605         with altivec.
27607 2012-04-16  Marek Polacek  <polacek@redhat.com>
27609         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27611 2012-04-16  Marek Polacek  <polacek@redhat.com>
27613         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27614         operands of fdivp instruction.
27616 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27618         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27619         * elf/tst-auditmod3b.c: Likewise.
27620         * elf/tst-auditmod4b.c: Likewise.
27621         * elf/tst-auditmod5b.c: Likewise.
27622         * elf/tst-auditmod6b.c: Likewise.
27623         * elf/tst-auditmod6c.c: Likewise.
27624         * elf/tst-auditmod7b.c: Likewise.
27625         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27626         * sysdeps/x86_64/preconfigure.in: Likewise.
27627         * sysdeps/x86_64/preconfigure: Regenerated.
27629 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27631         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27632         __ILP32__.
27634 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27637         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27639 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27641         [BZ #13973]
27642         * locale/iso-639.def: Fix gl language name. Spotted by
27643         Yaron Shahrabani.
27645 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27647         [BZ #2074]
27648         * libio/libio.h (__io_write_fn): Update comment.
27650 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27652         [BZ #2074]
27653         * stdio.texi (Hook Functions): The user provided writer function
27654         is not allowed to return -1.
27656 2012-04-11  David S. Miller  <davem@davemloft.net>
27658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27660 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27662         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27663         Add a leading slash to rtkaio.
27665 2012-04-11  Jim Meyering  <meyering@redhat.com>
27667         [BZ #11959]
27668         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27669         It is not necessarily an error to ignore fwrite's return
27670         value.  One can reliably use ferror to test for errors after
27671         the fact.
27673 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27675         * bits/types.h (__snseconds_t): New type.
27676         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27678         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27680         (__SNSECONDS_T_TYPE): Likewise.
27681         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27682         (__SNSECONDS_T_TYPE): Likewise.
27683         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27684         (__SNSECONDS_T_TYPE): Likewise.
27686 2012-04-10  Andreas Jaeger  <aj@suse.de>
27688         [BZ #2636]
27689         * manual/time.texi (Processor Time): Return type of times is
27690         elapsed real time since an arbitrary point in the past.
27691         (CPU Time): Move CLK_TCK from here...
27692         (Processor Time): ...to here.  Correct description.
27693         * manual/conf.texi (Constants for Sysconf): Correct description of
27694         _SC_CLK_TCK.
27696 2012-04-10  David S. Miller  <davem@davemloft.net>
27698         [BZ #13967]
27699         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27700         where the is a gap between DT_REL(A) and DT_JMPREL.
27702 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27704         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27705         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27706         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27708 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27710         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27711         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27712         (dl_main): Handle --inhibit-cache.
27713         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27714         _dl_inhibit_cache.
27715         * elf/dl-load.c (_dl_map_object): Use it.
27716         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27718 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27720         [BZ #13872]
27721         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27722         (__ieee754_powl): Saturate large exponents rather than testing for
27723         overflow of y*log2(x).
27724         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27725         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27726         exceptions.
27728         [BZ #11521]
27729         * math/s_ctan.c: Include <float.h>.
27730         (__ctan): Avoid internal overflow or cancellation in calculating
27731         denominator.
27732         * math/s_ctanf.c: Likewise.
27733         * math/s_ctanl.c: Likewise.
27734         * math/s_ctanh.c: Likewise.
27735         * math/s_ctanhf.c: Likewise.
27736         * math/s_ctanhl.c: Likewise.
27737         * math/libm-test.inc (ctan_test): Add more tests.
27738         (ctanh_test): Likewise.
27739         * sysdeps/i386/fpu/libm-test-ulps: Update.
27740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27742 2012-04-09  Andreas Jaeger  <aj@suse.de>
27744         [BZ #6894]
27745         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27746         is an optional BSD extension.
27748         [BZ #10254]
27749         * manual/stdio.texi (Opening Streams): Document additional fopen
27750         parameters.
27752 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27754         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27755         %eax without telling the compiler.
27757 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27759         [BZ # 13963]
27760         * manual/install.texi: Use sourceware.org.
27762 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27764         [BZ #13873]
27765         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27766         (__ieee754_pow): Generate overflow and underflow using huge*huge
27767         and tiny*tiny rather than just returning constant infinity or zero
27768         for large exponents.
27769         * math/libm-test.inc (pow_test): Require overflow exceptions for
27770         applicable cases of large exponents.
27772         [BZ #706]
27773         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27774         (__ieee754_pow): Use iterative multiplication algorithm only for
27775         integer exponents with absolute value below 1024.  Check for odd
27776         integer exponents when using algorithm for real exponents.
27777         * math/libm-test.inc (pow_test): Add more tests.
27778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27780 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #13705]
27783         * math/libm-test.inc (exp_test): Do not allow overflow exception
27784         on underflow test.
27786 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27788         [BZ #13705]
27789         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27790         instead of __kernel_standard_f.
27792 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27794         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27795         * sysdeps/x86_64/memset_chk.S: Likewise.
27797 2012-04-08  Andreas Jaeger  <aj@suse.de>
27799         [BZ #10153]
27800         * manual/startup.texi (Environment Access): Describe return value
27801         for putenv and setenv.
27803         [BZ #6895]
27804         * manual/filesys.texi (Directory Entries): Add description for
27805         DT_LNK.
27807         [BZ #6890]
27808         * manual/filesys.texi (Directory Entries): Clarify that it's file
27809         system not operating system in the description of DT_UNKNOWN.
27811         [BZ #6578]
27812         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27814 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27816         [BZ #6649]
27817         * manual/llio.texi (Opening and Closing Files): Add cross
27818         reference to explain mode argument.
27820 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27822         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27823         * sysdeps/x86_64/memset_chk.S: Likewise.
27825 2012-04-07  David S. Miller  <davem@davemloft.net>
27827         * elf/elf.h (R_SPARC_WDISP10): Define.
27828         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27829         R_SPARC_SIZE32.
27830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27831         R_SPARC_SIZE64 and R_SPARC_H34.
27833 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27835         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27836         conditions and remove no longer applicable assertion.
27838 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27840         * bits/byteswap.h: Include <features.h>.
27841         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27842         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27844 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27846         * bits/byteswap.h (__bswap_16): Removed.
27847         Include <bits/byteswap-16.h> to get __bswap_16.
27848         * sysdeps/i386/bits/byteswap.h: Likewise.
27849         * sysdeps/s390/bits/byteswap.h: Likewise.
27850         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27851         * bits/byteswap-16.h: New file.
27852         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27853         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27854         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27855         * string/Makefile (headers): Add bits/byteswap-16.h.
27857 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27859         [BZ #13895]
27860         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27861         extra indirection.
27862         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27863         * nss/tst-nss-static.c: New.
27865 2012-04-06  Robert Millan  <rmh@gnu.org>
27867         [BZ #6486]
27868         * manual/llio.texi (File Position Primitive): lseek
27869         refers to WHENCE when it really means OFFSET.
27871 2012-04-06  Andreas Jaeger  <aj@suse.de>
27873         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27874         strncmp declarations.
27876         * abilist/libc.abilist: Add __poll and __ppoll.
27878 2012-04-05  David S. Miller  <davem@davemloft.net>
27880         * scripts/check-local-headers.sh: Accept a host triplet in the
27881         path matched by the exclude regexp.
27883         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27884         definition.
27885         * sysdeps/powerpc/powerpc32/dl-machine.h
27886         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27887         * sysdeps/s390/s390-32/dl-machine.h
27888         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27889         * sysdeps/sparc/sparc32/dl-machine.h
27890         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27891         * sysdeps/sparc/sparc64/dl-machine.h
27892         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27894         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27895         lazy binding.
27896         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27897         undefined symbol errors.
27899         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27900         DT_NEEDED entries.
27902 2012-04-05  Michael Matz  <matz@suse.de>
27904         [BZ #13592]
27905         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27907 2012-04-05  Andreas Jaeger  <aj@suse.de>
27909         [BZ #13908]
27910         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27911         comment.
27913 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27915         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27916         which ROUND is no valid rounding mode.
27918 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27920         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27921         read again.
27922         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27924 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27926         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27927         an exception using FPU order intentionally.
27929 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27931         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27932         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27933         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27934         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27936 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27938         [BZ #12340]
27939         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27940         EINVAL when BUFLEN is too smal.
27942 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27944         [BZ #13553]
27945         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27946         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27948 2012-04-03  Andreas Jaeger  <aj@suse.de>
27950         [BZ #13938]
27951         * manual/setjmp.texi (System V contexts): Fix sentence.
27953         [BZ #13926]
27954         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27955         New macro for this case.
27956         [!__GNUC__] (__bswap_64): New inline function for this case.
27957         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27958         * bits/byteswap.h: Likewise.
27959         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27960         ull, guard with __GLIBC_HAVE_LONG_LONG.
27962         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27963         __GLIBC_HAVE_LONG_LONG.
27965         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27966         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27968 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27970         [BZ #13691]
27971         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27972         inptr and inend, rather than using last_ch.
27974 2012-04-02  David S. Miller  <davem@davemloft.net>
27976         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27977         * stdio-common/printf-parse.h (read_int): Change return type to
27978         'int', return -1 on INT_MAX overflow.
27979         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27980         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27981         overflows INT_MAX.  Check for overflow of in-format-string precision
27982         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27983         SIZE_MAX not INT_MAX for integer overflow test.
27984         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27985         skip the construct in the format string but do not record anything.
27986         * stdio-common/bug22.c: Adjust to test both width/prevision
27987         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27988         explicitly for proper errno values.
27990 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27992         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27993         CHAR_MAX.
27994         * string/test-strcmp.c [! WIDE]: Likewise.
27995         * time/tst-mktime2.c: Likewise for INT_MAX.
27996         * string/test-string.h: #include <sys/param.h> for MIN.
27998         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27999         * sysdeps/i386/init-first.c (init): Likewise.
28000         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28001         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
28002         * sysdeps/sh/init-first.c (init): Likewise.
28004 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
28006         * po/ru.po: Update from translation team.
28007         * po/vi.po: Likewise.
28009 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28011         * resolv/nss_dns/dns-host.c: Merge copyright years.
28013 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28015         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28016         Optimize memcpy with prefetch if
28017         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
28018         src, dst pointers have unequal 16 byte alignments.
28020 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28022         [BZ #13928]
28023         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
28024         from a CNAME entry and return the minimum ttl for the query.
28025         (gaih_getanswer_slice): Likewise.
28027 2012-03-30  Jeff Law  <law@redhat.com>
28029         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
28030         due to long keys.
28031         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28032         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
28034         * resolv/nss_dns/dns-host.c: Update copyright year.
28036 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
28038         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
28039         requests to save a system call.  Fix check that all bytes are sent.
28041         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
28042         comments for sendmmsg.
28044 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28046         [BZ #13691]
28047         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
28048         with only 1 character between 0x0041 and 0x01b0.
28049         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
28050         * wcsmbs/tst-mbsnrtowcs.c: New file.
28052 2012-03-29  David S. Miller  <davem@davemloft.net>
28054         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
28055         small copies by hand.
28057 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28059         [BZ #13761]
28060         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
28061         _nss_compat_initgroups_dyn): Fall back to malloc/free
28062         for large group memberships.
28064 2012-03-28  David S. Miller  <davem@davemloft.net>
28066         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
28067         that branches into memcpy.
28068         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
28069         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28070         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28071         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28072         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
28073         bits.
28074         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
28075         implementation too.
28076         * sysdeps/sparc/mempcpy.S: New file.
28078         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
28079         the IFUNC routine in the libc case.
28080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28082         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
28083         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
28084         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
28085         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
28086         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
28087         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
28088         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
28089         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
28091         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
28092         loop to 256 bytes instead of 64 bytes and fix test signedness.
28094         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
28095         * sysdeps/sparc/sparc32/Makefile: rather than here...
28096         * sysdeps/sparc/sparc64/Makefile: and here.
28098 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
28100         * malloc/mallocbug.c: Avoid warnings about unused variables.
28102 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28104         [BZ #13760]
28105         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
28106         in the right place. Discard and retry query if response is
28107         larger than input buffer size.
28109 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
28111         [BZ #369]
28112         [BZ #2678]
28113         [BZ #3866]
28114         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
28115         x for large integer exponent.
28116         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28117         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
28118         sign of result as needed afterwards.
28119         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28120         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
28121         result for underflowing pow the same as for overflow.
28122         (__kernel_standard_l): Handle powl overflow and underflow here
28123         rather than calling __kernel_standard.
28124         * math/libm-test.inc (pow_test): Add more tests.
28126         [BZ #3868]
28127         [BZ #13879]
28128         [BZ #13910]
28129         [BZ #13911]
28130         [BZ #13912]
28131         [BZ #13913]
28132         [BZ #13915]
28133         [BZ #13916]
28134         [BZ #13917]
28135         [BZ #13918]
28136         [BZ #13919]
28137         [BZ #13920]
28138         [BZ #13921]
28139         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
28140         * sysdeps/ieee754/k_standard.c: Include <float.h>.
28141         (__kernel_standard_l): New function.
28142         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
28143         __kernel_standard.
28144         * math/w_acosl.c (__acosl): Likewise.
28145         * math/w_asinl.c (__asinl): Likewise.
28146         * math/w_atan2l.c (__atan2l): Likewise.
28147         * math/w_atanhl.c (__atanhl): Likewise.
28148         * math/w_coshl.c (__coshl): Likewise.
28149         * math/w_exp10l.c (__exp10l): Likewise.
28150         * math/w_exp2l.c (__exp2l): Likewise.
28151         * math/w_fmodl.c (__fmodl): Likewise.
28152         * math/w_hypotl.c (__hypotl): Likewise.
28153         * math/w_j0l.c (__j0l, __y0l): Likewise.
28154         * math/w_j1l.c (__j1l, __y1l): Likewise.
28155         * math/w_jnl.c (__jnl, __ynl): Likewise.
28156         * math/w_lgammal.c (__lgammal): Likewise.
28157         * math/w_log10l.c (__log10l): Likewise.
28158         * math/w_log2l.c (__log2l): Likewise.
28159         * math/w_logl.c (__logl): Likewise.
28160         * math/w_powl.c (__powl): Likewise.
28161         * math/w_remainderl.c (__remainderl): Likewise.
28162         * math/w_scalbl.c (sysv_scalbl): Likewise.
28163         * math/w_sinhl.c (__sinhl): Likewise.
28164         * math/w_sqrtl.c (__sqrtl): Likewise.
28165         * math/w_tgammal.c (__tgammal): Likewise.
28166         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
28167         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
28168         * math/libm-test.inc (acos_test): Add more tests.
28169         (acosh_test): Likewise.
28170         (asin_test): Likewise.
28171         (atanh_test): Likewise.
28172         (exp_test): Likewise.
28173         (exp10_test): Likewise.
28174         (exp2_test): Likewise.
28175         (expm1_test): Likewise.
28176         (lgamma_test): Likewise.
28177         (log_test): Likewise.
28178         (log10_test): Likewise.
28179         (log1p_test): Likewise.
28180         (log2_test): Likewise.
28181         (pow_test): Do not allow some spurious overflow exceptions.
28182         (sqrt_test): Add more tests.
28183         (tgamma_test): Likewise.
28184         (y0_test): Likewise.
28185         (y1_test): Likewise.
28186         (yn_test): Likewise.
28188 2012-03-27  Anton Blanchard  <anton@samba.org>
28190         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
28191         MAP_HUGETLB.
28192         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28193         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
28194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28196 2012-03-27  David S. Miller  <davem@davemloft.net>
28198         * conform/Makefile: Run run-conformtest.sh using $(BASH).
28200         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
28201         have-as-vis3 check.
28203 2012-03-27  Andreas Jaeger  <aj@suse.de>
28205         * sysdeps/x86_64/elf/configure.in: Moved to ...
28206         * sysdeps/x86_64/configure.in: ... here.
28207         * sysdeps/x86_64/elf/start.S: Moved to ...
28208         * sysdeps/x86_64/start.S: ... here.
28209         * sysdeps/x86_64/elf/configure: Delete.
28211         * sysdeps/x86_64/configure.in: Merge contents from
28212         sysdeps/i386/configure.in (without i686 check).
28214         * sysdeps/i386/elf/Versions: Merge into ...
28215         * sysdeps/i386/Versions: ... this.
28216         * sysdeps/i386/elf/Versions: Delete file.
28217         * sysdeps/i386/elf/start.S: Moved to ...
28218         * sysdeps/i386/start.S: ...here.
28219         * sysdeps/i386/elf/configure.in: Merge into...
28220         * sysdeps/i386/configure.in: ...here.
28221         * sysdeps/i386/elf/configure.in: Delete file.
28222         * sysdeps/i386/elf/configure: Delete file.
28224         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
28225         * debug/backtracesyms.c: ... here.
28226         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
28227         * debug/backtracesymsfd.c: ... here.
28228         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
28229         * sysdeps/generic/ifunc-sel.h: ... here.
28231         * sysdeps/unix/i386/start.c: Delete file.
28232         * sysdeps/unix/sparc/start.c: Delete file.
28233         * sysdeps/unix/start.c: Delete file.
28235         * sysdeps/sh/elf/configure.in: Moved to ...
28236         * sysdeps/sh/configure.in: ... here.
28237         * sysdeps/sh/elf/start.S: Moved to ...
28238         * sysdeps/sh/start.S: ... here.
28239         * sysdeps/sh/elf/configure: Delete file.
28241         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
28242         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
28243         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
28244         * sysdeps/powerpc/powerpc64/entry.h: ... here.
28245         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
28246         * sysdeps/powerpc/powerpc64/start.S: here.
28247         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
28248         * sysdeps/powerpc/powerpc64/Makefile: ... this.
28249         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
28250         * sysdeps/powerpc/powerpc64/configure.in: ... this.
28251         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
28253         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
28254         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
28255         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
28256         * sysdeps/powerpc/powerpc32/start.S: ... here.
28257         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
28258         * sysdeps/powerpc/powerpc32/configure.in: ... this.
28259         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
28261         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
28262         * sysdeps/powerpc/ifunc-sel.h: ... here.
28263         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
28264         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
28266         * sysdeps/sparc/elf/configure.in: Moved to ...
28267         * sysdeps/sparc/configure.in: ... here.
28268         * sysdeps/sparc/elf/configure: Delete file.
28269         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
28270         * sysdeps/sparc/sparc32/start.S: ... here.
28271         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
28272         * sysdeps/sparc/sparc64/start.S: ... here.
28273         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
28274         * sysdeps/sparc/sparc32/Makefile: ... this.
28275         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
28276         * sysdeps/sparc/sparc64/Makefile: ... this.
28278         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
28279         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
28280         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
28281         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
28282         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
28283         * sysdeps/s390/s390-32/setjmp.S: ... here.
28284         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
28285         * sysdeps/s390/s390-32/configure.in: ... here.
28286         * sysdeps/s390/s390-32/elf/configure: Delete file.
28287         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
28288         * sysdeps/s390/s390-32/start.S: ... here.
28290         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
28291         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
28292         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
28293         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
28294         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
28295         * sysdeps/s390/s390-64/setjmp.S: ... here.
28296         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
28297         * sysdeps/s390/s390-64/configure.in: ... here
28298         * sysdeps/s390/s390-64/elf/configure: Delete file.
28299         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
28300         * sysdeps/s390/s390-64/start.S: ... here.
28301         * sysdeps/s390/s390-64/elf/configure: Delete.
28303         * configure.in: Remove support for elf directories in sysdeps.
28305         * configure: Regenerated.
28306         * sysdeps/i386/configure: Regenerated.
28307         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28308         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28309         * sysdeps/s390/s390-32/configure: Regenerated.
28310         * sysdeps/s390/s390-64/configure: Regenerated.
28311         * sysdeps/sh/configure: Regenerated.
28312         * sysdeps/sparc/configure: Regenerated.
28313         * sysdeps/x86_64/configure: Regenerated.
28315 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
28317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28319         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
28320         denormal result into account.
28322 2012-03-25  Roland McGrath  <roland@hack.frob.com>
28324         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
28325         Reported by Allan McRae <allan@archlinux.org>.
28327 2012-03-23  Jeff Law  <law@redhat.com>
28329         * nss/getnssent.c (__nss_getent): Fix typo.
28331 2012-03-23  David S. Miller  <davem@davemloft.net>
28333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28335 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
28337         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
28338         to pad to uint64_t for each field.
28339         (dl_tls_index): Replace unsigned long with uint64_t.
28341 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
28342         Paul Pluzhnikov  <ppluzhnikov@google.com>
28344         [BZ #6528]
28345         * grp/Makefile (otherlibs): Don't set it.
28346         * inet/Makefile (otherlibs): Likewise.
28347         * login/Makefile (otherlibs): Likewise.
28348         * nscd/Makefile (otherlibs): Likewise.
28349         * posix/Makefile (otherlibs): Likewise.
28350         * pwd/Makefile (otherlibs): Likewise.
28351         * rt/Makefile (otherlibs): Likewise.
28352         * sunrpc/Makefile (otherlibs): Likewise.
28353         * nss/Makefile (otherlibs): Likewise.
28354         Add libnss_files to routines and static-only-routines.
28355         ($(objpfx)getent): Remove rule.
28356         * resolv/Makefile: Add libnss_dns and libresolv to routines and
28357         static-only-routines.
28359 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28361         [BZ #13892]
28362         * math/s_cexp.c: Include <float.h>.
28363         (__cexp): Handle exp result overflowing not necessarily
28364         overflowing both real and imaginary parts of result.
28365         * math/s_cexpf.c: Likewise.
28366         * math/s_cexpl.c: Likewise.
28367         * math/libm-test.inc (cexp_test): Add more tests.
28368         * sysdeps/i386/fpu/libm-test-ulps: Update.
28369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28371 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28373         * include/link.h (ELFW): New macro.
28374         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
28375         Replace ELF64_R_TYPE with ELFW(R_TYPE).
28377 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28379         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
28380         with uint64_t.
28382 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28384         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
28385         declaration.
28386         (struct La_x32_retval): Likewise.
28388 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
28390         * sysdeps/x86_64/preconfigure.in: New file.
28391         * sysdeps/x86_64/preconfigure: New generated file.
28393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
28395         [BZ #13824]
28396         * math/e_exp2l.c: Include <float.h>.
28397         (__ieee754_exp2l): Handle overflow and underflow cases
28398         separately.  Only pass fractional part of argument to
28399         __ieee754_expl.
28400         * math/libm-test.inc (exp2_test): Add more tests.
28402         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
28403         negating x to take absolute value.
28404         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
28405         Likewise.
28406         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28407         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
28408         Likewise.
28409         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
28410         computing low part if x was negated.
28411         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28413 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28415         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
28416         la_x32_gnu_pltexit.
28417         (pltexit): Cast int_retval to ptrdiff_t.
28418         * elf/tst-auditmod3b.c: Likewise.
28419         * elf/tst-auditmod4b.c: Likewise.
28420         * elf/tst-auditmod5b.c: Likewise.
28421         * elf/tst-auditmod6b.c: Likewise.
28422         * elf/tst-auditmod6c.c: Likewise.
28423         * elf/tst-auditmod7b.c: Likewise.
28425         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
28426         and x32_gnu_pltexit.
28428         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
28429         __ELF_NATIVE_CLASS.
28430         (La_x32_regs): New macro.
28431         (La_x32_retval): Likewise.
28432         (la_x32_gnu_pltenter): New function prototype.
28433         (la_x32_gnu_pltexit): Likewise.
28435 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
28437         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
28438         exponent.
28440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28442         * configure.in (libc_cv_cc_nofma): Check for option to disable
28443         generation of FMA instructions.
28444         * configure: Regenerate.
28445         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
28446         * sysdeps/ieee754/dbl-64/Makefile: New file.
28447         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
28448         Remove brandred-fma4.
28449         (CFLAGS-brandred-fma4.c): Remove.
28450         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
28451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
28452         define.
28453         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
28454         define.
28456 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28458         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28459         LLONG_MAX != LONG_MAX.
28460         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28461         (_fitoa_word): Likewise.
28462         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28463         LLONG_MAX != LONG_MAX.
28464         * stdio-common/_itowa.h: Include <_itoa.h>.
28465         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28466         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28467         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28468         only if not defined.
28469         (_ITOA_WORD_TYPE): Likewise.
28470         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28471         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28473 2012-03-21  David S. Miller  <davem@davemloft.net>
28475         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28477 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28479         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28480         of x86_64 when setting libc_cv_slibdir, libdir and
28481         libc_cv_localedir.
28482         * sysdeps/unix/sysv/linux/configure: Regenerated.
28484 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28486         * manual/lang.texi (Old Varargs): Remove section.
28487         (How Variadic): Update menu.
28488         (va_start): Do not mention varargs.h.
28490 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28491             Joseph Myers  <joseph@codesourcery.com>
28493         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28494         link test.
28495         * configure: Regenerated.
28497 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28499         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28500         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28501         conformtest.pl
28503 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28505         * NOTES: Remove.
28506         * Makefile (files-for-dist): Remove NOTES.
28507         (NOTES): Remove rule.
28508         * README: Don't refer to NOTES.
28509         * manual/creature.texi: Don't include macros.texi.
28510         * manual/intro.texi (creature.texi): Remove comment referring to
28511         NOTES.
28513         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28514         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28515         * configure: Regenerated.
28516         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28517         LIBC_TRY_CC_OPTION.
28518         (libc_cv_as_i686): Likewise.
28519         (libc_cv_cc_avx): Likewise.
28520         (libc_cv_cc_sse2avx): Likewise.
28521         (libc_cv_cc_fma4): Likewise.
28522         (libc_cv_cc_novzeroupper): Likewise.
28523         * sysdeps/i386/configure: Regenerated.
28525         [BZ #13883]
28526         * sysdeps/i386/fpu/s_cexp.S: Remove.
28527         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28528         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28529         * math/libm-test.inc (cexp_test): Add more tests.
28530         * sysdeps/i386/fpu/libm-test-ulps: Update.
28531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28533 2012-03-21  Allan McRae  <allan@archlinux.org>
28535         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28539         [BZ #13871]
28540         * math/w_exp2.c: Do not include <float.h>.
28541         (o_threshold, u_threshold): Remove.
28542         (__exp2): Calculate result before checking finiteness and calling
28543         __kernel_standard.
28544         * math/w_exp2f.c: Likewise.
28545         * math/w_exp2l.c: Likewise.
28546         * math/libm-test.inc (exp2_test): Require overflow exception for
28547         1e6 input.
28549         [BZ #3866]
28550         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28551         range of signed 64-bit integers before using fistpll.  Remove
28552         checks for whether integers fit in mantissa bits.
28553         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28554         the range of signed 32-bit integers before using fistpl.  Remove
28555         checks for whether integers fit in mantissa bits.
28556         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28557         (__ieee754_powl): Test for y outside the range of signed 64-bit
28558         integers before using fistpll.  Reduce 64-bit values to 63-bit
28559         ones as needed.
28560         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28561         divide-by-zero is raised for zero to large negative powers.
28562         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28563         (__ieee754_powl): Test for y outside the range of signed 64-bit
28564         integers before using fistpll.  Reduce 64-bit values to 63-bit
28565         ones as needed.
28566         * math/libm-test.inc (pow_test): Add more tests.
28568 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28570         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28571         <stdio-common/_itoa.h>.
28572         * debug/segfault.c: Likewise.
28573         * elf/dl-cache.c: Likewise.
28574         * elf/dl-minimal.c: Likewise.
28575         * elf/dl-misc.c: Likewise.
28576         * elf/dl-sysdep.c: Likewise.
28577         * elf/dl-version.c: Likewise.
28578         * elf/rtld.c: Likewise.
28579         * hurd/hurdsock.c: Likewise.
28580         * hurd/lookup-retry.c: Likewise.
28581         * malloc/malloc.c: Likewise.
28582         * malloc/mtrace.c: Likewise.
28583         * nscd/nscd_getgr_r.c: Likewise.
28584         * nscd/nscd_getpw_r.c: Likewise.
28585         * nscd/nscd_getserv_r.c: Likewise.
28586         * posix/getopt_init.c: Likewise.
28587         * posix/wordexp.c: Likewise.
28588         * stdio-common/_itoa.c: Likewise.
28589         * stdio-common/printf_fphex.c: Likewise.
28590         * stdio-common/vfprintf.c: Likewise.
28591         * string/_strerror.c: Likewise.
28592         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28593         * sysdeps/i386/i686/hp-timing.h: Likewise.
28594         * sysdeps/mach/_strerror.c: Likewise.
28595         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28596         * sysdeps/mach/hurd/sethostid.c: Likewise.
28597         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28598         * sysdeps/mach/xpg-strerror.c: Likewise.
28599         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28600         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28601         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28602         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28603         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28604         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28606         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28607         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28608         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28609         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28610         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28611         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28612         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28613         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28614         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28615         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28616         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28617         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28618         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28619         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28621         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28623         * stdio-common/_itoa.h: Moved to ...
28624         * sysdeps/generic/_itoa.h: Here.
28626         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28628         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28629         instead of "_itoa.h" and "_itowa.h".
28630         * stdio-common/vfprintf.: Likewise.
28632 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28634         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28635         <bits/wordsize.h>.
28636         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28637         (__signbit): Likwise.
28638         (llrintf): Likwise.
28639         (llrint): Likwise.
28641 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28643         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28644         __WORDSIZE != 64.
28646 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28648         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28649         OVERFLOW_EXCEPTION_OK.
28650         * math/libm-test.inc ("Philosophy"): Update comment about
28651         exception testing.
28652         (OVERFLOW_EXCEPTION): Define.
28653         (OVERFLOW_EXCEPTION_OK): Likewise.
28654         (INVALID_EXCEPTION_OK): Renumber.
28655         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28656         (IGNORE_ZERO_INF_SIGN): Likewise.
28657         (test_exceptions): Handle FE_OVERFLOW.
28658         (exp10_test): Expect overflow exceptions.
28659         (exp2_test): Likewise.
28660         (expm1_test): Likewise.
28661         (nextafter_test): Likewise.
28662         (pow_test): Likewise.
28663         (scalbn_test): Likewise.
28664         (scalbln_test): Likewise.
28666 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28668         * sysdeps/x86_64/bits/atomic.h
28669         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28670         64bit integer.
28671         (atomic_exchange_acq): Likewise.
28672         (__arch_exchange_and_add_body): Likewise.
28673         (__arch_add_body): Likewise.
28674         (atomic_add_negative): Likewise.
28675         (atomic_add_zero): Likewise.
28677 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28679         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28680         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28682 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28684         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28685         Check __x86_64__ instead of __WORDSIZE.
28687 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28689         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28691 2012-03-19  David S. Miller  <davem@davemloft.net>
28693         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28695         * sysdeps/sparc/fpu/fenv_private.h: New file.
28696         * sysdeps/sparc/fpu/math_private.h: Use it.
28697         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28698         Remove.
28699         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28700         (libc_feholdexcept_setroundl): Remove.
28701         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28702         Remove.
28703         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28704         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28706 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28708         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28709         int64_t instead of long int.
28710         (INSERT_WORDS64): Likwise.
28712 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28714         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28715         _Unwind_GetCFA return to _Unwind_Ptr first.
28717 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28719         [BZ #13629]
28720         * math/s_clog.c: Include <float.h>.
28721         (__clog): Scale large or subnormal inputs.
28722         * math/s_clogf.c: Likewise.
28723         * math/s_clogl.c: Likewise.
28724         * math/s_clog10.c: Include <float.h>.
28725         (M_LOG10_2): Define.
28726         (__clog10): Scale large or subnormal inputs.
28727         * math/s_clog10f.c: Likewise.
28728         * math/s_clog10l.c: Likewise.
28729         * math/libm-test.inc (clog_test): Add more tests.
28730         (clog10_test): Likewise.
28731         * sysdeps/i386/fpu/libm-test-ulps: Update.
28732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28734         [BZ #11451]
28735         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28736         x and y.
28737         * math/libm-test.inc (atan2_test): Add another test.
28739         * Makerules (common-objdir-compile): Remove.
28740         * sysdeps/unix/Makefile (config-generated): Do not add
28741         $(unix-generated) to variable.
28742         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28743         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28744         Remove rule.
28745         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28746         Likewise.
28747         [generic bits/local_lim.h] (before-compile): Do not append to
28748         variable.
28749         [generic bits/local_lim.h] (common-generated): Likewise.
28750         [generic sys/param.h] (before-compile): Do not append to variable.
28751         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28752         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28753         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28754         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28755         include.
28756         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28757         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28758         [generic sys/param.h] ($(addprefix
28759         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28760         [generic sys/param.h] (common-generated): Do not append to
28761         variable.
28762         [generic sys/param.h] (sysdep_headers): Likewise.
28763         [generic bits/errno.h] (before-compile): Do not append to
28764         variable.
28765         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28766         rule.
28767         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28768         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28769         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28770         [generic bits/errno.h] (common-generated): Do not append to
28771         variable.
28772         [generic bits/ioctls.h] (before-compile): Do not append to
28773         variable.
28774         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28775         rule.
28776         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28777         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28778         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28779         rule.
28780         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28781         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28782         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28783         [generic bits/ioctls.h] (common-generated): Do not append to
28784         variable.
28785         [generic sys/syscall.h] (syscall.h): Remove variable.
28786         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28787         rule.
28788         [generic sys/syscall.h] (before-compile): Do not append to
28789         variable.
28790         [generic sys/syscall.h] (common-generated): Likewise.
28791         * sysdeps/unix/errnos-tmpl.c: Remove file.
28792         * sysdeps/unix/errnos.awk: Likewise.
28793         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28794         * sysdeps/unix/ioctls.awk: Likewise.
28795         * sysdeps/unix/mk-local_lim.c: Likewise.
28796         * sysdeps/unix/snarf-ioctls: Likewise.
28798 2012-03-19  Richard Henderson  <rth@twiddle.net>
28800         * sysdeps/i386/fpu/fenv_private.h: New file.
28801         * sysdeps/i386/fpu/math_private.h: Use it.
28802         (math_opt_barrier, math_force_eval): Remove.
28803         (libc_feholdexcept_setround_53bit): Remove.
28804         (libc_feupdateenv_53bit): Remove.
28805         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28806         (math_opt_barrier, math_force_eval): Remove.
28807         (libc_feholdexcept): Remove.
28808         (libc_feholdexcept_setround): Remove.
28809         (libc_fetestexcept, libc_fesetenv): Remove.
28810         (libc_feupdateenv_test): Remove.
28811         (libc_feupdateenv, libc_feholdsetround): Remove.
28812         (libc_feresetround): Remove.
28814         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28815         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28817         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28818         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28819         (libc_feupdateenv_testl): New.
28820         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28821         (libc_feupdateenv_testf): New.
28822         (libc_feupdateenv): Use libc_feupdateenv_test.
28823         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28826         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28827         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28828         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28829         (libc_feresetround_noex): New.
28830         (libc_feresetround_noexf): New.
28831         (libc_feresetround_noexl): New.
28832         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28833         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28834         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28835         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28836         SET_RESTORE_ROUND.
28837         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28839         (__cos): Likewise.
28840         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28841         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28842         SET_RESTORE_ROUND_NOEX.
28843         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28844         SET_RESTORE_ROUND_NOEXF.
28845         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28846         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28847         (libc_feholdsetroundf): New.
28848         (libc_feresetround, libc_feresetroundf): New.
28850         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28851         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28852         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28854         * sysdeps/generic/math_private.h: Include <fenv.h>.
28855         (default_libc_feholdexcept): New.
28856         (default_libc_feholdexcept_setround): New.
28857         (default_libc_fesetenv, default_libc_feupdateenv): New.
28858         (libc_feholdexcept): Only define if undefined.
28859         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28860         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28861         (libc_feholdexcept_setroundl): Likewise.
28862         (libc_feholdexcept_setround_53bit): Likewise.
28863         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28864         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28865         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28866         (libc_feupdateenv_53bit): Likewise.
28867         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28868         (libc_feholdexcept): Convert from macro to inline function.
28869         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28870         (libc_fesetenv, libc_feupdateenv): Likewise.
28872         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28873         not previously defined.
28874         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28875         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28876         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28877         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28878         * sysdeps/ieee754/flt-32/math_private.h: New file.
28879         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28880         math_private.h below SET_FLOAT_WORD.
28881         (__isnan, __isinf_ns, __finite): Remove.
28882         (__isnanf, __isinf_nsf, __finitef): Remove.
28884 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28888 2012-03-17  David S. Miller  <davem@davemloft.net>
28890         [BZ #6471]
28891         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28892         for 2.16.
28894 2012-03-16  David S. Miller  <davem@davemloft.net>
28896         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28897         warnings.
28899         [BZ #6471]
28900         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28901         properly.
28902         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28903         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28904         sysdep_routines when subdir is sysvipc.
28905         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28906         __getshmlba helper.
28908         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28910 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28912         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28913         [__LP64__].
28915 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28917         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28918         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28919         (__lround): Renamed to ...
28920         (__llround): This.  Replace long int with long long int.
28921         Define lround functions as aliases of llround functions.
28922         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28924 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28926         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28927         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28928         adresses to uintptr_t.  Replace "long int" and "unsigned long
28929         int" with "greg_t" on va_arg.
28931 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28933         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28934         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28936         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28937         Move e_machine check before EI_CLASS check.  Handle x32
28938         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28939         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28940         SKIP_EM_IA_64 and include
28941         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28943         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28944         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28945         (add_system_dir): New macro.
28947         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28948         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28950 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28952         [BZ #2551]
28953         [BZ #2552]
28954         [BZ #2553]
28955         [BZ #2554]
28956         [BZ #2562]
28957         [BZ #2563]
28958         [BZ #2565]
28959         [BZ #2566]
28960         [BZ #2576]
28961         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28962         (y0): Likewise.
28963         * math/w_j0f.c (j0f): Likewise.
28964         (y0f): Likewise.
28965         * math/w_j0l.c (__j0l): Likewise.
28966         (__y0l): Likewise.
28967         * math/w_j1.c (j1): Likewise.
28968         (y1): Likewise.
28969         * math/w_j1f.c (j1f): Likewise.
28970         (y1f): Likewise.
28971         * math/w_j1l.c (__j1l): Likewise.
28972         (__y1l): Likewise.
28973         * math/w_jn.c (jn): Likewise.
28974         (yn): Likewise.
28975         * math/w_jnf.c (jnf): Likewise.
28976         (ynf): Likewise.
28977         * math/w_jnl.c (__jnl): Likewise.
28978         (__ynl): Likewise.
28979         * math/libm-test.inc (j0_test): Add more tests.
28980         (j1_test): Likewise.
28981         (jn_test): Likewise.  Add trailing semicolon to existing test.
28982         (y0_test): Likewise.
28983         (y1_test): Likewise.
28984         * sysdeps/i386/fpu/libm-test-ulps: Update.
28985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28987         [BZ #13851]
28988         [BZ #13854]
28989         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28990         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28991         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28992         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28993         (__tanl): Set errno for infinite argument.
28994         * sysdeps/i386/fpu/mptan.c: Remove.
28995         * sysdeps/i386/fpu/s_tan.S: Likewise.
28996         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28997         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28998         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28999         * math/libm-test.inc (tan_test): Add more tests and enable more
29000         tests for double and long double.
29001         * sysdeps/i386/fpu/libm-test-ulps: Update.
29002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29004 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
29006         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
29007         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
29009 2012-03-16  Roland McGrath  <roland@hack.frob.com>
29011         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
29012         * configure.in: Use it for both main tree and add-ons.
29013         * configure: Regenerated.
29015 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
29017         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
29019 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
29021         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
29022         in comment.
29024         [BZ #13851]
29025         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
29026         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
29027         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
29028         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
29029         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
29030         infinite argument.
29031         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
29032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
29033         != 0 for prec == 2.
29034         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
29035         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
29036         * sysdeps/i386/fpu/s_cosl.S: Likewise.
29037         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
29038         * sysdeps/i386/fpu/s_sinl.S: Likewise.
29039         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
29040         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
29041         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
29042         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
29043         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
29044         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
29045         * math/libm-test.inc (cos_test): Add more tests and enable more
29046         tests for long double.
29047         (sin_test): Likewise.
29048         (sincos_test): Likewise.
29049         * sysdeps/i386/fpu/libm-test-ulps: Update.
29050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29052 2012-03-16  David S. Miller  <davem@davemloft.net>
29054         * sysdeps/sparc/fpu/math_private.h: New file.
29056 2012-03-15  David S. Miller  <davem@davemloft.net>
29058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
29059         file.
29060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
29061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
29062         file.
29063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
29064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
29065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
29066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
29067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
29068         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
29069         sysdep routines.
29070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29072         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
29073         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
29075         * sysdeps/sparc/sparc-ifunc.h: New file.
29076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
29077         sparc-ifunc.h
29078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
29080         Likewise.
29081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
29082         Likewise.
29083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
29084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
29085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29087         Likewise.
29088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
29089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
29090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
29091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
29092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
29093         Likewise.
29094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
29095         Likewise.
29096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
29097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
29098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
29099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
29100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
29103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
29104         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
29107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
29108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
29109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
29111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
29112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
29113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
29114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
29115         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
29116         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
29117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
29118         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
29119         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
29121 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29123         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
29124         scaling.
29125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29127 2012-03-15  Andreas Jaeger  <aj@suse.de>
29129         [BZ #13852]
29130         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
29131         ieee754/flt-32 implementation for sin, cos and sincos.
29132         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
29133         * sysdeps/i386/fpu/s_cosf.S: Likewise.
29134         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
29135         * sysdeps/i386/fpu/s_sinf.S: Likewise.
29136         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
29137         ieee754/flt-32 implementation for tan.
29139         * math/libm-test.inc (cos_test): Enable some large input tests for
29140         float as well
29141         (sin_test): Likewise.
29142         (sincos_test): Likewise.
29143         (tan_test): Add tests for large input.
29145         * sysdeps/i386/fpu/libm-test-ulps: Update.
29147 2012-03-15  Andreas Jaeger  <aj@suse.de>
29149         [BZ #13658]
29150         * math/libm-test.inc (cos_test): Add more test cases.
29151         (sin_test): Likewise.
29152         (sincos_test): Likewise.
29154 2012-03-15  Andreas Jaeger  <aj@suse.de>
29156         [BZ #13837]
29157         * math/libm-test.inc (cos_test): Add a test case for large input
29158         value.
29159         (sin_test): Likewise.
29160         (sincos_test): Likewise.
29162 2012-03-15  Andreas Jaeger  <aj@suse.de>,
29163         Joseph Myers  <joseph@codesourcery.com>
29165         [BZ #13658]
29166         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
29167         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
29168         * sysdeps/i386/fpu/branred.c: Likewise.
29169         * sysdeps/i386/fpu/dosincos.c: Likewise.
29170         * sysdeps/i386/fpu/mpa.c: Likewise.
29171         * sysdeps/i386/fpu/s_cos.S: Likewise.
29172         * sysdeps/i386/fpu/s_sin.S: Likewise.
29173         * sysdeps/i386/fpu/s_sincos.S: Likewise.
29174         * sysdeps/i386/fpu/sincos32.c: Likewise.
29176         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
29177         Define.
29178         (libc_feupdateenv_53bit): Define.
29179         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
29180         Define.
29181         (libc_feupdateenv_53bit): Define.
29183         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
29184         53 bit (without extend i386 double precision).
29186         * math/libm-test.inc (sincos_test): Add tests for large input.
29187         (sin): Likewise.
29188         (cos): Likewise.
29190         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29192 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
29194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29196 2012-03-15  David S. Miller  <davem@davemloft.net>
29198         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
29199         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
29200         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
29201         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
29202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
29203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
29204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
29205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
29206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
29207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
29208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
29209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
29210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
29211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
29212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
29213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
29214         file.
29215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
29216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
29217         file.
29218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
29219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
29220         file.
29221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
29222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
29223         file.
29224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
29225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
29226         fmin/fmax sysdep routines.
29227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
29229 2012-03-14  David S. Miller  <davem@davemloft.net>
29231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
29232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
29233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
29234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
29235         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
29236         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
29237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
29238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
29239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
29240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
29241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
29242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
29243         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
29244         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
29245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
29246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
29247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
29248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
29249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
29250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
29251         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
29252         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
29253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
29254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
29255         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
29256         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
29257         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
29258         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
29259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
29260         routines.
29261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
29262         file.
29263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
29264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
29265         file.
29266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
29267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
29268         file.
29269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
29270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
29271         file.
29272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
29273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
29274         file.
29275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
29276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
29277         file.
29278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
29279         file.
29280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
29281         file.
29282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
29283         file.
29284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
29285         New file.
29286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
29287         file.
29288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
29289         file.
29290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
29291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
29292         file.
29293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
29294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
29295         file.
29296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
29297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
29298         file.
29299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
29300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
29301         VIS3 routines.
29303         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29304         New file.
29306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29308         * sysdeps/sparc/configure.in: New file.
29309         * sysdeps/sparc/configure: Generate.
29310         * configure.in (libc_cv_sparc_as_vis3): Substitute.
29311         * configure: Regenerate.
29312         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
29313         * config.make.in (have-as-vis3): New.
29314         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
29315         available use -Av9d instead of -Av9a.
29316         * sysdeps/sparc/sparc64/Makefile: Likewise.
29317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
29318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
29319         New file.
29320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
29321         file.
29322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
29323         New file.
29324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
29325         file.
29326         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
29327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
29328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
29329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
29330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
29332         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
29333         fzeros/fnegs to load 0x80000000 into a float register instead of
29334         using the stack.
29335         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
29337 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29339         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29340         bits/syscall.h.
29341         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
29342         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
29343         ($(inst_includedir)/bits/syscall.h): Remove rule.
29344         ($(objpfx)bits/syscall.d): Include instead of
29345         $(objpfx)syscall-list.d.
29346         (generated): Change syscall-list.h and syscall-list.d to
29347         bits/syscall.h and bits/syscall.d.
29349 2012-03-14  Roland McGrath  <roland@hack.frob.com>
29351         [BZ #13846]
29352         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
29354 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
29356         [BZ #13841]
29357         * math/s_csqrt.c: Include <float.h>.
29358         (__csqrt): Scale large or subnormal inputs.
29359         * math/s_csqrtf.c: Likewise.
29360         * math/s_csqrtl.c: Likewise.
29361         * math/libm-test.inc (csqrt_test): Add more tests.
29362         * sysdeps/i386/fpu/libm-test-ulps: Update.
29363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29365         [BZ #13840]
29366         * math/libm-test.inc (hypot_test): Add more tests.
29368 2012-03-13  David S. Miller  <davem@davemloft.net>
29370         [BZ #13840]
29371         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
29372         double-precision for the calculation instead of scaling.
29374 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
29376         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
29377         manipulate bits before adding and subtracting TWO52[sx].
29378         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
29379         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29380         Likewise.
29381         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
29383 2012-03-13  David S. Miller  <davem@davemloft.net>
29385         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
29386         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
29387         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
29388         rtld-global-offsets.h
29389         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29391         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
29392         large parameters.
29394         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
29396         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
29397         'err' in the ifdef scope in which it is actually used.
29399         * nss/nss_db/db-init.c: Include string.h
29401 2012-03-12  David S. Miller  <davem@davemloft.net>
29403         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29404         masking out of the most significant byte of random value used.
29405         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29406         Fix coding style in previous change.
29408         * sysdeps/unix/sysv/linux/kernel-features.h
29409         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
29410         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
29411         expression.
29412         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
29413         later.
29415 2012-03-11  David S. Miller  <davem@davemloft.net>
29417         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29418         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
29419         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
29420         for 'resultvar' otherwise things get truncated on 64-bit.
29422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29423         Fix masking out of the most significant byte of random value used.
29425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29427 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
29429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29431 2012-03-09  David S. Miller  <davem@davemloft.net>
29433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
29434         variables with appropriate CPP guards.
29435         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
29436         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
29437         on resulting framesize and the management of the outregs buffer for pltexit.
29438         Preserve floating point return values across _dl_call_pltexit call.
29439         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
29440         framesize and the management of the outregs buffer for pltexit.
29441         Preserve floating point return values across _dl_call_pltexit
29442         call.
29443         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
29444         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
29445         (print_exit): Fix format string for return register value.
29447 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
29449         * sunrpc/Makefile (others): Add rpcgen.
29450         ($(objpfx)rpcgen): Remove special build rule and dependency on
29451         libc.
29452         * sunrpc/rpcgen.c: New file.
29454 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
29456         [BZ #13673]
29457         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
29458         * stdio-common/bug-vfprintf-nargs.c: Likewise.
29459         * sysdeps/i386/crti.S: Likewise.
29460         * sysdeps/i386/crtn.S: Likewise.
29461         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29462         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29463         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29464         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29465         * sysdeps/sh/crti.S: Likewise.
29466         * sysdeps/sh/crtn.S: Likewise.
29467         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29469         [BZ #13673]
29470         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29471         with URL.
29472         * locale/programs/locfile-kw.gperf: Likewise.
29473         * locale/programs/charmap-kw.h: Regenerated.
29474         * locale/programs/locfile-kw.h: Likewise.
29476         [BZ #13673]
29477         * intl/plural.y: Replace FSF snail mail address with URL.
29478         * intl/plural.c: Regenerated.
29480 2012-03-09  Richard Henderson  <rth@twiddle.net>
29482         * include/math_private.h: Remove file.
29483         * math/math_private.h: Move file ...
29484         * sysdeps/generic/math_private.h: ... here.
29486         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29487         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29488         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29490         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29491         and <math_private.h>.
29492         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29493         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29494         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29495         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29496         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29497         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29498         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29499         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29500         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29501         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29503         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29504         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29505         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29506         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29507         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29508         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29509         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29510         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29511         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29512         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29513         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29514         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29516         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29517         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29518         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29519         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29520         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29521         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29522         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29523         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29524         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29525         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29526         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29527         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29528         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29529         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29530         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29531         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29532         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29533         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29534         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29535         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29536         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29538         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29539         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29540         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29541         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29542         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29543         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29544         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29545         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29546         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29547         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29548         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29549         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29550         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29551         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29553         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29555         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29556         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29560         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29561         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29562         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29563         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29564         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29565         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29566         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29567         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29568         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29569         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29570         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29571         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29572         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29573         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29574         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29575         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29576         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29578         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29579         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29580         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29581         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29582         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29583         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29584         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29585         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29586         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29587         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29588         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29589         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29590         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29591         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29592         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29593         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29594         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29595         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29596         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29597         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29598         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29599         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29600         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29601         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29602         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29603         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29604         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29605         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29606         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29607         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29608         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29609         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29610         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29611         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29612         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29613         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29615         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29616         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29617         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29618         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29619         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29620         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29621         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29622         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29623         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29624         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29625         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29626         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29627         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29628         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29629         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29630         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29631         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29632         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29633         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29634         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29635         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29636         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29637         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29638         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29639         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29640         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29641         * sysdeps/ieee754/k_standard.c: Likewise.
29642         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29643         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29644         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29645         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29646         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29647         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29648         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29649         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29650         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29651         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29652         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29653         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29654         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29655         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29656         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29657         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29658         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29659         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29660         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29661         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29662         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29663         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29664         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29665         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29666         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29667         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29668         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29669         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29670         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29671         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29672         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29673         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29674         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29675         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29676         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29677         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29678         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29679         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29680         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29681         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29682         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29683         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29684         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29685         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29686         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29687         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29688         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29689         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29690         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29691         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29692         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29693         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29694         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29695         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29696         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29697         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29698         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29699         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29700         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29701         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29702         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29703         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29704         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29710         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29712         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29714         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29715         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29718         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29719         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29720         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29721         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29722         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29723         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29724         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29725         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29726         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29727         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29728         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29729         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29730         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29731         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29732         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29733         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29734         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29735         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29737         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29738         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29739         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29740         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29741         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29742         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29743         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29746         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29747         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29748         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29749         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29750         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29751         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29752         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29753         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29754         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29755         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29756         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29757         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29758         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29759         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29760         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29761         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29762         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29763         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29764         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29765         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29766         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29767         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29768         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29769         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29770         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29771         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29772         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29773         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29774         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29775         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29776         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29777         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29778         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29779         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29780         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29781         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29782         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29783         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29784         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29785         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29786         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29787         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29788         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29789         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29790         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29791         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29792         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29793         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29794         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29795         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29796         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29797         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29798         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29799         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29800         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29801         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29802         * sysdeps/ieee754/s_lib_version.c: Likewise.
29803         * sysdeps/ieee754/s_matherr.c: Likewise.
29804         * sysdeps/ieee754/s_signgam.c: Likewise.
29805         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29806         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29807         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29808         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29810         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29811         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29812         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29813         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29814         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29815         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29816         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29817         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29818         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29819         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29820         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29821         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29822         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29823         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29827 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29829         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29830         * sunrpc/rpc_main.c: Likewise.
29831         * sunrpc/rpc_svcout.c: Likewise.
29833 2012-03-09  David S. Miller  <davem@davemloft.net>
29835         * include/math_private.h: New file.
29837 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29839         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29840         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29841         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29842         from <bits/socket_type.h>.
29843         (enum __socket_type): Don't define here.
29844         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29846         bits/socket_type.h.
29848         [BZ #13566]
29849         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29850         checking __USE_GNU.
29852         * Makerules ($(inst_includedir)/%.h): New rule.
29853         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29854         (install-others): Remove variable setting.
29855         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29857 2012-03-08  Richard Henderson  <rth@twiddle.net>
29859         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29860         from macro to inline function; merge with the
29861         !__LIBC_INTERNAL_MATH_INLINES version.
29862         (__ieee754_sqrtf): Likewise.
29864         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29865         to inline function.
29866         (__rintf, __floor, __floorf): Likewise.
29868         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29869         macro to inline function.
29870         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29872         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29873         not <math/math_private.h>.
29875 2012-03-08  David S. Miller  <davem@davemloft.net>
29877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29878         copyright year.
29879         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29881 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29883         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29884         normalization.
29885         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29886         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29888 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29890         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29891         be defined individually, they must be defined as a block.  Define
29892         S for printing a string instead of hidint the different by using a
29893         macro for adding the 'l'.
29894         * stdio-common/tst-fphex-wide.c: Adjust.
29896 2012-03-07  Marek Polacek  <polacek@redhat.com>
29898         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29900 2012-03-08  Marek Polacek  <polacek@redhat.com>
29902         [BZ #13806]
29903         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29904         * stdio-common/tst-fphex.c: Define a few macros to make the
29905         test reusable.  Use them.
29906         * stdio-common/tst-fphex-wide.c: New file.
29908 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29910         [BZ #6911]
29911         * manual/macros.texi (gnusystems): New macro.
29912         (nongnusystems): Likewise.
29913         (gnulinuxhurdsystems): Likewise.
29914         (gnuhurdsystems): Likewise..
29915         (gnulinuxsystems): Likewise.
29916         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29917         variants of the GNU system, not "GNU system".
29918         * manual/conf.texi: Likewise.
29919         * manual/errno.texi: Likewise.  Update example of errno macro
29920         expansion.
29921         * manual/filesys.texi: Likewise.
29922         (getumask): Document as specific to GNU/Hurd.
29923         * manual/install.texi: Likewise.  Reword some references to
29924         GNU/Linux.
29925         * manual/intro.texi: Likewise.
29926         * manual/io.texi: Likewise.
29927         (File Name Portability): Detail which constraints are inapplicable
29928         to all GNU systems and which are only inapplicable to GNU/Hurd.
29929         * manual/job.texi: Likewise.
29930         * manual/llio.texi: Likewise.
29931         (O_NOCTTY): Document as present on GNU/Linux.
29932         * manual/maint.texi: Likewise.
29933         * manual/memory.texi: Likewise.
29934         * manual/pattern.texi: Likewise.
29935         * manual/pipe.texi: Likewise.
29936         * manual/process.texi: Likewise.
29937         * manual/resource.texi: Likewise.
29938         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29939         child on GNU/Hurd.
29940         * manual/setjmp.texi: Likewise.
29941         * manual/signal.texi: Likewise.
29942         * manual/startup.texi: Likewise.
29943         * manual/stdio.texi: Likewise.
29944         * manual/terminal.texi: Likewise.
29945         (ONLCR): Document as POSIX.
29946         (OXTABS): Document availability on GNU/Linux as XTABS.
29947         (ONOEOT): Document availability separately from other bits.
29948         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29949         * manual/time.texi: Likewise.
29950         * manual/users.texi: Likewise.
29951         * INSTALL: Regenerated.
29952         * sysdeps/gnu/errlist.c: Regenerated.
29954         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29955         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29956         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29957         puts.
29958         * configure: Regenerated.
29960 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29962         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29963         default includes instead of AC_HEADER_CHECK.
29964         * sysdeps/i386/configure: Regenerated.
29966         [BZ #10716]
29967         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29968         * math/s_cacoshf.c (__cacoshf): Likewise.
29969         * math/s_cacoshl.c (__cacoshl): Likewise.
29970         * math/s_casinh.c (__casinh): Set signs of result from argument.
29971         * math/s_casinhf.c (__casinhf): Likewise.
29972         * math/s_casinhl.c (__casinhl): Likewise.
29973         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29974         (casinh_test): Add more tests.
29975         * sysdeps/i386/fpu/libm-test-ulps: Update.
29976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29978 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29980         * po/zh_TW.po: Update from translation team.
29982         * login/Makefile (distribute): Remove variable.
29983         * catgets/Makefile: Likewise.
29984         * mach/Makefile: Likewise.
29985         * malloc/Makefile: Likewise.
29986         * misc/Makefile: Likewise.
29987         * iconv/Makefile: Likewise.
29988         * nscd/Makefile: Likewise.
29989         * hurd/Makefile: Likewise.
29990         * manual/Makefile: Likewise.
29991         * locale/Makefile: Likewise.
29992         * intl/Makefile: Likewise.
29993         * conform/Makefile: Likewise.
29994         * nss/Makefile: Likewise.
29995         * time/Makefile: Likewise.
29996         * soft-fp/Makefile: Likewise.
29997         * dirent/Makefile: Likewise.
29998         * gmon/Makefile: Likewise.
29999         * po/Makefile: Likewise.
30000         * rt/Makefile: Likewise.
30001         * socket/Makefile: Likewise.
30002         * math/Makefile: Likewise.
30003         * signal/Makefile: Likewise.
30004         * debug/Makefile: Likewise.
30005         * elf/Makefile: Likewise.
30006         * timezone/Makefile: Likewise.
30007         * stdlib/Makefile: Likewise.
30008         * iconvdata/Makefile: Likewise.
30009         * sunrpc/Makefile: Likewise.
30010         * io/Makefile: Likewise.
30011         * argp/Makefile: Likewise.
30012         * inet/Makefile: Likewise.
30013         * hesiod/Makefile: Likewise.
30014         * grp/Makefile: Likewise.
30015         * csu/Makefile: Likewise.
30016         * wctype/Makefile: Likewise.
30017         * crypt/Makefile: Likewise.
30018         * libio/Makefile: Likewise.
30019         * string/Makefile: Likewise.
30020         * nis/Makefile: Likewise.
30021         * resolv/Makefile: Likewise.
30022         * stdio-common/Makefile: Likewise.
30023         * wcsmbs/Makefile: Likewise.
30024         * dlfcn/Makefile: Likewise.
30025         * posix/Makefile: Likewise.
30027         [BZ #6959]
30028         * timezone/Makefile: Don't install timezone files, just the programs
30029         and scripts.
30031 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
30033         * nss/databases.def: Add missing gshadow entry.
30035         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
30037 2012-03-06  Marek Polacek  <polacek@redhat.com>
30039         [BZ #13726]
30040         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
30041         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30042         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
30043         * stdio-common/tst-long-dbl-fphex.c: New file.
30045 2012-03-06  David S. Miller  <davem@davemloft.net>
30047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30048         (set_obp_int): New function.
30049         (get_obp_int): New function.
30050         (__get_clockfreq_via_dev_openprom): Likewise.
30051         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
30052         Avoid unused variable warnings on 'val' and use builtin_expect.
30053         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
30054         __builtin_expect.
30055         (INLINE_CLONE_SYSCALL): Likewise.
30057 2012-03-05  David S. Miller  <davem@davemloft.net>
30059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30061 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
30063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30065         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
30066         only for |x| >= 40.
30067         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30069 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
30071         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
30072         Replace gettimeofday with __vdso_gettimeofday.
30074         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30075         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
30076         __vdso_clock_gettime and __vdso_getcpu.
30078         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
30079         time with __vdso_time.
30081 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30083         * manual/lang.texi (size_t): Note types to which size_t may be
30084         equivalent with the GNU C Library, but do not describe when
30085         differences between them are significant.
30087 2012-03-05  Andreas Jaeger  <aj@suse.de>
30089         * sysdeps/i386/fpu/libm-test-ulps: Update.
30091 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
30093         [BZ #3976]
30094         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
30095         (__ieee754_pow): Save and restore rounding mode and use
30096         round-to-nearest for main computations.
30097         * math/libm-test.inc (pow_test_tonearest): New function.
30098         (pow_test_towardzero): Likewise.
30099         (pow_test_downward): Likewise.
30100         (pow_test_upward): Likewise.
30101         (main): Call the new functions.
30102         * sysdeps/i386/fpu/libm-test-ulps: Update.
30103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30105         [BZ #3976]
30106         * math/libm-test.inc (cosh_test_tonearest): New function.
30107         (cosh_test_towardzero): Likewise.
30108         (cosh_test_downward): Likewise.
30109         (cosh_test_upward): Likewise.
30110         (sinh_test_tonearest): Likewise.
30111         (sinh_test_towardzero): Likewise.
30112         (sinh_test_downward): Likewise.
30113         (sinh_test_upward): Likewise.
30114         (main): Call the new functions.
30115         * sysdeps/i386/fpu/libm-test-ulps: Update.
30116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30118 2012-03-05  Tom de Vries  <tom@codesourcery.com>
30120         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
30121         default stack guard is set in last bytes.
30122         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
30124 2012-03-05  Kees Cook  <keescook@chromium.org>
30126         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
30128         [BZ #13656]
30129         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
30130         possibly allocate from heap instead of stack.
30131         * stdio-common/bug-vfprintf-nargs.c: New file.
30132         * stdio-common/Makefile (tests): Add nargs overflow test.
30134 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
30136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30138 2012-03-03  Marek Polacek  <polacek@redhat.com>
30140         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
30141         * math/math_private.h: Likewise.
30142         * stdlib/tst-strtod.c: Likewise.
30143         * sysdeps/i386/i486/bits/atomic.h: Likewise.
30144         * sysdeps/x86_64/bits/atomic.h: Likewise.
30146 2012-03-02  David S. Miller  <davem@davemloft.net>
30148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
30149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
30150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
30151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
30152         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
30153         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
30154         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
30155         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
30157 2012-03-02  Roland McGrath  <roland@hack.frob.com>
30159         [BZ #13792]
30160         * manual/examples/README: New file, says the example source files
30161         can be used under GPL>=2.
30162         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
30163         line containing just "*/".
30164         * manual/examples/add.c: Add copyright header (GPL>=2).
30165         * manual/examples/argp-ex1.c: Likewise.
30166         * manual/examples/argp-ex2.c: Likewise.
30167         * manual/examples/argp-ex3.c: Likewise.
30168         * manual/examples/argp-ex4.c: Likewise.
30169         * manual/examples/atexit.c: Likewise.
30170         * manual/examples/db.c: Likewise.
30171         * manual/examples/dir.c: Likewise.
30172         * manual/examples/dir2.c: Likewise.
30173         * manual/examples/execinfo.c: Likewise.
30174         * manual/examples/filecli.c: Likewise.
30175         * manual/examples/filesrv.c: Likewise.
30176         * manual/examples/fmtmsgexpl.c: Likewise.
30177         * manual/examples/genpass.c: Likewise.
30178         * manual/examples/inetcli.c: Likewise.
30179         * manual/examples/inetsrv.c: Likewise.
30180         * manual/examples/isockad.c: Likewise.
30181         * manual/examples/longopt.c: Likewise.
30182         * manual/examples/memopen.c: Likewise.
30183         * manual/examples/memstrm.c: Likewise.
30184         * manual/examples/mkfsock.c: Likewise.
30185         * manual/examples/mkisock.c: Likewise.
30186         * manual/examples/mygetpass.c: Likewise.
30187         * manual/examples/pipe.c: Likewise.
30188         * manual/examples/popen.c: Likewise.
30189         * manual/examples/rprintf.c: Likewise.
30190         * manual/examples/search.c: Likewise.
30191         * manual/examples/select.c: Likewise.
30192         * manual/examples/setjmp.c: Likewise.
30193         * manual/examples/sigh1.c: Likewise.
30194         * manual/examples/sigusr.c: Likewise.
30195         * manual/examples/stpcpy.c: Likewise.
30196         * manual/examples/strdupa.c: Likewise.
30197         * manual/examples/strftim.c: Likewise.
30198         * manual/examples/strncat.c: Likewise.
30199         * manual/examples/subopt.c: Likewise.
30200         * manual/examples/swapcontext.c: Likewise.
30201         * manual/examples/termios.c: Likewise.
30202         * manual/examples/testopt.c: Likewise.
30203         * manual/examples/testpass.c: Likewise.
30204         * manual/examples/timeval_subtract.c: Likewise.
30206         [BZ #13792]
30207         * manual/time.texi (Elapsed Time): Move timeval_subtract example
30208         function to ...
30209         * manual/timeval_subtract.c.texi: ... here, new file.
30211 2012-03-02  David S. Miller  <davem@davemloft.net>
30213         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
30215 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
30217         [BZ #3976]
30218         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
30219         (__sin): Save and restore rounding mode and use round-to-nearest
30220         for all computations.
30221         (__cos): Save and restore rounding mode and use round-to-nearest
30222         for all computations.
30223         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
30224         <fenv.h>.
30225         (tan): Save and restore rounding mode and use round-to-nearest for
30226         all computations.
30227         * math/libm-test.inc (cos_test_tonearest): New function.
30228         (cos_test_towardzero): Likewise.
30229         (cos_test_downward): Likewise.
30230         (cos_test_upward): Likewise.
30231         (sin_test_tonearest): Likewise.
30232         (sin_test_towardzero): Likewise.
30233         (sin_test_downward): Likewise.
30234         (sin_test_upward): Likewise.
30235         (tan_test_tonearest): Likewise.
30236         (tan_test_towardzero): Likewise.
30237         (tan_test_downward): Likewise.
30238         (tan_test_upward): Likewise.
30239         (main): Call the new functions.
30240         * sysdeps/i386/fpu/libm-test-ulps: Update.
30241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30243         [BZ #10135]
30244         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
30245         small n, then large n, before computing and testing k+n.
30246         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
30247         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
30248         Likewise.
30249         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
30250         Likewise.
30251         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
30252         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
30253         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
30254         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
30255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30257         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
30258         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
30259         * math/libm-test.inc (scalbn_test): Add more tests.
30260         (scalbln_test): Likewise.
30262         * manual/filesys.texi (mode_t): Describe constraints on size and
30263         signedness, not exact equivalence to a particular type.
30264         (ino_t): Likewise.
30265         (ino64_t): Likewise.
30266         (dev_t): Likewise.
30267         (nlink_t): Likewise.
30268         (blkcnt_t): Likewise.
30269         (blkcnt64_t): Likewise.
30270         * manual/llio.texi (off_t): Likewise.
30272         [BZ #3976]
30273         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
30274         (__ieee754_exp): Save and restore rounding mode and use
30275         round-to-nearest for all computations.
30276         * math/libm-test.inc (exp_test_tonearest): New function.
30277         (exp_test_towardzero): Likewise.
30278         (exp_test_downward): Likewise.
30279         (exp_test_upward): Likewise.
30280         (main): Call the new functions.
30281         * sysdeps/i386/fpu/libm-test-ulps: Update.
30282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30284 2012-03-01  Chris Demetriou  <cgd@google.com>
30286         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
30287         have predictable order.
30289 2012-03-01  David S. Miller  <davem@davemloft.net>
30291         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
30293         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
30294         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
30295         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
30296         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
30298         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
30299         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
30300         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
30301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
30302         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
30303         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
30304         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
30305         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
30306         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
30308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30310         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
30311         * sysdeps/sparc/fpu/libm-test-ulps: to here.
30312         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
30314         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
30315         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30316         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30317         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
30318         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
30319         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
30320         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
30321         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30322         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30323         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
30324         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
30325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30327         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30328         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30330         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
30331         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
30332         * sysdeps/sparc/elf/configure: Regenerated.
30334 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
30336         * configure.in (AS, LD): Require binutils 2.20 or later.
30337         * configure: Regenerated.
30338         * manual/install.texi (Tools for Compilation): Give binutils 2.20
30339         as required minimum version.
30340         * INSTALL: Regenerated.
30342         [BZ #2541]
30343         [BZ #4108]
30344         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
30345         before squaring exponent.
30346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
30347         bottom long double and 27 bits of top long double before squaring
30348         exponent.
30349         * math/libm-test.inc (erfc_test): Add more tests.
30350         * sysdeps/i386/fpu/libm-test-ulps: Update.
30351         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30354 2012-03-01  Kai Tietz  <ktietz@redhat.com>
30356         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
30357         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
30358         containing bit-fields.
30359         * soft-fp/extended.h (_FP_UNION_E): Likewise.
30360         * soft-fp/single.h (_FP_UNION_S): Likewise.
30361         * soft-fp/double.h (_FP_UNION_D): Likewise.
30363 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30365         [BZ #13786]
30366         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
30367         not include ../strcmp.S.
30368         [USE_AS_STRNCASECMP_L]: Likewise.
30369         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
30370         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
30371         * sysdeps/i386/i686/multiarch/strncase_l-c.c
30372         (__strncasecmp_l_ia32): Define as alias to
30373         __strncasecmp_l_nonascii.
30375         [BZ #5794]
30376         * math/libm-test.inc (expm1_test): Add test for bug 5794.
30377         * sysdeps/i386/fpu/libm-test-ulps: Update.
30378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30380         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
30381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30383 2012-02-29  Jeff Law  <law@redhat.com>
30385         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
30386         out of bounds read.
30388 2012-02-29  Marek Polacek  <polacek@redhat.com>
30390         [BZ #13706]
30391         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
30392         * elf/Makefile: Add rules to run tst-unused-dep.out.
30394 2012-02-28  David S. Miller  <davem@davemloft.net>
30396         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
30397         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
30398         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
30399         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
30400         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
30401         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
30403 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
30405         * math/libm-test.inc (llround_test): Move one test from
30406         lround_test.  Use TEST_f_L in moved test.
30407         (lround_test): Move misplaced test to llround_test.  Add testcase
30408         from bug 2561.
30410 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
30412         * sysdeps/x86_64/fpu/e_expf.S: New file.
30413         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
30415 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
30417         [BZ #13637]
30418         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
30419         of remain_len that may cause incomplete multi-byte character and
30420         false match.
30421         * posix/bug-regex33.c: New file.
30422         * posix/Makefile (tests): Add bug-regex33.
30424 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
30426         * manual/macros.texi: New file.
30427         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
30428         * manual/libc.texinfo: Include macros.texi.
30429         * manual/creatute.texi: Likewise.
30430         * manual/install.texi: Likewise.
30431         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
30432         @glibcadj{} in references to the GNU C Library.
30433         * manual/charset.texi: Likewise.
30434         * manual/conf.texi: Likewise.
30435         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
30436         when not using those macros.
30437         * manual/creature.texi: Likewise.
30438         * manual/crypt.texi: Likewise.
30439         * manual/errno.texi: Likewise.
30440         * manual/filesys.texi: Likewise.
30441         * manual/header.texi: Likewise.
30442         * manual/install.texi: Likewise.
30443         * manual/intro.texi: Likewise.
30444         * manual/io.texi: Likewise.
30445         * manual/job.texi: Likewise.
30446         * manual/lang.texi: Likewise.
30447         * manual/libc.texiinfo: Likewise.
30448         * manual/llio.texi: Likewise.
30449         * manual/locale.texi: Likewise.
30450         * manual/maint.texi: Likewise.
30451         * manual/math.texi: Likewise.
30452         * manual/memory.texi: Likewise.
30453         * manual/message.texi: Likewise.
30454         * manual/nss.texi: Likewise.
30455         * manual/pattern.texi: Likewise.
30456         * manual/process.texi: Likewise.
30457         * manual/resource.texi: Likewise.
30458         * manual/search.texi: Likewise.
30459         * manual/setjmp.texi: Likewise.
30460         * manual/signal.texi: Likewise.
30461         * manual/socket.texi: Likewise.
30462         * manual/startup.texi: Likewise.
30463         * manual/stdio.texi: Likewise.
30464         * manual/string.texi: Likewise.
30465         * manual/sysinfo.texi: Likewise.
30466         * manual/syslog.texi: Likewise.
30467         * manual/terminal.texi: Likewise.
30468         * manual/time.texi: Likewise.
30469         * manual/users.texi: Likewise.
30470         * INSTALL: Regenerated.
30471         * NOTES: Regenerated.
30472         * sysdeps/gnu/errlist.c: Regenerated.
30474 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30476         * include/dirent.h: Include <dirstream.h> before
30477         <dirent/dirent.h>.
30479 2012-02-28  David S. Miller  <davem@davemloft.net>
30481         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30482         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30483         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30484         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30486 2012-02-27  David S. Miller  <davem@davemloft.net>
30488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30490         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30491         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30494         frame pointer instead of stack pointer relative arg slot.
30495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30496         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30497         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30499 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30501         [BZ #3992]
30502         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30504 2012-02-27  David S. Miller  <davem@davemloft.net>
30506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30510         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30511         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30512         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30513         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30515 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30517         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30518         later.  Allow versions 5-9.
30519         * configure: Regenerated.
30520         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30521         required minimum version and 4.6 as recommended version.  Do not
30522         mention bugs in GCC 2.7 and 2.8.
30523         * INSTALL: Regenerated.
30525 2012-02-27  David S. Miller  <davem@davemloft.net>
30527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30531         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30532         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30533         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30534         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30536         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30537         manipulate bits before adding and subtracting TWO112[sx].
30538         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30540 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30542         [BZ #13775]
30543         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30544         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30545         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30546         being in POSIX, because they are in 1003.1-2008.
30548         * rt/tst-aio.c: Include <fcntl.h>.
30549         * rt/tst-aio7.c: Likewise.
30550         * rt/tst-aio64.c: Likewise.
30552         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30554 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30556         * manual/install.texi (--with-headers): Describe headers as
30557         interface headers, not private headers.
30558         (Specific advice for GNU/Linux systems): Describe use of headers
30559         from "make headers_install", not private headers from older
30560         kernels.
30561         * INSTALL: Regenerated.
30562         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30563         Change to 2.6.19.
30564         * sysdeps/unix/sysv/linux/configure: Regenerated.
30566         * manual/llio.texi (fclean): Remove documentation.
30568         * manual/Makefile (libc-texi-generated): New variable.  Include
30569         version.texi.
30570         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30571         $(libc-texi-generated), not duplicated list of files.
30572         (version.texi, stamp-version): New rules.
30573         (realclean): Remove $(libc-texi-generated), not individual files
30574         from that list.  Do not remove dir-add.texinfo.
30575         * manual/libc.texinfo: Comment out uses of edition numbers and
30576         references to printed manual.  Remove last-updated dates.
30577         (EDITION): Comment out.
30578         (ISBN): Likewise.
30579         (VERSION, UPDATED): Remove.
30580         (version.texi): Include.
30582 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30584         * sysdeps/posix/spawni.c: Include <signal.h>.
30585         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30586         * sysdeps/pthread/aio_fsync.c: Likewise.
30588 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30590         * conform/Makefile (tests): Run only when not cross-compiling and
30591         when fast-check is not defined.
30593         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30594         * conform/data/limits.h-data: Fixes for POSIX2008.
30595         * conform/run-conformtest.sh: Run all tests.
30596         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30597         headers.
30598         * include/bits/dlfcn.h: Likewise.
30599         * include/langinfo.h: Likewise.
30600         * include/monetary.h: Likewise.
30601         * include/sys/poll.h: Likewise.
30603         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30604         for __USE_GNU.
30605         * posix/spawn.h: Define __need_sigset_t.
30606         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30607         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30608         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30609         to get sigevent_t only.
30610         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30611         only for __USE_GNU.
30612         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30613         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30614         process_vm_writev only for __USE_GNU.
30615         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30617         * conform/Makefile: For now ignore errors from run-conformtest.
30618         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30619         POSIX to avoid namespace pollution.  Don't prepend headers.
30620         * conform/data/aio.h-data: Fixes for POSIX testing.
30621         * conform/data/fcntl.h-data: Likewise.
30622         * conform/data/glob.h-data: Likewise.
30623         * conform/data/grp.h-data: Likewise.
30624         * conform/data/pthread.h-data: Likewise.
30625         * conform/data/pwd.h-data: Likewise.
30626         * conform/data/signal.h-data: Likewise.
30627         * conform/data/spawn.h-data: Likewise.
30628         * conform/data/stdio.h-data: Likewise.
30629         * conform/data/stdlib.h-data: Likewise.
30630         * conform/data/stropts.h-data: Likewise.
30631         * conform/data/sys/mman.h-data: Likewise.
30632         * conform/data/sys/stat.h-data: Likewise.
30633         * conform/data/sys/types.h-data: Likewise.
30634         * conform/data/sys/wait.h-data: Likewise.
30635         * conform/data/time.h-data: Likewise.
30636         * conform/data/unistd.h-data: Likewise.
30637         * conform/data/utime.h-data: Likewise.
30639         * io/sys/stat.h: fchmod was always in POSIX.
30640         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30641         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30642         * rt/aio.h: Define __need_timespec before including <time.h>.
30643         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30644         struct.  Add forward declaration of pthread_attr_t and use it in
30645         sigevent.
30646         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30647         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30648         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30649         always remove CLK_TCK definition.
30651 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30653         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30655 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30657         * conform/run-conformtest.sh: New file.
30658         * conform/Makefile: Run run-conformtest for tests.
30659         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30660         support.
30662         * conform/data/uchar.h-data: New file.
30663         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30664         * conform/data/arpa/inet.h-data: Likewise.
30665         * conform/data/assert.h-data: Likewise.
30666         * conform/data/complex.h-data: Likewise.
30667         * conform/data/cpio.h-data: Likewise.
30668         * conform/data/ctype.h-data: Likewise.
30669         * conform/data/dirent.h-data: Likewise.
30670         * conform/data/dlfcn.h-data: Likewise.
30671         * conform/data/errno.h-data: Likewise.
30672         * conform/data/fcntl.h-data: Likewise.
30673         * conform/data/float.h-data: Likewise.
30674         * conform/data/fmtmsg.h-data: Likewise.
30675         * conform/data/fnmatch.h-data: Likewise.
30676         * conform/data/ftw.h-data: Likewise.
30677         * conform/data/glob.h-data: Likewise.
30678         * conform/data/grp.h-data: Likewise.
30679         * conform/data/iconv.h-data: Likewise.
30680         * conform/data/inttypes.h-data: Likewise.
30681         * conform/data/langinfo.h-data: Likewise.
30682         * conform/data/libgen.h-data: Likewise.
30683         * conform/data/limits.h-data: Likewise.
30684         * conform/data/locale.h-data: Likewise.
30685         * conform/data/math.h-data: Likewise.
30686         * conform/data/monetary.h-data: Likewise.
30687         * conform/data/mqueue.h-data: Likewise.
30688         * conform/data/ndbm.h-data: Likewise.
30689         * conform/data/net/if.h-data: Likewise.
30690         * conform/data/netdb.h-data: Likewise.
30691         * conform/data/netinet/in.h-data: Likewise.
30692         * conform/data/nl_types.h-data: Likewise.
30693         * conform/data/poll.h-data: Likewise.
30694         * conform/data/pthread.h-data: Likewise.
30695         * conform/data/pwd.h-data: Likewise.
30696         * conform/data/regex.h-data: Likewise.
30697         * conform/data/sched.h-data: Likewise.
30698         * conform/data/search.h-data: Likewise.
30699         * conform/data/semaphore.h-data: Likewise.
30700         * conform/data/setjmp.h-data: Likewise.
30701         * conform/data/signal.h-data: Likewise.
30702         * conform/data/spawn.h-data: Likewise.
30703         * conform/data/stdarg.h-data: Likewise.
30704         * conform/data/stdio.h-data: Likewise.
30705         * conform/data/stdlib.h-data: Likewise.
30706         * conform/data/string.h-data: Likewise.
30707         * conform/data/strings.h-data: Likewise.
30708         * conform/data/stropts.h-data: Likewise.
30709         * conform/data/sys/ipc.h-data: Likewise.
30710         * conform/data/sys/mman.h-data: Likewise.
30711         * conform/data/sys/msg.h-data: Likewise.
30712         * conform/data/sys/resource.h-data: Likewise.
30713         * conform/data/sys/select.h-data: Likewise.
30714         * conform/data/sys/sem.h-data: Likewise.
30715         * conform/data/sys/shm.h-data: Likewise.
30716         * conform/data/sys/socket.h-data: Likewise.
30717         * conform/data/sys/stat.h-data: Likewise.
30718         * conform/data/sys/statvfs.h-data: Likewise.
30719         * conform/data/sys/time.h-data: Likewise.
30720         * conform/data/sys/timeb.h-data: Likewise.
30721         * conform/data/sys/times.h-data: Likewise.
30722         * conform/data/sys/types.h-data: Likewise.
30723         * conform/data/sys/uio.h-data: Likewise.
30724         * conform/data/sys/un.h-data: Likewise.
30725         * conform/data/sys/utsname.h-data: Likewise.
30726         * conform/data/sys/wait.h-data: Likewise.
30727         * conform/data/syslog.h-data: Likewise.
30728         * conform/data/tar.h-data: Likewise.
30729         * conform/data/termios.h-data: Likewise.
30730         * conform/data/utime.h-data: Likewise.
30731         * conform/data/utmpx.h-data: Likewise.
30732         * conform/data/varargs.h-data: Likewise.
30733         * conform/data/wchar.h-data: Likewise.
30734         * conform/data/wctype.h-data: Likewise.
30735         * conform/data/wordexp.h-data: Likewise.
30737         * include/stropts.h: New file.
30738         * include/uchar.h: New file.
30739         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30740         * include/assert.h: Likewise.
30741         * include/ctype.h: Likewise.
30742         * include/dirent.h: Likewise.
30743         * include/dlfcn.h: Likewise.
30744         * include/fcntl.h: Likewise.
30745         * include/fnmatch.h: Likewise.
30746         * include/glob.h: Likewise.
30747         * include/grp.h: Likewise.
30748         * include/libio.h: Likewise.
30749         * include/locale.h: Likewise.
30750         * include/math.h: Likewise.
30751         * include/net/if.h: Likewise.
30752         * include/netdb.h: Likewise.
30753         * include/netinet/in.h: Likewise.
30754         * include/pthread.h: Likewise.
30755         * include/pwd.h: Likewise.
30756         * include/regex.h: Likewise.
30757         * include/sched.h: Likewise.
30758         * include/search.h: Likewise.
30759         * include/setjmp.h: Likewise.
30760         * include/signal.h: Likewise.
30761         * include/stdio.h: Likewise.
30762         * include/stdlib.h: Likewise.
30763         * include/string.h: Likewise.
30764         * include/sys/cdefs.h: Likewise.
30765         * include/sys/mman.h: Likewise.
30766         * include/sys/msg.h: Likewise.
30767         * include/sys/resource.h: Likewise.
30768         * include/sys/select.h: Likewise.
30769         * include/sys/socket.h: Likewise.
30770         * include/sys/stat.h: Likewise.
30771         * include/sys/statvfs.h: Likewise.
30772         * include/sys/time.h: Likewise.
30773         * include/sys/times.h: Likewise.
30774         * include/sys/uio.h: Likewise.
30775         * include/sys/utsname.h: Likewise.
30776         * include/sys/wait.h: Likewise.
30777         * include/termios.h: Likewise.
30778         * include/time.h: Likewise.
30779         * include/ulimit.h: Likewise.
30780         * include/unistd.h: Likewise.
30781         * include/utime.h: Likewise.
30782         * include/wchar.h: Likewise.
30783         * include/wctype.h: Likewise.
30784         * include/wordexp.h: Likewise.
30786         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30788         * time/time.h: TIME_UTC must be a macro.
30789         Make timespec_get available for ISO C11 only as well.
30791 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30793         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30794         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30796 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30798         * configure.in: Use -o not -a in test for unsupported multi-arch.
30800 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30802         * manual/texinfo.tex: Update to version 2012-01-19.16.
30804 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30806         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30808 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30810         [BZ #13738]
30811         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30812         * manual/fdl-1.3.texi: New file.
30813         * manual/fdl-1.1.texi: File removed.
30815         [BZ #13738]
30816         * manual/libc.texinfo (FDL_VERSION): New @set.
30817         Use it for mention of FDL in cover text.
30818         (Documentation License): Use it in @include file name.
30820 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30821             Roland McGrath  <roland@hack.frob.com>
30823         [BZ #5461]
30824         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30825         not LONG_LONG_MAX and LONG_LONG_MIN.
30826         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30827         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30828         name.
30829         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30831 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30833         [BZ #2547]
30834         [BZ #11365]
30835         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30836         manipulate bits before adding and subtracting TWO23[sx].
30837         * math/libm-test.inc (nearbyint_test): Add more tests.
30839 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30841         [BZ #2548]
30842         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30843         bits before adding and subtracting TWO23[sx].
30844         * math/libm-test.inc (rint_test): Add more tests.
30845         (rint_test_tonearest): Likewise.
30846         (rint_test_towardzero): Likewise.
30847         (rint_test_downward): Likewise.
30848         (rint_test_upward: Likewise.
30850 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30852         [BZ #10110]
30853         * include/stdc-predef.h: New file.  Extracted from features.h.
30854         * include/features.h: Include stdc-predef.h.
30855         * Makefile (headers): Add stdc-predef.h.
30856         * CONFORMANCE (Compiler limitations): Update.
30858 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30860         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30862 2012-02-21  David S. Miller  <davem@davemloft.net>
30864         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30865         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30867 2012-02-20  David S. Miller  <davem@davemloft.net>
30869         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30870         using a normal save/restore sequence, rather than allocating a
30871         dummy stack frame just to store a frame pointer and restore.
30872         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30874 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30876         * manual/install.texi: Fix stray word in line-wrapped comment.
30878 2012-02-20  David S. Miller  <davem@davemloft.net>
30880         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30881         both binutils and gcc support GOTDATA.
30883         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30884         "rd %pc" in the PIC register setup sequences.
30886         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30887         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30888         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30889         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30890         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30891         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30892         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30893         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30894         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30895         (SYSCALL_ERROR_HANDLER): Likewise.
30896         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30899         (SYSCALL_ERROR_HANDLER): Likewise.
30901         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30902         (HAVE_GCC_GOTDATA): New.
30903         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30904         relocation support in both binutils and gcc.
30905         * sysdeps/sparc/elf/configure: Regenerate.
30907         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30908         * sysdeps/sparc/sparc32/elf/configure: Delete.
30909         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30910         * sysdeps/sparc/sparc64/elf/configure: Delete.
30911         * sysdeps/sparc/elf/configure.in: New file.
30912         * sysdeps/sparc/elf/configure: Generate.
30914         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30915         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30916         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30917         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30918         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30920 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30922         * manual/install.texi: Do not mention specific glibc version
30923         numbers.
30924         * manual/libc.texinfo (VERSION, UPDATED): Update.
30925         (@copying): Use @copyright{} and range of years.
30927 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30929         [BZ #13695]
30930         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30931         [crti.S not in sysdirs] (generated): Do not append.
30932         [crti.S not in sysdirs] (omit-deps): Likewise.
30933         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30934         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30935         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30936         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30937         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30938         Likewise.
30939         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30940         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30941         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30942         * csu/defs.awk: Remove file.
30943         * sysdeps/generic/initfini.c: Likewise.
30944         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30945         variable.
30946         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30947         Likewise.
30949 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30951         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30952         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30953         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30954         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30955         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30956         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30957         <bits/epoll.h>.
30958         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30959         (__EPOLL_PACKED): Define to empty if not defined by
30960         <bits/epoll.h>.
30961         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30962         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30963         bits/epoll.h.
30965 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30967         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30968         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30969         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30970         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30971         <bits/timerfd.h>.
30972         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30974         bits/timerfd.h.
30976 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30978         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30979         in C locale.
30980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30981         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30982         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30985 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30987         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30988         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30990 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30992         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30993         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30994         defined.
30995         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30996         Likewise.
30997         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30998         entry for 2.16.
31000 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
31002         * math/w_acos.c: Use non-signaling floating-point comparisons.
31003         * math/w_acosf.c: Likewise.
31004         * math/w_acosh.c: Likewise.
31005         * math/w_acoshf.c: Likewise.
31006         * math/w_acoshl.c: Likewise.
31007         * math/w_acosl.c: Likewise.
31008         * math/w_asin.c: Likewise.
31009         * math/w_asinf.c: Likewise.
31010         * math/w_asinl.c: Likewise.
31011         * math/w_atanh.c: Likewise.
31012         * math/w_atanhf.c: Likewise.
31013         * math/w_atanhl.c: Likewise.
31014         * math/w_exp2.c: Likewise.
31015         * math/w_exp2f.c: Likewise.
31016         * math/w_exp2l.c: Likewise.
31017         * math/w_j0.c: Likewise.
31018         * math/w_j0f.c: Likewise.
31019         * math/w_j0l.c: Likewise.
31020         * math/w_j1.c: Likewise.
31021         * math/w_j1f.c: Likewise.
31022         * math/w_j1l.c: Likewise.
31023         * math/w_jn.c: Likewise.
31024         * math/w_jnf.c: Likewise.
31025         * math/w_log.c: Likewise.
31026         * math/w_log10.c: Likewise.
31027         * math/w_log10f.c: Likewise.
31028         * math/w_log10l.c: Likewise.
31029         * math/w_log2.c: Likewise.
31030         * math/w_log2f.c: Likewise.
31031         * math/w_log2l.c: Likewise.
31032         * math/w_logf.c: Likewise.
31033         * math/w_logl.c: Likewise.
31034         * math/w_sqrt.c: Likewise.
31035         * math/w_sqrtf.c: Likewise.
31036         * math/w_sqrtl.c: Likewise.
31037         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31038         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31039         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31040         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31041         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31043 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31045         [BZ #9739]
31046         * manual/string.texi (strnlen): Use correct parameter name in
31047         equivalent expression.
31049 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31051         [BZ #11174]
31052         * manual/users.texi (seteuid): Consistently use neweuid for
31053         argument name.
31055 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
31057         [BZ #13704]
31058         * manual/nss.texi (Services in the NSS configuration): Correct
31059         list of services in example configuration file.
31061 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
31063         [BZ #11322]
31064         * manual/arith.texi: Remove statements about negative zero
31065         behaving identically to zero.
31067 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31069         [BZ #5993]
31070         * manual/install.texi: Do not document upgrading from libc5.
31072 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
31074         [BZ #4596]
31075         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
31077 2012-02-18  David S. Miller  <davem@davemloft.net>
31079         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
31080         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
31081         %o7 across the call.
31082         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
31083         instead.
31084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
31085         SETUP_PIC_REG_LEAF.
31086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31087         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
31088         * sysdeps/sparc/crtn.S: Likewise.
31090 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
31092         * aout/Makefile: Remove.
31094 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
31096         [BZ #13058]
31097         * manual/examples/argp-ex1.c (main): Format definition in GNU
31098         style.
31099         * manual/examples/argp-ex2.c (main): Likewise.
31100         * manual/examples/argp-ex3.c (main): Likewise.
31101         * manual/examples/argp-ex4.c (main): Likewise.
31102         * manual/examples/longopt.c (main): Use new-style prototype
31103         definition.
31104         * manual/examples/strncat.c (main): Specify return type and use
31105         (void) for arguments.
31106         * manual/examples/subopt.c (main): Use char **argv argument.
31108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31110         [BZ #5077]
31111         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
31112         rounding modes.
31114 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
31116         [BZ #6907]
31117         * manual/string.texi (strchr): Change when strchrnul is
31118         recommended.
31120 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
31122         [BZ #174]
31123         * manual/locale.texi (setlocale): Document LOCPATH.
31125 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31127         [BZ #10210]
31128         * manual/process.texi (execle): Move @dots{} before last argument.
31130 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
31132         [BZ #12047]
31133         * manual/charset.texi (Generic Charset Conversion): Fix typo
31134         (LC_TYPE -> LC_CTYPE).
31136 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
31138         [BZ #5805]
31139         * manual/arith.texi (scalbn): Use @var{} on parameter names.
31140         (scalbnf): Likewise.
31141         (scalbnl): Likewise.
31142         (scalbln): Likewise.
31143         (scalblnf): Likewise.
31144         (scalblnl): Likewise.
31145         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
31146         (vwarnx): Likewise.
31147         (verr): Likewise.
31148         (verrx): Likewise.
31149         * manual/filesys.texi (telldir): Use braces around return type.
31150         * manual/llio.texi (mmap): Add space after comma.
31151         (mmap64): Likewise.
31152         * manual/math.texi (jn): Use @var{} on parameter names.
31153         (jnf): Likewise.
31154         (jnl): Likewise.
31155         (yn): Likewise.
31156         (ynf): Likewise.
31157         (ynl): Likewise.
31158         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
31159         line.
31160         * manual/resource.texi (ulimit): Use @dots{} instead of literal
31161         "...".
31162         (sched_get_priority_min): Remove semicolon on @deftypefun line.
31163         (sched_get_priority_max): Likewise.
31164         * manual/signal.texi (sigvec): Add space after comma.
31165         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
31166         names.
31167         (if_indextoname): Likewise.
31168         (if_freenameindex): Likewise.
31169         (sendto): Use ',' instead of '.' in prototype.
31170         * manual/startup.texi (syscall): Use @dots{} instead of literal
31171         "...".
31172         * manual/stdio.texi (__fpending): Separate initial words of
31173         paragraph from @deftypefun line.
31174         * manual/syslog.texi (syslog): Use @dots{} instead of literal
31175         "...".
31176         (vsyslog): Use @var{} on parameter names.
31177         * manual/terminal.texi (stty): Use @var{} on parameter names.
31178         * manual/users.texi (getutmp): Use @var{} on parameter names.
31179         (getutmpx): Likewise.
31181 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31183         [BZ #6884]
31184         * manual/stdio.texi (fopen): Fix typos in description of
31185         ",ccs=STRING".
31187 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
31189         [BZ #4026]
31190         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
31191         get clock_id definition.
31193 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
31195         [BZ #4822]
31196         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
31197         (madvise): Cast every argument to void on its own.
31199 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31201         [BZ #9902]
31202         * manual/startup.texi (Exit Status): Fix typo.
31204 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
31206         [BZ #10140]
31207         * manual/examples/argp-ex1.c: Include <stdlib.h>.
31208         * manual/examples/argp-ex2.c: Likewise.
31209         * manual/examples/argp-ex3.c: Likewise.
31211 2012-02-16  Richard Henderson  <rth@redhat.com>
31213         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
31214         * sysdeps/s390/s390-32/initfini.c: Remove.
31215         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
31216         * sysdeps/s390/s390-64/initfini.c: Remove.
31218 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31220         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
31221         compiler output for sysdeps/generic/initfini.c.
31222         * sysdeps/sh/elf/initfini.c: Remove file.
31224 2012-02-16  David S. Miller  <davem@davemloft.net>
31226         [BZ #11494]
31227         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
31229         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
31230         * sysdeps/sparc/crti.S: New file.
31231         * sysdeps/sparc/crtn.S: New file.
31232         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
31233         * sysdeps/sparc/sparc64/Makefile: Likewise.
31235 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
31237         [BZ #3335]
31238         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
31240 2012-02-15  Roland McGrath  <roland@hack.frob.com>
31242         [BZ #4822]
31243         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
31245         * mach/devstream.c (cookie_io_functions_t): Macro removed.
31246         (write, read, close): Likewise.
31247         Patch by Aurelien Jarno <aurelien@aurel32.net>.
31249 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
31251         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
31252         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
31253         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
31254         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
31255         <bits/signalfd.h>.
31256         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
31257         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31258         bits/signalfd.h.
31260 2012-02-14  Marek Polacek  <polacek@redhat.com>
31262         * sysdeps/x86_64/crti.S: New file.
31263         * sysdeps/x86_64/crtn.S: New file.
31264         * sysdeps/x86_64/elf/initfini.c: Remove file.
31266 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31268         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
31269         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
31270         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
31271         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
31272         <bits/inotify.h>.
31273         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
31274         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31275         bits/inotify.h.
31277 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
31279         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
31280         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
31281         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
31282         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
31283         <bits/eventfd.h>.
31284         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
31285         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31286         bits/eventfd.h.
31288 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
31290         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
31291         __feraiseexcept instead of feraiseexcept.
31293         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
31294         nanosleep invocations.
31295         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
31296         strings, and add error checking for a nanosleep invocations.
31298 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
31300         Replace FSF snail mail address with URLs, as per GNU coding standards.
31301         Most of the snail mail addresses were wrong anyway, and omitting
31302         them makes the source code easier to maintain.  Almost all of the
31303         changes are to license notices and to locale LC_IDENTIFICATION
31304         addresses, except for this one:
31305         * manual/libc.texinfo: In "Published by", give the FSF's URL,
31306         not its snail mail address.
31308 2012-02-09  Richard Henderson  <rth@twiddle.net>
31310         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
31311         of kernel-features.h.
31313         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
31315 2012-02-08  Marek Polacek  <polacek@redhat.com>
31317         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
31318         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
31319         * sysdeps/gnu/_G_config.h: Likewise.
31320         * sysdeps/generic/_G_config.h: Likewise.
31322 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
31324         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
31325         tests.
31326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31328         * sysdeps/powerpc/powerpc32/crti.S: New file.
31329         * sysdeps/powerpc/powerpc32/crtn.S: New file.
31330         * sysdeps/powerpc/powerpc64/crti.S: New file.
31331         * sysdeps/powerpc/powerpc64/crtn.S: New file.
31333         * Makeconfig (have-initfini): Don't set.
31334         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
31335         * configure.in (nopic_initfini): Don't substitute.
31336         * config.h.in (HAVE_INITFINI): Don't #undef.
31337         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
31338         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
31340 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
31342         Support crti.S and crtn.S provided directly by architectures.
31343         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
31344         [crti.S in sysdirs] (omit-deps): Likewise.
31345         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
31346         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
31347         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
31348         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
31349         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
31350         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
31351         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
31352         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
31353         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
31354         compiler output for sysdeps/generic/initfini.c.
31355         * sysdeps/i386/elf/Makefile: Remove file.
31356         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
31358 2012-02-07  Marek Polacek  <polacek@redhat.com>
31360         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
31361         * sysdeps/gnu/_G_config.h: Likewise.
31362         * sysdeps/mach/hurd/_G_config.h: Likewise.
31364 2012-02-07  Marek Polacek  <polacek@redhat.com>
31366         * math/Makefile (tests): Add tst-CMPLX2.
31367         * math/tst-CMPLX2.c: New file.
31369 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
31371         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31373         * math/libm-test.inc (jn_test): Add missing L suffix.
31375 2012-02-06  Marek Polacek  <polacek@redhat.com>
31377         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
31378         * sysdeps/i386/fpu/e_powf.S: Likewise.
31379         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31380         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31381         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31382         * sysdeps/i386/fpu/e_pow.S: Likewise.
31383         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31384         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31385         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31386         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31387         * sysdeps/i386/fpu/e_log2.S: Likewise.
31388         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31389         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31390         * sysdeps/i386/fpu/e_powl.S: Likewise.
31391         * sysdeps/i386/fpu/s_log1p.S: Likewise.
31392         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31393         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31394         * sysdeps/i386/fpu/e_logl.S: Likewise.
31395         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31396         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
31397         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31398         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31399         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31400         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31401         * sysdeps/i386/fpu/e_log.S: Likewise.
31402         * sysdeps/i386/fpu/s_cexp.S: Likewise.
31403         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31404         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
31405         * sysdeps/i386/fpu/e_logf.S: Likewise.
31406         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31407         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31408         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
31409         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31410         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31411         * sysdeps/i386/fpu/e_log10.S: Likewise.
31412         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31413         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31414         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31415         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31416         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31417         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31418         * sysdeps/i386/asm-syntax.h: Likewise.
31419         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31421         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31422         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
31423         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
31424         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31425         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31426         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31427         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31428         * sysdeps/powerpc/sysdep.h: Likewise.
31429         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
31430         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31432 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31434         [BZ #411]
31435         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
31437 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
31439         * sysdeps/i386/sysdep.h: Include <features.h>.
31440         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
31441         version.
31443 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
31445         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
31446         Define.
31447         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
31448         LOAD_PIC_REG_STR.
31450 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31452         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
31453         (SETUP_PIC_REG): Use GET_PC_THUNK.
31454         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
31455         macro.
31457 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31459         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
31460         for non-PIC compilation.
31461         (SETUP_PIC_REG): Add .p2align directive.
31462         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31463         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31464         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31465         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31466         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31467         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31468         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31469         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31470         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31471         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31472         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31473         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31474         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31475         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31476         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31477         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31478         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31479         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31480         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31481         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31482         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31483         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31484         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31485         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31487         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31488         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31489         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31490         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31491         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31492         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31493         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31494         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31495         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31496         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31497         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31498         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31499         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31500         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31501         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31502         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31504 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31506         * math/tst-CMPLX.c: Include <stdio.h>.
31508 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31510         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31511         float.
31512         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31513         * sysdeps/sparc/bits/mathdef.h: Likewise.
31515 2012-01-31  Marek Polacek  <polacek@redhat.com>
31517         * libio/libio.h: Don't define _PARAMS.
31518         * locale/programs/config.h: Don't define PARAMS.
31519         * stdlib/strtol_l.c: Likewise.
31520         (__strtol_l): Remove PARAMS from the prototype.
31522 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31524         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31525         names.  Just use the correct names.  Remove unnecessary wrapper
31526         functions.
31527         * malloc/arena.c: Likewise.
31528         * malloc/hooks.c: Likewise.
31530         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31531         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31532         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31534 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31536         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31537         into tail calls.
31538         (update_get_addr): New function.
31539         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31540         GET_ADDR_MODULE parameter.
31542 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31544         * crypt/cert.c: Remove __STDC__ conditionals.
31545         * crypt/crypt-entry.c: Likewise.
31546         * crypt/crypt_util.c: Likewise.
31547         * libio/filedoalloc.c: Likewise.
31548         * libio/fileops.c: Likewise.
31549         * libio/genops.c: Likewise.
31550         * libio/iofclose.c: Likewise.
31551         * libio/iofdopen.c: Likewise.
31552         * libio/iofopen.c: Likewise.
31553         * libio/iofopen64.c: Likewise.
31554         * libio/iogetdelim.c: Likewise.
31555         * libio/iopopen.c: Likewise.
31556         * libio/obprintf.c: Likewise.
31557         * libio/oldfileops.c: Likewise.
31558         * libio/oldiofclose.c: Likewise.
31559         * libio/oldiofdopen.c: Likewise.
31560         * libio/oldiofopen.c: Likewise.
31561         * libio/oldiopopen.c: Likewise.
31562         * libio/wfiledoalloc.c: Likewise.
31563         * libio/wgenops.c: Likewise.
31564         * locale/programs/xmalloc.c: Likewise.
31565         * misc/syslog.c: Likewise.
31566         * stdio-common/xbug.c: Likewise.
31567         * string/memchr.c: Likewise.
31568         * string/memcmp.c: Likewise.
31569         * string/memrchr.c: Likewise.
31570         * string/rawmemchr.c: Likewise.
31571         * sysdeps/posix/getcwd.c: Likewise.
31572         * time/strftime_l.c: Likewise.
31574 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31576         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31577         * config.make.in (config-cflags-sse2avx): Define.
31578         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31579         Fix typo.
31581 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31583         * scripts/config.guess: Update from upstream config git repository.
31584         * scripts/config.sub: Likewise.
31586 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31588         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31589         (EM_NUM): Update.
31590         (R_TILEPRO_*, R_TILEGX_*): New macros.
31592         * scripts/firstversions.awk: Fix bug in version range handling.
31594         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31596         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31598         * include/sys/epoll.h: New file.
31599         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31600         libc_hidden_def.
31602 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31604         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31605         Avoid unnecessary __WORDSIZE == 64 test.
31606         (fmaxf): Use VEX format if possible.
31607         (fmax): Likewise.
31608         (fminf): Likewise.
31609         (fmin): Likewise.
31611         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31612         * math/math_private.h: Remove libc_fegetround* and
31613         libc_fesetround*.
31614         * sysdeps/i386/configure.in: Check for -msse2avx.
31615         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31616         also if SSE2AVX is defined.
31617         Remove libc_fegetround* and libc_fesetround*.
31618         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31619         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31620         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31621         of HAS_YMM_USABLE.
31622         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31623         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31624         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31625         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31626         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31628         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31630 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31632         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31633         size is not set.
31634         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31636 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31638         [BZ #13618]
31639         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31640         relocation.
31641         * Makeconfig (libm): Define.
31642         * elf/Makefile: Add rules to build and run tst-relsort1.
31643         * elf/tst-relsort1.c: New file.
31644         * elf/tst-relsort1mod1.c: New file.
31645         * elf/tst-relsort1mod2.c: New file.
31647 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31649         * math/s_ldexp.c: Remove __STDC__ conditionals.
31650         * math/s_ldexpf.c: Likewise.
31651         * math/s_ldexpl.c: Likewise.
31652         * math/s_nextafter.c: Likewise.
31653         * math/s_nexttowardf.c: Likewise.
31654         * math/s_significand.c: Likewise.
31655         * math/s_significandf.c: Likewise.
31656         * math/s_significandl.c: Likewise.
31657         * math/w_jnl.c: Likewise.
31658         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31659         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31660         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31661         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31662         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31663         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31664         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31665         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31666         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31667         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31668         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31669         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31670         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31671         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31672         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31673         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31674         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31675         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31677         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31678         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31679         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31680         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31681         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31682         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31683         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31684         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31685         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31686         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31687         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31688         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31689         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31690         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31691         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31692         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31693         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31694         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31695         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31696         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31697         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31698         * sysdeps/ieee754/k_standard.c: Likewise.
31699         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31701         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31702         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31703         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31704         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31705         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31706         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31707         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31708         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31709         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31710         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31711         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31712         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31713         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31714         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31715         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31716         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31717         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31718         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31719         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31720         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31721         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31722         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31723         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31724         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31725         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31726         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31728         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31729         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31730         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31731         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31732         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31733         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31734         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31735         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31737         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31738         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31739         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31740         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31741         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31742         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31743         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31744         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31745         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31748         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31749         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31752         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31753         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31754         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31755         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31756         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31757         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31758         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31759         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31760         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31761         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31762         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31763         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31764         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31765         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31766         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31767         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31768         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31769         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31770         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31771         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31772         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31773         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31774         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31775         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31776         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31777         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31778         * sysdeps/ieee754/s_matherr.c: Likewise.
31779         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31780         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31781         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31782         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31784 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31786         * crypt/md5.h: Remove __STDC__ conditionals.
31787         * libio/libioP.h: Likewise.
31788         * locale/programs/config.h: Likewise.
31789         * sysdeps/generic/sysdep.h: Likewise.
31790         * sysdeps/i386/asm-syntax.h: Likewise.
31791         * sysdeps/s390/asm-syntax.h: Likewise.
31792         * sysdeps/unix/sysdep.h: Likewise.
31793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31796 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31798         * libio/libio.h: Remove __STDC__ conditionals.
31799         * malloc/obstack.h: Likewise.
31800         * math/complex.h: Likewise.
31801         * math/math.h: Likewise.
31802         * sysdeps/generic/_G_config.h: Likewise.
31803         * sysdeps/gnu/_G_config.h: Likewise.
31804         * sysdeps/mach/hurd/_G_config.h: Likewise.
31805         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31806         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31807         * sysdeps/sparc/bits/mathdef.h: Likewise.
31809 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31811         [BZ #13583]
31812         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31813         Clean up HAS_* macros.
31814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31815         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31816         possible.
31817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31818         HAS_AVX.
31819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31822         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31823         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31825 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31827         * elf/tst-unique3.cc (gets): Remove declaration.
31828         * elf/tst-unique3lib.cc (gets): Likewise.
31829         * elf/tst-unique3lib2.cc (gets): Likewise.
31830         * elf/tst-unique4.cc (gets): Likewise.
31832 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31834         * include/stdio.h: Add C++ protection.  Add gets declarations and
31835         definitions.
31836         * debug/tst-chk1.c: Don't declare gets here.
31837         * stdio-common/tst-gets.c: Likewise.
31839 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31841         * posix/glob: Remove directory.
31843 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31845         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31847 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31849         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31850         of the non-standard EPFNOSUPPORT.
31852 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31854         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31855         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31856         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31858 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31860         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31862 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31864         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31865         transient errors.
31866         * nscd/grpcache.c (cache_addgr): Likewise.
31867         * nscd/hstcache.c (cache_addhst): Likewise.
31868         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31869         * nscd/pwdcache.c (cache_addpw): Likewise.
31870         * nscd/servicescache.c (cache_addserv): Likewise.
31872 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31874         * malloc/malloc.c: Various cleanups.
31875         * malloc/hooks.c: Likewise.
31877         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31878         * stdlib/bug-fmtmsg1.c: New file.
31880         * stdlib/fmtmsg.c (init): Add missing unlock.
31881         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31883 2012-01-12  Marek Polacek  <polacek@redhat.com>
31885         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31886         and _GNU_SOURCE.
31888 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31890         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31891         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31892         macro to ensure uniqueness of label name.
31893         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31894         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31896 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31898         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31900         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31901         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31902         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31903         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31905 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31907         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31909         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31910         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31911         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31913         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31915         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31916         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31917         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31920         * math/bits/math-finite.h: Add ldexp support.
31922 2012-01-10  Marek Polacek  <polacek@redhat.com>
31924         * locale/programs/localedef.h (show_archive_content): Add noreturn
31925         attribute.
31927 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31929         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31931 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31933         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31935         * io/Makefile (headers): Add bits/poll2.h.
31937 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31940         typo #include statement.
31942 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31944         * include/sys/cdefs.h: Define __attribute_alloc_size.
31945         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31946         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31947         * elf/pldd.c: Likewise.
31948         * iconv/iconv_charmap.c: Likewise.
31949         * iconv/iconvconfig.c: Likewise.
31950         * iconv/strtab.c: Likewise.
31951         * locale/programs/locale.c: Likewise.
31952         * locale/programs/localedef.h: Likewise.
31953         * locale/programs/simple-hash.c: Likewise.
31954         * nscd/nscd.h: Likewise.
31955         * nss/makedb.c: Likewise.
31956         * sysdeps/generic/ldconfig.h: Likewise.
31957         * locale/programs/localedef.c: Remove xmalloc prototype.
31958         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31960 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31962         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31963         appropriate.
31965 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31967         * math/Makefile (tests): Add tst-CMPLX.
31968         * math/tst-CMPLX.c: New file.
31970         * math/complex.h (CMPLXL): Fix typo.
31972         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31973         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31974         GLIBC_2.16.
31975         * debug/tst-chk1.c: Add poll and ppoll tests.
31976         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31977         * include/sys/poll.h: Add hidden proto for ppoll.
31978         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31979         * sysdeps/mach/hurd/ppoll.c: Likewise.
31980         * io/ppoll.c: Likewise.
31981         * debug/poll_chk.c: New file.
31982         * debug/ppoll_chk.c: New file.
31983         * include/bits/poll2.h: New file.
31984         * io/bits/poll2.h: New file.
31986         [BZ #1350]
31987         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31989         * configure.in: static is always set to yes.  Remove.
31990         * config.make.in: Don't set build-static.
31991         * Makeconfig: Remove use of build-static.
31992         * dlfcn/Makefile: Likewise.
31993         * elf/Makefile: Likewise.
31994         * math/Makefile: Likewise.
31995         * misc/Makefile: Likewise.
31996         * nptl/Makefile: Likewise.
31997         * sysdeps/mach/hurd/Makefile: Likewise.
31999         * configure.in: PWD_P is not used anymore.
32000         * config.make.in: Remove PWD_P entry.
32002         * configure.in: Remove last remnants of RANLIB.
32003         No need to check for signed size_t anymore.
32004         Don't set libc_commonpagesize and libc_relro_required here for Alpha
32005         and IA-64.
32006         Remove __builtin_expect test because we require at least gcc 3.4.
32007         * aclocal.m4: Likewise.
32009         * wcsmbs/mbrtoc16.c: Implement using towc function.
32010         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
32011         * wcsmbs/wcsmbsload.c: Likewise.
32012         * iconv/gconv_simple.c: Likewise.
32013         * iconv/gconv_int.h: Likewise.
32014         * iconv/gconv_builtin.h: Likewise.
32015         * iconv/iconv_prog.c: Remove CHAR16 handling.
32017         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
32019         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
32021         * configure.in: Remove --with-elf and --enable-bounded options.
32022         Dont set base_machine for ia64.  More non-ELF conditions removed.
32023         Remove testing and setting of leading underscore information.
32024         * config.make.in (build-bounded): Set to no.
32025         * config.h.in: Remove NO_UNDERSCORES entry.
32026         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
32027         them.
32028         * csu/start.c: Remove !NO_UNDERSCORE code.
32029         * locale/localeinfo.h: Likewise.
32030         * sysdeps/generic/machine-gmon.h: Likewise.
32031         * sysdeps/generic/sysdep.h: Likewise.
32032         * sysdeps/i386/sysdep.h: Likewise.
32033         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32034         * sysdeps/mach/sysdep.h: Likewise.
32035         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32036         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32037         * sysdeps/sh/sysdep.h: Likewise.
32038         * sysdeps/sparc/sparc32/alloca.S: Likewise.
32039         * sysdeps/unix/i386/sysdep.S: Likewise.
32040         * sysdeps/unix/sparc/start.c: Likewise.
32041         * sysdeps/unix/sparc/sysdep.S: Likewise.
32042         * sysdeps/unix/sparc/sysdep.h: Likewise.
32043         * sysdeps/unix/start.c: Likewise.
32044         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32045         * sysdeps/x86_64/sysdep.h: Likewise.
32047 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
32049         [BZ #13553]
32050         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
32051         for non-gcc.
32052         * argp/argp-fmtstream.h: Use const instead __const.
32053         * argp/argp.h: Likewise.
32054         * assert/assert.h: Likewise.
32055         * bits/fenv.h: Likewise.
32056         * bits/sched.h: Likewise.
32057         * bits/sigset.h: Likewise.
32058         * bits/sigthread.h: Likewise.
32059         * catgets/nl_types.h: Likewise.
32060         * conform/data/pthread.h-data: Likewise.
32061         * crypt/crypt-private.h: Likewise.
32062         * crypt/crypt.h: Likewise.
32063         * crypt/crypt_util.c: Likewise.
32064         * ctype/ctype.h: Likewise.
32065         * debug/execinfo.h: Likewise.
32066         * debug/mbsnrtowcs_chk.c: Likewise.
32067         * debug/mbsrtowcs_chk.c: Likewise.
32068         * debug/wcsnrtombs_chk.c: Likewise.
32069         * debug/wcsrtombs_chk.c: Likewise.
32070         * debug/wcstombs_chk.c: Likewise.
32071         * dirent/dirent.h: Likewise.
32072         * dlfcn/dlfcn.h: Likewise.
32073         * elf/neededtest4.c: Likewise.
32074         * grp/grp.h: Likewise.
32075         * gshadow/gshadow.h: Likewise.
32076         * iconv/gconv.h: Likewise.
32077         * iconv/gconv_int.h: Likewise.
32078         * iconv/gconv_simple.c: Likewise.
32079         * iconv/iconv.h: Likewise.
32080         * iconv/loop.c: Likewise.
32081         * iconv/skeleton.c: Likewise.
32082         * include/aio.h: Likewise.
32083         * include/aliases.h: Likewise.
32084         * include/argz.h: Likewise.
32085         * include/arpa/inet.h: Likewise.
32086         * include/assert.h: Likewise.
32087         * include/dirent.h: Likewise.
32088         * include/dlfcn.h: Likewise.
32089         * include/execinfo.h: Likewise.
32090         * include/fcntl.h: Likewise.
32091         * include/fenv.h: Likewise.
32092         * include/glob.h: Likewise.
32093         * include/grp.h: Likewise.
32094         * include/libintl.h: Likewise.
32095         * include/mntent.h: Likewise.
32096         * include/netdb.h: Likewise.
32097         * include/pwd.h: Likewise.
32098         * include/rpc/netdb.h: Likewise.
32099         * include/sched.h: Likewise.
32100         * include/search.h: Likewise.
32101         * include/shadow.h: Likewise.
32102         * include/signal.h: Likewise.
32103         * include/stdio.h: Likewise.
32104         * include/stdlib.h: Likewise.
32105         * include/string.h: Likewise.
32106         * include/sys/socket.h: Likewise.
32107         * include/sys/stat.h: Likewise.
32108         * include/sys/statfs.h: Likewise.
32109         * include/sys/statvfs.h: Likewise.
32110         * include/sys/syslog.h: Likewise.
32111         * include/sys/time.h: Likewise.
32112         * include/sys/uio.h: Likewise.
32113         * include/time.h: Likewise.
32114         * include/unistd.h: Likewise.
32115         * include/utmp.h: Likewise.
32116         * include/wchar.h: Likewise.
32117         * include/wctype.h: Likewise.
32118         * inet/aliases.h: Likewise.
32119         * inet/arpa/inet.h: Likewise.
32120         * inet/netinet/ether.h: Likewise.
32121         * inet/netinet/in.h: Likewise.
32122         * intl/libintl.h: Likewise.
32123         * io/bits/fcntl2.h: Likewise.
32124         * io/fcntl.h: Likewise.
32125         * io/ftw.h: Likewise.
32126         * io/sys/poll.h: Likewise.
32127         * io/sys/stat.h: Likewise.
32128         * io/sys/statfs.h: Likewise.
32129         * io/sys/statvfs.h: Likewise.
32130         * io/utime.h: Likewise.
32131         * libio/bits/stdio.h: Likewise.
32132         * libio/bits/stdio2.h: Likewise.
32133         * libio/libio.h: Likewise.
32134         * libio/libioP.h: Likewise.
32135         * libio/stdio.h: Likewise.
32136         * locale/lc-ctype.c: Likewise.
32137         * locale/locale.h: Likewise.
32138         * login/utmp.h: Likewise.
32139         * malloc/arena.c: Likewise.
32140         * malloc/malloc.c: Likewise.
32141         * malloc/malloc.h: Likewise.
32142         * malloc/mcheck.c: Likewise.
32143         * malloc/mtrace.c: Likewise.
32144         * math/bits/mathcalls.h: Likewise.
32145         * math/fenv.h: Likewise.
32146         * math/math_private.h: Likewise.
32147         * misc/bits/error.h: Likewise.
32148         * misc/bits/syslog.h: Likewise.
32149         * misc/err.h: Likewise.
32150         * misc/error.h: Likewise.
32151         * misc/fstab.h: Likewise.
32152         * misc/mntent.h: Likewise.
32153         * misc/regexp.h: Likewise.
32154         * misc/search.h: Likewise.
32155         * misc/sgtty.h: Likewise.
32156         * misc/sys/mman.h: Likewise.
32157         * misc/sys/syslog.h: Likewise.
32158         * misc/sys/uio.h: Likewise.
32159         * misc/sys/xattr.h: Likewise.
32160         * misc/ttyent.h: Likewise.
32161         * nis/rpcsvc/ypclnt.h: Likewise.
32162         * nss/nss.h: Likewise.
32163         * posix/bits/unistd.h: Likewise.
32164         * posix/fnmatch.h: Likewise.
32165         * posix/glob.h: Likewise.
32166         * posix/sched.h: Likewise.
32167         * posix/spawn.h: Likewise.
32168         * posix/sys/wait.h: Likewise.
32169         * posix/unistd.h: Likewise.
32170         * posix/wordexp.h: Likewise.
32171         * pwd/pwd.h: Likewise.
32172         * resolv/netdb.h: Likewise.
32173         * resource/sys/resource.h: Likewise.
32174         * rt/aio.h: Likewise.
32175         * rt/bits/mqueue2.h: Likewise.
32176         * rt/mqueue.h: Likewise.
32177         * shadow/shadow.h: Likewise.
32178         * signal/signal.h: Likewise.
32179         * socket/send.c: Likewise.
32180         * socket/sendto.c: Likewise.
32181         * socket/sys/socket.h: Likewise.
32182         * stdio-common/printf.h: Likewise.
32183         * stdlib/bits/stdlib.h: Likewise.
32184         * stdlib/fmtmsg.h: Likewise.
32185         * stdlib/monetary.h: Likewise.
32186         * stdlib/stdlib.h: Likewise.
32187         * stdlib/ucontext.h: Likewise.
32188         * streams/stropts.h: Likewise.
32189         * string/argz.h: Likewise.
32190         * string/bits/string2.h: Likewise.
32191         * string/string.h: Likewise.
32192         * string/strings.h: Likewise.
32193         * sunrpc/rpc/auth.h: Likewise.
32194         * sunrpc/rpc/auth_des.h: Likewise.
32195         * sunrpc/rpc/clnt.h: Likewise.
32196         * sunrpc/rpc/netdb.h: Likewise.
32197         * sunrpc/rpc/pmap_clnt.h: Likewise.
32198         * sunrpc/rpc/xdr.h: Likewise.
32199         * sysdeps/generic/inttypes.h: Likewise.
32200         * sysdeps/generic/net/if.h: Likewise.
32201         * sysdeps/generic/sys/swap.h: Likewise.
32202         * sysdeps/gnu/net/if.h: Likewise.
32203         * sysdeps/gnu/utmpx.h: Likewise.
32204         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
32205         * sysdeps/i386/i486/bits/string.h: Likewise.
32206         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
32207         * sysdeps/s390/bits/string.h: Likewise.
32208         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
32209         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
32210         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
32211         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
32212         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
32213         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
32214         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
32215         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
32216         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
32217         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
32218         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
32219         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32220         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
32221         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32222         * sysdeps/unix/sysv/linux/readv.c: Likewise.
32223         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
32224         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
32225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32226         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32227         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32228         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32229         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
32230         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
32231         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
32232         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
32233         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
32234         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
32235         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32236         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
32237         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
32238         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
32239         * sysvipc/sys/ipc.h: Likewise.
32240         * sysvipc/sys/msg.h: Likewise.
32241         * sysvipc/sys/sem.h: Likewise.
32242         * sysvipc/sys/shm.h: Likewise.
32243         * termios/termios.h: Likewise.
32244         * time/sys/time.h: Likewise.
32245         * time/time.h: Likewise.
32246         * wcsmbs/bits/wchar2.h: Likewise.
32247         * wcsmbs/uchar.h: Likewise.
32248         * wcsmbs/wchar.h: Likewise.
32249         * wctype/wctype.h: Likewise.
32251         [BZ #13551]
32252         * Makeconfig: Remove all but ELF support including AIX support.
32253         * Makerules: Likewise.
32254         * config.h.in: Likewise.
32255         * config.make.in: Likewise.
32256         * configure: Likewise.
32257         * configure.in: Likewise.
32258         * csu/Makefile: Likewise.
32259         * csu/version.c: Likewise.
32260         * debug/Makefile: Likewise.
32261         * dlfcn/Makefile: Likewise.
32262         * elf/Makefile: Likewise.
32263         * extra-lib.mk: Likewise.
32264         * iconv/Makefile: Likewise.
32265         * include/libc-symbols.h: Likewise.
32266         * include/shlib-compat.h: Likewise.
32267         * resolv/Makefile: Likewise.
32268         * resolv/res_libc.c: Likewise.
32269         * rt/Makefile: Likewise.
32270         * sysdeps/i386/asm-syntax.h: Likewise.
32271         * sysdeps/i386/sysdep.h: Likewise.
32272         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
32273         * sysdeps/mach/sysdep.h: Likewise.
32274         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
32275         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
32276         * sysdeps/s390/asm-syntax.h: Likewise.
32277         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32279         * sysdeps/sh/sysdep.h: Likewise.
32280         * sysdeps/unix/sparc/sysdep.h: Likewise.
32281         * sysdeps/wordsize-32/divdi3.c: Likewise.
32282         * sysdeps/x86_64/sysdep.h: Likewise.
32284         * argp/Versions: Remove _argp_unlock_xxx.
32286         [BZ #13559]
32287         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
32288         * abilist/libBrokenLocale.abilist: Likewise.
32289         * abilist/libanl.abilist: Likewise.
32290         * abilist/libc.abilist: Likewise.
32291         * abilist/libcrypt.abilist: Likewise.
32292         * abilist/libdl.abilist: Likewise.
32293         * abilist/libm.abilist: Likewise.
32294         * abilist/libnsl.abilist: Likewise.
32295         * abilist/libpthread.abilist: Likewise.
32296         * abilist/libresolv.abilist: Likewise.
32297         * abilist/librt.abilist: Likewise.
32298         * abilist/libthread_db.abilist: Likewise.
32299         * abilist/libutil.abilist: Likewise.
32300         * abilist/libnss_db.abilist: New file.
32302         * scripts/abilist.awk: Add support for indirect functions.
32304         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
32306         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
32308         * shlib-versions: Remove entries for ports architectures.
32310         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
32311         files in ports.
32312         * elf/stackguard-macros.h: Remove support for IA-64.
32313         * elf/tst-auditmod1.c: Likewise.
32314         * sysdeps/generic/ldsodefs.h: Likewise.
32316         * sysdeps/unix/sysv/linux/configure.in: Ports should define
32317         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
32318         configure files.
32320         [BZ #13552]
32321         * configure.in: Remove --enable-omitfp support.
32322         * FAQ.in: Adjust.
32323         * config.make.in: Likewise.
32324         * Makeconfig: Likewise.
32325         * manual/install.texi: Likewise.
32327         In case anyone cares, the IA-64 architecture could move to ports.
32328         * sysdeps/ia64/*: Removed.
32329         * sysdeps/unix/sysv/linux/ia64/*: Removed.
32330         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
32332         [BZ #13555]
32333         * configure.in: Remove entries for unsupported architectures.
32335         [BZ #13533]
32336         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
32337         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
32338         routines.
32339         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
32340         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
32341         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
32342         fall back to using wcrtomb.
32343         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
32344         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
32345         renaming.
32346         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
32347         * wcsmbs/tst-c16c32-1.c: New file.
32349         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
32350         local variable.
32352         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
32354         * elf/tst-unique3.cc: Add explicit declaration of gets.
32355         * elf/tst-unique3lib.cc: Likewise.
32356         * elf/tst-unique3lib2.cc: Likewise.
32357         * elf/tst-unique4.cc: Likewise.
32359         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
32361 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
32363         [BZ #13566]
32364         * assert/assert.h (static_assert): Don't define for C++.
32365         * libio/stdio.h (gets): Do declare for C++ <= C++11.
32366         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
32368 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
32370         * iconv/loop.c (single loop): Fix assertion in storing of
32371         remaining bytes.
32373         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
32375 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
32377         * posix/getconf.c: Update copyright year.
32378         * nss/getent.c: Likewise.
32379         * nss/makedb.c: Likewise.
32380         * iconv/iconvconfig.c: Likewise.
32381         * iconv/iconv_prog.c: Likewise.
32382         * elf/ldconfig.c: Likewise.
32383         * elf/pldd.c: Likewise.
32384         * elf/sotruss.ksh: Likewise.
32385         * catgets/gencat.c: Likewise.
32386         * csu/version.c: Likewise.
32387         * elf/ldd.bash.in: Likewise.
32388         * elf/sprof.c (print_version): Likewise.
32389         * locale/programs/locale.c: Likewise.
32390         * locale/programs/localedef.c: Likewise.
32391         * login/programs/pt_chown.c: Likewise.
32392         * nscd/nscd.c (print_version): Likewise.
32393         * debug/xtrace.sh: Likewise.
32394         * malloc/memusage.sh: Likewise.
32395         * malloc/mtrace.pl: Likewise.
32396         * debug/catchsegv.sh: Likewise.
32398 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
32400         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
32401         pure attribute.
32403 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
32405         [BZ #13533]
32406         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
32407         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
32408         transformations.
32409         * iconv/gconv_int.h: Likewise.
32410         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
32411         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
32412         from libc for GLIBC_2.16.
32413         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
32414         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
32415         * wcsmbs/uchar.h: Really define mbstate_t.
32416         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
32417         * wcsmbs/c16rtomb.c: New file.
32418         * wcsmbs/mbrtoc16.c: New file.
32419         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
32420         for C/POSIX locale.
32421         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
32422         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
32424         * wcsmbs/wchar.h: Add missing __restrict.
32426 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32428         [BZ #13532]
32429         * time/Makefile (routines): Add timespec_get.
32430         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
32431         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
32432         timespec for ISO C11.
32433         * time/timespec_get.c: New file.
32434         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
32435         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
32437         [BZ #13531]
32438         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
32439         * stdlib/stdlib.h: Declare aligned_alloc.
32440         * Versions.def: Add GLIBC_2.16 for libc.
32441         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
32443         [BZ 13527]
32444         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
32445         ISO C11.
32447         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
32448         code.
32450         [BZ #13528]
32451         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
32453         [BZ #13529]
32454         * assert/assert.h (static_assert): Define.
32456         * version.h: Update for 2.16 development version.
32458         [BZ #13526]
32459         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
32460         _ISOC11_SOURCE.
32462         * version.h (RELEASE): Bump for 2.15 release.
32463         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32465         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32466         Patch by Marek Polacek <mpolacek@redhat.com>.
32468         * bits/byteswap.h: Protect long long constants with __extension__.
32469         * sysdeps/i386/bits/byteswap.h: Likewise.
32470         * sysdeps/ia64/bits/byteswap.h: Likewise.
32471         * sysdeps/s390/bits/byteswap.h: Likewise.
32472         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32474 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32476         [BZ #13540]
32477         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32478         destination buffer.
32479         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32481 2011-12-23  Marek Polacek  <polacek@redhat.com>
32483         * elf/dl-addr.c (determine_info): Add inline keyword.
32484         * elf/tst-auditmod4b.c (check_avx): Likewise.
32485         * elf/tst-auditmod6b.c (check_avx): Likewise.
32486         * elf/tst-auditmod6c.c (check_avx): Likewise.
32487         * elf/tst-auditmod7b.c (check_avx): Likewise.
32489 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32491         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32492         !__SSE_MATH__.
32494 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32496         [BZ #13540]
32497         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32498         processing for last bytes.
32500 2011-08-06  Bruno Haible  <bruno@clisp.org>
32502         [BZ #13061]
32503         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32504         U+0385, not to U+1FEE.
32506         [BZ #13062]
32507         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32508         entry for U+00A5 U+0301.
32510 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32512         [BZ #13166]
32513         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32514         buffer for the output is too small.
32516         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32517         optimization.
32519         [BZ #13185]
32520         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32521         SSE flags if possible.
32523 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32525         [BZ #13540]
32526         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32527         processing for last bytes.
32529 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32531         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32532         (syscall-list-default-options, syscall-list-default-condition)
32533         (syscall-list-includes): Define.
32534         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32535         list of ABIs and options and #if conditions for each ABI.  Do not
32536         handle common syscalls between ABIs specially.
32537         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32538         Remove.
32539         (syscall-list-variants, syscall-list-32bit-options)
32540         (syscall-list-32bit-condition, syscall-list-64bit-options)
32541         (syscall-list-64bit-condition): Define.
32542         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32543         (syscall-list-variants, syscall-list-32bit-options)
32544         (syscall-list-32bit-condition, syscall-list-64bit-options)
32545         (syscall-list-64bit-condition): Define.
32546         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32547         Remove.
32548         (syscall-list-variants, syscall-list-32bit-options)
32549         (syscall-list-32bit-condition, syscall-list-64bit-options)
32550         (syscall-list-64bit-condition): Define.
32551         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32552         Remove.
32553         (syscall-list-variants, syscall-list-32bit-options)
32554         (syscall-list-32bit-condition, syscall-list-64bit-options)
32555         (syscall-list-64bit-condition): Define.
32557 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32559         * locale/iso-639.def: Add brx entry.
32561         [BZ #13328]
32562         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32563         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32565         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32566         __feraiseexcept_renamed.
32568 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32570         [BZ #13538]
32571         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32572         EPOLLET with unsigned values.
32573         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32574         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32576         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32577         to large cancellation.
32578         * math/s_cacoshf.c: Likewise.
32579         * math/s_cacoshl.c: Likewise.
32581 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32583         [BZ #13305]
32584         [BZ #12786]
32585         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32586         * math/s_cacoshf.c: Likewise.
32587         * math/s_cacoshl.c: Likewise.
32589 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32591         [BZ #13439]
32592         * iconv/gconv.h: Define __GCONV_SWAP.
32593         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32594         * iconvdata/utf-16.c: Likewise.
32595         * iconvdata/utf-32.c: Likewise.
32597 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32599         [BZ #13524]
32600         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32601         numerator after shifting it by one limb.
32603 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32605         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32606         under [__USE_EXTERN_INLINES].
32608 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32610         [BZ #13446]
32611         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32613 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32615         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32616         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32617         optimized code.
32618         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32619         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32620         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32621         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32622         for strncasecmp/strncasecmp_l compilation.
32623         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32624         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32626 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32628         [BZ #13484]
32629         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32630         of __asm__.
32632 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32634         [BZ #13506]
32635         * time/tzfile.c (__tzfile_read): Check values from file header.
32637 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32639         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32640         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32641         * powerpc/powerpc32/dl-start.S: Likewise.
32642         * powerpc/powerpc32/elf/start.S: Likewise.
32643         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32644         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32645         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32646         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32647         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32648         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32649         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32650         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32651         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32652         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32653         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32654         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32655         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32656         * powerpc/powerpc32/memset.S: Likewise.
32657         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32658         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32659         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32660         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32661         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32662         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32663         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32664         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32665         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32666         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32667         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32668         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32669         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32671 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32673         * math/libm-test.inc: Added more nearbyint tests.
32674         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32675         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32677         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32679 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32681         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32682         FD_CLOEXEC.
32684 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32686         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32687         Add wcscpy-ssse3 wcscpy-c.
32688         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32689         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32690         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32691         * sysdeps/x86_64/wcschr.S: New file.
32692         * sysdeps/x86_64/wcsrchr.S: New file.
32693         * string/test-strcmp.c: Remove checking of wcscmp function for
32694         wrong alignments.
32695         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32696         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32697         wcsrchr-sse2 wcsrchr-c.
32698         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32699         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32700         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32701         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32702         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32703         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32704         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32705         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32706         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32707         * wcsmbc/wcschr.c (WCSCHR): New macro.
32709 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32711         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32712         * wcsmbs/test-wcsrchr.c: New file.
32713         * string/test-strrchr.c: Add wcsrchr support.
32714         (WIDE): New macro.
32715         * wcsmbs/test-wcscpy.c: New file.
32716         * string/test-strcpy.c: Add wcscpy support.
32717         (WIDE): New macro.
32719 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32721         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32722         the inner loop.
32724 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32726         [BZ #13472]
32727         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32729 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32731         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32732         Minor optimizations.
32734         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32735         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32736         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32738 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32740         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32741         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32742         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32743         for gcc to avoid warnings.
32744         * inet/Makefile (tests): Add tst-checks.
32745         * inet/tst-checks.c: New file.
32747         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32748         warning.
32750         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32751         __wmemcmp_sse2.
32753         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32754         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32756         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32758 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32760         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32761         problem.
32763         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32765 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32767         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32768         conditional on GCC version.
32769         (__arch_compare_and_exchange_val_8_acq)
32770         (__arch_compare_and_exchange_val_16_acq)
32771         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32772         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32773         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32775 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32777         * sysdeps/sh/backtrace.c: New file.
32779 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32781         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32782         parenthesis.
32784 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32786         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32787         falling back to utime.
32789 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32791         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32792         expectations for float.
32794 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32796         * locale/weight.h (findidx): Add parameter len.
32797         * locale/weightwc.h (findidx): Likewise.
32798         * posix/fnmatch_loop.c (FCT): Adjust caller.
32799         * posix/regcomp.c (build_equiv_class): Likewise.
32800         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32801         * posix/regexec.c (check_node_accept_bytes): Likewise.
32802         * string/strcoll_l.c (STRCOLL): Likewise.
32803         * string/strxfrm_l.c (STRXFRM): Likewise.
32805 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32807         * Makefile.in: Remove CVSOPT handling.
32808         * configure.in: Remove use of AC_REVISION.
32809         * iconvdata/Makefile (distribute): No need to filter out CVS.
32810         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32811         handling.
32813 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32815         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32816         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32817         [USE_AS_STRNCASECMP_L]: Likewise.
32818         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32819         NO_TLS_DIRECT_SEG_REFS.
32820         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32821         Fix argument offsets for non-PIC.
32822         [USE_AS_STRNCASECMP_L]: Likewise.
32823         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32824         NO_TLS_DIRECT_SEG_REFS.
32826 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32828         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32829         O_CLOEXEC.
32830         * locale/loadlocale.c (_nl_load_locale): Likewise.
32832 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32834         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32835         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32836         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32837         (SYSCALL_GETTIME): Set errno on error.
32839         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32840         count references to noai6ai_cached.
32842 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32844         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32846         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32847         FD_CLOEXEC for /proc/self/maps.
32849         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32850         FD_CLOEXEC for /proc/meminfo.
32852         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32853         gai.conf.
32855         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32856         FD_CLOEXEC for given file.
32858         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32860         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32861         FD_CLOEXEC for /etc/hosts.
32862         (_gethtent): Likewise.
32864         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32866         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32867         cancellation and set FD_CLOEXEC for /etc/netgroup.
32869         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32870         reading /etc/publickey.
32872         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32873         allow cancellation when reading /etc/group.
32875         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32876         cancellation.
32877         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32879         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32880         when using data file.
32882         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32884         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32885         (write_nis_obj): Use "c" and "e" in fopen.
32887         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32889         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32891         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32893         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32895         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32896         locale.alias.
32898         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32900         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32902         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32904         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32905         file parsing and set FD_CLOEXEC.
32907 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32909         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32911 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32913         * malloc/arena.c (arena_get2): Don't call reused_arena when
32914         _int_new_arena failed.
32916 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32918         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32919         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32920         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32921         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32922         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32924         to compile strcasecmp and strncasecmp.
32925         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32926         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32930 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32932         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32933         locale-defines.sym to gen-as-const-headers.
32934         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32935         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32936         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32937         to compile strcasecmp and strncasecmp.
32938         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32939         strcasecmp_l and strncasecmp_l.
32940         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32941         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32942         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32943         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32944         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32945         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32946         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32947         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32948         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32949         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32950         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32952 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32954         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32955         result of SYSDEP_GETTIME_CPU to retval.
32956         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32957         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32959         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32960         variable.
32962         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32963         mantissa words.
32964         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32966         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32967         from unused variable.
32969         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32970         DWARF definitions.
32971         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32972         for assembling.
32974         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32975         over namespaces.
32977         * sunrpc/rpc_prot.c (rejected): Fix case value.
32979         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32980         unsigned long long int to avoid warnings in shift.
32982         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32983         of use of trans.
32984         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32985         variable tmp.
32987         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32988         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32989         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32991         * nis/nis_table.c (nis_list): Use variable of correct type for
32992         result of __follow_path call.
32994 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32996         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32997         of math functions ceil, trunc, floor, round, and sqrt, when
32998         avaliable on the platform.
32999         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
33000         name clash.
33001         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33002         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33003         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33005 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
33007         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
33008         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33010 2011-11-11  Roland McGrath  <roland@hack.frob.com>
33012         * include/unistd.h: Fix __readlink return type.
33013         Reported by Chris Metcalf <cmetcalf@tilera.com>.
33015 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
33017         * stdlib/ucontext.h: Undo last change for makecontext.
33019 2011-11-11  Andreas Schwab  <schwab@redhat.com>
33021         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
33023         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
33024         * setjmp/setjmp.h: Mark functions as non-leaf.
33025         * setjmp/bits/setjmp2.h: Likewise.
33026         * stdlib/ucontext.h: Likewise.
33028 2011-11-10  Andreas Schwab  <schwab@redhat.com>
33030         * malloc/arena.c (_int_new_arena): Don't increment narenas.
33031         (reused_arena): Don't check arena limit.
33032         (arena_get2): Atomically check arena limit.
33034 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
33036         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
33037         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
33039         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
33040         instructions.
33042 2011-11-07  Andreas Schwab  <schwab@redhat.com>
33044         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
33045         handler when locking.
33047         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33048         Fix size of allocated buffer.
33050 2011-11-04  Andreas Schwab  <schwab@redhat.com>
33052         [BZ #10103]
33053         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
33054         declarations for long double functions.
33055         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
33057         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
33059 2011-11-03  Andreas Schwab  <schwab@redhat.com>
33061         * nscd/nscd.c (main): Don't start AVC thread until credentials are
33062         installed.
33064         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
33065         is disabled.
33067 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33069         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
33071 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33073         * include/alloca.h (stackinfo_alloca_round): Define.
33074         (extend_alloca): Use it.
33075         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
33076         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
33077         here.
33079         * scripts/check-local-headers.sh: Ignore libaudit.h.
33081         * nscd/Makefile (extra-objs): Make recursively expanded.
33083 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
33085         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
33086         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33088         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
33089         * posix/tst-rfc3484-2.c: Likewise.
33090         * posix/tst-rfc3484-3.c: Likewise.
33092         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33093         process_vm_writev.
33094         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
33095         process_vm_writev.
33096         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
33097         process_vm_writev from libc using GLIBC_2.15 version.
33099         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
33101 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
33103         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
33104         stack usage.
33106 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
33108         [BZ #13367]
33109         * nss/getent.c (initgroups_keys): Show error message in case no group
33110         names are given.
33112         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
33113         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
33114         __bump_nl_timestamp.
33115         * nscd/connections (nscd_init): When host database is served open
33116         netlink socket and request notification about configuration changes.
33117         (main_loop_poll): Track netlink file descriptor and bump timestamp
33118         in case data becomes available.
33119         (main_loop_epoll): Likewise.
33120         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
33121         (database_pers_head): Add extra_data fileds.
33122         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
33123         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
33124         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
33125         Adjust caller.
33126         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
33127         in6ai data, call __free_in6ai.
33128         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
33129         Add -DHAVE_NETLINK.
33130         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
33131         interface information.  Reuse previous data if netlink timestamp
33132         is not changed.
33133         (__bump_nl_timestamp): New function.
33134         (__free_in6ai): New function.
33136 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
33138         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
33139         close_not_cancel_no_status here.
33140         (__check_pf): Reorganize code a bit to not call close twice if OOM.
33142 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33144         [BZ #13276]
33145         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
33146         return value.
33148         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
33149         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
33150         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
33152 2011-07-03  Andreas Jaeger  <aj@suse.de>
33154         [BZ #10709]
33155         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
33156         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
33157         * math/libm-test.inc (sin_test): Add test case.
33159 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
33161         [BZ #13337]
33162         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
33163         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33165         * elf/chroot_canon.c (chroot_canon): Cleanups.
33167         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
33169         [BZ #13335]
33170         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
33171         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
33173         * string/test-strchr.c: Make usable for strchrnul testing.
33174         * string/test-strchrnul.c: New file.
33175         * string/Makefile (strop-tests): Add strchrnul.
33177         * po/it.po: Update from translation team.
33178         * po/es.po: Likewise.
33180 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
33182         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
33183         the three constants needed as parameters.  Drop the others.
33184         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
33185         __m128i_strloadu_tolower.
33186         Create and initialize variable zero and use it in all the places
33187         where _mm_setzero_si128 was used.
33189         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
33190         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
33191         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
33192         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
33193         anymore.
33194         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
33195         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
33196         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
33197         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
33198         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
33199         __mpranred, __mptan.
33200         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
33201         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
33202         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
33203         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
33204         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
33205         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
33206         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
33207         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
33208         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
33210 2011-10-28  Andreas Schwab  <schwab@redhat.com>
33212         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
33213         redefine if SHARED.
33214         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
33216         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
33217         wide char related routines to wcsmbs subdir.
33219 2011-10-27  Andreas Schwab  <schwab@redhat.com>
33221         [BZ #13344]
33222         * misc/sys/cdefs.h (__THROWNL): Define.
33223         * posix/unistd.h: Use __THREADNL instead of __THREAD
33224         for memory synchronization functions.
33226 2011-10-26  Roland McGrath  <roland@hack.frob.com>
33228         [BZ #13349]
33229         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
33230         doesn't exist.
33231         * manual/stdio.texi (Obstack Streams): Node removed.
33233 2011-10-26  Andreas Schwab  <schwab@redhat.com>
33235         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
33236         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33237         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33239         * math/math_private.h (math_force_eval): Allow non-addressable
33240         arguments.
33241         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
33243 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33245         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
33246         file is not needed.
33248         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
33249         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33250         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33251         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33252         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33253         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33254         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33255         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
33256         Add AVX variants.
33257         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
33258         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
33259         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
33260         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
33261         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
33262         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
33263         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
33264         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
33265         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
33266         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
33267         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
33268         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
33269         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
33270         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
33271         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
33272         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
33273         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
33274         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
33275         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
33277         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
33278         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
33280         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
33281         place.  Use VEX encoding when compiling for AVX.
33283 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33285         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
33286         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33288         * string/test-strchr.c (do_test): Don't generate NUL bytes.
33290 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33292         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
33293         useless if() expression.
33294         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33295         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33296         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33297         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33298         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33299         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33300         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33301         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33302         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33303         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33304         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33305         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33306         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33307         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33308         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33309         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33310         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33311         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33312         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33314         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
33316 2011-10-25  Andreas Schwab  <schwab@redhat.com>
33318         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
33319         condition.
33320         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33322 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
33324         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
33325         .text section.  Avoid duplicate constants.
33326         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33328         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33330         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33331         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33333         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33334         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33335         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
33336         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33337         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33338         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33339         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33340         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33341         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33342         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33343         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33345         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33346         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33347         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33348         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33349         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
33350         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
33351         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
33352         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
33353         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
33354         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
33355         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
33356         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
33357         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
33358         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33359         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
33360         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
33361         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
33362         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
33363         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
33364         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
33365         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
33366         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
33367         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
33368         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
33369         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
33370         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
33372 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
33374         * sysdeps/x86_64/dla.h: Move to ...
33375         * sysdeps/x86_64/fpu/dla.h: ...here.
33376         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
33377         situations.  Use __builtin_fma only for gcc 4.6 and up.
33379         * config.make.in: Add have-mfma4 entry.
33380         * configure.in: Substitute libc_cv_cc_fma4.
33381         * math/Makefile (dbl-only-routines): Add sincostab.
33382         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
33383         Use __sincostab not sincos.
33384         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
33385         name is a macro.
33386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33388         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33389         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
33390         using __copysign.
33391         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
33392         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
33393         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
33394         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
33395         and __inv.
33396         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
33397         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
33398         __copysign.
33399         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
33400         define aliases when function name is a macro.
33401         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
33402         sysdeps/ieee754/dbl-64/sincos.tbl.
33403         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
33404         fma4-enabled routines.
33405         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
33406         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
33407         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
33408         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
33409         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
33410         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
33411         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
33412         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
33413         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
33414         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
33415         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
33416         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
33417         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
33418         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
33419         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
33420         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
33421         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
33422         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
33423         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
33424         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
33425         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
33426         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
33427         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
33428         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
33429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
33430         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
33431         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
33432         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
33433         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
33434         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
33436         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
33437         rename.
33438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33439         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33441         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33442         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33443         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33444         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33445         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33447 2011-10-24  Andreas Schwab  <schwab@redhat.com>
33449         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
33451 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
33455         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
33456         prediction.
33457         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
33459         * string/strnlen.c: Don't define STRNLEN, reverse logic.
33460         Remove unused variable magic_bits.
33461         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33463         * string/strnlen.c: Define and use STRNLEN macro.
33464         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33465         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33467         * wcsmbs/wcslen.c: Define and use WCSLEN.
33468         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33469         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33470         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33471         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33472         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33473         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33474         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33476 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33479         strnlen-sse2-no-bsf.
33480         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33481         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33482         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33483         Add strnlen support.
33484         (USE_AS_STRNLEN): New macro.
33485         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33486         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33487         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33488         * sysdeps/x86_64/wcslen.S: New file.
33490 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33492         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33493         XMM-moves are used for copying on small sizes.
33495 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33497         * wcsmbs/Makefile (strop-tests): Add wcschr.
33498         * wcsmbs/test-wcschr.c: New file.
33499         * string/test-strchr.c: Update.
33500         Add wcschr support.
33501         (WIDE): New macro.
33503 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33505         * wcsmbs/Makefile (strop-tests): Add wcslen.
33506         * wcsmbs/test-wcslen.c: New file.
33507         * string/test-strlen.c: Update.
33508         Add wcslen support.
33509         (WIDE): New macro.
33511 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33513         * po/it.po: Update from translation team.
33515 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33517         * sysdeps/x86_64/wcscmp.S: Update.
33518         Fix wrong comparison semantics.
33519         wcscmp shall use signed comparison not unsigned.
33520         Don't use substraction to avoid overflow bug.
33521         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33522         * wcsmbc/wcscmp.c: Likewise.
33523         * string/test-strcmp.c: Likewise.
33524         Add new tests to check cases with negative values.
33526 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33528         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33529         * sysdeps/x86_64/dla.h: ...here.  New file.
33530         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33531         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33532         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33533         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33534         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33535         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33537         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33540 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33543         __ynl_finite aliases.
33545 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33549         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33550         define DLA_FMA.
33551         [DLA_FMA] (EMULV): Use DLA_FMA.
33552         [DLA_FMA] (MUL12): Use EMULV.
33553         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33554         that are not needed.
33555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33556         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33560         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33561         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33563 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33565         * math/s_nan.c: Undef __nan.
33566         * math/s_nanf.c: Undef __nanf.
33567         * math/s_nanl.c: Undef __nanl.
33568         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33569         "math_private.h".
33571 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33573         * math/s_catan.c: Add branch predictions.
33574         * math/s_catanf.c: Likewise.
33575         * math/s_catanh.c: Likewise.
33576         * math/s_catanhf.c: Likewise.
33577         * math/s_catanhl.c: Likewise.
33578         * math/s_catanl.c: Likewise.
33579         * math/s_cexp.c: Likewise.
33580         * math/s_cexpf.c: Likewise.
33581         * math/s_cexpl.c: Likewise.
33582         * math/s_clog.c: Likewise.
33583         * math/s_clog10.c: Likewise.
33584         * math/s_clog10f.c: Likewise.
33585         * math/s_clog10l.c: Likewise.
33586         * math/s_clogf.c: Likewise.
33587         * math/s_clogl.c: Likewise.
33588         * math/s_csqrt.c: Likewise.
33589         * math/s_csqrtf.c: Likewise.
33590         * math/s_csqrtl.c: Likewise.
33591         * math/s_ctanf.c: Likewise.
33592         * math/s_ctanh.c: Likewise.
33593         * math/s_ctanhf.c: Likewise.
33594         * math/s_ctanhl.c: Likewise.
33595         * math/s_ctanl.c: Likewise.
33597         * math/math_private.h: Define __nan, __nanf, __nanl.
33598         * math/s_cacosh.c: Include <math_private.h>.
33599         * math/s_cacoshl.c: Likewise.
33600         * math/s_casinh.c: Likewise.
33601         * math/s_casinhf.c: Likewise.
33602         * math/s_casinhl.c: Likewise.
33603         * math/s_ccos.c: Rely entire on ccosh.
33604         * math/s_ccosf.c: Rely entire on ccoshf.
33605         * math/s_ccosl.c: Rely entirely on ccoshl.
33606         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33607         Remove tests for FE_INVALID.
33608         * math/s_ccoshf.c: Likewise.
33609         * math/s_ccoshl.c: Likewise.
33610         * math/s_csin.c: Likewise.
33611         * math/s_csinf.c: Likewise.
33612         * math/s_csinh.c Likewise.
33613         * math/s_csinhf.c: Likewise.
33614         * math/s_csinhl.c: Likewise.
33615         * math/s_csinl.c: Likewise.
33616         * math/s_ctan.c: Likewise.
33617         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33618         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33619         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33621 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33624         compilation problems.
33626         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33627         __builtin_expect.
33629 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33631         * sysdeps/i386/configure.in: Test for -mfma4 option.
33632         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33633         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33634         COMMON_CPUID_INDEX_80000001.
33635         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33636         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33637         use it if FMA3 is not supported.
33638         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33640         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33641         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33643 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33645         [BZ #12892]
33646         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33647         it would create a cycle with a link time dependency.
33649 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33651         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33652         instruction.
33653         * string/Makefile (strop-tests): Add rawmemchr.
33654         * string/test-rawmemchr.c: New file.
33656         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33658         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33659         when compiling str{,n}casecmp and when AVX is available.  Hook up
33660         new optimized code in initializers.
33662 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33664         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33665         __feraiseexcept instead of feraiseexcept.
33667 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33669         * math/math_private.h: Define defaults for libc_fetestexcept and
33670         libc_feupdateenv.
33671         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33672         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33673         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33674         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33675         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33676         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33677         libc_fetestexcept and libc_feupdateenv.
33679         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33680         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33681         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33682         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33683         libc_feholdexcept_setround.
33685         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33686         Add s_nearbyint-c and s_nearbyintf-c.
33687         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33688         nearbyintf inlines.
33689         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33690         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33691         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33692         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33694         * math/math_private.h: Define defaults for libc_fegetround,
33695         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33696         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33697         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33699         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33700         standard functions.
33701         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33702         Remove comments and hacks for old compiler versions.
33703         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33704         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33705         libc_feholdexceptl.
33707 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33709         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33710         (__feraiseexcept_renamed): Add __NTH.
33711         (feraiseexcept): Add __NTH.  Rename local variables to fix
33712         namespace violations.
33714 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33716         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33718         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33720         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33721         recently added interfaces.
33722         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33724         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33725         about macro parameter expansion.
33727         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33728         __NO_MATH_INLINES is defined.  Cleanups.
33730         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33731         and __floorf is target has SSE4.1.
33732         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33733         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33734         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33735         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33737         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33738         name.
33739         (floorf): Likewise.
33741         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33743 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33745         * misc/sys/cdefs.h: Fix last change.
33747         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33748         database lookup.
33750 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33752         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33754         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33755         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33756         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33757         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33758         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33759         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33760         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33761         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33762         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33763         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33764         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33765         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33766         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33767         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33768         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33769         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33770         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33771         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33772         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33773         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33774         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33775         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33777         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33778         ceil, ceilf, floor, floorf.
33780         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33781         Perform IRELATIVE relocations last.
33783         * elf/do-rel.h: Add another parameter nrelative, replacing the
33784         local variable with the same name.  Change name of the function
33785         to end in Rel or Rela (uppercase).
33786         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33787         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33788         elf_dynamic_do_##reloc function.
33790 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33792         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33793         is sufficient, at least on modern CPUs.
33795         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33797         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33798         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33800         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33801         __expl_finite.
33802         * math/bits/math-finite.h: Add entries for exp.
33803         * math/e_expl.c: Add __*_finite alias.
33804         * sysdeps/i386/fpu/e_exp.S: Likewise.
33805         * sysdeps/i386/fpu/e_expf.S: Likewise.
33806         * sysdeps/i386/fpu/e_expl.c: Likewise.
33807         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33808         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33809         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33810         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33812         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33813         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33815         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33816         is sufficient, at least on modern CPUs.
33818         * ctype/ctype-info.c (__ctype_init): Define.
33819         * include/ctype.h (__ctype_init): Declare.
33820         (__ctype_b_loc): The variable is always initialized.
33821         (__ctype_toupper_loc): Likewise.
33822         (__ctype_tolower_loc): Likewise.
33823         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33824         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33826 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33828         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33830         * configure.in: Also look in $cxxmachine/include for C++ system
33831         headers.
33833 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33835         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33836         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33837         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33838         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33839         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33840         (USE_AS_WMEMCMP): New macro.
33841         Fixing indents.
33842         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33843         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33844         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33845         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33846         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33847         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33848         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33849         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33850         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33851         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33852         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33853         (USE_AS_WMEMCMP): New macro.
33854         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33855         * sysdeps/string/test-memcmp.c: Update.
33856         Fix simple_wmemcmp.
33857         Add new tests.
33858         * wcsmbs/wmemcmp.c: Update.
33859         (WMEMCMP): New macro.
33860         Fix overflow bug.
33862 2011-10-12  Andreas Jaeger  <aj@suse.de>
33864         [BZ #13268]
33865         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33867 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33869         * libio/iofwide.c (do_length): Avoid warning.
33871         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33873 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33875         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33877         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33878         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33879         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33880         * sysdeps/i386/i686/fpu/e_log.S: New file.
33881         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33882         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33884         * ctype/ctype.h: Add support for inlined isXXX functions when
33885         compiling C++ code.
33887 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33889         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33891         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33893 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33895         [BZ #13291]
33896         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33898 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33900         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33901         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33902         feraiseexcept.
33904         * sysdeps/x86_64/memrchr.S: Check for zero size.
33906         * string/stratcliff.c: Add memrchr tests.
33908 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33911         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33912         rawmemchr-sse2 rawmemchr-sse2-bsf.
33913         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33914         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33915         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33916         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33917         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33918         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33919         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33920         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33921         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33922         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33923         * string/memrchr.c (MEMRCHR): New macro.
33925 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33927         Add integration with gcc's -ffinite-math-only and optimize wrapper
33928         functions in libm.
33929         * Versions.def: Define GLIBC_2.15 version for libm.
33930         * math/Makefile (headers): Add bits/math-finite.h.
33931         * math/bits/math-finite.h: New file.
33932         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33933         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33934         * math/e_acoshl.c: Add __*_finite alias.
33935         * math/e_acosl.c: Likewise.
33936         * math/e_asinl.c: Likewise.
33937         * math/e_atan2l.c: Likewise.
33938         * math/e_atanhl.c: Likewise.
33939         * math/e_coshl.c: Likewise.
33940         * math/e_exp10.c: Likewise.
33941         * math/e_exp10f.c: Likewise.
33942         * math/e_exp10l.c: Likewise.
33943         * math/e_exp2l.c: Likewise.
33944         * math/e_fmodl.c: Likewise.
33945         * math/e_gammal_r.c: Likewise.
33946         * math/e_hypotl.c: Likewise.
33947         * math/e_j0l.c: Likewise.
33948         * math/e_j1l.c: Likewise.
33949         * math/e_jnl.c: Likewise.
33950         * math/e_lgammal_r.c: Likewise.
33951         * math/e_log10l.c: Likewise.
33952         * math/e_log2l.c: Likewise.
33953         * math/e_logl.c: Likewise.
33954         * math/e_powl.c: Likewise.
33955         * math/e_sinhl.c: Likewise.
33956         * math/e_sqrtl.c: Likewise.
33957         * math/e_scalb.c: Completely rewritten and optimized.
33958         * math/e_scalbf.c: Likewise.
33959         * math/e_scalbl.c: Likewise.
33960         * math/w_acos.c: Likewise.
33961         * math/w_acosf.c: Likewise.
33962         * math/w_acosl.c: Likewise.
33963         * math/w_acosh.c: Likewise.
33964         * math/w_acoshf.c: Likewise.
33965         * math/w_acoshl.c: Likewise.
33966         * math/w_asin.c: Likewise.
33967         * math/w_asinf.c: Likewise.
33968         * math/w_asinl.c: Likewise.
33969         * math/w_atan2.c: Likewise.
33970         * math/w_atan2f.c: Likewise.
33971         * math/w_atan2l.c: Likewise.
33972         * math/w_atanh.c: Likewise.
33973         * math/w_atanhf.c: Likewise.
33974         * math/w_atanhl.c: Likewise.
33975         * math/w_exp10.c: Likewise.
33976         * math/w_exp10f.c: Likewise.
33977         * math/w_exp10l.c: Likewise.
33978         * math/w_fmod.c: Likewise.
33979         * math/w_fmodf.c: Likewise.
33980         * math/w_fmodl.c: Likewise.
33981         * math/w_j0.c: Likewise.
33982         * math/w_j0f.c: Likewise.
33983         * math/w_j0l.c: Likewise.
33984         * math/w_j1.c: Likewise.
33985         * math/w_j1f.c: Likewise.
33986         * math/w_j1l.c: Likewise.
33987         * math/w_jn.c: Likewise.
33988         * math/w_jnf.c: Likewise.
33989         * math/w_log.c: Likewise.
33990         * math/w_logf.c: Likewise.
33991         * math/w_logl.c: Likewise.
33992         * math/w_log10.c: Likewise.
33993         * math/w_log10f.c: Likewise.
33994         * math/w_log10l.c: Likewise.
33995         * math/w_log2.c: Likewise.
33996         * math/w_log2f.c: Likewise.
33997         * math/w_log2l.c: Likewise.
33998         * math/w_pow.c: Likewise.
33999         * math/w_powf.c: Likewise.
34000         * math/w_powl.c: Likewise.
34001         * math/w_remainder.c: Likewise.
34002         * math/w_remainderf.c: Likewise.
34003         * math/w_remainderl.c: Likewise.
34004         * math/w_scalb.c: Likewise.
34005         * math/w_scalbf.c: Likewise.
34006         * math/w_scalbl.c: Likewise.
34007         * math/w_sqrt.c: Likewise.
34008         * math/w_sqrtf.c: Likewise.
34009         * math/w_sqrtl.c: Likewise.
34010         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
34011         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
34012         used.
34013         * math/math_private.h: Declare __kernel_standard_f.
34014         * math/w_cosh.c: Remove cruft and optimize a bit.
34015         * math/w_coshf.c: Likewise.
34016         * math/w_coshl.c: Likewise.
34017         * math/w_exp2.c: Likewise.
34018         * math/w_exp2f.c: Likewise.
34019         * math/w_exp2l.c: Likewise.
34020         * math/w_hypot.c: Likewise.
34021         * math/w_hypotf.c: Likewise.
34022         * math/w_hypotl.c: Likewise.
34023         * math/w_lgamma.c: Likewise.
34024         * math/w_lgamma_r.c: Likewise.
34025         * math/w_lgammaf.c: Likewise.
34026         * math/w_lgammaf_r.c: Likewise.
34027         * math/w_lgammal.c: Likewise.
34028         * math/w_lgammal_r.c: Likewise.
34029         * math/w_sinh.c: Likewise.
34030         * math/w_sinhf.c: Likewise.
34031         * math/w_sinhl.c: Likewise.
34032         * math/w_tgamma.c: Likewise.
34033         * math/w_tgammaf.c: Likewise.
34034         * math/w_tgammal.c: Likewise.
34035         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34036         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34037         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
34038         Minor optimizations.  Pretty printing.  Remove cruft.
34039         * sysdeps/i386/fpu/e_acosf.S: Likewise.
34040         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34041         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34042         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34043         * sysdeps/i386/fpu/e_acosl.c: Likewise.
34044         * sysdeps/i386/fpu/e_asin.S: Likewise.
34045         * sysdeps/i386/fpu/e_asinf.S: Likewise.
34046         * sysdeps/i386/fpu/e_atan2.S: Likewise.
34047         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
34048         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
34049         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34050         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34051         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34052         * sysdeps/i386/fpu/e_exp10.S: Likewise.
34053         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
34054         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
34055         * sysdeps/i386/fpu/e_exp2.S: Likewise.
34056         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
34057         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
34058         * sysdeps/i386/fpu/e_fmod.S: Likewise.
34059         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
34060         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
34061         * sysdeps/i386/fpu/e_hypot.S: Likewise.
34062         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
34063         * sysdeps/i386/fpu/e_log.S: Likewise.
34064         * sysdeps/i386/fpu/e_log10.S: Likewise.
34065         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34066         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34067         * sysdeps/i386/fpu/e_log2.S: Likewise.
34068         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34069         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34070         * sysdeps/i386/fpu/e_logf.S: Likewise.
34071         * sysdeps/i386/fpu/e_logl.S: Likewise.
34072         * sysdeps/i386/fpu/e_pow.S: Likewise.
34073         * sysdeps/i386/fpu/e_powf.S: Likewise.
34074         * sysdeps/i386/fpu/e_powl.S: Likewise.
34075         * sysdeps/i386/fpu/e_remainder.S: Likewise.
34076         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
34077         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
34078         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34079         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34080         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34081         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
34082         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
34083         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
34084         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34085         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34086         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34087         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34088         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
34089         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34090         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
34091         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34092         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34093         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34094         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34095         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34097         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34098         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34100         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34101         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34102         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34104         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34105         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34106         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34107         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34108         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34109         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34110         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
34111         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34112         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
34113         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34114         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34115         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34116         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34117         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34118         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34119         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34120         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34121         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34122         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
34123         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
34124         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
34125         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
34126         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
34127         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
34128         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34129         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
34130         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
34131         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
34132         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
34133         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
34134         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
34135         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
34136         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
34137         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34138         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
34139         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
34140         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
34141         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
34142         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
34143         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
34144         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
34145         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34146         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34147         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34149         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34152         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
34153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34154         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34155         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34156         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34157         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34158         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34159         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34160         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34161         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34162         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34163         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34164         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34165         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34166         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
34167         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34168         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34169         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34170         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34171         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34172         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34173         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34174         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34175         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34176         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34177         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34179         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34180         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34181         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
34182         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
34183         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
34184         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
34185         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
34186         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
34187         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
34188         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34189         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34190         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34191         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34192         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
34193         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34194         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
34195         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
34196         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
34197         (__isnanf): Likewise.
34198         (__isinf_ns): Likewise.
34199         (__isinf_nsf): Likewise.
34200         (__finite): Likewise.
34201         (__finitef): Likewise.
34202         (__ieee754_sqrt): Define as macro.
34203         (__ieee754_sqrtf): Define as macro.
34204         (__ieee754_sqrtl): Define as macro.
34205         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
34206         inlined copy.
34207         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
34208         __FINITE_MATH_ONLY__ consistent.
34209         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
34211 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
34213         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
34214         of rawmemchr.
34216         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
34218 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
34220         * po/ja.po: Update from translation team.
34222 2011-10-08  Roland McGrath  <roland@hack.frob.com>
34224         * locale/programs/locarchive.c (prepare_address_space): New function.
34225         (create_archive, enlarge_archive, open_archive): Use it.
34227         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
34228         inside [SHARED], where it is used.
34230         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
34232         * nss/getent.c (netgroup_keys): Remove unused variable.
34233         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
34235 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
34237         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
34238         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
34239         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
34240         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
34241         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
34242         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
34243         * math/Makefile (libm-calls): Add s_isinf_ns.
34244         * math/divtc3.c: Use __isinf_nsl instead of isinf.
34245         * math/multc3.c: Likewise.
34246         * math/s_casin.c: Likewise.
34247         * math/s_casinf.c: Likewise.
34248         * math/s_casinl.c: Likewise.
34249         * math/s_ccos.c: Likewise.
34250         * math/s_ccosf.c: Likewise.
34251         * math/s_ccosl.c: Likewise.
34252         * math/s_ctan.c: Likewise.
34253         * math/s_ctanf.c: Likewise.
34254         * math/s_ctanh.c: Likewise.
34255         * math/s_ctanhf.c: Likewise.
34256         * math/s_ctanhl.c: Likewise.
34257         * math/s_ctanl.c: Likewise.
34258         * math/w_fmod.c: Likewise.
34259         * math/w_fmodf.c: Likewise.
34260         * math/w_fmodl.c: Likewise.
34261         * math/w_remainder.c: Likewise.
34262         * math/w_remainderf.c: Likewise.
34263         * math/w_remainderl.c: Likewise.
34264         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
34265         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
34266         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
34267         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
34268         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
34269         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
34270         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
34271         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
34273         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
34274         of the number.
34275         * stdio-common/printf_fphex.c: Likewise.
34276         * stdio-common/printf_size.c: Likewise.
34278         * math/e_exp10.c: Include math_private.h using <...> not "...".
34279         * math/e_exp10f.c: Likewise.
34280         * math/e_exp10l.c: Likewise.
34281         * math/e_exp2l.c: Likewise.
34282         * math/e_j0l.c: Likewise.
34283         * math/e_j1l.c: Likewise.
34284         * math/e_jnl.c: Likewise.
34285         * math/e_lgammal_r.c: Likewise.
34286         * math/e_rem_pio2l.c: Likewise.
34287         * math/e_scalb.c: Likewise.
34288         * math/e_scalbf.c: Likewise.
34289         * math/e_scalbl.c: Likewise.
34290         * math/k_cosl.c: Likewise.
34291         * math/k_sinl.c: Likewise.
34292         * math/k_tanl.c: Likewise.
34293         * math/s_cacoshf.c: Likewise.
34294         * math/s_catan.c: Likewise.
34295         * math/s_catanf.c: Likewise.
34296         * math/s_catanh.c: Likewise.
34297         * math/s_catanhf.c: Likewise.
34298         * math/s_catanhl.c: Likewise.
34299         * math/s_catanl.c: Likewise.
34300         * math/s_ccosh.c: Likewise.
34301         * math/s_ccoshf.c: Likewise.
34302         * math/s_ccoshl.c: Likewise.
34303         * math/s_cexp.c: Likewise.
34304         * math/s_cexpf.c: Likewise.
34305         * math/s_cexpl.c: Likewise.
34306         * math/s_clog.c: Likewise.
34307         * math/s_clog10.c: Likewise.
34308         * math/s_clog10f.c: Likewise.
34309         * math/s_clog10l.c: Likewise.
34310         * math/s_clogf.c: Likewise.
34311         * math/s_clogl.c: Likewise.
34312         * math/s_csin.c: Likewise.
34313         * math/s_csinf.c: Likewise.
34314         * math/s_csinh.c: Likewise.
34315         * math/s_csinhf.c: Likewise.
34316         * math/s_csinhl.c: Likewise.
34317         * math/s_csinl.c: Likewise.
34318         * math/s_csqrt.c: Likewise.
34319         * math/s_csqrtf.c: Likewise.
34320         * math/s_csqrtl.c: Likewise.
34321         * math/s_ctan.c: Likewise.
34322         * math/s_ctanf.c: Likewise.
34323         * math/s_ctanh.c: Likewise.
34324         * math/s_ctanhf.c: Likewise.
34325         * math/s_ctanhl.c: Likewise.
34326         * math/s_ctanl.c: Likewise.
34327         * math/s_ldexp.c: Likewise.
34328         * math/s_ldexpf.c: Likewise.
34329         * math/s_ldexpl.c: Likewise.
34330         * math/s_significand.c: Likewise.
34331         * math/s_significandf.c: Likewise.
34332         * math/s_significandl.c: Likewise.
34333         * math/w_acos.c: Likewise.
34334         * math/w_acosf.c: Likewise.
34335         * math/w_acosh.c: Likewise.
34336         * math/w_acoshf.c: Likewise.
34337         * math/w_acoshl.c: Likewise.
34338         * math/w_acosl.c: Likewise.
34339         * math/w_asin.c: Likewise.
34340         * math/w_asinf.c: Likewise.
34341         * math/w_asinl.c: Likewise.
34342         * math/w_atan2.c: Likewise.
34343         * math/w_atan2f.c: Likewise.
34344         * math/w_atan2l.c: Likewise.
34345         * math/w_atanh.c: Likewise.
34346         * math/w_atanhf.c: Likewise.
34347         * math/w_atanhl.c: Likewise.
34348         * math/w_cosh.c: Likewise.
34349         * math/w_coshf.c: Likewise.
34350         * math/w_coshl.c: Likewise.
34351         * math/w_dremf.c: Likewise.
34352         * math/w_exp10.c: Likewise.
34353         * math/w_exp10f.c: Likewise.
34354         * math/w_exp10l.c: Likewise.
34355         * math/w_exp2.c: Likewise.
34356         * math/w_exp2f.c: Likewise.
34357         * math/w_fmod.c: Likewise.
34358         * math/w_fmodf.c: Likewise.
34359         * math/w_fmodl.c: Likewise.
34360         * math/w_hypot.c: Likewise.
34361         * math/w_hypotf.c: Likewise.
34362         * math/w_hypotl.c: Likewise.
34363         * math/w_j0.c: Likewise.
34364         * math/w_j0f.c: Likewise.
34365         * math/w_j0l.c: Likewise.
34366         * math/w_j1.c: Likewise.
34367         * math/w_j1f.c: Likewise.
34368         * math/w_j1l.c: Likewise.
34369         * math/w_jn.c: Likewise.
34370         * math/w_jnf.c: Likewise.
34371         * math/w_jnl.c: Likewise.
34372         * math/w_lgamma.c: Likewise.
34373         * math/w_lgamma_r.c: Likewise.
34374         * math/w_lgammaf.c: Likewise.
34375         * math/w_lgammaf_r.c: Likewise.
34376         * math/w_lgammal.c: Likewise.
34377         * math/w_lgammal_r.c: Likewise.
34378         * math/w_log.c: Likewise.
34379         * math/w_log10.c: Likewise.
34380         * math/w_log10f.c: Likewise.
34381         * math/w_log10l.c: Likewise.
34382         * math/w_log2.c: Likewise.
34383         * math/w_log2f.c: Likewise.
34384         * math/w_log2l.c: Likewise.
34385         * math/w_logf.c: Likewise.
34386         * math/w_logl.c: Likewise.
34387         * math/w_pow.c: Likewise.
34388         * math/w_powf.c: Likewise.
34389         * math/w_powl.c: Likewise.
34390         * math/w_remainder.c: Likewise.
34391         * math/w_remainderf.c: Likewise.
34392         * math/w_remainderl.c: Likewise.
34393         * math/w_scalb.c: Likewise.
34394         * math/w_scalbf.c: Likewise.
34395         * math/w_scalbl.c: Likewise.
34396         * math/w_sinh.c: Likewise.
34397         * math/w_sinhf.c: Likewise.
34398         * math/w_sinhl.c: Likewise.
34399         * math/w_sqrt.c: Likewise.
34400         * math/w_sqrtf.c: Likewise.
34401         * math/w_sqrtl.c: Likewise.
34402         * math/w_tgamma.c: Likewise.
34403         * math/w_tgammaf.c: Likewise.
34404         * math/w_tgammal.c: Likewise.
34406         * po/ja.po: Update from translation team.
34408 2011-09-29  Andreas Jaeger  <aj@suse.de>
34410         [BZ #13179]
34411         * sunrpc/netname.c (netname2host): Fix logic.
34413         [BZ #6779]
34414         [BZ #6783]
34415         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
34416         correctly.
34417         * math/w_remainder.c (__remainder): Likewise.
34418         * math/w_remainderf.c (__remainderf): Likewise.
34419         * math/libm-test.inc (remainder_test): Add test cases.
34421 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34423         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
34424         sdiv_qrnnd.
34426 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34428         * string/test-memcmp.c: Avoid unncessary #defines.
34429         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34431 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34433         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
34434         Use new sse2 version for core i3 - i7 as it's faster
34435         than sse42 version.
34436         (bit_Prefer_PMINUB_for_stringop): New.
34437         * sysdeps/x86_64/rawmemchr.S: Update.
34438         Replace with faster SSE2 version.
34439         * sysdeps/x86_64/memrchr.S: New file.
34440         * sysdeps/x86_64/memchr.S: Update.
34441         Replace with faster SSE2 version.
34443 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
34445         * elf/dl-load.c (lose): Add cast to avoid warning.
34447 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
34449         * po/ca.po: Update from translation team.
34451         * inet/getnetgrent_r.c: Hook up nscd.
34452         * nscd/Makefile (routines): Add nscd_netgroup.
34453         (nscd-modules): Add netgroupcache.
34454         (CFLAGS-netgroupcache.c): Define.
34455         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
34456         (cache_search): Add const to second parameter.
34457         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
34458         INNETGR.
34459         (dbs): Add netgrdb entry.
34460         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34461         (verify_persistent_db): Handle netgrdb.
34462         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34463         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34464         GETFDNETGR.
34465         (netgroup_response_header): Define.
34466         (innetgroup_response_header): Define.
34467         (datahead): Add netgroup_response_header and innetgroup_response_header
34468         elements.
34469         * nscd/nscd.conf: Add entries for netgroup cache.
34470         * nscd/nscd.h (dbtype): Add netgrdb.
34471         (_PATH_NSCD_NETGROUP_DB): Define.
34472         (netgroup_iov_disabled): Declare.
34473         (xmalloc, xcalloc, xrealloc): Move declarations here.
34474         (cache_search): Adjust prototype.
34475         Add netgroup-related prototypes.
34476         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34477         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34478         (__nscd_innetgr): Declare.
34479         * nscd/selinux.c (perms): Use access_vector_t as element type and
34480         add netgroup-related initializers.
34481         * nscd/netgroupcache.c: New file.
34482         * nscd/nscd_netgroup.c: New file.
34483         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34484         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34485         For four parameters use innetgr.
34486         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34487         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34488         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34489         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34491         * nscd/connections.c (register_traced_file): Don't register file
34492         for disabled databases.
34494 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34496         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34498         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34499         from tree and freeing node.
34501 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34503         * nss/nsswitch.c (__nss_database_lookup): Handle
34504         nss_parse_service_list out of memory case.
34506 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34508         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34509         out of memory case.
34511 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34513         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34514         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34515         pass it down.
34516         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34517         elf_machine_rela, elf_machine_lazy_rel.
34518         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34519         (ELF_DYNAMIC_DO_REL): Likewise.
34520         (ELF_DYNAMIC_DO_RELA): Likewise.
34521         (ELF_DYNAMIC_RELOCATE): Likewise.
34522         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34523         to ELF_DYNAMIC_DO_REL.
34524         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34525         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34526         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34527         elf_machine_rela.
34528         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34529         skip_ifunc, don't call ifunc function if non-zero.
34530         (elf_machine_rela): Likewise.
34531         (elf_machine_lazy_rel): Likewise.
34532         (elf_machine_lazy_rela): Likewise.
34533         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34534         (elf_machine_lazy_rel): Likewise.
34535         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34536         Likewise.
34537         (elf_machine_lazy_rel): Likewise.
34538         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34539         Likewise.
34540         (elf_machine_lazy_rel): Likewise.
34541         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34542         (elf_machine_lazy_rel): Likewise.
34543         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34544         (elf_machine_lazy_rel): Likewise.
34545         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34546         (elf_machine_lazy_rel): Likewise.
34547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34548         (elf_machine_lazy_rel): Likewise.
34549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34550         (elf_machine_lazy_rel): Likewise.
34551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34552         (elf_machine_lazy_rel): Likewise.
34554 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34556         * nss/nss_files/files-init.c (_nss_files_init): Use static
34557         initialization for all the *_traced_file variables.
34559 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34561         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34563 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34565         [BZ #13226]
34566         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34568 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34570         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34571         Reread the line before reparsing it.
34573 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34575         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34577 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34578             Maxim Kuvyrkov  <maxim@codesourcery.com>
34579             Joseph Myers  <joseph@codesourcery.com>
34581         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34582         if needed for __stack_chk_guard.
34584 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34586         * sysdeps/posix/spawni.c (script_execute): Always define it.
34587         It will be optimized away if unused.
34588         (maybe_script_execute): New function.
34589         (__spawni): Call it.
34591         * Makerules: Don't include tls.make.
34592         (config-tls): Always set to thread.
34593         * tls.make.c: File removed.
34595 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34597         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34598         * config.make.in (CPPFLAGS-config): New substituted variable.
34600 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34602         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34604         [BZ #13192]
34605         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34606         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34608 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34610         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34611         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34612         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34613         (CALL_FAIL): Likewise.
34614         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34615         (CALL_FAIL): Macro removed.
34616         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34618 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34620         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34621         for __FINITE_MATH_ONLY__ == 1.
34623 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34625         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34626         __ieee754_sqrt instead of sqrt.
34627         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34628         __ieee754_sqrtf instead of sqrtf.
34629         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34630         __floorf instead of floorf.
34631         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34632         __floorf, __truncf instead of floorf, truncf.
34634 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34636         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34638         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34639         __extern_always_inline.
34640         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34641         32-bit.
34643 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34645         * elf/rtld.c (dl_main): Also relocate in dependency order when
34646         doing symbol dependency testing.
34648 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34651         Always define `refsym'.
34653 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34655         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34656         (__FD_ELT): Renamed from __FDELT.
34657         * misc/bits/select2.h (__FD_ELT): Likewise.
34658         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34659         __FD_MASK instead of __FDELT, __FDMASK.
34660         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34661         Likewise.
34662         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34663         Likewise.
34665         * elf/Makefile (gen-ldd): Fix pattern.
34667         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34668         (init_tls): Likewise.
34670 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34674 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34676         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34677         `struct cmsghdr *' instead of `void *'.
34678         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34679         Likewise.
34681 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34683         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34684         if non-absolute.
34685         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34686         ldd_rewrite_script.
34688 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34690         * configure.in: Remove --with-tls option.
34691         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34692         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34693         out in case it is missing.
34694         * sysdeps/ia64/elf/configure.in: Likewise.
34695         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34696         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34697         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34698         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34699         * sysdeps/sh/elf/configure.in: Likewise.
34700         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34701         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34702         * sysdeps/x86_64/elf/configure.in: Likewise.
34703         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34704         * sysdeps/mach/hurd/tls.h: Likewise.
34706         [BZ #13067]
34707         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34709         [BZ #13090]
34710         * configure.in: Fix use of AC_INIT.
34712         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34714 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34716         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34717         __set_errno.
34718         * malloc/hooks.c: Likewise.
34720         [BZ #11929]
34721         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34722         variables statically.
34723         (narenas): Initialize.
34724         (list_lock): Initialize.
34725         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34726         initializtion of main_arena and list_lock.  Small cleanups.
34727         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34728         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34729         Add initializers to main_arena and mp_.
34730         (malloc_state): Remove pagesize member.  Change all users to use
34731         GLRO(dl_pagesize).
34733         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34734         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34735         is always initialized.
34737         * malloc/malloc.c: Removed unused configurations and dead code.
34738         * malloc/arena.c: Likewise.
34739         * malloc/hooks.c: Likewise.
34740         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34742         * include/tls.h: Removed.  USE___THREAD must always be defined.
34743         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34744         * elf/dl-libc.c: Likewise.
34745         * elf/dl-tsd.c: Likewise.
34746         * include/errno.h: Likewise.
34747         * include/netdb.h: Likewise.
34748         * include/resolv.h: Likewise.
34749         * inet/herrno-loc.c: Likewise.
34750         * inet/herrno.c: Likewise.
34751         * malloc/arena.c: Likewise.
34752         * malloc/hooks.c: Likewise.
34753         * malloc/malloc.c: Likewise.
34754         * resolv/res-state.c: Likewise.
34755         * resolv/res_libc.c: Likewise.
34756         * sysdeps/i386/dl-machine.h: Likewise.
34757         * sysdeps/ia64/dl-machine.h: Likewise.
34758         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34759         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34760         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34761         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34762         * sysdeps/sh/dl-machine.h: Likewise.
34763         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34764         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34765         * sysdeps/unix/i386/sysdep.S: Likewise.
34766         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34767         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34768         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34771         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34772         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34774         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34776         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34777         * sysdeps/x86_64/dl-machine.h: Likewise.
34778         * tls.make.c: Likewise.
34780         * configure.in: Remove --with-__thread option.  Make tests for
34781         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34782         tls_model attribute fail if no support is available.  Remove
34783         USE_IN_LIBIO.
34784         * Makeconfig: Adjust for dropped configure option.  All features are
34785         now mandatory.
34786         * Makerules: Likewise.
34787         * Versions.def: Likewise.
34788         * argp/argp-fmtstream.c: Likewise.
34789         * argp/argp-fmtstream.h: Likewise.
34790         * argp/argp-help.c: Likewise.
34791         * assert/assert.c: Likewise.
34792         * config.h.in: Likewise.
34793         * config.make.in: Likewise.
34794         * configure: Likewise.
34795         * configure.in: Likewise.
34796         * csu/Versions: Likewise.
34797         * csu/init.c: Likewise.
34798         * elf/tst-audit2.c: Likewise.
34799         * elf/tst-tls10.c: Likewise.
34800         * elf/tst-tls10.h: Likewise.
34801         * elf/tst-tls11.c: Likewise.
34802         * elf/tst-tls12.c: Likewise.
34803         * elf/tst-tls14.c: Likewise.
34804         * elf/tst-tlsmod11.c: Likewise.
34805         * elf/tst-tlsmod12.c: Likewise.
34806         * elf/tst-tlsmod13.c: Likewise.
34807         * elf/tst-tlsmod13a.c: Likewise.
34808         * elf/tst-tlsmod14a.c: Likewise.
34809         * elf/tst-tlsmod15b.c: Likewise.
34810         * elf/tst-tlsmod16a.c: Likewise.
34811         * elf/tst-tlsmod16b.c: Likewise.
34812         * elf/tst-tlsmod7.c: Likewise.
34813         * elf/tst-tlsmod8.c: Likewise.
34814         * elf/tst-tlsmod9.c: Likewise.
34815         * gmon/gmon.c: Likewise.
34816         * grp/fgetgrent_r.c: Likewise.
34817         * grp/putgrent.c: Likewise.
34818         * hurd/fopenport.c: Likewise.
34819         * include/libc-symbols.h: Likewise.
34820         * include/tls.h: Likewise.
34821         * intl/gettextP.h: Likewise.
34822         * intl/loadinfo.h: Likewise.
34823         * locale/global-locale.c: Likewise.
34824         * locale/localeinfo.h: Likewise.
34825         * mach/devstream.c: Likewise.
34826         * malloc/arena.c: Likewise.
34827         * malloc/set-freeres.c: Likewise.
34828         * misc/err.c: Likewise.
34829         * misc/getttyent.c: Likewise.
34830         * misc/mntent_r.c: Likewise.
34831         * posix/getopt.c: Likewise.
34832         * posix/wordexp.c: Likewise.
34833         * pwd/fgetpwent_r.c: Likewise.
34834         * resolv/Versions: Likewise.
34835         * resolv/res_hconf.c: Likewise.
34836         * shadow/fgetspent_r.c: Likewise.
34837         * shadow/putspent.c: Likewise.
34838         * stdio-common/printf_fphex.c: Likewise.
34839         * stdio-common/tmpfile.c: Likewise.
34840         * stdlib/abort.c: Likewise.
34841         * stdlib/fmtmsg.c: Likewise.
34842         * sunrpc/auth_unix.c: Likewise.
34843         * sunrpc/clnt_perr.c: Likewise.
34844         * sunrpc/clnt_tcp.c: Likewise.
34845         * sunrpc/clnt_udp.c: Likewise.
34846         * sunrpc/clnt_unix.c: Likewise.
34847         * sunrpc/openchild.c: Likewise.
34848         * sunrpc/svc_simple.c: Likewise.
34849         * sunrpc/svc_tcp.c: Likewise.
34850         * sunrpc/svc_udp.c: Likewise.
34851         * sunrpc/svc_unix.c: Likewise.
34852         * sunrpc/xdr.c: Likewise.
34853         * sunrpc/xdr_array.c: Likewise.
34854         * sunrpc/xdr_rec.c: Likewise.
34855         * sunrpc/xdr_ref.c: Likewise.
34856         * sunrpc/xdr_stdio.c: Likewise.
34858 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34860         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34862 2011-07-03  Andreas Jaeger  <aj@suse.de>
34864         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34865         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34866         regenerate with gen-libm-tests.pl.
34868 2010-05-12  Petr Baudis  <pasky@suse.cz>
34870         [BZ #11589]
34871         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34872         around j0() zero points by switching to j1().
34873         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34874         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34876         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34878 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34880         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34881         instead of 0.
34882         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34883         instead of 0.
34884         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34885         Patch in part by Pavel Roskin <proski@gnu.org>.
34887         [BZ #13138]
34888         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34889         realloc.
34890         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34891         Free memory block if necessary.
34893         [BZ #12847]
34894         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34895         be NULL.  Don't lock in this case.
34897 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34899         * elf/elf.h (ELFOSABI_GNU): New macro.
34900         (ELFOSABI_LINUX): Define to that.
34902 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34904         * string/strncat.c (strncat): Undef the symbol in case it has been
34905         defined in bits/string.h.
34907 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34909         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34911         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34912         link map.
34914 2011-08-17  Andreas Jaeger  <aj@suse.de>
34916         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34918 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34919             Ian Lance Taylor  <iant@google.com>
34921         * math/libm-test.inc (lround_test): New testcase.
34922         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34924 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34926         * Makefile: Remove support for automatic cvs check-ins.
34927         * Makerules: Likewise.
34928         * config.make.in: Likewise.
34929         * configure.in: Likewise.
34930         * intl/Makefile: Likewise.
34931         * locale/Makefile: Likewise.
34932         * po/Makefile: Likewise.
34933         * posix/Makefile: Likewise.
34934         * sysdeps/gnu/Makefile: Likewise.
34935         * sysdeps/mach/hurd/Makefile: Likewise.
34936         * sysdeps/sparc/sparc32/Makefile: Likewise.
34938         [BZ #13118]
34939         * posix/Makefile (bug-regex32-ENV): Define.
34940         Patch by John Stanley <jpsinthemix@verizon.net>.
34942         * misc/Makefile (headers): Add bits/select2.h.
34943         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34944         * misc/bits/select2.h: New file.
34945         * include/bits/select2.h: New file.
34946         * debug/Makefile (routines): Add fdelt_chk.
34947         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34948         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34949         FD_ISSET.
34950         * debug/fdelt_chk.c: New file.
34952         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34953         * wcsmbs/test-wmemcmp.c: Likewise.
34954         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34955         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34957 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34959         * string/Makefile (strop-tests): Add memcmp.
34960         * string/test-wmemcmp.c: New file.
34961         * string/test-memcmp.c: Add wmemcmp support.
34963 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34965         [BZ #13153]
34966         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34967         2011-07-19 change.
34969         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34970         garbage value in a __mach_port_mod_refs call in the cases of the
34971         task-self and thread-self ports.
34973 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34975         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34977 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34979         * elf/dl-load.c (lose): Check for non-null L.
34981 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34983         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34985         * elf/dl-libc.c (dlerror_run): Pass back error code from
34986         dl_catch_error.
34988         [BZ #13123]
34989         * elf/dl-load.c (lose): Free l_origin if it is valid.
34991         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34992         names.
34993         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34994         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34995         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34996         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34997         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34998         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
35000 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35002         * sysdeps/powerpc/fpu/e_hypot.c: New file.
35003         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
35004         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
35005         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
35006         * sysdeps/powerpc/fpu/k_cosf.c: New file.
35007         * sysdeps/powerpc/fpu/k_sinf.c: New file.
35008         * sysdeps/powerpc/fpu/s_cosf.c: New file.
35009         * sysdeps/powerpc/fpu/s_sinf.c: New file.
35010         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
35011         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
35013 2011-08-15  Alan Modra  <amodra@gmail.com>
35015         [BZ #13092]
35016         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
35017         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
35018         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
35019         ppc_mcount to static-only-routines.
35020         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
35021         __mcount_internal.
35022         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
35023         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
35025 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
35027         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
35028         for finite and infinity parameters.
35030 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
35032         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
35033         and add nop instructions for throughput optimization.
35034         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35036 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
35038         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
35039         aligned copy for power7 with vector-scalar instructions.
35040         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
35042 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
35044         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
35045         AVX check.
35047 2011-09-07  Andreas Schwab  <schwab@redhat.com>
35049         [BZ #13144]
35050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
35051         last change.
35053 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
35055         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35056         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
35057         syscall wrapper around clock_gettime in __vdso_clock_gettime.
35058         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
35059         clock_gettime.
35061 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35063         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
35064         Forgot to demangle the pointer.
35066         * sysdeps/i386/sysdep.h: Define atom_text_section.
35067         * sysdeps/x86_64/sysdep.h: Likewise.
35068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
35069         section with atom_text_section.
35070         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35071         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35072         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
35073         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35074         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
35076         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
35077         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
35078         already be defined.  Change to take two parameters and don't assign
35079         result to variable.  Adjust all users.
35080         Define INTERNAL_GETTIME if not already defined.
35081         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
35082         call.
35083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
35084         HAVE_CLOCK_GETTIME_VSYSCALL.
35085         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
35087         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
35088         gettimeofday vsyscall, just use time.
35090 2011-09-06  Andreas Schwab  <schwab@redhat.com>
35092         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
35093         <errno.h>.
35095 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
35097         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
35098         syscall on x86-64.
35099         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
35100         syscall.
35101         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35102         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
35103         syscall if possible.
35105 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35107         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
35108         e_ident.  Don't pass to find_mapsXX.
35109         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
35111 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35114         strchr-sse2-no-bsf strrchr-sse2-no-bsf
35115         * sysdeps/x86_64/multiarch/strchr.S: Update.
35116         Check bit_slow_BSF bit.
35117         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35118         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
35119         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
35121 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35123         [BZ #13134]
35124         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
35125         before glibc 2.15.
35126         (tryshell): Define.
35127         (__spawni): Change last parameter to be flag.  Test
35128         SPAWN_XFLAGS_USE_PATH flag to use path or not.
35129         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
35130         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
35131         * posix/spawni.c: Likewise.
35132         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
35133         * posix/spawnp.c: Likewise.  Change normal version to use
35134         SPAWN_XFLAGS_USE_PATH.
35135         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
35136         SPAWN_XFLAGS_TRY_SHELL.
35138         [BZ #13150]
35139         * posix/glob.h: Remove gcc 1.x support.
35141         [BZ #13068]
35142         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
35144 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35147         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
35148         strrchr-sse2-bsf
35149         * sysdeps/i386/i686/multiarch/strchr.S: New file.
35150         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
35151         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
35152         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
35153         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
35154         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
35156 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35158         * sysdeps/x86_64/wcscmp.S: New file.
35160         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
35161         wcscmp-c wcscmp-sse2
35162         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
35163         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
35164         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
35165         * wcsmbs/wcscmp.c: Allow renaming.
35167 2011-09-05  David S. Miller  <davem@davemloft.net>
35169         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
35170         stack slot, rather than the struct return pointer slot.
35171         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
35172         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
35173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
35174         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
35176 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
35178         * po/ja.po: Update from translation team.
35180         [BZ #13144]
35181         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
35182         kernel in 64-bit binaries.
35184 2011-09-01  David S. Miller  <davem@davemloft.net>
35186         * elf/elf.h (HWCAP_SPARC_*): Move to..
35187         * sysdeps/sparc/sysdep.h: this new file and add new values.
35188         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
35189         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
35190         _DL_HWCAP_COUNT to 24.
35191         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35192         entries.
35193         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
35194         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
35195         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
35196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
35197         instead of magic constants.
35198         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35200 2011-08-31  David S. Miller  <davem@davemloft.net>
35202         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
35203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
35204         Reimplement to do errno handling inline.
35205         (SYSCALL_ERROR_HANDLER): New macro.
35206         (__SYSCALL_STRING): Do not do errno handling in asm.
35207         (__CLONE_SYSCALL_STRING): Delete.
35208         (__INTERNAL_SYSCALL_STRING): Delete.
35209         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
35210         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
35211         (PSEUDO): Reimplement to do errno handling inline.
35212         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
35213         (SYSCALL_ERROR_HANDLER): New macro.
35214         (__SYSCALL_STRING): Do not do errno handling in asm.
35215         (__CLONE_SYSCALL_STRING): Delete.
35216         (__INTERNAL_SYSCALL_STRING): Delete.
35217         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
35218         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
35219         i386.
35220         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
35221         (inline_syscall*): Add 'err' argument.
35222         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
35223         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
35224         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
35225         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
35227         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
35228         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35230 2011-08-30  Andreas Schwab  <schwab@redhat.com>
35232         * elf/rtld.c (dl_main): Relocate objects in dependency order.
35234 2011-08-29  Jiri Olsa <jolsa@redhat.com>
35236         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
35237         directive.
35239 2011-08-24  David S. Miller  <davem@davemloft.net>
35241         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
35243 2011-08-24  Andreas Schwab  <schwab@redhat.com>
35245         * elf/Makefile: Add rules to build and run unload8 test.
35246         * elf/unload8.c: New file.
35247         * elf/unload8mod1.c: New file.
35248         * elf/unload8mod1x.c: New file.
35249         * elf/unload8mod2.c: New file.
35250         * elf/unload8mod3.c: New file.
35252         * elf/dl-close.c (_dl_close_worker): Reset private search list if
35253         it wasn't used.
35255 2011-08-23  David S. Miller  <davem@davemloft.net>
35257         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
35258         subtract stack bias.
35259         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
35260         %sp not %fp in calculations.
35261         (_JMPBUF_UNWINDS_ADJ): Likewise.
35263         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
35264         (aio_suspend): Call it to force an exception region around the
35265         AIO_MISC_WAIT() invocation.
35267 2011-08-23  Andreas Schwab  <schwab@redhat.com>
35269         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
35270         backslash.
35272 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
35274         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
35275         protection macro.
35276         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
35277         and <dl-machine.h>.
35278         (Elf64_FuncDesc): Remove.
35280 2011-08-22  David S. Miller  <davem@davemloft.net>
35282         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
35283         sigaltstack check, add missing cfi directives.
35284         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
35285         missing cfi directives, and sigaltstack handling.
35287 2011-08-16  Andreas Schwab  <schwab@redhat.com>
35289         [BZ #11724]
35290         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
35291         object is seen twice.
35292         * elf/dl-fini.c (_dl_sort_fini): Likewise.
35294         * elf/Makefile (distribute): Add tst-initorder2.c.
35295         (tests): Add tst-initorder2.
35296         (modules-names): Add tst-initorder2a tst-initorder2b
35297         tst-initorder2c tst-initorder2d.  Add rules to build them.
35298         ($(objpfx)tst-initorder2.out): New rule.
35299         * elf/tst-initorder2.c: New file.
35300         * elf/tst-initorder2.exp: New file.
35302 2011-08-22  Andreas Schwab  <schwab@redhat.com>
35304         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
35306         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
35307         dependencies back to end of function.
35309         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35310         $(elfobjdir)/ld.so.
35312 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
35314         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
35315         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
35316         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
35317         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
35318         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
35319         of __vdso_gettimeofday.
35320         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
35321         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
35322         attribute_hidden.
35323         (_libc_vdso_platform_setup): Remove initialization of
35324         __vdso_gettimeofday and __vdso_time.
35326 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35328         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
35329         and fgetc_unlocked.
35330         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
35331         getc_unlocked.
35333         * elf/dl-open.c (add_to_global): Report additions to the global scope
35334         for LD_DEBUG=scopes.
35335         (dl_open_worker): Also print scope of newly loaded dependencies.
35336         (_dl_show_scope): Indicate if there is no scope.
35338         [BZ #13114]
35339         * stdio-common/Makefile (tests): Add bug24.
35340         * stdio-common/bug24.c: New file.
35342 2011-08-19  Andreas Jaeger  <aj@suse.de>
35344         [BZ #13114]
35345         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
35346         non-existant file when using close-on-exec mode.
35348 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
35350         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
35351         the very first instruction.
35353         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
35354         the CFI state in the end.
35355         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
35356         inclusion of dl-trampoline.h.
35357         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
35359 2011-08-19  Andreas Schwab  <schwab@redhat.com>
35361         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
35362         expectations for long double.
35364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
35365         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
35367 2011-08-14  David S. Miller  <davem@davemloft.net>
35369         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
35370         artificual limit depends upon the system page size.
35372 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35374         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
35375         * resolv/Makefile: Define CFLAGS-libresolv.
35377 2011-08-17  Andreas Schwab  <schwab@redhat.com>
35379         * nss/makedb.c (compute_tables): Make variables used in nested
35380         function static.
35382 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
35384         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
35385         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
35386         if buffer was too small.
35388         * elf/pldd.c (main): Attach to all threads in the process.
35389         Rewrite /proc handling to use *at functions.
35391 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
35393         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
35394         specifies first scope to show.
35395         (dl_open_worker): Update callers.  Move printing scope of new
35396         object to before the relocation.
35397         * elf/rtld.c (dl_main): Update _dl_show_scope call.
35398         * sysdeps/generic/ldsodefs.h: Update declaration.
35400         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
35401         string for the scope number.
35403 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
35405         * nscd/servicescache.c (cache_addserv): Make sure written is always
35406         initialized.
35408 2011-08-14  Roland McGrath  <roland@hack.frob.com>
35410         * sysdeps/i386/i486/bits/atomic.h
35411         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
35412         statement expression, so as to suppress "set but not used" warning.
35413         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
35415         * string/strncat.c (STRNCAT): Use prototype definition.
35417         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
35418         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
35419         -Iprograms here.
35420         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
35421         (localedef-modules): Add localedef.
35422         (locale-modules): Add locale.
35424         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
35425         * elf/rtld.c (dl_main): Invert order of assignment in last change,
35426         to avoid a warning.
35428 2011-08-14  David S. Miller  <davem@davemloft.net>
35430         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
35431         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
35433 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
35435         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
35436         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
35437         * elf/rtld.c (dl_main): Set l_name of vDSO.
35438         Call _dl_show_scope when DL_DEBUG_SCOPES.
35439         (process_dl_debug): Recognize scopes flag and also set it for all.
35440         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
35441         Declare _dl_show_scope.
35443         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
35444         (do_dlopen): Pass caller_dlopen to dl_open.
35445         (__libc_dlopen_mode): Initialize caller_dlopen.
35447         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
35448         of libc.  Make tolower call locale-independent.  Optimize a bit by
35449         using isdigit instead of isalnum.
35450         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
35452 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
35454         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
35455         was a dependency or dynamically loaded.
35457 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
35459         * intl/l10nflist.c: Allow architecture-specific pop function.
35460         * sysdeps/x86_64/l10nflist.c: New file.
35462         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35463         classification.
35465 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35467         * include/dirent.h: Add libc_hidden_proto for scandirat and
35468         scandirat64.  Don't declare __scandirat64.
35469         * dirent/scandirat.c: Add libc_hidden_def.
35470         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35471         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35473 2011-08-10  David S. Miller  <davem@davemloft.net>
35475         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35476         enum.
35477         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35478         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35479         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35481 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35483         * Versions.def [libc]: Add GLIBC_2.15.
35484         * dirent/Makefile (routines): Add scandirat and scandirat64.
35485         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35486         GLIBC_2.15.
35487         * dirent/dirent.h: Declare scandirat and scandirat64.
35488         * dirent/scandirat.c: New file.
35489         * dirent/scandirat64.c: New file.
35490         * sysdeps/wordsize-64/scandirat.c: New file.
35491         * sysdeps/wordsize-64/scandirat64.c: New file.
35492         * dirent/opendir.c: Define opendirat.
35493         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35494         using scandirat.
35495         * dirent/scandir64.c: Adjust for scandir.c change.
35496         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35497         __scandirat64, and __scandir_cancel_handler.
35498         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35499         additional parameter and use openat instead of open (outside of ld.so).
35500         Add new __opendir as wrapper around __opendirat.
35501         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35502         here without requiring old scandirat implementation.
35504 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35506         * dirent/scandir.c (cancel_handler): Renamed to
35507         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35508         defined.  Adjust users.
35509         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35510         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35512 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35514         * string/test-string.h (IMPL): Use __STRING to expand name and then
35515         stringify it.
35517         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35518         of cleanups.
35520 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35522         * string/Makefile: Update.
35523         (strop-tests): Append strncat.
35524         * string/test-wcscmp.c: New file.
35525         New comprehensive test for wcscmp.
35526         * string/test-strcmp.c: Update.
35527         (WIDE): New define.
35529 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35531         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35532         line.
35534 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35537         encoding to ACE if AI_IDN.
35539 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35542         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35544 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35546         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35547         Fix overflow bug in strncat.
35548         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35550         * string/test-strncat.c: Update.
35551         Add new tests for checking overflow bugs.
35553 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35556         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35557         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35558         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35559         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35560         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35561         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35562         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35563         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35565         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35566         (USE_AS_STRCAT): Define.
35567         Add strcat and strncat support.
35568         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35570 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35572         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35573         __n bigger than INT_MAX+1.
35574         (__strncmp_g): Likewise.
35576 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35578         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35579         * libio/stido.h: Likewise.
35581         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35582         (AF_NFC): Define.
35583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35584         (AF_NFC): Define.
35586         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35587         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35588         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35589         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35592         [BZ #13021]
35593         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35594         installed.
35596         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35597         typo.
35598         (_dl_x86_64_save_sse): Likewise.
35600 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35603         OSXSAVE.
35604         (_dl_x86_64_save_sse): Likewise.
35606         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35608         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35610 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35612         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35613         change.
35614         (_dl_x86_64_save_sse): Use correct AVX check.
35616 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35618         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35619         bug in strncpy/strncat.
35620         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35622 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35624         * string/tester.c (test_strcat): Add tests for different alignments
35625         of source and destination.
35626         (test_strncat): Likewise.
35628 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35630         [BZ #12852]
35631         * posix/glob.c (glob): Check passed in values before using them in
35632         expressions to avoid some overflows.
35633         (glob_in_dir): Likewise.
35635         [BZ #13007]
35636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35637         check for AVX enablement so that we don't crash with old kernels and
35638         new hardware.
35639         * elf/tst-audit4.c: Add same checks here.
35640         * elf/tst-audit6.c: Likewise.
35642         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35644 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35646         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35648 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35650         * po/cs.po: Update from translation team.
35651         * po/bg.po: Likewise.
35653 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35655         * misc/sys/cdefs.h: Add support for const attribute.
35656         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35657         to gnu_dev_{major,minor,makedev} functions.
35659 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35661         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35663 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35665         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35666         strlen results.
35668 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35671         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35672         register in order to avoid conflicts with the soft frame pointer
35673         being held in r11 when necessary.
35674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35675         (INTERNAL_VSYSCALL_NCS): Likewise.
35677 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35679         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35680         * elf/dl-fini.c (_dl_fini): Adjust caller.
35681         * elf/dl-close.c (_dl_close_worker): Likewise.
35682         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35684 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35686         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35687         "aux_cache->nlibs < 0".
35689         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35690         in the reload-count case.
35692 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35695         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35696         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35697         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35698         * sysdeps/x86_64/multiarch/strcat.S: New file.
35699         * sysdeps/x86_64/multiarch/strncat.S: New file.
35700         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35701         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35702         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35703         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35704         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35705         (USE_AS_STRCAT): Define.
35706         Add strcat and strncat support.
35707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35708         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35709         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35710         * string/strncat.c: Update.
35711         (USE_AS_STRNCAT): Define.
35712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35713         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35714         and i7.
35715         * sysdeps/x86_64/multiarch/init-arch.h
35716         (bit_Prefer_PMINUB_for_stringop): New.
35717         (index_Prefer_PMINUB_for_stringop): Likewise.
35718         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35719         bit_Prefer_PMINUB_for_stringop.
35721 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35723         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35724         buffer64.
35725         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35726         of casting of buffer.
35727         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35728         buffer32 and buffer64.
35729         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35730         writes instead of casting of buffer.
35731         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35732         buffer32.
35733         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35734         casting of buffer.
35736 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35738         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35740 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35742         * nscd/nscd.c (termination_handler): Don't do anything for a database
35743         if it has not yet been initialized.
35745 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35747         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35749 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35751         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35753 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35755         * po/nl.po: Update from translation team.
35756         * po/sv.po: Likewise.
35758 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35760         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35761         now disallowed by GCC.
35763         * configure.in (use-default-link): Default to yes if a test -shared
35764         link meets our qualifications.
35765         * configure: Regenerated.
35767         * config.make.in (output-format): New variable.
35768         * configure.in: Check for ld --print-output-format support.
35769         * configure: Regenerated.
35770         * Makerules ($(common-objpfx)format.lds)
35771         [$(output-format) != unknown]: Just use $(output-format),
35772         instead of the linker-script munging.
35774 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35776         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35777         of $(common-objpfx)shlib.lds.
35778         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35780         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35781         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35783         * configure.in (-z relro check): Adjust test code to add a large
35784         writable data section after it.
35785         * configure: Regenerated.
35787 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35789         * configure.in (-z relro check): Fix test code to make the variable
35790         truly const.
35791         * configure: Regenerated.
35793 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35795         * nscd/nscd.h (struct traced_file): Define.
35796         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35797         elements.  Add traced_files.
35798         (inotify_fd): Declare.
35799         (register_traced_file): Declare.
35800         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35801         (inotify_fd): Export.
35802         (resolv_conf_descr): Remove.
35803         (nscd_init): Move inotify descriptor creation to main.
35804         Don't register files for notification here.
35805         (register_traced_file): New function.
35806         (invalidate_cache): Don't use reset_res to determine whether to call
35807         res_init, go through the list of registered files.
35808         (main_loop_poll): The inotify descriptors are now stored in the
35809         structures for the traced files.
35810         (main_loop_epoll): Likewise
35811         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35812         to __nss_disable_nscd.
35813         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35814         for a database anymore.  Check the records for all the registered
35815         files instead.
35816         * nss/Makefile (libnss_files-routines): Add files-init.
35817         (libnss_db-routines): Add db-init.
35818         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35819         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35820         * nss/nss_db/db-init.c: New file.
35821         * nss/nss_files/files-init.c: New file.
35822         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35823         __nss_lookup_function.
35824         (__nss_lookup_function): Call nss_load_library.
35825         (nss_load_all_libraries): New function.
35826         (__nss_disable_nscd): Take parameter with callback function for files
35827         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35828         used for the cached services.
35829         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35830         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35831         options for features to all the files in nscd.
35833         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35835 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35837         * csu/elf-init.c (__libc_csu_init): Comment typo.
35839 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35841         * po/pl.po: Update from translation team.
35842         * po/ja.po: Likewise.
35843         * po/ru.po: Likewise.
35844         * po/ko.po: Likewise.
35845         * po/fr.po: Likewise.
35847 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35849         * configure.in (.ctors/.dtors header and trailer check):
35850         Use an empirical test on a built program.
35851         * configure: Regenerated.
35853         * configure.in (-z relro check): Use an empirical test on a built DSO.
35854         Detect, but do not require, on ia64.
35855         * configure: Regenerated.
35857         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35858         Update tests that use readelf to use $READELF instead.
35859         * configure: Regenerated.
35861 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35863         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35864         if the result is not used.
35866 2011-07-05  Andreas Jaeger  <aj@suse.de>
35868         [BZ#9696]
35869         * stdlib/tst-strtod.c: Add testcase.
35871 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35873         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35874         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35875         The latter has a higher limit.  Take additional parameter to pass to
35876         the new function.
35877         (__pathconf): Pass file to __statfs_link_max.
35878         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35879         __statfs_link_max.
35880         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35881         __statfs_link_max.
35883         [BZ #12868]
35884         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35885         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35886         Handle Lustre.
35887         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35888         (__statfs_filesize_max): Likewise.
35889         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35891 2011-07-05  Andreas Jaeger  <aj@suse.de>
35893         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35895 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35897         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35898         `status' variable.
35899         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35900         Likewise.
35902 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35904         * Makefile (strop-tests): Add strncat.
35905         * string/test-strncat.c: New file.
35907 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35909         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35911 2011-06-21  Andreas Jaeger  <aj@suse.de>
35913         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35914         Copy rule from iconvdata/Makefile.
35916 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35918         [BZ #12922]
35919         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35920         but no long options are defined, just return 'W'.
35922 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35924         [BZ #9696]
35925         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35927 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35929         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35930         netgroups to read.
35931         (innetgr): Likewise.
35933 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35935         * config.make.in (install_root): Default to $(DESTDIR).
35937 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35939         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35941 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35943         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35945         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35946         containing directory rather than embedding absolute directory names.
35948         * scripts/check-local-headers.sh: Rewritten using awk.
35949         Match by word, not by line.  Print error messages for matches.
35950         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35952         * Makerules [shlib-lds-flags empty]:
35953         ($(common-objpfx)libc_pic.opts): New target.
35954         ($(common-objpfx)libc_pic.os.clean): New target.
35955         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35957         * config.make.in (OBJCOPY): New variable.
35958         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35959         * configure: Regenerated.
35961         * config.make.in (use-default-link): New variable.
35962         * configure.in (use_default_link): Grok --with-default-link to set it.
35963         * configure: Regenerated.
35964         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35965         (shlib-lds, shlib-lds-flags): Define to empty.
35967         * Makerules (shlib-lds): New variable.
35968         (shlib-lds-flags): New variable.
35969         (build-shlib, build-moduile, build-module-asneeded): Use it.
35970         ($(common-objpfx)libc.so): Use $(shlib-lds).
35971         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35972         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35974         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35975         DT_FLAGS/DT_FLAGS_1 with zero flags.
35977         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35978         linker script munging.
35980 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35982         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35983         as 128-bit value.
35984         * crypt/sha512.c (sha512_process_block): Perform total addition using
35985         128-bit if possible.
35986         (__sha512_finish_ctx): Likewise.
35987         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35988         as 64-bit value.
35989         * crypt/sha256.c (SWAP64): Define.
35990         (sha256_process_block): Perform total addition using 64-bit if
35991         possible.
35992         (__sha256_finish_ctx): Likewise.
35994 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35996         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35997         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35998         * nscd/hstcache.c (cache_addhst): Likewise.
35999         * nscd/grpcache.c (cache_addgr): Likewise.
36000         * nscd/aicache.c (addhstaiX): Likewise
36001         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
36003 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
36005         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
36006         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36007         * nscd/hstcache.c (cache_addhst): Likewise.
36008         * nscd/grpcache.c (cache_addgr): Likewise.
36009         * nscd/aicache.c (addhstaiX): Likewise
36011 2011-07-01  Andreas Schwab  <schwab@redhat.com>
36013         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
36014         domain only when needed.
36016 2011-06-30  Andreas Schwab  <schwab@redhat.com>
36018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
36019         is always restored.
36021 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
36023         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
36024         are re-adding the entry.
36025         * nscd/servicescache.c (cache_addserv): Likewise.
36027 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
36029         * sysdeps/generic/dl-irel.h: fix protection against multiple
36030         inclusions.
36031         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
36033 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
36035         [BZ #12935]
36036         * malloc/memusage.sh: Fix quoting in message.
36037         * debug/xtrace.sh: Likewise.
36039         * configure.in: Remove support for --experimental-malloc option, make
36040         it the default.
36041         * config.make.in: Likewise.
36042         * malloc/Makefile: Likewise.
36044 2011-06-27  Andreas Schwab  <schwab@redhat.com>
36046         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
36047         two-byte characters.
36049 2011-06-27  Roland McGrath  <roland@hack.frob.com>
36051         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
36052         AC_CACHE_CHECK invocation.
36053         * configure: Regenerated.
36055         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
36057 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
36059         [BZ #12350]
36060         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
36061         bit from old_res_options.
36063         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
36065         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
36066         value type for setfct.
36068 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
36070         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36071         __gettimeofday instead of gettimeofday.
36073 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
36075         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
36077 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
36079         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
36081         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
36082         info.
36084 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36086         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36087         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36088         strcpy-sse2-unaligned strncpy-sse2-unaligned
36089         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
36090         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
36091         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
36092         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
36093         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
36094         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
36095         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
36096         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
36097         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
36098         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
36099         (STRCPY): Support SSE2 and SSSE3 versions.
36101 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
36103         [BZ #12874]
36104         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
36105         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
36106         kernels which artificially limit size of requests.
36108 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
36110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36111         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
36112         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
36113         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
36114         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
36115         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
36116         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
36117         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
36118         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
36119         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
36120         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
36121         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
36122         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
36123         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
36124         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
36125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36126         Enable unaligned load optimization for Intel Core i3, i5 and i7
36127         processors.
36128         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
36129         Define.
36130         (index_Fast_Unaligned_Load): Define.
36131         (HAS_FAST_UNALIGNED_LOAD): Define.
36133 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
36135         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
36137 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36139         [BZ #12907]
36140         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
36141         until it is clear that the information is realy needed.
36142         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
36144 2011-06-22  Andreas Schwab  <schwab@redhat.com>
36146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
36148 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
36150         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
36151         /sys/devices/system/cpu/online if it is usable.
36153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
36154         reading the information from the /proc filesystem to once a second.
36156 2011-06-21  Andreas Jaeger  <aj@suse.de>
36158         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
36159         NULL after inclusion of kernel headers.
36161 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
36163         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
36164         calls to internal_setent.
36166         [BZ #12885]
36167         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
36168         addresses using gethostbyname4_r ignore IPv4 addresses.
36170         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
36171         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
36173         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
36175 2011-06-20  David S. Miller  <davem@davemloft.net>
36177         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
36178         inclusions.
36179         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
36181         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
36182         (elf_irel): Use it.
36183         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
36184         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
36185         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
36186         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
36187         * sysdeps/x86_64/dl-irel.h: Likewise.
36189         * elf/dl-runtime.c: Use elf_ifunc_invoke.
36190         * elf/dl-sym.c: Likewise.
36192 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36194         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
36195         need to dereference resplen2.
36197 2011-06-14  Andreas Schwab  <schwab@redhat.com>
36199         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
36201 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
36203         * Makeconfig: Define vardbdir and inst_vardbdir.
36204         * nss/Makefile: Add rules to install db-Makefile.
36206         * nss/nss_db/db-XXX.c: Cleanup.
36208         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
36209         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
36210         GLIBC_PRIVATE.
36211         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
36212         * nss/makedb.c: Implement -g option to specify that value strings
36213         are generated and should not be added to table iterated over for
36214         get*ent calls.
36215         * nss/nss_db/db-initgroups.c: New file.
36217         * nss/getent.c: Add support for initgroups lookups through getgrouplist
36218         interface.
36220         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
36221         (internal_getgrouplist): Adjust to name change.
36222         Update use_initgroups_entry if this is not the first call.
36223         * nss/databases.def: Add initgroups entry.
36225         * nss/makedb.c (compute_tables): Check result of multiple hash table
36226         sizes to minimize maximum chain length.
36228 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
36230         * Versions.def: Add entry for libnss_db.
36231         * shlib-versions: Likewise.
36232         * nss/Makefile: Add rules to build libnss_db.
36233         * nss/Versions: Add libnss_db information.  Organize libnss_files
36234         entries better.
36235         * nss/db-Makefile: Add gshadow support.  Change rules for the new
36236         makedb progra.  Some minor improvements to generate smaller files.
36237         * nss/nss_db/nss_db.h: Move NSS database header data structures to
36238         here from...
36239         * nss/makedb.c: ...here.
36240         Improve database format to be smaller and require less memory at
36241         runtime.
36242         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
36243         db anymore.
36244         * nss/nss_db/db-netgrp.c: Likewise.
36245         * nss/nss_db/db-open.c: Likewise.
36246         * nss/nss_files/flies-XXX.x: Adjust comments.
36247         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
36248         * nss/nss_files/files-grp.c: Likewise.
36249         * nss/nss_files/files-hosts.c: Likewise.
36250         * nss/nss_files/files-network.c: Likewise.
36251         * nss/nss_files/files-proto.c: Likewise.
36252         * nss/nss_files/files-pwd.c: Likewise.
36253         * nss/nss_files/files-rpc.c: Likewise.
36254         * nss/nss_files/files-service.c: Likewise.
36255         * nss/nss_files/files-sgrp.c: Likewise.
36256         * nss/nss_files/files-spwd.c: Likewise.
36257         * nss/nss_db/db-alias.c: Removed.
36258         * nss/nss_db/dummy-db.h: Removed.
36260 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
36262         * nss/makedb.c: Rewritten to not use database library.
36263         * nss/Makefile: Update to build new makedb program.
36265 2011-06-14  Andreas Jaeger  <aj@suse.de>
36267         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
36268         memset declaration.
36270 2011-06-10  Andreas Schwab  <schwab@redhat.com>
36272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
36273         tmpbuf.
36275 2011-06-10  Roland McGrath  <roland@hack.frob.com>
36277         * Makerules (shlib.lds): Fail if the linker script comes out empty.
36278         * elf/Makefile ($(objpfx)ld.so): Likewise.
36280         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
36281         Don't list ld.so twice in dependencies.
36283         * posix/bug-regex31.c: Include <stdlib.h>.
36285         * nscd/hstcache.c (cache_addhst): Remove unused variable.
36287         * nis/nss_compat/compat-spwd.c
36288         (getspent_next_nss_netgr): Remove unused variable.
36289         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
36291         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
36292         nonmembers" output to use the right array.
36294         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
36296         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
36298         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
36299         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
36300         * catgets/gencat.c (read_input_file): Likewise.
36301         * locale/programs/locarchive.c (enlarge_archive): Likewise.
36303         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
36304         variable definition inside #if's controlling its use.
36306         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
36308         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
36310         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
36312         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
36313         unreachable code.
36315         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
36317         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
36318         * configure: Regenerated.
36320         * Makerules: Revert last change.
36321         * elf/Makefile: Likewise.
36323 2011-06-09  Roland McGrath  <roland@hack.frob.com>
36325         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
36326         * elf/Makefile ($(objpfx)librtld.os): Likewise.
36327         (reloc-link): Likewise.
36329 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
36331         * elf/Makefile: Add rules to build pldd.
36332         * elf/pldd.c: New file.
36333         * elf/pldd-xx.c: New file.
36335 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
36337         * version.h: Update for 2.15 development version.
36339 2011-06-07  David S. Miller  <davem@davemloft.net>
36341         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
36342         ifuncs.
36343         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
36344         elf_machine_lazy_rel): Likewise.
36345         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36346         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
36347         elf_machine_lazy_rel): Likewise.
36348         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
36349         dl_hwcap via passed in argument.
36350         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
36351         Likewise.
36353 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36355         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
36357 2011-06-06  Roland McGrath  <roland@hack.frob.com>
36359         [BZ #12849]
36360         * manual/fdl-1.1.texi: New file, verbatim from:
36361         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
36362         * manual/lgpl-2.1.texi: New file, verbatim from:
36363         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
36364         * manual/Makefile (licenses): New variable, list those new file names.
36365         (texis): Use it.
36366         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
36368         * manual/fdl.texi: File removed.
36369         * manual/lesser.texi: File removed.
36370         * manual/libc.texinfo (Copying, Documentation License):
36371         Use new @include file names, put @appendix directive before @include.
36373 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
36375         [BZ #12841]
36376         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
36377         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
36378         (mq_open): Add __NTH.
36380 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
36382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36383         Assume Intel Core i3/i5/i7 processor if AVX is available.
36385 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36388         typo.
36390 2011-05-31  Andreas Schwab  <schwab@redhat.com>
36392         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
36393         memory.  Use alloca_account.  Fix memory leak when retrying.
36395 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
36397         * version.h (RELEASE): Bump for 2.14 release.
36398         * include/features.h (__GLIBC_MINOR__): Bump to 14.
36400         * config.make.in (RANLIB): Remove entry.
36402 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
36404         * po/Makefile (po-sed-cmd): Add ksh to extensions.
36405         (libc.pot): Work around missing support for .ksh extension in xgettext.
36407         [BZ #12684]
36408         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
36409         if both request failed.
36410         (send_dg): In case of server errors clear resplen or *resplen2.
36412         [BZ #12454]
36413         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
36414         when there are multiple maps.
36415         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
36416         (_dl_fini): Remove test here.
36418         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
36420 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
36422         [BZ #12350]
36423         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
36424         bit from old_res_options.
36425         (gaih_inet): Likewise.
36427         [BZ #11099]
36428         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
36429         as signed.
36431         * resolv/res_init.c (res_setoptions): Make the code more compact.
36433         [BZ #11558]
36434         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
36435         set RES_USEVC.
36437         [BZ #11634]
36438         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
36440         * malloc/malloc.h: Mark malloc hook variables as deprecated.
36442         [BZ #11781]
36443         * malloc/malloc.h: Declare malloc hook variables as volatile.
36445         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
36446         in last patch.
36448         [BZ #11799]
36449         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
36450         raise in the comment.
36451         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36452         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36453         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
36455 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
36457         [BZ #12811]
36458         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
36459         grow the buffers more if it already has to be sufficient.
36460         (build_wcs_upper_buffer): Likewise.
36461         * posix/regexec.c (check_matching): Likewise.
36462         (clean_state_log_if_needed): Likewise.
36463         (extend_buffers): Don't enlarge buffers beyond size of the input
36464         buffer.
36465         Patches mostly by Emil Wojak <emil@wojak.eu>.
36466         * posix/bug-regex32.c: New file.
36467         * posix/Makefile (tests): Add bug-regex32.
36469         * locale/findlocale.c (_nl_find_locale): Return right away if
36470         _nl_explode_name failed.
36471         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36473         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36475         * debug/xtrace.sh: Unify messages.
36476         * malloc/memusage.sh: Likewise.
36478         [BZ #12813]
36479         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36480         time symbol from vDSO.  Substitute with vsyscall if not available.
36481         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36482         __vdso_time.
36484         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36485         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36486         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36487         Add sendmmsg and internal_sendmmsg.
36488         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36489         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36490         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36492         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36493         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36494         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36496 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36498         [BZ #12813]
36499         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36500         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36501         available.
36502         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36503         __vdso_getcpu.
36505         [BZ #12814]
36506         * iconvdata/Makefile (tests): Add bug-iconv9.
36507         * iconvdata/bug-iconv9.c: New file.
36509 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36511         [BZ #12814]
36512         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36514 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36516         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36517         (struct user_regs_struct): Change intcs field back to cs.
36519 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36521         * po/ja.po: Update from translation team.
36523 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36525         [BZ #12795]
36526         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36527         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36529 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36531         * stdlib/longlong.h: Update from GCC.
36533 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36535         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36536         parameter name.
36537         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36538         Add parameter name.
36539         (__sysconf): Pass it down.
36541 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36543         [BZ #12671]
36544         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36545         some situations.
36546         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36547         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36548         add in in __libc_use_alloca calls.  Adjust callers.
36549         (glob): Use malloc in some situations.
36551         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36552         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36553         pltexit.
36555 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36557         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36558         and CLOCK_BOOTTIME_ALARM.
36560         [BZ #12782]
36561         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36562         is returned.
36564         * string/_strerror.c (__strerror_r): Print negative errors as signed
36565         numbers.
36567         [BZ #12777]
36568         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36569         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36570         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36572         * configure.in: Fix typo in redirection and correct removal of test
36573         files in two cases.
36575         [BZ #12788]
36576         * locale/setlocale.c (new_composite_name): Fix test to check for
36577         identical name of all categories.
36579         [BZ #12792]
36580         * libio/filedoalloc.c (local_isatty): New function.
36581         (_IO_file_doallocate): Use local_isatty.
36582         * stdio-common/perror.c (perror): In case a new stream is used
36583         forward the stream error.
36584         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36585         error flag.
36587 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36589         [BZ #11869]
36590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36591         alloca.
36592         * include/alloca.h (extend_alloca_account): Define.
36594         [BZ #11857]
36595         * posix/regex.h: Fix comments with documentation of user-accessible
36596         fields after compilation and describe correct free'ing of pattern
36597         after re_compile_pattern.
36598         Patch by Reuben Thomas <rrt@sc3d.org>.
36600 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36602         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36603         and -mno-altivec to prevent the compiler from using Altivec and/or
36604         VSX instructions when the corresponding registers are not available.
36606 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36608         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36610 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36612         * libio/freopen.c (freopen): Use __dup2, not dup2.
36613         * libio/freopen64.c (freopen64): Likewise.
36615 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36617         [BZ #12775]
36618         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36619         * math/Makefile (tests): Add test-powl.
36620         (CFLAGS-test-powl.c): Define.
36621         * math/test-powl.c: New file.
36623 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36625         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36627 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36629         [BZ #11837]
36630         * iconvdata/gb18030.c: Update to GB18020-2005.
36632 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36634         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36635         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36636         Patch by Aharon Robbins <arnold@skeeve.com>.
36638         [BZ #11892]
36639         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36640         on the stack.
36642         [BZ #11895]
36643         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36644         through underflows.
36646         [BZ #12766]
36647         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36648         point to strings before performing equality test for error_one_per_line
36649         mode.
36651         [BZ #11697]
36652         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36654         [BZ #11820]
36655         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36656         (struct user_fpregs_struct): Avoid __uint*_t types.
36658         [BZ #6420]
36659         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36660         symbol info.  Use it instead of calling _dl_addr locally.
36661         (lock_and_info): New function.
36662         (tr_freehook): Call lock_and_info and pass symbol info as additional
36663         parameter to tr_where.
36664         (tr_mallochook): Likewise.
36665         (tr_reallochook): Likewise.
36666         (tr_memalignhook): Likewise.
36668         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36669         used and couldn't be at all thread-safe.
36671 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36673         * libio/freopen.c (freopen): Don't close old file descriptor
36674         before the new one is opened.  Instead dup the new file descriptor
36675         to the old one after the new stream is created.
36676         * libio/freopen64.c (freopen64): Likewise.
36677         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36678         * libio/fileops.c (_IO_new_file_close_it): Handle new
36679         _IO_FLAGS2_NOCLOSE flag.
36680         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36681         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36682         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36683         _IO_FLAGS2_NOCLOSE flag.
36684         * include/unistd.h: Add hidden_proto for dup3.
36685         Define __have_dup3.
36686         * io/dup3.c: Define hidden symbol.
36687         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36689         [BZ #7101]
36690         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36691         when an incomplete long option is used.
36692         * posix/tst-getopt_long1.c: New file.
36693         * posix/Makefile (tests): Add tst-getopt_long1.
36695         [BZ #10138]
36696         * scripts/config.guess: Update from autoconf-2.68.
36697         * scripts/config.sub: Likewise.
36699         [BZ #10157]
36700         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36701         tests into ...
36702         (has_cpuclock): ...this.  New function.
36703         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36704         macro here based on has_cpuclock code.
36706         [BZ #10149]
36707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36708         First byte (not low byte) is now always NUL.
36709         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36712         Use non-cancelable interfaces.
36714         [BZ #9809]
36715         * locale/iso-639.def: Add entry for Sorani.
36717         [BZ #11901]
36718         * include/stdlib.h: Move include protection to the right place.
36719         Define abort_msg_s.  Declare __abort_msg with it.
36720         * stdlib/abort.c (__abort_msg): Adjust type.
36721         * assert/assert.c (__assert_fail_base): New function.  Majority
36722         of code from __assert_fail.  Allocate memory for __abort_msg with
36723         mmap.
36724         (__assert_fail): Now call __assert_fail_base.
36725         * assert/assert-perr.c: Remove bulk of implementation.  Use
36726         __assert_fail_base.
36727         * include/assert.hL Declare __assert_fail_base.
36728         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36729         mmap.
36730         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36732 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36734         [BZ #11952]
36735         [BZ #12453]
36736         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36737         until all modules are registered in the DTV.
36738         * elf/Makefile: Add rules to build and run tst-tls19.
36739         * elf/tst-tls19.c: New file.
36740         * elf/tst-tls19mod1.c: New file.
36741         * elf/tst-tls19mod2.c: New file.
36742         * elf/tst-tls19mod3.c: New file.
36743         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36745         [BZ #12083]
36746         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36747         correctly.
36749         [BZ #12601]
36750         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36751         two-byte sequence errors.
36752         * iconvdata/Makefile (tests): Add bug-iconv8.
36753         * iconvdata/bug-iconv8.c: New file.
36755         [BZ #12626]
36756         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36757         buf2 definition.
36759         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36761         [BZ #12432]
36762         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36763         (dummy_getcfa): New function.
36764         (init): Get _Unwind_GetCFA address, use dummy if not found.
36765         (backtrace_helper): In recursion check, also check whether CFA changes.
36766         (__backtrace): Completely initialize arg.
36768         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36769         storing incomplete byte sequence in state object.  Avoid testing for
36770         guaranteed too small input if we know there is enough data available.
36772 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36774         * Makeconfig (+link-pie): Indent.
36775         * Rules (binaries-pie): Define if $(have-fpie) and
36776         $(build-shared).
36777         (binaries-shared): Also filter out $(binaries-pie).
36778         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36779         * nscd/Makefile (others-pie): Add nscd.
36780         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36781         ($(objpfx)nscd): Remove command override.
36782         * login/Makefile (others-pie): Add pt_chown.
36783         ($(objpfx)pt_chown): Remove command override.
36784         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36785         remove command overrides.
36787 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36789         * libio/tst_putwc.c: Fix error messages.
36791         [BZ #12724]
36792         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36793         currently writing and seek to current position when not.
36794         * libio/Makefile (tests): Add bug-fclose1.
36795         * libio/bug-fclose1.c: New file.
36797 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36799         [BZ #12511]
36800         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36801         don't set DF_1_NODELETE here.
36802         (do_lookup_x): When entering new entry test for copy relocation
36803         and if necessary set DF_1_NODELETE flag.
36804         * elf/tst-unique4.cc: New file.
36805         * elf/tst-unique4.h: New file.
36806         * elf/tst-unique4lib.cc: New file.
36807         * elf/Makefile: Add rules to build and run tst-unique4.
36808         Patch by Piotr Bury <pbury@goahead.com>.
36810 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36812         [BZ #12052]
36813         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36815         [BZ #12625]
36816         * misc/mntent_r.c (addmntent): Flush the stream after the output
36818         [BZ #12393]
36819         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36820         (is_trusted_path_normalize): Skip initial colon.  Append slash
36821         to empty buffer.  Duplicate is_trusted_path code but allow
36822         constructed patch to be prefix.
36823         (is_dst): Allow $ORIGIN followed by /.
36824         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36825         Correct testing of result of is_trusted_path_normalize
36826         (decompose_rpath): Fix warning.
36828 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36830         [BZ #11257]
36831         * grp/initgroups.c (internal_getgrouplist): When we found the service
36832         list through the initgroups entry in nsswitch.conf do not always
36833         continue on a successful lookup.  Don't always use the
36834         __nss_group_database value if it is set.
36835         * nss/nsswitch.conf (initgroups): Change action for successful db
36836         lookup to continue for compatibility.
36838 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36840         [BZ #11532]
36841         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36842         and CP774 modules.
36843         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36844         and CP774 modules.
36845         * iconvdata/tst-tables.sh: Likewise.
36846         * iconvdata/cp770.c: New file.
36847         * iconvdata/cp771.c: New file.
36848         * iconvdata/cp772.c: New file.
36849         * iconvdata/cp773.c: New file.
36850         * iconvdata/cp774.c: New file.
36851         * iconvdata/testdata/CP770: New file.
36852         * iconvdata/testdata/CP770..UTF8: New file.
36853         * iconvdata/testdata/CP771: New file.
36854         * iconvdata/testdata/CP771..UTF8: New file.
36855         * iconvdata/testdata/CP772: New file.
36856         * iconvdata/testdata/CP772..UTF8: New file.
36857         * iconvdata/testdata/CP773: New file.
36858         * iconvdata/testdata/CP773..UTF8: New file.
36859         * iconvdata/testdata/CP774: New file.
36860         * iconvdata/testdata/CP774..UTF8: New file.
36862         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36863         END CHARMAP line.
36864         * iconvdata/gen-8bit-gap.sh: Likewise.
36865         * iconvdata/gen-8bit.sh: Likewise.
36867         * locale/iso-639.def: Add ary entry.
36869         [BZ #11258]
36870         * locale/C-translit.h.in: Add U20A1 transliteration.
36872         [BZ #12178]
36873         * locale/iso-639.def: Add wae entry.
36874         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36876         [BZ #12545]
36877         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36878         for n.
36880         [BZ #12711]
36881         * locale/C-translit.h.in: Add entry for U20B9.
36882         Patch by pravin.d.s@gmail.com.
36884 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36886         [BZ #12713]
36887         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36888         ENAMETOOLONG use generic getcwd.
36889         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36890         in rtld.  Use *stat64.
36891         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36892         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36893         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36894         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36895         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36896         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36897         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36898         __fstatat64 macros.
36899         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36900         * dirent/rewinddir.c: Add libc_hidden_def.
36901         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36902         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36904         * include/dirent.h (__alloc_dir): Add flags parameter.
36905         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36906         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36907         __alloc_dir.
36908         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36909         from fdopendir if O_CLOEXEC is already set.
36911 2011-03-15  Alan Modra  <amodra@gmail.com>
36913         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36914         l_tls_firstbyte_offset non-zero.  Save padding offset in
36915         l_tls_firstbyte_offset for later use.
36916         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36917         freeing static tls block.
36919 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36921         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36922         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36923         being defined by the kernel headers.
36925 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36927         [BZ #12734]
36928         * resolv/resolv.h: Define RES_NOTLDQUERY.
36929         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36930         no-tld-query and set RES_NOTLDQUERY.
36931         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36932         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36933         modern BIND to search name as TLD unless forbidden.
36935 2011-05-07  Petr Baudis  <pasky@suse.cz>
36936             Ulrich Drepper  <drepper@gmail.com>
36938         [BZ #12393]
36939         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36940         (is_trusted_path): ...to here.
36941         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36942         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36943         using is_trusted_path_normalize() in setuid scripts.
36945 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36947         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36948         __BEGIN/__END_DECLS.
36950 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36952         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36953         NSS_STATUS_NOTFOUND if no record was found.
36955 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36957         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36958         (headers-not-in-tirpc): Remove rpc/netdb.h
36959         * resolv/netdb.h: Revert last change.
36961 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36963         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36964         circular dependency between libgcc.a and libc.a.
36966 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36968         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36969         * nis/Makefile: Don't install rpcsvc/*.
36970         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36971         instead of <rpc/types.h>.
36972         (MAXHOSTNAMELEN): Define.
36974 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36976         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36978 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36980         [BZ #12714]
36981         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36982         gethostbyname4_r when IPv6 results are possible.
36984 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36986         [BZ #12723]
36987         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36988         _PC_PIPE_BUF handling.
36990 2011-04-30  Bruno Haible  <bruno@clisp.org>
36992         [BZ #12717]
36993         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36994         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36995         to 'int'.
36996         * inet/getnameinfo.c (getnameinfo): Likewise.
36998 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
37000         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
37001         to groups setting in database lookup.
37002         * nss/nsswitch.conf: Add initgroups entry.
37004 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
37006         [BZ #12685]
37007         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
37008         mode string.
37009         Patch by Eric Blake <eblake@redhat.com>.
37011 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
37013         * sunrpc/Makefile (need-export-routines): Add svc_run.
37014         (routines): Remove svc_run.
37015         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
37016         * sunrpc/clnt_perr.c (clnt_perrno): Export.
37017         * sunrpc/svc_run.c (svc_run): Likewise.
37018         * sunrpc/svc_udp.c (svcudp_create): Likewise.
37020 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
37022         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
37023         problem in reallocation in last patch.
37025 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
37027         * sunrpc/Makefile: Move inclusion of Rules.
37029 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37031         * nss/nss_files/files-initgroups.c: New file.
37032         * nss/Makefile (libnss_files-routines): Add files-initgroups.
37033         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
37034         _nss_files_initgroups_dyn.
37036 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
37038         * elf/elf.h (R_ARM_IRELATIVE): Define.
37040 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
37042         * po/ru.po: Update from translation team.
37044 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37046         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
37047         dependencies.
37049 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
37051         [BZ #12653]
37052         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
37053         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
37054         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37056         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37058 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
37060         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
37061         differing bytes.
37062         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37063         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37064         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37066 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
37068         [BZ #12420]
37069         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
37070         storing it.
37071         * stdlib/bug-getcontext.c: New file.
37072         * stdlib/Makefile: Add rules to build and run bug-getcontext.
37074 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37076         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
37077         instructions into .machine "z9-109".
37078         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
37079         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
37081 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37083         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
37084         between environment variables and auxiliary vector.
37086 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
37088         * Makefile: Add rules to build linkobj/libc.so.
37089         * include/libc-symbols.h: Define libc_hidden_nolink.
37090         * include/rpc/auth.h: Mark functions which are to be hidden.
37091         * include/rpc/auth_des.h: Likewise.
37092         * include/rpc/auth_unix.h: Likewise.
37093         * include/rpc/clnt.h: Likewise.
37094         * include/rpc/des_crypt.h: Likewise.
37095         * include/rpc/key_prot.h: Likewise.
37096         * include/rpc/pmap_clnt.h: Likewise.
37097         * include/rpc/pmap_prot.h: Likewise.
37098         * include/rpc/pmap_rmt.h: Likewise.
37099         * include/rpc/rpc_msg.h: Likewise.
37100         * include/rpc/svc.h: Likewise.
37101         * include/rpc/svc_auth.h: Likewise.
37102         * include/rpc/xdr.h: Likewise.
37103         * nis/Makefile: Link all DSOs against linkobj/libc.so.
37104         * nss/Makefile: Likewise.
37105         * sunrpc/Makefile: Don't install headers.  Build library with normal
37106         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
37107         * sunrpc/auth_des.c: Hide exported symbols by default, export some
37108         for the compat linking library.  Remove use of INTDEF/INTUSE.
37109         * sunrpc/auth_none.c: Likewise.
37110         * sunrpc/auth_unix.c: Likewise.
37111         * sunrpc/authdes_prot.c: Likewise.
37112         * sunrpc/authuxprot.c: Likewise.
37113         * sunrpc/clnt_gen.c: Likewise.
37114         * sunrpc/clnt_perr.c: Likewise.
37115         * sunrpc/clnt_raw.c: Likewise.
37116         * sunrpc/clnt_simp.c: Likewise.
37117         * sunrpc/clnt_tcp.c: Likewise.
37118         * sunrpc/clnt_udp.c: Likewise.
37119         * sunrpc/clnt_unix.c: Likewise.
37120         * sunrpc/des_crypt.c: Likewise.
37121         * sunrpc/des_soft.c: Likewise.
37122         * sunrpc/get_myaddr.c: Likewise.
37123         * sunrpc/key_call.c: Likewise.
37124         * sunrpc/key_prot.c: Likewise.
37125         * sunrpc/netname.c: Likewise.
37126         * sunrpc/pm_getmaps.c: Likewise.
37127         * sunrpc/pm_getport.c: Likewise.
37128         * sunrpc/pmap_clnt.c: Likewise.
37129         * sunrpc/pmap_prot.c: Likewise.
37130         * sunrpc/pmap_prot2.c: Likewise.
37131         * sunrpc/pmap_rmt.c: Likewise.
37132         * sunrpc/publickey.c: Likewise.
37133         * sunrpc/rpc_cmsg.c: Likewise.
37134         * sunrpc/rpc_common.c: Likewise.
37135         * sunrpc/rpc_dtable.c: Likewise.
37136         * sunrpc/rpc_prot.c: Likewise.
37137         * sunrpc/rpc_thread.c: Likewise.
37138         * sunrpc/rtime.c: Likewise.
37139         * sunrpc/svc.c: Likewise.
37140         * sunrpc/svc_auth.c: Likewise.
37141         * sunrpc/svc_authux.c: Likewise.
37142         * sunrpc/svc_raw.c: Likewise.
37143         * sunrpc/svc_run.c: Likewise.
37144         * sunrpc/svc_simple.c: Likewise.
37145         * sunrpc/svc_tcp.c: Likewise.
37146         * sunrpc/svc_udp.c: Likewise.
37147         * sunrpc/svc_unix.c: Likewise.
37148         * sunrpc/svcauth_des.c: Likewise.
37149         * sunrpc/xcrypt.c: Likewise.
37150         * sunrpc/xdr.c: Likewise.
37151         * sunrpc/xdr_array.c: Likewise.
37152         * sunrpc/xdr_float.c: Likewise.
37153         * sunrpc/xdr_intXX_t.c: Likewise.
37154         * sunrpc/xdr_mem.c: Likewise.
37155         * sunrpc/xdr_rec.c: Likewise.
37156         * sunrpc/xdr_ref.c: Likewise.
37157         * sunrpc/xdr_sizeof.c: Likewise.
37158         * sunrpc/xdr_stdio.c: Likewise.
37160 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
37162         [BZ #12650]
37163         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
37164         * sysdeps/ia64/dl-tls.h: Likewise.
37165         * sysdeps/powerpc/dl-tls.h: Likewise.
37166         * sysdeps/s390/dl-tls.h: Likewise.
37167         * sysdeps/sh/dl-tls.h: Likewise.
37168         * sysdeps/sparc/dl-tls.h: Likewise.
37169         * sysdeps/x86_64/dl-tls.h: Likewise.
37170         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
37172 2011-03-14  Andreas Schwab  <schwab@redhat.com>
37174         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
37175         rpath element also skip the following colon.
37176         (expand_dynamic_string_token): Add is_path parameter and pass
37177         down to DL_DST_REQUIRED and _dl_dst_substitute.
37178         (decompose_rpath): Call expand_dynamic_string_token with
37179         non-zero is_path.  Ignore empty rpaths.
37180         (_dl_map_object_from_fd): Call expand_dynamic_string_token
37181         with zero is_path.
37183 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
37185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37186         Make cancelable.
37188 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
37190         [BZ #12655]
37191         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
37192         Patch by Filipe David Manana <fdmanana@apache.org>.
37194 2011-04-07  Andreas Schwab  <schwab@redhat.com>
37196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
37197         Maintain aligned stack.
37198         (CHECK_RSP): Remove unused macro.
37200 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
37202         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
37203         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
37205 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
37207         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
37209         * include/features.h: Mention __USE_XOPEN2K8 in comment.
37211 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
37213         [BZ #12518]
37214         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
37215         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
37216         * sysdeps/x86_64/memmove.c: New file.
37217         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
37218         (memcpy): Renamed to ...
37219         (__new_memcpy): This.
37220         (memcpy): Provide GLIBC_2_14 memcpy.
37221         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
37222         (memcpy): Provide GLIBC_2_2_5 memcpy.
37224 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37226         [BZ #12631]
37227         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
37229 2011-03-30  Andreas Schwab  <schwab@redhat.com>
37231         * misc/syncfs.c: New file.
37232         * misc/Makefile (routines): Add syncfs.
37233         * posix/unistd.h: Declare syncfs.
37234         * sysdeps/unix/syscalls.list: Add syncfs.
37236 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37238         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
37239         open_by_handle_at.
37240         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
37241         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37243         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37245         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
37246         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37248 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37250         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
37251         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37252         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
37253         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37254         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37255         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37256         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37258         * io/Makefile: Compile fallocate.c, fallocate64.c, and
37259         sync_file_range.c with -fexceptions.
37260         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
37261         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
37262         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37263         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37264         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
37265         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
37267         sync_file_range as cancellation point
37268         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
37269         now a wrapper around __call_sync_file_range with cancellation handling.
37270         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
37271         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
37272         function name to __call_sync_file_range.
37273         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
37274         Add call_sync_file_range.
37276 2011-04-01  Andreas Schwab  <schwab@redhat.com>
37278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37279         bits/timex.h.
37281 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
37283         * iconv/iconv.h: Fix typo in comment.
37284         * io/fcntl.h: Likewise.
37285         * libio/stdio.h: Likewise.
37286         * posix/spawn.h: Likewise.
37287         * posix/unistd.h: Likewise.
37288         * stdlib/stdlib.h: Likewise.
37289         * time/time.h: Likewise.
37290         * wcsmbs/wchar.h: Likewise.
37292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
37293         open_by_handle): Add.
37294         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
37295         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
37296         Augment a few comments.
37297         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
37298         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37299         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
37300         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37301         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
37302         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
37303         open_by_handle.
37305         * io/fcntl.h (AT_EMPTY_PATH): Define.
37307 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
37309         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
37310         * sysdeps/unix/sysv/linux/bits/time.h: New file.
37311         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
37312         to...
37313         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
37314         * Versions.def: Add GLIBC_2.14.
37315         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
37316         Export.
37318 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
37320         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
37321         round counter.
37322         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37324 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37326         [BZ #12597]
37327         * string/test-strncmp.c (do_page_test): New function.
37328         (check2): Likewise.
37329         (test_main): Call check2.
37330         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
37332 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
37334         [BZ #12587]
37335         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
37336         Handle cache information in CPU leaf 4.
37337         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
37339 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
37341         [BZ #12583]
37342         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
37343         character representation.
37344         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
37346 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
37348         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
37349         END(__isnan) to END(__isnanf) to match function entry point/label
37350         EALIGN(__isnanf,...).
37352 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
37354         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
37356 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
37358         [BZ #12510]
37359         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
37360         copy from the symbol referenced in the relocation to initialize the
37361         used variable.
37362         Patch by Piotr Bury <pbury@goahead.com>.
37363         * elf/Makefile: Add rules to build and tst-unique3.
37364         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
37365         * elf/tst-unique3.cc: New file.
37366         * elf/tst-unique3.h: New file.
37367         * elf/tst-unique3lib.cc: New file.
37368         * elf/tst-unique3lib2.cc: New file.
37370         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
37372 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
37374         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
37375         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
37376         to _start.
37378 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
37380         * elf/dl-load.c (_dl_map_object): If we are looking for the first
37381         to-be-loaded object along a path to loader is ld.so.
37383 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37384             Ulrich Drepper  <drepper@gmail.com>
37386         * sysdeps/x86_64/memset.S: After aligning destination, code
37387         branches to different locations depending on the value of
37388         misalignment, when multiarch is enabled. Fix this.
37390 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
37392         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
37393         Set _x86_64_preferred_memory_instruction for AMD processsors.
37394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37395         Set bit_Prefer_SSE_for_memop for AMD processors.
37397 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
37399         * libio/fmemopen.c (fmemopen): Optimize a bit.
37401 2011-03-03  Andreas Schwab  <schwab@redhat.com>
37403         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
37405 2011-03-03  Roland McGrath  <roland@redhat.com>
37407         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
37409 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
37411         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
37412         __bzero_ultra1 instead of __memset_ultra1.
37414 2011-02-23  Andreas Schwab  <schwab@redhat.com>
37415             Ulrich Drepper  <drepper@gmail.com>
37417         [BZ #12509]
37418         * include/link.h (struct link_map): Add l_orig_initfini.
37419         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
37420         returning unsuccessfully.
37421         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
37422         close of a file loaded at startup, restore the original l_initfini
37423         list.
37424         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
37425         list, store the pointer.
37426         * elf/Makefile ($(objpfx)noload-mem): New rule.
37427         (noload-ENV): Define.
37428         (tests): Add $(objpfx)noload-mem.
37429         * elf/noload.c: Include <memcheck.h>.
37430         (main): Call mtrace.  Close all opened handles.
37432 2011-02-17  Andreas Schwab  <schwab@redhat.com>
37434         [BZ #12454]
37435         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
37436         dependencies are missing.
37438 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37440         Fix __if_freereq crash: Unlike the generic version which uses free,
37441         Hurd needs munmap.
37442         * sysdeps/mach/hurd/ifreq.h: New file.
37444 2011-01-27  Petr Baudis  <pasky@suse.cz>
37445             Ulrich Drepper  <drepper@gmail.com>
37447         [BZ 12445]#
37448         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
37449         to extend_alloca().
37450         * stdio-common/bug23.c: New file.
37451         * stdio-common/Makefile (tests): Add bug23.
37453 2010-09-28  Andreas Schwab  <schwab@redhat.com>
37454             Ulrich Drepper  <drepper@gmail.com>
37456         [BZ #12489]
37457         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
37458         before performing relro protection.  At old place add assertion
37459         to make sure nothing changed.
37461 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37462             Glauber de Oliveira Costa  <glommer@gmail.com>
37464         * elf/elf.h: Add new ARM TLS relocs.
37466 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37469         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37470         cast from r3.
37471         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37472         'tests' variable.
37473         * sysdeps/wordsize-64/tst-writev.c: New file.
37475 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37477         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37478         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37479         insns in _dl_start to prevent a TOC reference before relocs are
37480         resolved.
37482 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37484         [BZ #12469]
37485         * Makeconfig: Remove RANLIB definition.
37486         * Makerules: Don't use RANLIB.
37487         * aclocal.m4: Remove ranlib test.
37488         * configure.in: No need to check for ranlib.
37489         * elf/rtld-Rules: Don't use RANLIB.
37491 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37493         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37494         protection macro.
37495         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37496         inclusion protection macro.
37498         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37499         SIGRTMIN and SIGRTMAX and print information in that case only when
37500         SIGRTMIN is defined.
37502 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37504         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37505         arginfo fn returning -1.
37507         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37508         and thousands string is zero terminated.
37510 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37512         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37513         sysdeps/unix/sysv/linux/bits/socket.h.
37515 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37517         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37518         (__CPU_COUNT): Remove old macros.
37519         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37520         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37521         (__CPU_ALLOC, __CPU_FREE): Add macros.
37522         (__sched_cpualloc, __sched_cpufree): Add declarations.
37524 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37526         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37527         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37528         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37529         (readdhstai): Return value of addhstaiX call.
37530         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37531         (addgrbyX): Return value returned by cache_addgr.
37532         (readdgrbyname): Return value returned by addgrbyX.
37533         (readdgrbygid): Likewise.
37534         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37535         (addpwbyX): Return value returned by cache_addpw.
37536         (readdpwbyname): Return value returned by addhstbyX.
37537         (readdpwbyuid): Likewise.
37538         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37539         (addservbyX): Return value returned by cache_addserv.
37540         (readdservbyname): Return value returned by addservbyX:
37541         (readdservbyport): Likewise.
37542         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37543         (addhstbyX): Return value returned by cache_addhst.
37544         (readdhstbyname): Return value returned by addhstbyX.
37545         (readdhstbyaddr): Likewise.
37546         (readdhstbynamev6): Likewise.
37547         (readdhstbyaddrv6): Likewise.
37548         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37549         (readdinitgroups): Return value returned by addinitgroupsX.
37550         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37551         (prune_cache): Keep track of timeout value of re-added entries.
37552         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37553         * nscd/nscd.h: Adjust prototypes of readd* functions.
37555 2011-02-04  Roland McGrath  <roland@redhat.com>
37557         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37558         (nis_stats): Likewise.
37559         * nis/nis_modify.c (nis_modify): Likewise.
37560         * nis/nis_remove.c (nis_remove): Likewise.
37561         * nis/nis_add.c (nis_add): Likewise.
37563         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37565         * posix/fnmatch_loop.c: Add some consts.
37567         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37569 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37571         [BZ #12460]
37572         * config.make.in (config-cflags-novzeroupper): Define.
37573         * configure.in: Substitute libc_cv_cc_novzeroupper.
37574         * elf/Makefile (AVX-CFLAGS): Define.
37575         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37576         (CFLAGS-tst-auditmod4a.c): Likewise.
37577         (CFLAGS-tst-auditmod4b.c): Likewise.
37578         (CFLAGS-tst-auditmod6b.c): Likewise.
37579         (CFLAGS-tst-auditmod6c.c): Likewise.
37580         (CFLAGS-tst-auditmod7b.c): Likewise.
37581         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37583 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37585         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37586         function to the callback.
37587         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37589 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37591         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37592         of errno.
37594 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37596         [BZ #11724]
37597         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37598         of constructors.
37599         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37600         of destructors.
37601         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37603         [BZ #11724]
37604         * elf/Makefile: Add rules to build and run new test.
37605         * elf/tst-initorder.c: New file.
37606         * elf/tst-initorder.exp: New file.
37607         * elf/tst-initordera1.c: New file.
37608         * elf/tst-initordera2.c: New file.
37609         * elf/tst-initordera3.c: New file.
37610         * elf/tst-initordera4.c: New file.
37611         * elf/tst-initorderb1.c: New file.
37612         * elf/tst-initorderb2.c: New file.
37613         * elf/tst-order-a1.c: New file.
37614         * elf/tst-order-a2.c: New file.
37615         * elf/tst-order-a3.c: New file.
37616         * elf/tst-order-a4.c: New file.
37617         * elf/tst-order-b1.c: New file.
37618         * elf/tst-order-b2.c: New file.
37619         * elf/tst-order-main.c: New file.
37620         New test case by George Gensure <werkt0@gmail.com>.
37622 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37625         decoding ACE if AI_CANONIDN.
37627 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37629         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37631 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37633         * version.h (RELEASE): Bump for 2.13 release.
37634         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37636         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37638         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37639         MADV_NOHUGEPAGE.
37640         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37641         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37642         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37643         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37644         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37645         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37647         * posix/getconf.c: Update copyright year.
37648         * catgets/gencat.c: Likewise.
37649         * csu/version.c: Likewise.
37650         * debug/catchsegv.sh: Likewise.
37651         * debug/xtrace.sh: Likewise.
37652         * elf/ldconfig.c: Likewise.
37653         * elf/ldd.bash.in: Likewise.
37654         * elf/sprof.c (print_version): Likewise.
37655         * iconv/iconv_prog.c: Likewise.
37656         * iconv/iconvconfig.c: Likewise.
37657         * locale/programs/locale.c: Likewise.
37658         * locale/programs/localedef.c: Likewise.
37659         * malloc/memusage.sh: Likewise.
37660         * malloc/mtrace.pl: Likewise.
37661         * nscd/nscd.c (print_version): Likewise.
37662         * nss/getent.c: Likewise.
37664         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37665         PF_CAIF, and PF_ALG.
37666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37668 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37670         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37671         (modules-names): Use them.
37672         (ifunc-test-modules, ifunc-pie-tests): Define.
37673         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37674         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37675         (test-extras): Likewise.
37676         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37677         $(compile-command.c).
37678         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37679         (all-built-dso): Define.
37680         (check-textrel.out, check-execstack.out): Depend on it.
37682         * configure.in: Don't override --enable-multi-arch.
37684 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37686         [BZ #6812]
37687         * nscd/hstcache.c (tryagain): Define.
37688         (cache_addhst): Return tryagain not notfound for temporary errors.
37689         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37690         failed.
37692 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37694         [BZ #10563]
37695         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37696         to make the syscall.
37697         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37699         [BZ #12378]
37700         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37701         and fall back to matching as normal character if the string ends before
37702         the matching ']' is found.  This is what POSIX requires.
37703         * posix/testfnm.c: Adjust test result.
37704         * posix/globtest.sh: Adjust test result.  Add new test.
37705         * posix/tst-fnmatch.input: Likewise.
37706         * posix/tst-fnmatch2.c: Add new test.
37708 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37710         * elf/Makefile (check-execstack): Revert last change.  Depend on
37711         check-execstack.h.
37712         (check-execstack.h): New target.
37713         (generated): Add check-execstack.h.
37714         * elf/check-execstack.c: Include "check-execstack.h".
37715         (main): Revert last change.
37716         (handle_file): Return zero if GNU_STACK is absent and
37717         DEFAULT_STACK_PERMS doesn't include PF_X.
37719 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37721         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37722         in child fails because the descriptor is already closed.
37723         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37724         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37725         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37727         [BZ #12397]
37728         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37729         syscall.
37731         [BZ #10484]
37732         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37733         temporary buffer used to handle multi lookups locally.
37734         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37736 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37738         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37739         loader is ld.so.
37741 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37743         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37744         alignment for SSE2.
37746 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37748         [BZ #12394]
37749         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37750         characters.  When rounding increased number of integer digits recompute
37751         number of groups.
37752         * stdio-common/tst-grouping.c: New file.
37753         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37755 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37757         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37758         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37760         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37761         void.
37762         * bits/select.h: Likewise.
37764 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37766         * po/ja.po: Update from translation team.
37768 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37770         [BZ #11155]
37771         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37772         implementation just like for lxstat, fxstatat, et al.
37774 2010-12-27  Jim Meyering  <meyering@redhat.com>
37776         [BZ #12348]
37777         * posix/regexec.c (build_trtable): Return failure indication upon
37778         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37780 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37782         [BZ #12201]
37783         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37784         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37785         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37786         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37788         [BZ #12207]
37789         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37791         [BZ #12204]
37792         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37793         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37795 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37797         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37798         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37799         script has SORT_BY_INIT_PRIORITY.
37800         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37801         NO_CTORS_DTORS_SECTIONS is defined.
37802         * elf/soinit.c: Likewise.
37803         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37804         NO_CTORS_DTORS_SECTIONS is defined.
37805         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37806         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37807         * sysdeps/sh/init-first.c: Likewise.
37808         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37810 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37812         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37813         always use the slow path.
37815 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37817         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37818         similar rule which adds the sysdep directories to the header search in
37819         order to pick up the correct platform stackinfo.h.
37820         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37821         perform test if it is, otherwise return successfully without testing.
37822         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37823         DEFAULT_STACK_PERMS define in stackinfo.h.
37824         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37825         defined in stackinfo.h.
37826         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37827         DEFAULT_STACK_PERMS defined in stackinfo.h.
37828         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37829         * sysdeps/ia64/stackinfo.h: Likewise.
37830         * sysdeps/s390/stackinfo.h: Likewise.
37831         * sysdeps/sh/stackinfo.h: Likewise.
37832         * sysdeps/sparc/stackinfo.h: Likewise.
37833         * sysdeps/x86_64/stackinfo.h: Likewise.
37834         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37835         PF_X for powerpc64.  Retain PF_X for powerpc32.
37837 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37839         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37840         accurately.
37841         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37842         GETDENTS_64BIT_ALIGNED.
37844 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37846         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37848 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37850         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37851         _GNU_SOURCE.
37853         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37854         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37855         Remove __restrict.
37856         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37857         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37859 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37861         [BZ #11655]
37862         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37863         are initialized.
37865 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37867         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37869 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37871         * po/it.po: Update from translation team.
37873 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37876         unused codes.
37878 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37880         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37882 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37884         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37885         specially.
37886         (gaih_getanswer_slice): Likewise.
37888 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37892 2010-05-31  Petr Baudis  <pasky@suse.cz>
37894         [BZ #11149]
37895         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37896         silently even in the chroot mode.
37898 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37900         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37901         last patch a bit.  Pretty printing
37903 2010-05-31  Petr Baudis <pasky@suse.cz>
37905         [BZ #10085]
37906         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37907         initialization of skip_initgroups_dyn.
37909 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37911         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37912         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37914 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37916         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37918 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37920         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37921         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37922         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37923         ($(objpfx)tst-fnmatch-mem): New rule.
37924         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37925         * posix/tst-fnmatch.c (main): Call mtrace.
37927 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37930         Support Intel processor model 6 and model 0x2c.
37932 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37934         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37935           signed comparison.
37937 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37939         [BZ #12205]
37940         * string/test-strncasecmp.c (check_result): New function.
37941         (do_one_test): Use it.
37942         (check1): New function.
37943         (test_main): Use it.
37944         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37945         Support strcasecmp and strncasecmp.
37947 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37949         [BZ #12194]
37950         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37951         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37953 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37955         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37956         IFUNC support.
37957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37958         memset-x86-64.
37959         * sysdeps/x86_64/multiarch/bzero.S: New file.
37960         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37961         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37962         * sysdeps/x86_64/multiarch/memset.S: New file.
37963         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37965         Set bit_Prefer_SSE_for_memop for Intel processors.
37966         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37967         Define.
37968         (index_Prefer_SSE_for_memop): Define.
37969         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37971 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37973         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37974         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37976 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37978         [BZ #12191]
37979         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37980         (__x86_64_raw_data_cache_size_half): Likewise.
37981         (__x86_64_raw_shared_cache_size): Likewise.
37982         (__x86_64_raw_shared_cache_size_half): Likewise.
37984         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37985         (__x86_64_raw_data_cache_size_half): Likewise.
37986         (__x86_64_raw_shared_cache_size): Likewise.
37987         (__x86_64_raw_shared_cache_size_half): Likewise.
37988         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37989         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37990         and __x86_64_raw_shared_cache_size_half.  Round
37991         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37992         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37993         to multiple of 256 bytes.
37995 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37997         [BZ #12167]
37998         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37999         of inacessible symlinks.  Verify result of symlink before returning it.
38000         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
38001         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
38003 2010-10-28  Erich Ritz  <erichritz@gmail.com>
38005         * math/math.h (isinf): Fix typo in comment.
38007 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
38009         * po/da.po: Update from translation team.
38011 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
38013         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
38014         is added to the list.
38016 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38017             Ulrich Drepper  <drepper@gmail.com>
38019         * elf/dl-object.c (_dl_new_object): Don't append the new object to
38020         the global list here.  Move code to...
38021         (_dl_add_to_namespace_list): ...here.  New function.
38022         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
38023         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
38024         * elf/dl-load.c (lose): Don't remove the element from the list.
38025         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
38026         (_dl_map_object): Likewise.
38028 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
38030         [BZ #12159]
38031         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
38032         into all bytes of SSE register.
38033         Patch by Richard Li <richardpku@gmail.com>.
38035 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
38037         [BZ #12140]
38038         * malloc/malloc.c (_int_free): Fill correct number of bytes when
38039         perturbing.
38041 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
38043         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
38044         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
38045         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
38046         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
38048         submachine.
38049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
38051 2010-10-22  Andreas Schwab  <schwab@redhat.com>
38053         * include/dlfcn.h (__RTLD_SECURE): Define.
38054         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
38055         mode & __RTLD_SECURE instead.
38056         (open_path): Rename preloaded parameter to secure.
38057         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
38058         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
38059         * elf/dl-deps.c (openaux): Likewise.
38060         * elf/rtld.c (struct map_args): Remove is_preloaded.
38061         (map_doit): Don't use it.
38062         (dl_main): Likewise.
38063         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
38064         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
38066 2010-09-09  Andreas Schwab  <schwab@redhat.com>
38068         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
38069         (sysd-rules-targets): Remove duplicates.
38070         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
38071         rtld-%.$o dependency.
38073 2010-10-18  Andreas Schwab  <schwab@redhat.com>
38075         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
38076         _dl_map_object do it.
38078 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
38080         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
38081         fast fma builtins, define the macros in the C99 standard.
38082         (FP_FAST_FMAF): Likewise.
38083         (FP_FAST_FMAL): Likewise.
38084         * sysdeps/x86_64/bits/mathdef.h: Likewise.
38086         * bits/mathdef.h: Update copyright year.
38087         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38089 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
38091         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
38092         builtins, define the macros in the C99 standard.
38093         (FP_FAST_FMAF): Likewise.
38094         (FP_FAST_FMAL): Likewise.
38095         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
38096         multiply/add.
38097         (FP_FAST_FMAF): Likewise.
38099 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
38101         [BZ #3268]
38102         * math/libm-test.inc (fma_test): Some new testcases.
38103         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
38104         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
38105         y and infinite z.  Do multiplication by C already in long double.
38106         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
38107         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
38108         y and infinite z.  Do bitwise or of inexact bit into u.d.
38109         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
38110         * sysdeps/i386/fpu/s_fmaf.S: Removed.
38111         * sysdeps/i386/fpu/s_fma.S: Removed.
38112         * sysdeps/i386/fpu/s_fmal.S: Removed.
38114 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
38116         [BZ #3268]
38117         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
38118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
38119         computation is not scheduled after fetestexcept.  Fix value
38120         of minimum denormal long double.
38122 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
38124         [BZ #3268]
38125         * math/libm-test.inc (fma_test): Add some more tests.
38126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
38127         correctly.
38129 2010-10-15  Andreas Schwab  <schwab@redhat.com>
38131         * scripts/data/localplt-s390-linux-gnu.data: New file.
38132         * scripts/data/localplt-s390x-linux-gnu.data: New file.
38134 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
38136         [BZ #3268]
38137         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
38138         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
38139         instead of dbl-64.
38140         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
38141         inlines.
38142         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
38143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
38144         if one of x and y is very large and the other is subnormal.
38145         * sysdeps/s390/fpu/s_fmaf.c: New file.
38146         * sysdeps/s390/fpu/s_fma.c: New file.
38147         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
38148         * sysdeps/powerpc/fpu/s_fma.S: New file.
38149         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
38150         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
38151         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
38153 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
38155         [BZ #3268]
38156         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
38157         fma tests.
38158         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
38159         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
38160         * sysdeps/i386/i686/multiarch/s_fma.c: Include
38161         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
38162         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
38163         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
38164         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
38166 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
38168         [BZ #12078]
38169         * posix/regcomp.c (parse_branch): One more memory leak plugged.
38170         * posix/bug-regex31.input: Add test case.
38172 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38174         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
38175         * posix/bug-regex31.input: New file.
38177         [BZ #12078]
38178         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
38179         (parse_sub_exp): Fix last change, use postorder.
38181         * posix/bug-regex31.c: New file.
38182         * posix/Makefile: Add rules to build and run bug-regex31.
38184         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
38186         [BZ #12078]
38187         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
38189         [BZ #12108]
38190         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
38191         to have entries in sys_siglist.
38193         [BZ #12093]
38194         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
38195         be NULL.
38197 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
38199         [BZ #3268]
38200         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
38201         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
38202         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
38203         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
38204         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
38205         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
38206         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
38207         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
38208         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
38209         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
38210         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
38211         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
38212         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38213         * math/ftestexcept.c (fetestexcept): Likewise.
38214         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
38215         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
38216         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
38217         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
38218         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
38219         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
38220         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38222 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
38224         [BZ #12107]
38225         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
38226         newline.
38228 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
38230         * string/bug-strstr1.c: New file.
38231         * string/Makefile: Add rules to build and run bug-strstr1.
38233 2010-10-05  Eric Blake  <eblake@redhat.com>
38235         [BZ #12092]
38236         * string/str-two-way.h (two_way_long_needle): Always clear memory
38237         when skipping input due to the shift table.
38239 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
38241         [BZ #12005]
38242         * malloc/mcheck.c: Handle large requests.
38244         [BZ #12077]
38245         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
38246         for strncmp and strncasecmp.
38247         * string/stratcliff.c: Add tests for strcmp and strncmp.
38248         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
38250 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38252         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
38253         __set_fpscr.
38255 2010-09-30  Andreas Jaeger  <aj@suse.de>
38257         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
38258         (CGROUP_SUPER_MAGIC): Define.
38259         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38260         Handle btrfs and cgroup file systems.
38261         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38262         Likewise.
38264 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
38266         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
38267         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
38269 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38271         [BZ #12067]
38272         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
38273         trying to locate the ELF header.
38275 2010-09-27  Andreas Schwab  <schwab@redhat.com>
38277         [BZ #11611]
38278         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
38279         Mask out sign-bit copies when constructing f_fsid.
38281 2010-09-24  Petr Baudis <pasky@suse.cz>
38283         * debug/stack_chk_fail_local.c: Add missing licence exception.
38284         * debug/warning-nop.c: Likewise.
38286 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
38288         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
38289         implementing getdents64 using getdents syscall, set d_type if
38290         __ASSUME_GETDENTS32_D_TYPE.
38292 2010-09-16  Andreas Schwab  <schwab@redhat.com>
38294         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
38295         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
38297 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
38299         [BZ #12037]
38300         * posix/unistd.h: Undo change of feature selection for ftruncate from
38301         2010-01-11.
38303 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
38305         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
38306         detection.
38308 2010-09-20  Andreas Schwab  <schwab@redhat.com>
38310         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
38311         fanotify_mark.
38312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38314 2010-09-14  Andreas Schwab  <schwab@redhat.com>
38316         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
38317         variables after CHECK_SP call.
38318         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
38320 2010-09-13  Andreas Schwab  <schwab@redhat.com>
38321             Ulrich Drepper  <drepper@redhat.com>
38323         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
38324         re-relocationg ld.so.
38325         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
38326         _dl_init_paths call.
38327         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
38328         here anymore.
38330 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
38332         * resolv/res_init.c (__res_vinit): Count the default server we added.
38334 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
38335             Ulrich Drepper  <drepper@redhat.com>
38337         [BZ #11968]
38338         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38339         (____longjmp_chk): Use %ebx for saving value across system call.
38340         Add unwind info.
38342 2010-09-06  Andreas Schwab  <schwab@redhat.com>
38344         * manual/Makefile: Don't mix pattern rules with normal rules.
38346 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38348         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
38349         operation.
38350         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
38351         * libio/iofopncook.c (_IO_cookie_init): Likewise.
38352         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
38353         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
38354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38355         Likewise.
38357 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
38359         [BZ #11979]
38360         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
38361         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
38363 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
38365         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
38366         * sysdeps/x86_64/addmul_1.S: Likewise.
38367         * sysdeps/x86_64/lshift.S: Likewise.
38368         * sysdeps/x86_64/mul_1.S: Likewise.
38369         * sysdeps/x86_64/rshift.S: Likewise.
38370         * sysdeps/x86_64/sub_n.S: Likewise.
38371         * sysdeps/x86_64/submul_1.S: Likewise.
38373 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38375         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
38376         Define __sched_param instead of SCHED_* and sched_param when
38377         <bits/sched.h> is included with __need_schedparam defined.
38378         * bits/sched.h [__need_schedparam]
38379         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
38380         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
38381         (__defined_schedparam): Define to 1.
38382         (__sched_param): New structure, identical to sched_param.
38383         (__need_schedparam): Undefine.
38385 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
38387         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
38388         (epoll_create1): Declare.
38390         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
38392 2010-08-31  Andreas Schwab  <schwab@redhat.com>
38394         [BZ #7066]
38395         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
38396         shifting retval into place.
38398 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
38400         * nis/rpcsvc/nis.h: Update copyright notice.
38401         * nis/rpcsvc/nis.x: Likewise.
38402         * nis/rpcsvc/nis_callback.h: Likewise.
38403         * nis/rpcsvc/nis_callback.x: Likewise.
38404         * nis/rpcsvc/nis_object.x: Likewise.
38405         * nis/rpcsvc/nis_tags.h: Likewise.
38406         * nis/rpcsvc/yp.h: Likewise.
38407         * nis/rpcsvc/yp.x: Likewise.
38408         * nis/rpcsvc/ypupd.h: Likewise.
38409         * nis/yp_xdr.c: Likewise.
38410         * nis/ypupdate_xdr.c: Likewise.
38412         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
38413         mainly the body of pmap_getport.  Add parameters to specify timeouts.
38414         (pmap_getport): Use __libc_rpc_getport.
38415         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
38416         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
38417         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
38419 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
38421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
38422         fanotify_mark.
38424 2010-08-27  Roland McGrath  <roland@redhat.com>
38426         * sysdeps/i386/i686/multiarch/Makefile
38427         (CFLAGS-varshift.c): New variable.
38429 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
38431         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
38432         * sysdeps/i386/i686/multiarch/varshift.c: New file.
38434         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
38436         * sysdeps/x86_64/strlen.S: Minimal code improvement.
38438 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
38440         * sysdeps/x86_64/strlen.S: Unroll the loop.
38441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38442         strlen-sse2 strlen-sse2-bsf.
38443         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
38444         __strlen_no_bsf if bit_Slow_BSF is set.
38445         (__strlen_sse42): Removed.
38446         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
38447         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
38449 2010-08-25  Roland McGrath  <roland@redhat.com>
38451         * sysdeps/x86_64/multiarch/varshift.S: File removed.
38452         * sysdeps/x86_64/multiarch/varshift.c: New file.
38453         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
38454         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
38455         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
38456         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38458 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
38460         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38461         strlen-sse2 strlen-sse2-bsf.
38462         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38463         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38464         (__strlen_sse2): Removed.
38465         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38466         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38468         bit_Slow_BSF for Atom.
38469         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38470         (index_Slow_BSF): Define.
38471         (HAS_SLOW_BSF): Define.
38473 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38475         [BZ #10851]
38476         * resolv/res_init.c (__res_vinit): When no server address at all
38477         is given default to loopback.
38479 2010-08-24  Roland McGrath  <roland@redhat.com>
38481         * configure.in: Remove config-name.h generation.
38482         * configure: Regenerated.
38483         * config-name.in: File removed.
38484         * scripts/config-uname.sh: New file.
38485         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38486         ($(objdir)config-name.h): New target.
38488         * sunrpc/rpc_parse.h: Avoid nested comment.
38490 2010-08-24  Richard Henderson  <rth@redhat.com>
38491             Ulrich Drepper  <drepper@redhat.com>
38492             H.J. Lu  <hongjiu.lu@intel.com>
38494         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38496         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38497         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38498         _mm_alignr_epi8 with _mm_loadu_si128.
38499         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38500         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38501         (__m128i_shift_right): Removed.
38502         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38503         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38504         * sysdeps/x86_64/multiarch/varshift.h: New file.
38505         * sysdeps/x86_64/multiarch/varshift.S: New file.
38507 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38509         * configure.in: Move assembler checks to before sysdep dir checking.
38511 2010-08-20  Petr Baudis  <pasky@suse.cz>
38513         * LICENSES: Sync the sunrpc license.
38515 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38517         * sunrpc/auth_des.c: Update copyright notice once again.
38518         * sunrpc/auth_none.c: Likewise.
38519         * sunrpc/auth_unix.c: Likewise.
38520         * sunrpc/authdes_prot.c: Likewise.
38521         * sunrpc/authuxprot.c: Likewise.
38522         * sunrpc/bindrsvprt.c: Likewise.
38523         * sunrpc/clnt_gen.c: Likewise.
38524         * sunrpc/clnt_perr.c: Likewise.
38525         * sunrpc/clnt_raw.c: Likewise.
38526         * sunrpc/clnt_simp.c: Likewise.
38527         * sunrpc/clnt_tcp.c: Likewise.
38528         * sunrpc/clnt_udp.c: Likewise.
38529         * sunrpc/clnt_unix.c: Likewise.
38530         * sunrpc/des_crypt.c: Likewise.
38531         * sunrpc/des_soft.c: Likewise.
38532         * sunrpc/get_myaddr.c: Likewise.
38533         * sunrpc/getrpcport.c: Likewise.
38534         * sunrpc/key_call.c: Likewise.
38535         * sunrpc/key_prot.c: Likewise.
38536         * sunrpc/openchild.c: Likewise.
38537         * sunrpc/pm_getmaps.c: Likewise.
38538         * sunrpc/pm_getport.c: Likewise.
38539         * sunrpc/pmap_clnt.c: Likewise.
38540         * sunrpc/pmap_prot.c: Likewise.
38541         * sunrpc/pmap_prot2.c: Likewise.
38542         * sunrpc/pmap_rmt.c: Likewise.
38543         * sunrpc/rpc/auth.h: Likewise.
38544         * sunrpc/rpc/auth_unix.h: Likewise.
38545         * sunrpc/rpc/clnt.h: Likewise.
38546         * sunrpc/rpc/des_crypt.h: Likewise.
38547         * sunrpc/rpc/key_prot.h: Likewise.
38548         * sunrpc/rpc/netdb.h: Likewise.
38549         * sunrpc/rpc/pmap_clnt.h: Likewise.
38550         * sunrpc/rpc/pmap_prot.h: Likewise.
38551         * sunrpc/rpc/pmap_rmt.h: Likewise.
38552         * sunrpc/rpc/rpc.h: Likewise.
38553         * sunrpc/rpc/rpc_des.h: Likewise.
38554         * sunrpc/rpc/rpc_msg.h: Likewise.
38555         * sunrpc/rpc/svc.h: Likewise.
38556         * sunrpc/rpc/svc_auth.h: Likewise.
38557         * sunrpc/rpc/types.h: Likewise.
38558         * sunrpc/rpc/xdr.h: Likewise.
38559         * sunrpc/rpc_clntout.c: Likewise.
38560         * sunrpc/rpc_cmsg.c: Likewise.
38561         * sunrpc/rpc_common.c: Likewise.
38562         * sunrpc/rpc_cout.c: Likewise.
38563         * sunrpc/rpc_dtable.c: Likewise.
38564         * sunrpc/rpc_hout.c: Likewise.
38565         * sunrpc/rpc_main.c: Likewise.
38566         * sunrpc/rpc_parse.c: Likewise.
38567         * sunrpc/rpc_parse.h: Likewise.
38568         * sunrpc/rpc_prot.c: Likewise.
38569         * sunrpc/rpc_sample.c: Likewise.
38570         * sunrpc/rpc_scan.c: Likewise.
38571         * sunrpc/rpc_scan.h: Likewise.
38572         * sunrpc/rpc_svcout.c: Likewise.
38573         * sunrpc/rpc_tblout.c: Likewise.
38574         * sunrpc/rpc_util.c: Likewise.
38575         * sunrpc/rpc_util.h: Likewise.
38576         * sunrpc/rpcinfo.c: Likewise.
38577         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38578         * sunrpc/rpcsvc/key_prot.x: Likewise.
38579         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38580         * sunrpc/rpcsvc/mount.x: Likewise.
38581         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38582         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38583         * sunrpc/rpcsvc/rex.x: Likewise.
38584         * sunrpc/rpcsvc/rstat.x: Likewise.
38585         * sunrpc/rpcsvc/rusers.x: Likewise.
38586         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38587         * sunrpc/rpcsvc/spray.x: Likewise.
38588         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38589         * sunrpc/rtime.c: Likewise.
38590         * sunrpc/svc.c: Likewise.
38591         * sunrpc/svc_auth.c: Likewise.
38592         * sunrpc/svc_authux.c: Likewise.
38593         * sunrpc/svc_raw.c: Likewise.
38594         * sunrpc/svc_run.c: Likewise.
38595         * sunrpc/svc_simple.c: Likewise.
38596         * sunrpc/svc_tcp.c: Likewise.
38597         * sunrpc/svc_udp.c: Likewise.
38598         * sunrpc/svc_unix.c: Likewise.
38599         * sunrpc/svcauth_des.c: Likewise.
38600         * sunrpc/xcrypt.c: Likewise.
38601         * sunrpc/xdr.c: Likewise.
38602         * sunrpc/xdr_array.c: Likewise.
38603         * sunrpc/xdr_float.c: Likewise.
38604         * sunrpc/xdr_mem.c: Likewise.
38605         * sunrpc/xdr_rec.c: Likewise.
38606         * sunrpc/xdr_ref.c: Likewise.
38607         * sunrpc/xdr_sizeof.c: Likewise.
38608         * sunrpc/xdr_stdio.c: Likewise.
38610         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38611         handling.
38613 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38615         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38617 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38619         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38620         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38621         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38622         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38623         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38624         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38625         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38626         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38627         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38628         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38629         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38630         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38631         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38632         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38634 2010-07-26  Anton Blanchard  <anton@samba.org>
38636         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38637         * malloc/arena.c (heap_trim): Likewise.
38639 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38641         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38642         here.  Not...
38643         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38644         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38646 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38648         * sysdeps/i386/elf/Makefile: New file.
38650 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38652         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38653         from fanotify_init.
38654         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38655         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38657 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38659         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38660         of strncasecmp_l.
38661         * sysdeps/multiarch/strcmp.S: Likewise.
38663 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38665         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38666         strncase_l-nonascii.
38667         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38668         Add strncase_l-ssse3.
38669         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38670         * sysdeps/x86_64/strcmp.S: Likewise.
38671         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38672         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38673         * sysdeps/x86_64/strncase.S: New file.
38674         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38675         * sysdeps/x86_64/strncase_l.S: New file.
38676         * string/Makefile (strop-tests): Add strncasecmp.
38677         * string/test-strncasecmp.c: New file.
38679         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38680         warning.
38682         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38683         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38685 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38687         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38689 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38691         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38692         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38693         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38695 2010-05-01  Alan Modra  <amodra@gmail.com>
38697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38698         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38699         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38700         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38701         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38702         tidying.  Don't tail-call __sigjmp_save for static lib.
38703         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38704         save location.
38705         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38706         (CALL_MCOUNT): Add eh info, and nop after bl.
38707         (TAIL_CALL_SYSCALL_ERROR): New macro.
38708         (PSEUDO_RET): Use it.
38709         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38710         Correct save location of integer regs and cr.
38711         (_dl_profile_resolve): Correct cr save location.  Delete nops
38712         after bl when SHARED.  Reduce cfi size a little by better
38713         placement of cfi directives.
38714         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38715         make a stack frame.  Instead use parm save area as a temp.
38716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38717         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38719         Don't make a stack frame for parent, use parm save area.
38720         Increase child stack frame to 112 bytes.  Don't save unused reg,
38721         and adjust reg usage.  Set up cfi on error recovery and
38722         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38724         (__makecontext): Add dummy nop after jump to exit.
38725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38726         Use correct parm save area and cr save, reduce stack frame.
38727         Correct cfi for possible PSEUDO_RET frame setup.
38728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38729         Branch to local label emitted by PSEUDO_RET rather than
38730         __syscall_error.
38732 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38734         [BZ #11904]
38735         * locale/programs/locale.c (print_assignment): New function.
38736         (show_locale_vars): Use it.
38738 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38740         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38741         field.
38742         (struct statfs64): Likewise.
38743         (_STATFS_F_FLAGS): Define.
38744         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38746         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38747         (ST_VALID): Define locally.
38748         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38749         __statvfs_getflags, use the provided value.
38750         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38751         __ASSUME_STATFS_F_FLAGS.
38753         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38755         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38756         Add sys/fanotify.h.
38757         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38758         fanotify_mask for GLIBC_2.13.
38759         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38760         fanotify_init and fanotify_mark.
38761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38762         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38764         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38765         Add prlimit.
38766         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38767         prlimit64 for GLIBC_2.13.
38768         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38769         prlimit64.
38770         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38771         syscall.
38772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38773         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38774         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38775         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38776         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38777         add prlimit alias.
38778         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38780         [BZ #11903]
38781         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38782         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38784         * nss/Makefile: Add rules to build and run tst-nss-test1.
38785         * shlib-versions: Add entry for libnss_test1.
38786         * nss/nss_test1.c: New file.
38787         * nss/tst-nss-test1.c: New file.
38789         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38790         (__nss_configure_lookup): Set appropriate entry in
38791         __nss_configure_lookup to true.
38792         * nss/nsswitch.h: Define enum with indeces of databases in
38793         databases and __nss_database_custom arrays.  Declare
38794         __nss_database_custom.
38795         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38796         to avoid using nscd when custom rules are installed.
38797         * nss/getXXbyYY_r.c: Likewise.
38798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38800         * nss/nss_files/files-parse.c: Whitespace fixes.
38802 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38804         [BZ #11883]
38805         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38806         * posix/fnmatch_loop.c: Likewise.
38808 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38810         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38811         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38812         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38813         * Versions.def [GLIBC_2.13]: Add.
38815 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38817         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38818         Also fail if tpwd after pwuid call is NULL.
38820 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38822         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38823         when converting to ms.
38825 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38827         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38828         EOPNOTSUPP errors with ENOTTY.
38829         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38830         EOPNOTSUPP errors with ENOTTY.
38832 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38834         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38835         Add strcasecmp_l-ssse3.
38836         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38837         strcasecmp.
38838         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38839         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38840         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38842 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38844         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38846         * string/Makefile (strop-tests): Add strcasecmp.
38847         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38848         strcasecmp_l-nonascii.
38849         (gen-as-const-headers): Add locale-defines.sym.
38850         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38851         * sysdeps/x86_64/strcasecmp.S: New file.
38852         * sysdeps/x86_64/strcasecmp_l.S: New file.
38853         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38854         * sysdeps/x86_64/locale-defines.sym: New file.
38855         * string/test-strcasecmp.c: New file.
38857         * string/test-strcasestr.c: Test both ends of the range of characters.
38858         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38860 2010-07-29  Roland McGrath  <roland@redhat.com>
38862         [BZ #11856]
38863         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38865 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38867         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38868         for ld.so.
38870 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38872         * manual/memory.texi (Malloc Tunable Parameters): Document
38873         M_PERTURB.
38875 2010-07-26  Roland McGrath  <roland@redhat.com>
38877         [BZ #11840]
38878         * configure.in (-fgnu89-inline check): Set and substitute
38879         gnu89_inline, not libc_cv_gnu89_inline.
38880         * configure: Regenerated.
38881         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38883 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38885         * string/test-strnlen.c: New file.
38886         * string/Makefile (strop-tests): Add strnlen.
38887         * string/tester.c (test_strnlen): Add a few more test cases.
38888         * string/tst-strlen.c: Better error reporting.
38890         * sysdeps/x86_64/strnlen.S: New file.
38892 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38894         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38895         lower-latency instructions.
38897 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38899         * string/test-strcasestr.c: New file.
38900         * string/test-strstr.c: New file.
38901         * string/Makefile (strop-tests): Add strstr and strcasestr.
38902         * string/str-two-way.h: Don't undefine MAX.
38903         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38905 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38907         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38908         strcasestr-nonascii.
38909         (CFLAGS-strcasestr-nonascii.c): Define.
38910         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38911         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38912         Remove unused attribute.
38914 2010-07-20  Roland McGrath  <roland@redhat.com>
38916         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38917         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38918         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38919         like LD_HWCAP_MASK can disable hwcaps.
38921 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38923         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38925 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38927         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38928         call in strcasestr.
38929         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38930         __strcasestr_sse42_nonascii.
38931         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38932         strcasestr-nonascii.c.
38933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38935 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38937         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38938         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38939         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38940         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38942 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38944         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38945         fcntl.
38947 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38949         [BZ #11577]
38950         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38951         dl_signal_cerror.
38953 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38955         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38956         _PC_PIPE_BUF using F_GETPIPE_SZ.
38958 2010-07-05  Roland McGrath  <roland@redhat.com>
38960         * manual/arith.texi (Rounding Functions): Fix rint description
38961         implicit in round description.
38963 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38965         * elf/Makefile: Fix linking for a few tests to make recent linker
38966         happy.
38968 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38970         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38971         $(common-objpfx)libc_nonshared.a.
38973 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38975         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38976         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38977         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38978         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38979         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38980         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38981         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38982         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38997         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38998         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38999         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
39000         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
39001         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
39002         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
39003         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
39004         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
39005         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
39006         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
39007         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
39008         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
39009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
39011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
39013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
39015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
39017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
39019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
39021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
39024 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
39026         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
39027         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
39028         * string/memmove.c (memmove): Renamed to ...
39029         (MEMMOVE): ...this.  Default to memmove.
39030         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
39031         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
39032         (END_CHK): Define.
39033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39034         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
39035         mempcpy-ssse3-back memmove-ssse3-back.
39036         * sysdeps/x86_64/multiarch/bcopy.S: New file .
39037         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
39038         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
39039         * sysdeps/x86_64/multiarch/memcpy.S: New file.
39040         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
39041         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
39042         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
39043         * sysdeps/x86_64/multiarch/memmove.c: New file.
39044         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
39045         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
39046         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
39047         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
39048         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
39049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
39050         Define.
39051         (index_Fast_Copy_Backward): Define.
39052         (HAS_ARCH_FEATURE): Define.
39053         (HAS_FAST_REP_STRING): Define.
39054         (HAS_FAST_COPY_BACKWARD): Define.
39056 2010-06-21  Andreas Schwab  <schwab@redhat.com>
39058         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
39059         Restore proper fallback handling.
39061 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
39063         [BZ #11701]
39064         * posix/group_member.c (__group_member): Correct checking loop.
39066         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
39067         OOM in getpwuid_r correctly.  Return error number when the caller
39068         should return, otherwise -1.
39069         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
39070         call returning > 0 value.
39071         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
39073 2010-06-07  Andreas Schwab  <schwab@redhat.com>
39075         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
39076         libc_nonshared.a from targets in modules-names.
39078 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
39080         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
39081         requires it.
39083 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
39085         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
39086         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
39087         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
39088         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
39090 2010-06-02  Andreas Schwab  <schwab@redhat.com>
39092         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
39094 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
39096         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
39097         and F_GETPIPE_SZ.
39098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
39099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
39100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39102         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
39103         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
39105 2010-06-14  Roland McGrath  <roland@redhat.com>
39107         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
39109 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
39111         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
39112         __REDIRECT followed by __THROW.
39113         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
39114         * posix/getopt.h (getopt): Likewise.
39116 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
39118         * hurd/lookup-at.c (__file_name_lookup_at): Accept
39119         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
39120         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
39121         in AT_FLAGS.
39122         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
39123         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
39125 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
39127         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
39129 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
39131         [BZ #11640]
39132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39133         Properly check family and model.
39135 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
39137         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
39139 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
39141         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
39143 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
39145         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
39146         symbol reference.
39148 2010-05-19  Andreas Schwab  <schwab@redhat.com>
39150         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
39151         symbol reference.
39153 2010-05-21  Andreas Schwab  <schwab@redhat.com>
39155         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
39156         and internal_recvmmsg.
39157         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
39158         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
39159         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
39160         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
39162         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
39163         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39164         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39166 2010-05-20  Andreas Schwab  <schwab@redhat.com>
39168         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
39170 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
39172         POWER7 optimizations.
39173         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
39174         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
39176 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
39178         * version.h: Update for 2.13 development version.
39180 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
39182         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
39183         exceptions.  Return 0.
39185 2010-05-07  Roland McGrath  <roland@redhat.com>
39187         * elf/ldconfig.c (main): Add a const.
39189 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
39191         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
39192         (args_options): Add no-idn option.
39193         (ahosts_keys_int): Add idn_flags to ai_flags.
39194         (parse_option): Handle 'i' option to clear idn_flags.
39196         * malloc/malloc.c (_int_free): Possible race in the most recently
39197         added check.  Only act on the data if no current modification
39198         happened.
39200 See ChangeLog.17 for earlier changes.